joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413f90
Capabilities:
Set current directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5690ab
push eax
mov dword fs:[0], esp
sub esp, 0x168
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00413430
lea eax, [esp + 0x74]
push 0x104
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x74]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea edx, [esp + 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
xor ebp, ebp
push 8
call fcn.0055d252
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x180], ebx
je 0x41400d
mov ecx, dword [esp + 0x188]
push ecx
mov ecx, eax
call fcn.004c4300
mov esi, eax
jmp 0x41400f
xor esi, esi
push 0x30
mov dword [esp + 0x184], 0xffffffff
call fcn.0055d252
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x180], 1
je 0x414044
push ebx
push ebp
push ebx
push esi
mov ecx, eax
call fcn.004c56f0
jmp 0x414046
xor eax, eax
or esi, 0xffffffff
cmp ebp, ebx
mov dword [esp + 0x180], esi
mov dword [edi + 0x164], eax
je 0x41406a
mov ecx, ebp
call fcn.004c44b0
push ebp
call fcn.0055d27b
add esp, 4
mov eax, dword [edi + 0x164]
cmp dword [eax + 0x24], ebx
jne 0x414163
cmp dword [eax + 0x28], 4
jne 0x414163
push ebx
lea ecx, [esp + 0x18]
call fcn.00416c20
lea ecx, [esp + 0x14]
mov dword [esp + 0x180], 2
call fcn.0055d8ba
cmp eax, 1
jne 0x41413b
push 8
call fcn.0055d252
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x180], 4
je 0x4140d2
mov edx, dword [esp + 0x70]
mov ecx, eax
push edx
call fcn.004c4300
jmp 0x4140d4
xor eax, eax
mov esi, dword [edi + 0x164]
mov byte [esp + 0x180], 2
cmp esi, ebx
mov ebp, eax
je 0x4140f8
mov ecx, esi
call fcn.004c5a00
push esi
call fcn.0055d27b
add esp, 4
lea eax, [esp + 0x70]
lea ecx, [edi + 0x16c]
push eax
mov dword [edi + 0x164], ebx
call fcn.0055ce12
lea ecx, [esp + 0x70]
mov dword [esp + 0x180], 5
call fcn.0055cd25
lea ecx, [esp + 0x14]
mov dword [esp + 0x180], 0xffffffff
call fcn.0055d4fb
jmp 0x413fe1
lea ecx, [esp + 0x70]
mov dword [esp + 0x180], 3
call fcn.0055cd25
lea ecx, [esp + 0x14]
mov dword [esp + 0x180], esi
call fcn.0055d4fb
xor eax, eax
jmp 0x41417d
mov ecx, dword [edi + 0x164]
mov edx, dword [ecx + 0x1c]
xor ecx, ecx
mov eax, dword [edx + 0xc]
cmp ecx, eax
mov dword [edi + 0x168], eax
sbb eax, eax
neg eax
mov ecx, dword [esp + 0x178]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x174
ret 8
Function at 0x415240
Capabilities:
Set current directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x56932b
push eax
mov dword fs:[0], esp
sub esp, 0x168
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.004147b0
lea eax, [esp + 0x74]
push 0x104
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x74]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea edx, [esp + 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
xor ebp, ebp
push 8
call fcn.0055d252
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x180], ebx
je 0x4152bd
mov ecx, dword [esp + 0x188]
push ecx
mov ecx, eax
call fcn.004c4300
mov esi, eax
jmp 0x4152bf
xor esi, esi
push 0x30
mov dword [esp + 0x184], 0xffffffff
call fcn.0055d252
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x180], 1
je 0x4152f4
push ebx
push ebp
push ebx
push esi
mov ecx, eax
call fcn.004c56f0
jmp 0x4152f6
xor eax, eax
or esi, 0xffffffff
cmp ebp, ebx
mov dword [esp + 0x180], esi
mov dword [edi + 0x164], eax
je 0x41531a
mov ecx, ebp
call fcn.004c44b0
push ebp
call fcn.0055d27b
add esp, 4
mov eax, dword [edi + 0x164]
cmp dword [eax + 0x24], ebx
jne 0x415413
cmp dword [eax + 0x28], 4
jne 0x415413
push ebx
lea ecx, [esp + 0x18]
call fcn.00416c20
lea ecx, [esp + 0x14]
mov dword [esp + 0x180], 2
call fcn.0055d8ba
cmp eax, 1
jne 0x4153eb
push 8
call fcn.0055d252
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x180], 4
je 0x415382
mov edx, dword [esp + 0x70]
mov ecx, eax
push edx
call fcn.004c4300
jmp 0x415384
xor eax, eax
mov esi, dword [edi + 0x164]
mov byte [esp + 0x180], 2
cmp esi, ebx
mov ebp, eax
je 0x4153a8
mov ecx, esi
call fcn.004c5a00
push esi
call fcn.0055d27b
add esp, 4
lea eax, [esp + 0x70]
lea ecx, [edi + 0x170]
push eax
mov dword [edi + 0x164], ebx
call fcn.0055ce12
lea ecx, [esp + 0x70]
mov dword [esp + 0x180], 5
call fcn.0055cd25
lea ecx, [esp + 0x14]
mov dword [esp + 0x180], 0xffffffff
call fcn.0055d4fb
jmp 0x415291
lea ecx, [esp + 0x70]
mov dword [esp + 0x180], 3
call fcn.0055cd25
lea ecx, [esp + 0x14]
mov dword [esp + 0x180], esi
call fcn.0055d4fb
xor eax, eax
jmp 0x41542d
mov ecx, dword [edi + 0x164]
mov edx, dword [ecx + 0x1c]
xor ecx, ecx
mov eax, dword [edx + 0xc]
cmp ecx, eax
mov dword [edi + 0x16c], eax
sbb eax, eax
neg eax
mov ecx, dword [esp + 0x178]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x174
ret 8
Function at 0x415f30
Capabilities:
Set current directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x56950b
push eax
mov dword fs:[0], esp
sub esp, 0x168
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00415990
lea eax, [esp + 0x74]
push 0x104
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x74]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea edx, [esp + 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
xor ebp, ebp
push 8
call fcn.0055d252
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x180], ebx
je 0x415fad
mov ecx, dword [esp + 0x188]
push ecx
mov ecx, eax
call fcn.004c4300
mov esi, eax
jmp 0x415faf
xor esi, esi
push 0x30
mov dword [esp + 0x184], 0xffffffff
call fcn.0055d252
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x180], 1
je 0x415fe4
push ebx
push ebp
push ebx
push esi
mov ecx, eax
call fcn.004c56f0
jmp 0x415fe6
xor eax, eax
or esi, 0xffffffff
cmp ebp, ebx
mov dword [esp + 0x180], esi
mov dword [edi + 0x14c], eax
je 0x41600a
mov ecx, ebp
call fcn.004c44b0
push ebp
call fcn.0055d27b
add esp, 4
mov eax, dword [edi + 0x14c]
cmp dword [eax + 0x24], ebx
jne 0x416103
cmp dword [eax + 0x28], 4
jne 0x416103
push ebx
lea ecx, [esp + 0x18]
call fcn.00416c20
lea ecx, [esp + 0x14]
mov dword [esp + 0x180], 2
call fcn.0055d8ba
cmp eax, 1
jne 0x4160db
push 8
call fcn.0055d252
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x180], 4
je 0x416072
mov edx, dword [esp + 0x70]
mov ecx, eax
push edx
call fcn.004c4300
jmp 0x416074
xor eax, eax
mov esi, dword [edi + 0x14c]
mov byte [esp + 0x180], 2
cmp esi, ebx
mov ebp, eax
je 0x416098
mov ecx, esi
call fcn.004c5a00
push esi
call fcn.0055d27b
add esp, 4
lea eax, [esp + 0x70]
lea ecx, [edi + 0x154]
push eax
mov dword [edi + 0x14c], ebx
call fcn.0055ce12
lea ecx, [esp + 0x70]
mov dword [esp + 0x180], 5
call fcn.0055cd25
lea ecx, [esp + 0x14]
mov dword [esp + 0x180], 0xffffffff
call fcn.0055d4fb
jmp 0x415f81
lea ecx, [esp + 0x70]
mov dword [esp + 0x180], 3
call fcn.0055cd25
lea ecx, [esp + 0x14]
mov dword [esp + 0x180], esi
call fcn.0055d4fb
xor eax, eax
jmp 0x41611d
mov ecx, dword [edi + 0x14c]
mov edx, dword [ecx + 0x1c]
xor ecx, ecx
mov eax, dword [edx + 0xc]
cmp ecx, eax
mov dword [edi + 0x150], eax
sbb eax, eax
neg eax
mov ecx, dword [esp + 0x178]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x174
ret 8

Function at 0x416e40
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x104
lea eax, [esp]
push esi
mov esi, dword [esp + 0x10c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x5c
lea ecx, [esp + 8]
push 0
push ecx
call dword [sym.imp.SHLWAPI.dll_StrRChrA]
test eax, eax
je 0x416e7c
cmp byte [eax - 1], 0x3a
jne 0x416e79
mov byte [eax + 1], 0
jmp 0x416e7c
mov byte [eax], 0
call fcn.00566199
mov eax, dword [eax + 4]
lea edx, [esp + 4]
push 3
push edx
mov eax, dword [eax + 0x1c]
push 0
push esi
push 0
mov ecx, dword [eax + 0x1c]
push ecx
call dword [fcn.00571330]
pop esi
add esp, 0x104
ret
Function at 0x416eb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5695b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x10], esp
push eax
push 0
push 0x5bb754
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [ebp - 0x20]
call fcn.0055dca9
push 0
lea edx, [ebp - 0x12c]
push 0x1001
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.0055ddbb
test eax, eax
je 0x416f41
lea ecx, [ebp - 0x20]
call fcn.0055dfd6
lea ecx, [ebp - 0x28]
call fcn.0055d303
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 2
push eax
call fcn.0055e0e7
mov dword [ebp - 4], 0
call fcn.0055d341
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.0055dcfe
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x416f90
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x370
push ebx
push esi
push edi
mov edi, dword [esp + 0x388]
test edi, edi
je 0x416fa7
mov byte [edi], 0
mov ebx, dword [esp + 0x390]
test ebx, ebx
je 0x416fb5
mov byte [ebx], 0
mov esi, dword [esp + 0x384]
push 0x800
lea eax, [esp + 0x18]
push 0x160
push eax
push 0
push esi
call dword [0x57132c]
test eax, eax
je 0x4170e0
test dword [esp + 0x1c], 0x10000
je 0x4170e0
lea ecx, [esp + 0xc]
push ecx
push 0x597d58
push 1
push 0
push 0x597d48
call dword [0x5715b4]
test eax, eax
jl 0x4170e0
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push 0x597d68
mov edx, dword [eax]
push eax
call dword [edx]
test eax, eax
jl 0x4170d6
lea edx, [esp + 0x174]
push 0x104
push edx
push 0xffffffffffffffff
push esi
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x174]
push 0
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x4170cc
mov eax, dword [esp + 0x380]
test eax, eax
je 0x417066
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0xc]
push 2
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x4c]
test eax, eax
jl 0x4170cc
test edi, edi
je 0x417092
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x38c]
push 0
push 0
mov ecx, dword [eax]
push edx
push edi
push eax
call dword [ecx + 0xc]
test ebx, ebx
je 0x4170a9
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x394]
push edx
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x370
ret
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x370
ret
Function at 0x4170f0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x104
call fcn.0056171c
test eax, eax
je 0x417108
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x41710a
xor eax, eax
push esi
mov esi, dword [esp + 0x10c]
lea ecx, [esp + 4]
push 0x104
push ecx
push 0
push 0
push esi
push eax
call fcn.00416f90
add esp, 0x18
test eax, eax
jne 0x41714c
lea edx, [esp + 4]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x5c
lea eax, [esp + 8]
push 0
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrA]
mov byte [eax], 0
call fcn.0056171c
test eax, eax
je 0x41715e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x417160
xor eax, eax
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 4]
push 1
push ecx
push 0
push esi
push 0
push edx
call dword [fcn.00571330]
mov ecx, 0x20
pop esi
cmp ecx, eax
sbb eax, eax
neg eax
add esp, 0x104
ret

Function at 0x4178c0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x104
push esi
mov esi, ecx
lea eax, [esi + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 0x48]
mov eax, dword [0x5bb764]
push ecx
lea edx, [esp + 8]
push 0x104
push edx
push 0x5f4830
lea ecx, [esi + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 4]
lea ecx, [esi + 4]
push edx
call fcn.0055ce62
mov eax, dword [esi + 0x4c]
lea ecx, [esi + 0x4c]
call dword [eax + 0x14]
pop esi
add esp, 0x104
ret

Function at 0x4180e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5697a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x64]
test eax, eax
jne 0x41818a
mov eax, dword [0x5ea848]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.0055d109
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.0055d158
push 0x5bb84c
lea ecx, [esp + 0xc]
call fcn.0055d0b5
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x418171
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x418171
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x64], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.0055cd25
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4181a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [fcn.00571004]
mov esi, eax
test esi, esi
jne 0x418202
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [fcn.00571018]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [fcn.00571000]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x418410
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
mov eax, dword [esp + 0x20c]
push ebx
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
push ebp
push 0
push 0
push eax
push 0x5bbb8c
mov edi, ecx
push 0
call dword [fcn.00571330]
mov esi, eax
cmp esi, 0x20
ja 0x418500
lea ecx, [esp + 0x10]
push ecx
push 0x5bbb84
push 0x80000000
mov ecx, edi
call fcn.004181a0
test eax, eax
jne 0x418500
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push 0x5bbb70
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x80000000
mov ecx, edi
call fcn.004181a0
test eax, eax
jne 0x418500
lea edx, [esp + 0x10]
push 0x5bbb68
push edx
call fcn.00503915
mov esi, eax
add esp, 8
test esi, esi
jne 0x4184d1
lea eax, [esp + 0x10]
push 0x5bbb64
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
mov esi, eax
test esi, esi
jne 0x4184d1
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x4184d4
mov byte [esi], 0
push 0x5bb704
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8

Function at 0x419330
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x20
push esi
call fcn.005653f4
mov esi, eax
push 0xffffffffffffffff
mov eax, dword [esi + 0x68]
push eax
call fcn.0055ae6b
test eax, eax
push 5
je 0x419356
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x64]
push ecx
push edx
jmp 0x419361
mov ecx, dword [esi + 0x64]
xor eax, eax
mov ax, word [esi + 0x68]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x419426
mov edx, dword [esi + 0x64]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x419426
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x419426
cmp word [eax + 2], 0xffff
push edi
jne 0x4193af
movsx ecx, word [eax + 0x14]
movsx edi, word [eax + 0x18]
movsx edx, word [eax + 0x12]
movsx eax, word [eax + 0x16]
add edi, ecx
push edi
jmp 0x4193c2
movsx ecx, word [eax + 0xc]
movsx edi, word [eax + 0x10]
movsx edx, word [eax + 0xa]
movsx eax, word [eax + 0xe]
add edi, ecx
push edi
add eax, edx
push eax
push ecx
lea ecx, [esp + 0x14]
push edx
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi + 0x1c]
lea edx, [esp + 8]
push edx
push eax
call dword [sym.imp.USER32.dll_MapDialogRect]
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 8]
mov edi, dword [esp + 0x1c]
sub ecx, esi
mov esi, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esp + 0xc]
add ecx, eax
mov eax, dword [esp + 0x2c]
sub edx, edi
sub edx, esi
pop edi
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
add edx, ecx
mov dword [eax + 4], edx
pop esi
add esp, 0x20
ret 4
Function at 0x419740
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x224
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebp
push esi
xor esi, esi
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov dword [esp + 0x10], esi
lea ebp, [ecx + 0x88]
mov ecx, dword [ebp]
test ecx, ecx
je 0x4197be
mov eax, dword [ecx]
call dword [eax + 0xf4]
push eax
lea ecx, [esp + 0x18]
push 0x5bbf58
push ecx
call edi
mov edx, dword [0x5f70a8]
add esp, 0xc
lea eax, [esp + 0x34]
lea ecx, [esp + 0x14]
push edx
push 0x200
push eax
push 0x5f4830
push ecx
push 0x572a38
call ebx
mov al, byte [esp + 0x34]
test al, al
je 0x4197be
mov eax, dword [esp + 0x10]
mov edx, 1
mov ecx, esi
shl edx, cl
or eax, edx
mov dword [esp + 0x10], eax
inc esi
add ebp, 4
cmp esi, 0xd
jl 0x419762
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x224
ret

Function at 0x419b30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5699fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 0x144]
mov ecx, edi
call fcn.0055e3ff
mov dword [edi], 0x572c04
mov eax, dword [esp + 0x2c]
xor ebx, ebx
push ebx
push eax
mov dword [esp + 0x20], ebx
mov dword [esi], 0x572c00
mov dword [esi + 0x130], ebx
mov byte [esi + 0xc], bl
mov dword [esi + 0x180], esi
mov dword [esi + 0x138], ebx
call fcn.0055fe23
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x134], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 8], edx
mov dword [0x5f73dc], eax
lea edx, [esi + 0x110]
mov dword [esi + 0x140], ecx
mov ecx, 8
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x134]
cmp eax, ebx
jne 0x419bd4
xor eax, eax
jmp 0x419bd7
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x10]
mov dword [edx], eax
mov edx, dword [esp + 0x24]
mov dword [esi + 0x118], ebx
mov dword [esi + 0x120], 5
mov dword [esi + 0x124], 0x419c40
mov dword [esi + 0x11c], edx
mov dword [esi + 0x114], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x41a160
Capabilities:
Create directory

Disassembly:
sub esp, 0x104
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x118]
test edi, edi
je 0x41a2c0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 3
jl 0x41a2c0
mov al, byte [esp + 0x10]
cmp al, 0x41
jl 0x41a1bd
cmp al, 0x5a
jle 0x41a1cd
cmp al, 0x61
jl 0x41a2c0
cmp al, 0x7a
jg 0x41a2c0
cmp byte [esp + 0x11], 0x3a
jne 0x41a2c0
cmp byte [esp + 0x12], 0x5c
jne 0x41a2c0
cmp ecx, 3
jne 0x41a223
mov eax, dword [esp + 0x11c]
test eax, eax
jne 0x41a216
lea ecx, [esp + 0x10]
push 0
push ecx
call fcn.0050398b
add esp, 8
test eax, eax
je 0x41a216
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x104
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x104
ret
mov al, byte [esp + 0x13]
mov esi, 3
test al, al
mov edi, 1
je 0x41a2ae
mov ebx, dword [esp + 0x11c]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [esp + esi + 0x10]
mov ecx, eax
mov al, byte [eax]
test al, al
je 0x41a25b
cmp al, 0x5c
je 0x41a25b
mov al, byte [esp + esi + 0x11]
inc esi
test al, al
jne 0x41a24e
mov al, byte [esp + esi + 0x10]
xor edx, edx
test al, al
sete dl
push ecx
mov edi, edx
mov byte [esp + esi + 0x14], 0
call fcn.00419f00
add esp, 4
test eax, eax
je 0x41a2c0
test ebx, ebx
jne 0x41a29c
lea eax, [esp + 0x10]
push ebx
push eax
call ebp
lea ecx, [esp + 0x10]
push ebx
push ecx
call fcn.0050398b
add esp, 8
test eax, eax
jne 0x41a206
test edi, edi
jne 0x41a2ae
mov byte [esp + esi + 0x10], 0x5c
mov al, byte [esp + esi + 0x11]
inc esi
test al, al
jne 0x41a242
xor eax, eax
test edi, edi
pop edi
pop esi
pop ebp
pop ebx
sete al
add esp, 0x104
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x104
ret
Function at 0x41a840
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x569a5e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 0x14c]
mov ecx, edi
call fcn.0055e3ff
mov dword [edi], 0x572dfc
mov eax, dword [esp + 0x2c]
xor ebx, ebx
push ebx
push eax
mov dword [esp + 0x20], ebx
mov dword [esi], 0x572df8
mov dword [esi + 0x130], ebx
mov byte [esi + 0xc], bl
mov dword [esi + 0x188], esi
mov dword [esi + 0x138], ebx
mov dword [esi + 0x148], 1
call fcn.0055fe23
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x134], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 8], edx
lea edx, [esi + 0x110]
mov dword [esi + 0x140], eax
mov dword [esi + 0x144], ecx
mov ecx, 8
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x134]
cmp eax, ebx
jne 0x41a8ef
xor eax, eax
jmp 0x41a8f2
mov eax, dword [eax + 0x1c]
mov dword [edx], eax
mov eax, dword [esp + 0x38]
cmp eax, ebx
mov dword [esi + 0x118], ebx
mov dword [esi + 0x120], 0x51
je 0x41a916
mov dword [esi + 0x120], 0x251
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x124], 0x41a980
mov dword [esi + 0x11c], edx
mov dword [esi + 0x114], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c