joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100dd980
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101637b6
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x101ba0ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x58]
mov edi, dword [ebp + 0xc]
mov ecx, 0x101c8024
mov ebx, dword [ebp + 0x10]
push eax
call fcn.100e37f0
push esi
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
call fcn.100dd420
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1004a6d0
add esp, 0xc
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100dda2c
lea eax, [ebp - 0x28]
cmp edi, eax
je 0x100dda18
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.10041c10
mov dword [ebx], 0
xor edi, edi
mov dword [ebx + 4], 0
jmp 0x100ddae0
mov word [ebp - 0x68], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x70]
cmovae eax, dword [ebp - 0x28]
push eax
call sym.WnSkinPreview.dll_public:_int___thiscall_CImgInfo::LoadImgInfo_wchar_t_const__
test eax, eax
jne 0x100dda75
xor edi, edi
jmp 0x100ddaa2
lea eax, [ebp - 0x28]
cmp edi, eax
je 0x100dda88
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.10041c10
lea ecx, [ebp - 0x70]
call sym.WnSkinPreview.dll_public:_int___thiscall_CImgInfo::GetImgWidth_void_
lea ecx, [ebp - 0x70]
mov dword [ebx], eax
call sym.WnSkinPreview.dll_public:_int___thiscall_CImgInfo::GetImgHeight_void_
mov dword [ebx + 4], eax
mov edi, 1
mov byte [ebp - 4], 4
cmp dword [ebp - 0x64], 0
je 0x100ddae0
cmp byte [ebp - 0x68], 0
je 0x100ddad1
cmp dword [0x101c86e8], 0
jne 0x100ddac0
call fcn.1007ce80
mov esi, dword [ebp - 0x60]
mov ecx, dword [0x101c86e8]
push esi
call fcn.10073530
jmp 0x100ddad4
mov esi, dword [ebp - 0x60]
test esi, esi
je 0x100ddae0
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x100ddaf5
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10042120
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x100ddb1e
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.10042120
mov ecx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp ecx, 8
jb 0x100ddb47
inc ecx
push ecx
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.10042120
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1010a7f2
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100e0260
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x430
mov eax, dword [0x101ba0ec]
xor eax, esp
mov dword [esp + 0x42c], eax
lea eax, [esp]
mov ecx, 0x101c8024
push eax
call fcn.100e37f0
cmp dword [esp + 0x14], 8
lea eax, [esp]
push str.VipSkin.xml
cmovae eax, dword [esp + 4]
push eax
lea eax, [esp + 0x228]
push 0x10184440
push eax
call fcn.10041b40
cmp dword [esp + 0x24], 8
lea eax, [esp + 0x10]
push 0x1018f110
cmovae eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x30]
push 0x10184440
push eax
call fcn.10041b40
add esp, 0x20
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100e0309
lea eax, [esp + 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100e0309
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x224]
push eax
call fcn.1013c93d
add esp, 8
mov eax, dword [esp + 0x14]
cmp eax, 8
jb 0x100e0320
inc eax
lea ecx, [esp]
push eax
push dword [esp + 4]
call fcn.10042120
mov ecx, dword [esp + 0x42c]
xor ecx, esp
call fcn.1010a7f2
mov esp, ebp
pop ebp
ret
Function at 0x100e2b10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x100e2b25
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100e2b66
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x100e2b62
nop word [eax + eax]
cmp esi, edx
jae 0x100e2b66
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x100e2b50
cmp esi, edx
jb 0x100e2b6b
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x100e31e0
Capabilities:
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101640b0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x101ba0ec]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov esi, dword [0x101c7f38]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x100e33ac
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0x1018444c
lea ecx, [ebp - 0x48]
mov edi, eax
call fcn.100e3940
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x101c8024
call fcn.100e3110
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x100e3273
mov eax, dword [eax]
push str.Skin
push eax
lea eax, [ebp - 0x48]
push str._s_s.cab
push eax
call fcn.100e3e50
mov byte [ebp - 4], 0
add esp, 0x10
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x100e32a3
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10042120
push dword [ebp - 0x48]
call fcn.10110103
add esp, 4
push 0
push 0x80
push 1
push 0
push 0
push 0x40000000
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100e32e6
push 0
lea eax, [ebp - 0x4c]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x2c]
mov ecx, 0x101c8024
push eax
call fcn.100e3110
push str.TempSkin_
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
call fcn.10041810
add esp, 0xc
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x100e3323
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10042120
xor eax, eax
mov dword [ebp - 0x18], 7
cmp dword [ebp - 0x30], 8
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
push dword [ebp - 0x48]
mov dword [ebp - 0x1c], 0
call fcn.100e4670
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x100e3371
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.10042120
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x48]
mov word [ebp - 0x44], ax
add edx, 0xfffffff0
mov dword [ebp - 0x30], 7
or eax, 0xffffffff
mov dword [ebp - 0x34], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100e33a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1010a7f2
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100e33d0
Capabilities:
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10164100
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x101ba0ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
push str.DATA
push str.SkinDataEx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x100e359a
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov dword [ebp - 0x48], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0x1018444c
lea ecx, [ebp - 0x44]
mov edi, eax
call fcn.100e3940
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.100e3110
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x100e3462
mov eax, dword [eax]
push str.Skin
push eax
lea eax, [ebp - 0x44]
push str._s_s.cab
push eax
call fcn.100e3e50
mov byte [ebp - 4], 0
add esp, 0x10
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x100e3492
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10042120
push dword [ebp - 0x44]
call fcn.10110103
add esp, 4
push 0
push 0x80
push 1
push 0
push 0
push 0x40000000
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100e34d7
push 0
lea eax, [ebp - 0x4c]
push eax
push edi
push dword [ebp - 0x48]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.100e3110
push str.TempSkin_
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call fcn.10041810
add esp, 0xc
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x100e3511
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10042120
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
call fcn.100e4670
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x100e355f
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.10042120
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
mov word [ebp - 0x40], ax
add edx, 0xfffffff0
mov dword [ebp - 0x2c], 7
or eax, 0xffffffff
mov dword [ebp - 0x30], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100e3595
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1010a7f2
mov esp, ebp
pop ebp
ret 4
Function at 0x100e6e30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101645a2
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101ba0ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x60]
mov dword [esi], vtable.CShareVariableManager.0
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x100e6e7b
mov eax, dword [ecx]
jmp 0x100e6e7d
mov eax, ecx
xor edx, edx
mov word [eax], dx
mov dword [ebp - 4], edx
mov dword [esi + 0x8c], 7
mov dword [esi + 0x88], edx
cmp dword [esi + 0x8c], 8
jb 0x100e6ea3
mov eax, dword [esi + 0x78]
jmp 0x100e6ea6
lea eax, [esi + 0x78]
xor edx, edx
mov word [eax], dx
lea eax, [esi + 0x90]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], edx
cmp dword [eax + 0x14], 8
jb 0x100e6ec3
mov eax, dword [eax]
xor edx, edx
mov word [eax], dx
lea eax, [esi + 0xa8]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], edx
cmp dword [eax + 0x14], 8
jb 0x100e6ee0
mov eax, dword [eax]
xor edx, edx
mov word [eax], dx
mov byte [ebp - 4], 3
push edx
push 0x1018444c
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], edx
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], edx
mov dword [esi + 0x40], edx
mov dword [esi + 0x44], edx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], edx
mov dword [esi + 0x54], edx
mov dword [esi + 0x58], edx
mov dword [esi + 0x5c], edx
call fcn.10041f80
push 0
push 0x1018444c
lea ecx, [esi + 0x78]
call fcn.10041f80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100eaaa0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x101ba0ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x414]
mov edi, ecx
push 0
push eax
mov dword [ebp - 0x41c], edi
call fcn.1012bcf0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.1012bcf0
mov eax, dword [edi + 0x24]
add esp, 0x18
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x100eacb6
push ebx
nop word [eax + eax]
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x418], eax
lea ebx, [eax + 0xc]
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100eab11
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x100eac6a
push ebx
lea eax, [ebp - 0x414]
push str.Is_s
push eax
call fcn.10041b40
add edi, 0x78
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x100eab4a
mov eax, dword [edi]
jmp 0x100eab4c
mov eax, edi
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x10193ca0
lea eax, [ebp - 0x414]
push eax
push 0x10184a74
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x10193ca0
lea eax, [ebp - 0x20c]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100eaba6
test dx, dx
je 0x100eaba2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100eaba6
add eax, 4
add ecx, 4
test dx, dx
jne 0x100eab80
xor eax, eax
jmp 0x100eabab
sbb eax, eax
or eax, 1
test eax, eax
je 0x100eabc9
lea eax, [ebp - 0x20c]
push eax
call fcn.101335ad
mov ecx, dword [ebp - 0x418]
add esp, 4
mov ecx, dword [ecx + 4]
mov byte [ecx], al
push ebx
lea eax, [ebp - 0x414]
push str.Use_s
push eax
call fcn.10041b40
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x100eabe6
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str.nothing
lea eax, [ebp - 0x414]
push eax
push 0x10184a74
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, str.nothing
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100eac3b
test dx, dx
je 0x100eac37
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100eac3b
add eax, 4
add ecx, 4
test dx, dx
jne 0x100eac15
xor eax, eax
jmp 0x100eac40
sbb eax, eax
or eax, 1
test eax, eax
je 0x100eac64
mov eax, dword [ebp - 0x418]
lea ecx, [ebp - 0x20c]
mov edx, dword [eax + 8]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x100eac53
mov edi, dword [ebp - 0x41c]
cmp byte [esi + 0xd], 0
jne 0x100eacaa
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x100eac8f
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x100eacaa
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x100eac83
jmp 0x100eacaa
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100eaca8
cmp esi, dword [eax + 8]
jne 0x100eaca8
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100eac98
mov esi, eax
mov eax, dword [edi + 0x24]
cmp esi, dword [eax]
jne 0x100eab00
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1010a7f2
mov esp, ebp
pop ebp
ret
Function at 0x100eca60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
lea eax, [ebp - 4]
push edi
mov esi, edx
push 1
push 4
push eax
mov dword [esi + 4], 0
mov dword [esi], 0
call fcn.101423b1
add esp, 0x10
cmp eax, 1
jne 0x100ecaf2
mov eax, dword [ebp - 4]
movzx ecx, al
shl ecx, 8
movzx eax, ah
add ecx, eax
movzx eax, byte [ebp - 2]
shl ecx, 8
add ecx, eax
movzx eax, byte [ebp - 1]
shl ecx, 8
add eax, ecx
mov dword [esi + 4], eax
cmp eax, 0x7a1200
ja 0x100ecaf2
add eax, 0xc
push eax
mov dword [esi + 4], eax
call fcn.10050ec0
mov ecx, dword [ebp - 4]
mov dword [esi], eax
push edi
mov dword [eax], ecx
mov eax, dword [esi + 4]
sub eax, 4
push 1
push eax
mov eax, dword [esi]
add eax, 4
push eax
call fcn.101423b1
add esp, 0x14
cmp eax, 1
jne 0x100ecaf2
mov eax, dword [esi]
pop edi
pop esi
mov eax, dword [eax + 4]
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100f2950
Capabilities:
Terminate process

Disassembly:
test edx, edx
mov eax, str.undefined
push esi
cmovne eax, edx
mov esi, ecx
push eax
push str.libpng_error:__s
push 2
call fcn.1012e723
add esp, 4
push eax
call fcn.100ec760
add esp, 0xc
push 0x10195e78
push 2
call fcn.1012e723
add esp, 4
push eax
call fcn.100ec760
add esp, 8
test esi, esi
je 0x100f29a8
mov eax, dword [esi + 0x40]
test eax, eax
je 0x100f29a8
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x100f29a8
push 1
push ecx
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x101008c0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x101008cb
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.101008e0
Function at 0x10106860
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10164a19
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101ba0ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x101c5520
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 5
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x2c]
mov dword [esi], vtable.TiXmlDeclaration.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x101c5520
mov dword [esi + 0x30], 0x101c5520
mov dword [esi + 0x34], 0x101c5520
mov edi, dword [ebp + 8]
mov edx, edi
mov byte [ebp - 4], 3
lea ebx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10106901
sub edx, ebx
push edx
push edi
call fcn.101087e0
mov edi, dword [ebp + 0xc]
mov edx, edi
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10106920
sub edx, ecx
lea ecx, [esi + 0x30]
push edx
push edi
call fcn.101087e0
mov edi, dword [ebp + 0x10]
mov edx, edi
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10106940
sub edx, ecx
lea ecx, [esi + 0x34]
push edx
push edi
call fcn.101087e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10106970
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10164a53
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101ba0ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x101c5520
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x101c5520
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x10184650
mov byte [ebp - 4], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.101087e0
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x101076f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10164b38
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101ba0ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x10107741
push ebx
push ebx
push ebx
push 2
call fcn.1010a3d0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [edi + 0x18]
test esi, esi
je 0x10107757
mov ecx, esi
mov esi, dword [esi + 0x28]
push 1
mov eax, dword [ecx]
call dword [eax]
test esi, esi
jne 0x10107748
push 2
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
push 0
push ebx
mov dword [edi + 8], 0xffffffff
mov dword [edi + 4], 0xffffffff
call fcn.10140adc
push ebx
call fcn.10142a3f
push 0
mov esi, eax
push 0
push ebx
mov dword [ebp - 0x14], esi
call fcn.10140adc
add esp, 0x1c
test esi, esi
jne 0x101077bb
push esi
push esi
push esi
push 0xd
mov ecx, edi
call fcn.1010a3d0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 0x10], 0x101c5520
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.101088c0
lea eax, [esi + 1]
push eax
call fcn.10050ec0
push ebx
push 1
mov ebx, eax
mov dword [ebp + 8], eax
push esi
push ebx
mov byte [eax], 0
call fcn.101423b1
add esp, 0x14
cmp eax, 1
je 0x1010780b
push 0
push 0
push 0
push 2
mov ecx, edi
call fcn.1010a3d0
xor bl, bl
jmp 0x101078ae
mov eax, dword [ebp - 0x14]
mov ecx, ebx
mov esi, ebx
mov byte [ebx + eax], 0
cmp byte [ebx], 0
je 0x10107878
nop dword [eax + eax]
mov al, byte [esi]
cmp al, 0xa
jne 0x1010783a
mov eax, esi
sub eax, ecx
inc eax
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.10108790
inc esi
mov ecx, esi
jmp 0x10107873
cmp al, 0xd
jne 0x10107872
mov eax, esi
sub eax, ecx
test eax, eax
jle 0x10107850
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.10108790
push 1
lea eax, [ebp + 8]
mov byte [ebp + 8], 0xa
push eax
lea ecx, [ebp - 0x10]
call fcn.10108790
cmp byte [esi + 1], 0xa
lea ecx, [esi + 1]
jne 0x1010786e
lea ecx, [esi + 2]
mov esi, ecx
jmp 0x10107873
inc esi
cmp byte [esi], 0
jne 0x10107820
sub esi, ecx
je 0x10107886
push esi
push ecx
lea ecx, [ebp - 0x10]
call fcn.10108790
push ebx
call fcn.10050eb0
mov eax, dword [ebp - 0x10]
add esp, 4
mov edx, dword [edi]
add eax, 8
mov ecx, edi
push dword [ebp + 0xc]
push 0
push eax
call dword [edx + 8]
cmp byte [edi + 0x2c], 0
je 0x101078ac
xor bl, bl
jmp 0x101078ae
mov bl, 1
mov ecx, dword [ebp - 0x10]
cmp ecx, 0x101c5520
je 0x101078c2
push ecx
call fcn.10050eb0
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1010c70d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x101ba0ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 4], ebx
je 0x1010c7da
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.1012bcf0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp word [ebp - 0x20c], bx
jne 0x1010c763
mov eax, ebx
jmp 0x1010c770
lea eax, [ebp - 0x20c]
push eax
call fcn.10143d94
pop ecx
push esi
push eax
push ebx
lea eax, [ebp - 0x20c]
lea esi, [edi + 0x30]
push eax
mov ecx, esi
call fcn.10049c80
test eax, eax
jne 0x1010c79b
cmp dword [esi + 0x14], 8
jb 0x1010c792
mov eax, dword [esi]
jmp 0x1010c794
mov eax, esi
push eax
call fcn.10048690
pop ecx
cmp word [ebp - 0x20c], bx
jne 0x1010c7a8
mov eax, ebx
jmp 0x1010c7b5
lea eax, [ebp - 0x20c]
push eax
call fcn.10143d94
pop ecx
push eax
push ebx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [edi + 0x48]
call fcn.10049c80
test eax, eax
jne 0x1010c7d9
cmp dword [esi + 0x14], 8
jb 0x1010c7d2
mov esi, dword [esi]
push esi
call fcn.10048690
pop ecx
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1010a7f2
mov esp, ebp
pop ebp
ret