joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100db460
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1034939e
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x1040706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x28]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x450], edi
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0x200
call fcn.101d2900
xor eax, eax
mov dword [ebp - 0x430], 0
add esp, 0xc
mov dword [ebp - 0x42c], 7
mov word [ebp - 0x440], ax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x448]
cmp dword [ebp + 0x20], 8
lea ecx, [ebp + 0xc]
push eax
cmovae ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x24]
or eax, 8
push eax
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100db51f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x100db61f
xor esi, esi
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x410]
push eax
push esi
push dword [ebp - 0x448]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x44c], eax
test eax, eax
jne 0x100db5e5
push dword [ebp - 0x444]
mov dword [ebp - 0x418], eax
lea ecx, [ebp - 0x428]
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x410]
push eax
mov dword [ebp - 0x414], 7
call fcn.10002560
mov byte [ebp - 4], 2
mov eax, dword [edi + 4]
cmp dword [edi + 8], eax
je 0x100db5c7
movups xmm0, xmmword [ebp - 0x428]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x418]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [edi + 4], 0x18
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 7
mov word [ebp - 0x428], ax
jmp 0x100db5d6
lea ecx, [ebp - 0x428]
push ecx
push eax
mov ecx, edi
call fcn.100b8950
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 1
call fcn.100028d0
xor eax, eax
mov dword [ebp - 0x444], 0x200
mov ecx, 0x100
lea edi, [ebp - 0x410]
inc esi
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x450]
cmp dword [ebp - 0x44c], eax
je 0x100db521
push dword [ebp - 0x448]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
lea ecx, [ebp - 0x440]
call fcn.100028d0
lea ecx, [ebp + 0xc]
call fcn.100028d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f99ca
mov esp, ebp
pop ebp
ret 0x24
Function at 0x100ddeb0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1034976b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1040706c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
lea ecx, [edi + 0x18]
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
lea eax, [esi + 0x18]
push eax
call fcn.10002050
lea eax, [esi + 0x30]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 0x30]
call fcn.10002050
lea eax, [esi + 0x48]
mov byte [ebp - 4], 1
push eax
lea ecx, [edi + 0x48]
call fcn.10002050
lea eax, [esi + 0x60]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0x60]
call fcn.10002050
lea eax, [esi + 0x78]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x78]
call fcn.10002050
lea eax, [esi + 0x90]
mov byte [ebp - 4], 4
push eax
lea ecx, [edi + 0x90]
call fcn.10002050
lea eax, [esi + 0xa8]
mov byte [ebp - 4], 5
push eax
lea ecx, [edi + 0xa8]
call fcn.10002050
lea eax, [esi + 0xc0]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0xc0]
call fcn.10002050
lea eax, [esi + 0xd8]
mov byte [ebp - 4], 7
push eax
lea ecx, [edi + 0xd8]
call fcn.10002050
lea eax, [esi + 0xf0]
mov byte [ebp - 4], 8
push eax
lea ecx, [edi + 0xf0]
call fcn.10002050
lea eax, [esi + 0x108]
mov byte [ebp - 4], 9
push eax
lea ecx, [edi + 0x108]
call fcn.10002050
lea eax, [esi + 0x120]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [edi + 0x120]
call fcn.10002050
mov eax, dword [esi + 0x138]
mov dword [edi + 0x138], eax
mov eax, dword [esi + 0x13c]
mov dword [edi + 0x13c], eax
mov eax, dword [esi + 0x140]
mov dword [edi + 0x140], eax
mov eax, dword [esi + 0x144]
mov dword [edi + 0x144], eax
mov eax, dword [esi + 0x148]
mov dword [edi + 0x148], eax
mov eax, dword [esi + 0x14c]
mov dword [edi + 0x14c], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100dfda0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x20], edx
mov edi, ecx
call fcn.100dfed0
cmp dword [edi + 0x14], 0x10
mov esi, edi
mov dword [ebp - 4], eax
mov ebx, dword [eax + 4]
mov dword [ebp - 8], ebx
jb 0x100dfdc6
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [edi + 0x10], ecx
jbe 0x100dfde7
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x100dfdd2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 4]
and eax, edx
mov ecx, dword [ecx + 0xc]
mov esi, dword [ecx + eax*8]
add eax, eax
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ebp - 0xc], edx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x10], eax
cmp edx, ebx
jne 0x100dfe0c
mov eax, ebx
jmp 0x100dfe10
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x100dfe82
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x100dfe1e
mov edx, dword [edi]
mov ebx, dword [esi + 0x1c]
lea ecx, [esi + 8]
mov dword [ebp - 0x14], ebx
cmp ebx, 0x10
mov ebx, dword [ebp - 8]
jb 0x100dfe32
mov ecx, dword [esi + 8]
push dword [edi + 0x10]
mov eax, dword [esi + 0x18]
push edx
push eax
push ecx
mov dword [ebp - 0x18], eax
call fcn.100c45e0
add esp, 0x10
test al, al
jne 0x100dfe54
mov esi, dword [esi]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
jmp 0x100dfe04
cmp dword [ebp - 0x14], 0x10
lea eax, [esi + 8]
jb 0x100dfe5f
mov eax, dword [eax]
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x100dfe69
mov ecx, dword [edi]
push dword [ebp - 0x18]
push eax
push dword [edi + 0x10]
push ecx
call fcn.100c45e0
add esp, 0x10
mov ecx, ebx
test al, al
cmovne ecx, esi
jmp 0x100dfe84
mov ecx, ebx
cmp ecx, ebx
je 0x100dfebc
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.100c3cc0
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax + 0x20]
mov edi, dword [eax + 0x24]
cmp esi, edi
je 0x100dfebc
mov ebx, dword [ebp + 8]
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x100dfec3
mov eax, dword [ecx]
push ebx
push dword [ebp - 0x20]
call dword [eax + 8]
add esi, 0x28
cmp esi, edi
jne 0x100dfea5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.100f512f
int3
Function at 0x100e2df0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10349db0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1040706c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.100c8390
mov ecx, eax
test ecx, ecx
je 0x100e2fdb
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
test edi, edi
je 0x100e2eb0
push edi
lea ecx, [ebp - 0x10]
call fcn.100c8860
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
je 0x100e2e8a
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 3
or eax, ecx
jge 0x100e2e73
push 3
lea ecx, [ebp - 0x10]
call fcn.100c8700
mov esi, dword [ebp - 0x10]
cmp dword [esi - 8], 3
jl 0x100e2fe5
xor eax, eax
mov dword [esi - 0xc], 3
mov word [esi + 6], ax
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x100e2ee7
push 0
push 0x103e3ef0
push 0x103e3f00
mov ecx, ebx
call fcn.100fd6d0
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
xor edi, edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100e2ed1
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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 - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 1
push 0x5c
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push eax
sub esp, 0x18
mov ecx, edi
mov edx, esp
xor eax, eax
lea ebx, [ecx + 2]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e2f25
sub ecx, ebx
sar ecx, 1
push ecx
push edi
mov ecx, edx
call fcn.10002560
call fcn.1019ba2e
mov ebx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov ecx, ebx
add esp, 0x24
sub ecx, dword [ebp - 0x1c]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x100e2f7e
push 1
push 0x2f
lea eax, [ebp - 0x1c]
push eax
sub esp, 0x18
mov ecx, esp
push edi
call fcn.100026e0
call fcn.1019ba2e
mov ebx, dword [ebp - 0x18]
add esp, 0x24
sub ebx, dword [ebp - 0x1c]
mov eax, 0x2aaaaaab
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x100e2fa3
lea ecx, [ebp - 0x1c]
xor edi, edi
call fcn.100029e0
jmp 0x100e2eb2
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e2fb0
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp + 0xc]
push edi
call fcn.10002560
lea ecx, [ebp - 0x1c]
mov edi, 1
call fcn.100029e0
jmp 0x100e2eb2
push 0x80004005
call fcn.100bfc60
push 0x80070057
call fcn.100bfc60
int3
Function at 0x100e8570
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi + 0x7e4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100e8591
push 0
push dword [esi + 0x7e4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x100f3570
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x1040706c]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx + 4]
mov edx, dword [ebp + 8]
or eax, 0x2001f
push esi
push edi
push eax
push edx
push dword [ecx]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.100f34c0
mov esi, eax
test esi, esi
jne 0x100f3667
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x100
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
jne 0x100f3639
nop dword [eax]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.100f3570
mov esi, eax
test esi, esi
jne 0x100f3667
lea eax, [esp + 0x20]
mov dword [esp + 8], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
je 0x100f3600
mov eax, dword [esp + 0xc]
test eax, eax
je 0x100f3650
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
push dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], 0
call fcn.100f36b0
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x100f3676
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.100f99ca
mov esp, ebp
pop ebp
ret 4
Function at 0x100f4340
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1034b326
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x1040706c]
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 dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x100f43ec
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x100f43ec
call fcn.100f29a0
mov edi, eax
jmp 0x100f450b
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x100f440f
call fcn.100f29a0
jmp 0x100f44fe
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x100f442d
call fcn.100f29a0
jmp 0x100f44fe
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x100f444e
mov edi, 0x8007000e
jmp 0x100f4500
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x100f4544
jb 0x100f446c
cmp eax, 0xffffffff
ja 0x100f4544
cmp eax, 0x400
jbe 0x100f4481
push eax
lea ecx, [ebp - 0x418]
call fcn.100f2970
jmp 0x100f44a7
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x100f44a7
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
jne 0x100f44be
mov edi, 0x8007000e
jmp 0x100f4500
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x100f44de
call fcn.100f29a0
jmp 0x100f44fe
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.100f41e0
mov edi, eax
test esi, esi
je 0x100f450b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x100f4524
lea ecx, [ebp - 0x418]
call fcn.100f2950
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 - 0x14]
xor ecx, ebp
call fcn.100f99ca
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.100bfc60
int3
Function at 0x10107fe0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x10108001
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x10108019
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x10108031
mov edx, dword [ebp - 4]
or edx, 2
mov dword [ebp - 4], edx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x10108047
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x1010805f
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1010f900
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0xa8]
je 0x1010f93e
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0x108]
je 0x1010f93e
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x108]
jne 0x1010f951
jmp 0x1010fac5
mov edx, dword [ebp - 4]
cmp dword [edx + 0x108], 0
je 0x1010f9e3
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], 0x17
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x108]
mov edx, dword [eax + 0x14c]
call edx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1010f9d6
push 0
push 0
push 0
push str.killfocus
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x108]
push edx
mov ecx, dword [ebp - 4]
call fcn.1010f210
mov eax, dword [ebp - 4]
mov dword [eax + 0x108], 0
cmp dword [ebp + 8], 0
jne 0x1010f9ee
jmp 0x1010fac5
cmp dword [ebp + 8], 0
je 0x1010fac5
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
call eax
cmp eax, dword [ebp - 4]
jne 0x1010fac5
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x108]
call eax
movzx ecx, al
test ecx, ecx
je 0x1010fac5
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x114]
call edx
movzx eax, al
test eax, eax
je 0x1010fac5
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x108], edx
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x48], 0x18
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x44], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x108]
mov edx, dword [eax + 0x14c]
call edx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1010fac5
push 0
push 0
push 0
push str.setfocus
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x108]
push edx
mov ecx, dword [ebp - 4]
call fcn.1010f210
mov esp, ebp
pop ebp
ret 8
Function at 0x10111210
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x1040706c]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x121], 0
mov dword [ebp - 0x120], 0x11c
push 0x118
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.101d2900
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x11c]
push ecx
call fcn.10111150
add esp, 0xc
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x128], edx
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x130], ecx
cmp dword [ebp - 0x128], 0xa
jb 0x101112aa
mov byte [ebp - 0x121], 1
jmp 0x101112cc
cmp dword [ebp - 0x128], 6
jne 0x101112cc
movzx edx, byte [ebp - 6]
cmp edx, 1
jne 0x101112cc
cmp dword [ebp - 0x12c], 3
jb 0x101112cc
mov byte [ebp - 0x121], 1
mov al, byte [ebp - 0x121]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f99ca
mov esp, ebp
pop ebp
ret
Function at 0x10111930
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x1040706c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x10111964
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10111964
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
test eax, eax
jne 0x10111973
jmp 0x10111adc
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x41c], ecx
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x418], edx
mov eax, dword [ebp - 0x418]
movzx ecx, word [eax]
test ecx, ecx
je 0x101119ce
mov edx, dword [ebp - 0x418]
movzx eax, word [edx]
cmp eax, 0x2f
je 0x101119b1
mov ecx, dword [ebp - 0x418]
movzx edx, word [ecx]
cmp edx, 0x5c
jne 0x101119bd
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp - 0x418]
add ecx, 2
mov dword [ebp - 0x418], ecx
jmp 0x10111988
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x424], edx
mov eax, dword [ebp - 0x41c]
cmp eax, dword [ebp + 0xc]
je 0x10111a5e
mov ecx, dword [ebp - 0x41c]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
shl ecx, 1
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x414]
push eax
call fcn.101d3050
add esp, 0xc
mov ecx, dword [ebp - 0x41c]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x420], ecx
cmp dword [ebp - 0x420], 0x208
jae 0x10111a27
jmp 0x10111a2c
call fcn.100f9b3a
xor edx, edx
mov eax, dword [ebp - 0x420]
mov word [ebp + eax - 0x414], dx
lea ecx, [ebp - 0x414]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10111930
add esp, 8
mov eax, dword [ebp - 0x424]
add eax, 2
mov dword [ebp - 0x424], eax
mov ecx, 2
imul edx, ecx, 0
mov dword [ebp - 0x428], edx
cmp dword [ebp - 0x428], 0x208
jae 0x10111a7a
jmp 0x10111a7f
call fcn.100f9b3a
xor eax, eax
mov ecx, dword [ebp - 0x428]
mov word [ebp + ecx - 0x20c], ax
cmp dword [ebp + 8], 0
je 0x10111aa8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.101eb998
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.101eb927
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10111adc
push 0
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f99ca
mov esp, ebp
pop ebp
ret
Function at 0x10112820
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x1011283a
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 0xffffffff
je 0x10112844
mov eax, 0x1000000
jmp 0x1011292e
mov edx, dword [ebp - 0xc]
add edx, 0x244
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [ebp - 0xc]
add eax, 0x244
push eax
call fcn.101e8fc7
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx + eax*2 + 0x242]
mov word [ebp - 8], dx
movzx eax, word [ebp - 8]
cmp eax, 0x5c
je 0x101128a2
movzx ecx, word [ebp - 8]
cmp ecx, 0x2f
je 0x101128a2
push 0x103d2860
mov edx, dword [ebp - 0xc]
add edx, 0x244
push edx
call fcn.101eb927
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x101128e6
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x101128ca
mov dword [ebp - 0x10], 1
jmp 0x101128d1
mov dword [ebp - 0x10], 0
mov cl, byte [ebp - 0x10]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
test edx, edx
jne 0x101128e6
mov eax, 0x2000000
jmp 0x1011292e
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.101179f0
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1011290c
mov eax, dword [ebp - 0x1c]
jmp 0x1011292e
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.101186e0
add esp, 4
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x1011292c
mov eax, 0x200
jmp 0x1011292e
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc