joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100e2920
Capabilities:
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101636a0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x101b90ec]
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 [0x101c6d00]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x100e2aec
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 0x1018344c
lea ecx, [ebp - 0x48]
mov edi, eax
call fcn.100e3080
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x101c6dec
call fcn.100e2850
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x100e29b3
mov eax, dword [eax]
push str.Skin
push eax
lea eax, [ebp - 0x48]
push str._s_s.cab
push eax
call fcn.100e3590
mov byte [ebp - 4], 0
add esp, 0x10
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x100e29e3
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10042110
push dword [ebp - 0x48]
call fcn.1010f7c1
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 0x100e2a26
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, 0x101c6dec
push eax
call fcn.100e2850
push str.TempSkin_
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
call fcn.10041800
add esp, 0xc
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x100e2a63
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10042110
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.100e3db0
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 0x100e2ab1
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.10042110
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 0x100e2ae7
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.10109ec2
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100e2b10
Capabilities:
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101636f0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x101b90ec]
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 0x100e2cda
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 0x1018344c
lea ecx, [ebp - 0x44]
mov edi, eax
call fcn.100e3080
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.100e2850
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x100e2ba2
mov eax, dword [eax]
push str.Skin
push eax
lea eax, [ebp - 0x44]
push str._s_s.cab
push eax
call fcn.100e3590
mov byte [ebp - 4], 0
add esp, 0x10
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x100e2bd2
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10042110
push dword [ebp - 0x44]
call fcn.1010f7c1
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 0x100e2c17
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.100e2850
push str.TempSkin_
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call fcn.10041800
add esp, 0xc
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x100e2c51
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10042110
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.100e3db0
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 0x100e2c9f
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.10042110
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 0x100e2cd5
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.10109ec2
mov esp, ebp
pop ebp
ret 4
Function at 0x100e6540
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10163b92
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101b90ec]
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 0x100e658b
mov eax, dword [ecx]
jmp 0x100e658d
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 0x100e65b3
mov eax, dword [esi + 0x78]
jmp 0x100e65b6
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 0x100e65d3
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 0x100e65f0
mov eax, dword [eax]
xor edx, edx
mov word [eax], dx
mov byte [ebp - 4], 3
push edx
push 0x1018344c
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.10041f70
push 0
push 0x1018344c
lea ecx, [esi + 0x78]
call fcn.10041f70
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 0x100ea190
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x101b90ec]
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.1012b3b0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.1012b3b0
mov eax, dword [edi + 0x24]
add esp, 0x18
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x100ea3a6
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 0x100ea201
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x100ea35a
push ebx
lea eax, [ebp - 0x414]
push str.Is_s
push eax
call fcn.10041b30
add edi, 0x78
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x100ea23a
mov eax, dword [edi]
jmp 0x100ea23c
mov eax, edi
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x10192c14
lea eax, [ebp - 0x414]
push eax
push 0x10183a6c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x10192c14
lea eax, [ebp - 0x20c]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100ea296
test dx, dx
je 0x100ea292
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100ea296
add eax, 4
add ecx, 4
test dx, dx
jne 0x100ea270
xor eax, eax
jmp 0x100ea29b
sbb eax, eax
or eax, 1
test eax, eax
je 0x100ea2b9
lea eax, [ebp - 0x20c]
push eax
call fcn.10132c54
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.10041b30
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x100ea2d6
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str.nothing
lea eax, [ebp - 0x414]
push eax
push 0x10183a6c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, str.nothing
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100ea32b
test dx, dx
je 0x100ea327
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100ea32b
add eax, 4
add ecx, 4
test dx, dx
jne 0x100ea305
xor eax, eax
jmp 0x100ea330
sbb eax, eax
or eax, 1
test eax, eax
je 0x100ea354
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 0x100ea343
mov edi, dword [ebp - 0x41c]
cmp byte [esi + 0xd], 0
jne 0x100ea39a
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x100ea37f
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x100ea39a
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x100ea373
jmp 0x100ea39a
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100ea398
cmp esi, dword [eax + 8]
jne 0x100ea398
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100ea388
mov esi, eax
mov eax, dword [edi + 0x24]
cmp esi, dword [eax]
jne 0x100ea1f0
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10109ec2
mov esp, ebp
pop ebp
ret
Function at 0x100ec150
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.10141ae1
add esp, 0x10
cmp eax, 1
jne 0x100ec1e2
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 0x100ec1e2
add eax, 0xc
push eax
mov dword [esi + 4], eax
call fcn.10050e10
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.10141ae1
add esp, 0x14
cmp eax, 1
jne 0x100ec1e2
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 0x100f2040
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.1012ddd3
add esp, 4
push eax
call fcn.100ebe50
add esp, 0xc
push 0x10194dd4
push 2
call fcn.1012ddd3
add esp, 4
push eax
call fcn.100ebe50
add esp, 8
test esi, esi
je 0x100f2098
mov eax, dword [esi + 0x40]
test eax, eax
je 0x100f2098
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x100f2098
push 1
push ecx
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x100fffa0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x100fffab
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.100fffc0
Function at 0x10105f40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10164009
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101b90ec]
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], 0x101c44c0
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], 0x101c44c0
mov dword [esi + 0x30], 0x101c44c0
mov dword [esi + 0x34], 0x101c44c0
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 0x10105fe1
sub edx, ebx
push edx
push edi
call fcn.10107ec0
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 0x10106000
sub edx, ecx
lea ecx, [esi + 0x30]
push edx
push edi
call fcn.10107ec0
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 0x10106020
sub edx, ecx
lea ecx, [esi + 0x34]
push edx
push edi
call fcn.10107ec0
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 0x10106050
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10164043
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101b90ec]
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], 0x101c44c0
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], 0x101c44c0
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x10183648
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.10107ec0
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 0x10106dd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10164128
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101b90ec]
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 0x10106e21
push ebx
push ebx
push ebx
push 2
call fcn.10109aa0
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 0x10106e37
mov ecx, esi
mov esi, dword [esi + 0x28]
push 1
mov eax, dword [ecx]
call dword [eax]
test esi, esi
jne 0x10106e28
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.1014020c
push ebx
call fcn.1014216f
push 0
mov esi, eax
push 0
push ebx
mov dword [ebp - 0x14], esi
call fcn.1014020c
add esp, 0x1c
test esi, esi
jne 0x10106e9b
push esi
push esi
push esi
push 0xd
mov ecx, edi
call fcn.10109aa0
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], 0x101c44c0
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.10107fa0
lea eax, [esi + 1]
push eax
call fcn.10050e10
push ebx
push 1
mov ebx, eax
mov dword [ebp + 8], eax
push esi
push ebx
mov byte [eax], 0
call fcn.10141ae1
add esp, 0x14
cmp eax, 1
je 0x10106eeb
push 0
push 0
push 0
push 2
mov ecx, edi
call fcn.10109aa0
xor bl, bl
jmp 0x10106f8e
mov eax, dword [ebp - 0x14]
mov ecx, ebx
mov esi, ebx
mov byte [ebx + eax], 0
cmp byte [ebx], 0
je 0x10106f58
nop dword [eax + eax]
mov al, byte [esi]
cmp al, 0xa
jne 0x10106f1a
mov eax, esi
sub eax, ecx
inc eax
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.10107e70
inc esi
mov ecx, esi
jmp 0x10106f53
cmp al, 0xd
jne 0x10106f52
mov eax, esi
sub eax, ecx
test eax, eax
jle 0x10106f30
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.10107e70
push 1
lea eax, [ebp + 8]
mov byte [ebp + 8], 0xa
push eax
lea ecx, [ebp - 0x10]
call fcn.10107e70
cmp byte [esi + 1], 0xa
lea ecx, [esi + 1]
jne 0x10106f4e
lea ecx, [esi + 2]
mov esi, ecx
jmp 0x10106f53
inc esi
cmp byte [esi], 0
jne 0x10106f00
sub esi, ecx
je 0x10106f66
push esi
push ecx
lea ecx, [ebp - 0x10]
call fcn.10107e70
push ebx
call fcn.10050e00
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 0x10106f8c
xor bl, bl
jmp 0x10106f8e
mov bl, 1
mov ecx, dword [ebp - 0x10]
cmp ecx, 0x101c44c0
je 0x10106fa2
push ecx
call fcn.10050e00
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 0x1010bdcd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x101b90ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 4], ebx
je 0x1010be9a
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.1012b3b0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp word [ebp - 0x20c], bx
jne 0x1010be23
mov eax, ebx
jmp 0x1010be30
lea eax, [ebp - 0x20c]
push eax
call fcn.101434c4
pop ecx
push esi
push eax
push ebx
lea eax, [ebp - 0x20c]
lea esi, [edi + 0x30]
push eax
mov ecx, esi
call fcn.10049bd0
test eax, eax
jne 0x1010be5b
cmp dword [esi + 0x14], 8
jb 0x1010be52
mov eax, dword [esi]
jmp 0x1010be54
mov eax, esi
push eax
call fcn.100485e0
pop ecx
cmp word [ebp - 0x20c], bx
jne 0x1010be68
mov eax, ebx
jmp 0x1010be75
lea eax, [ebp - 0x20c]
push eax
call fcn.101434c4
pop ecx
push eax
push ebx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [edi + 0x48]
call fcn.10049bd0
test eax, eax
jne 0x1010be99
cmp dword [esi + 0x14], 8
jb 0x1010be92
mov esi, dword [esi]
push esi
call fcn.100485e0
pop ecx
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.10109ec2
mov esp, ebp
pop ebp
ret
Function at 0x1010f68c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x101b90ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.1012b3b0
add esp, 0xc
mov dword [ebp - 0x120], esi
call fcn.100eb480
test al, al
je 0x1010f6df
push edi
pop ebx
push edi
push edx
push ecx
pop ebx
pop edx
push ebx
pop eax
push eax
pop ebp
pop edi
pop ebp
pop esp
pop ecx
push ecx
push edx
push esp
push ecx
push edi
pop ebp
pop ecx
pop ebx
call fcn.100eb170
test al, al
je 0x1010f700
pop eax
pop ebx
pop edi
pop edi
pop ebp
pop edi
pop ecx
pop esp
push esp
pop edi
push eax
push ebp
pop esp
pop edi
pop edx
push ebx
pop esi
push edx
push esp
push ecx
pop ebp
pop ebp
pop edi
push edi
call fcn.100eab50
test al, al
je 0x1010f721
push esi
push esi
push edx
pop esi
pop ecx
push ecx
pop edi
pop eax
pop ebp
pop eax
push esp
push ecx
pop edx
pop eax
pop ebx
push esi
pop esp
pop ecx
push ecx
pop ebp
pop edi
pop esi
push esi
push ebp
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jne 0x1010f751
xor eax, eax
inc eax
cmp dword [ebp - 0x118], 0
je 0x1010f74b
cmp dword [ebp - 0x118], eax
jne 0x1010f751
cmp byte [ebp - 6], 1
je 0x1010f7b0
call fcn.100eb560
test al, al
je 0x1010f775
push eax
push ecx
push ebp
pop edi
pop edi
pop esi
pop esi
pop edi
pop esi
push eax
push esp
push edi
pop esp
push eax
push eax
push eax
push esp
push esi
push edi
pop esi
pop esp
push ebp
pop ecx
pop esp
pop edx
pop ecx
pop ebp
call fcn.100eb330
test al, al
je 0x1010f793
push ecx
pop edi
push ecx
pop edi
push eax
push ebx
pop ecx
push eax
push ebp
pop edx
push ebp
pop esp
push ebx
push esi
pop esp
pop esi
push esp
pop esp
push eax
pop esi
push ecx
call fcn.100eb4f0
test al, al
je 0x1010f7ae
push ebx
pop eax
push esi
pop esi
push ebp
pop esp
pop eax
push esp
pop eax
push edi
push edi
pop eax
pop esp
push ebp
push edx
push esi
push ebx
push eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10109ec2
mov esp, ebp
pop ebp
ret
Function at 0x1010f7c1
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.101434c4
mov dword [ebp - 8], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10050e10
push dword [ebp + 8]
mov edi, eax
push edi
mov dword [ebp - 4], edi
call fcn.101434a2
add esp, 0x10
call fcn.100ead80
test al, al
je 0x1010f814
push edx
push ebp
pop esp
pop edx
push esi
pop esi
pop edx
push eax
pop edx
pop ebx
pop ebx
pop esp
pop edx
push edi
push esp
push edi
mov eax, dword [ebp - 8]
xor esi, esi
xor ebx, ebx
inc esi
mov dword [ebp - 0xc], ebx
test eax, eax
js 0x1010f8de
cmp word [edi + ebx*2], 0x5c
jne 0x1010f8cf
call fcn.100eb410
test al, al
je 0x1010f84f
push ebp
pop ebp
push eax
push esp
pop ebp
push ebx
pop ebp
push esi
pop ebx
push edi
pop eax
pop esp
push esi
push eax
push ebp
pop eax
pop esi
push ecx
push ebx
push edx
call fcn.100eb170
test al, al
je 0x1010f879
push ebp
push ecx
push edi
push edx
push ebx
push ecx
pop esp
pop ebx
pop ebp
pop edx
pop ecx
pop edi
pop ebx
push esp
push eax
push edi
pop ebx
push edi
pop ebx
push eax
pop edx
push ebp
pop ecx
pop eax
pop eax
pop ebx
push ebx
pop ebx
push esp
push ebp
mov edi, dword [ebp - 4]
call fcn.100eb250
test al, al
je 0x1010f8a4
push esi
push esp
push esp
push eax
pop ebx
pop esi
push ebp
push ecx
push eax
push esp
push esp
push edi
pop ebp
pop ebx
push edi
pop ecx
pop esi
push edi
push ecx
push esp
pop ebp
pop ecx
pop ebp
push eax
pop ebp
pop edi
push ecx
pop ebp
pop eax
pop ecx
push ecx
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
xor eax, eax
push edi
movzx esi, word [edi + ebx*2]
mov word [edi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1010f8c8
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1010f8ee
mov eax, dword [ebp - 8]
mov word [edi + ebx*2], si
inc ebx
mov dword [ebp - 0xc], ebx
cmp ebx, eax
jle 0x1010f827
xor esi, esi
inc esi
push edi
call fcn.10050e00
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
jmp 0x1010f8de
Function at 0x10110711
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x89], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret