joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445464
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46ba9c]
cmp byte [eax + 0xc], 0
je 0x4455d1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4455ca
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46cb9c], 0
jne 0x4454b8
push 0x4455d8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4455e0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb9c], eax
cmp dword [0x46ac4c], 0
jne 0x4455b3
push 0x4455f0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46ac4c], eax
cmp dword [0x46ac4c], 0
je 0x4455b3
push 0x4455fc
mov eax, dword [0x46ac4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cba0], eax
push 0x44560c
mov eax, dword [0x46ac4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cba4], eax
push 0x445620
mov eax, dword [0x46ac4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cba8], eax
push 0x445638
mov eax, dword [0x46ac4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cbac], eax
push 0x445650
mov eax, dword [0x46ac4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cbb0], eax
push 0x445664
mov eax, dword [0x46ac4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cbb4], eax
push 0x44567c
mov eax, dword [0x46ac4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cbb8], eax
push 0x445694
mov eax, dword [0x46ac4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cbbc], eax
push 0x4456b0
mov eax, dword [0x46ac4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cbc0], eax
push 0x4456bc
mov eax, dword [0x46ac4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cbc4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4455d1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x449914
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403ef8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x449963
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404168
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4510a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4510f0]
test si, 4
je 0x4510b4
or bl, 1
test si, 8
je 0x4510be
or bl, 4
test si, 1
je 0x4510c8
or bl, 8
test si, 2
je 0x4510d2
or bl, 0x10
test si, 0x10
je 0x4510dc
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4510eb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4510f4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45112c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45110d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45111c
or bl, 4
test esi, 0x20000000
je 0x451127
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4577d4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4577e6
add esp, 0xfffffff0
call fcn.00403448
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a92c
mov eax, dword [0x46b5ec]
mov dword [eax + 4], ebx
mov dword [eax], 0x457b78
mov eax, dword [0x46b5fc]
mov dword [eax + 4], ebx
mov dword [eax], 0x457b84
mov eax, ebx
call fcn.00457b90
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4119c0]
call fcn.004030f4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4119c0]
call fcn.004030f4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4119c0]
call fcn.004030f4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4119c0]
call fcn.004030f4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4119c0]
call fcn.004030f4
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x453fac
push eax
push 0
push 0
mov eax, dword [0x46b7e0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41c390]
call fcn.0041db04
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41c390]
call fcn.0041db04
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41c390]
call fcn.0041db04
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00457fb0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457e8c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457e8c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457e8c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x457923
call fcn.004034a0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x457c70
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x457e1b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x457dfc
mov dl, 1
mov eax, dword [0x412024]
call fcn.004030f4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403ef8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x457deb
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004457c4
test al, al
je 0x457dde
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x457e2c
lea eax, [ebp - 0x254]
call fcn.00408c80
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x457dde
xor eax, eax
push ebp
push 0x457dd7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x457e64
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x457dc0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404168
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x457dc0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404168
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457dde
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x457ce1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00416434
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457e22
lea eax, [ebp - 0x260]
call fcn.00403ef8
ret

Function at 0x458750
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x46cbe8]
cmp byte [eax + 0xa5], 0
jne 0x4587c1
cmp dword [0x46cc00], 0
jne 0x458782
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45870c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46cc00], eax
cmp dword [0x46cbfc], 0
jne 0x45879d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46cbfc], eax
cmp dword [0x46cc04], 0
jne 0x4587c1
push esp
push 0
push 0
push 0x4586b0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x46cc04], eax
pop edx
ret
Function at 0x4588b8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4588cf
add esp, 0xfffffff0
call fcn.00403448
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a92c
mov eax, dword [0x46b7c0]
cmp word [eax + 2], 0
jne 0x4588f7
mov eax, dword [0x46b7c0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00459f90
mov eax, dword [0x46b8cc]
cmp word [eax + 2], 0
jne 0x458911
mov eax, dword [0x46b8cc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045a188
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4119c0]
call fcn.004030f4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4119c0]
call fcn.004030f4
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41ce70]
call fcn.004242d0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x458a98
mov eax, dword [0x46b67c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004246a0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45a728
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46b67c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c3c4
test eax, eax
je 0x458a06
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408674
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c3ec
test eax, eax
je 0x458a1a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404168
mov eax, dword [0x46b4c8]
cmp byte [eax], 0
jne 0x458a4e
mov eax, ebx
call fcn.00458bc0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045a904
mov eax, ebx
call fcn.0045b2c8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458a8e
call fcn.004034a0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458e40
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46cbe8]
cmp dword [eax + 0x30], 0
je 0x458eea
cmp dword [ebx + 0x94], 0
jne 0x458ee4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x458dd0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x458ee4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x458eaa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x458ee4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041409c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x458eb9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x459a4c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x459a81
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403fe8
jmp 0x459a8e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f4c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45aae0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45ab21
mov eax, esi
call fcn.00440dac
test al, al
je 0x45ab21
mov eax, dword [ebx + 0x84]
call fcn.00440aa8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45ab21
push 0
mov eax, dword [ebx + 0x84]
call fcn.00440aa8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x42e005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x410b84
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x44], eax
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edx, dword [ebp - 8]
mov dword [edx + 0x48], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x4c], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 0x50], eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 8]
add edx, 0x44
push edx
push 0x410c67
push 0x800
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x40], eax
push 0xf
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov esp, ebp
pop ebp
ret 4
Function at 0x411568
Capabilities:
Create directory
Enumerate files on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9044
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x260
mov dword [ebp - 0x26c], ecx
lea ecx, [ebp - 0x14]
call fcn.004048b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004048b0
mov byte [ebp - 4], 1
push 0x725
mov ecx, dword [ebp - 0x26c]
call fcn.004d14d4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
call fcn.0040a3d0
push 0x104
push 0
lea eax, [ebp - 0x268]
push eax
call fcn.004adbd0
add esp, 0xc
mov ecx, dword [ebp - 0x26c]
add ecx, 0x5c
push ecx
lea edx, [ebp - 0x268]
push edx
call fcn.004ade30
add esp, 8
push 0x50ce60
lea eax, [ebp - 0x268]
push eax
call fcn.004ade40
add esp, 8
lea ecx, [ebp - 0x268]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x411694
push 0
lea edx, [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x411674
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0xb7
je 0x411674
lea eax, [ebp - 0x268]
push eax
push 0x50ce64
lea ecx, [ebp - 0x10]
push ecx
call fcn.004c7e32
add esp, 0xc
push 0
push 0x50cea8
lea ecx, [ebp - 0x10]
call fcn.004048d0
push eax
mov ecx, dword [ebp - 0x26c]
call fcn.004cfc0e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004d2261
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004d2261
jmp 0x4117bd
push 0x140
push 0
lea edx, [ebp - 0x158]
push edx
call fcn.004adbd0
add esp, 0xc
lea eax, [ebp - 0x158]
push eax
push 0x50ceb0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0xffffffff
jne 0x4116eb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004d2261
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004d2261
jmp 0x4117bd
cmp dword [ebp - 0x15c], 0xffffffff
je 0x411759
lea ecx, [ebp - 0x14]
call fcn.004d21ec
lea ecx, [ebp - 0x12c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004d23ea
push 0x2e
lea ecx, [ebp - 0x14]
call fcn.004c7acf
mov dword [ebp - 0x164], eax
push 0
mov edx, dword [ebp - 0x164]
push edx
lea ecx, [ebp - 0x14]
call fcn.004c75a2
lea ecx, [ebp - 0x14]
call fcn.004048d0
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0040a3a0
lea eax, [ebp - 0x158]
push eax
mov ecx, dword [ebp - 0x15c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x411757
jmp 0x411759
jmp 0x4116eb
mov edx, dword [ebp - 0x15c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x104
push 0
mov eax, dword [ebp - 0x26c]
add eax, 0x46c
push eax
call fcn.004adbd0
add esp, 0xc
mov ecx, dword [ebp - 0x26c]
add ecx, 0x46c
push ecx
push 0
mov ecx, dword [ebp - 0x18]
call fcn.00413b50
push 0
mov ecx, dword [ebp - 0x18]
call fcn.0040a310
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004d2261
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004d2261
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x411992
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], 0
jmp 0x4119ad
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 7
jge 0x4119ff
push 0x3c
push 0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004adbd0
add esp, 0xc
mov edx, dword [ebp - 0x40]
add edx, 1
push edx
push 0x50cec8
lea eax, [ebp - 0x3c]
push eax
call fcn.004ae0dd
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0
lea edx, [ebp - 0x3c]
push edx
push 0x50ced0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
mov dword [edx + ecx*4 + 0x570], eax
jmp 0x4119a4
push 0x58
push 0
mov eax, dword [ebp - 0x44]
add eax, 0x58c
push eax
call fcn.004adbd0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x29
mov edx, dword [ebp - 0x44]
add edx, 0x58c
push edx
push 0
push 0x50ced8
push 0x50cee4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp + 8]
push eax
push 0x15
mov ecx, dword [ebp - 0x44]
add ecx, 0x5b5
push ecx
push 0
push 0x50cef0
push 0x50cef4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp + 8]
push edx
push 9
mov eax, dword [ebp - 0x44]
add eax, 0x5ca
push eax
push 0
push 0x50cf00
push 0x50cf0c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x50cf18
push 0x50cf24
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x5d8], eax
mov eax, dword [ebp + 8]
push eax
push 0
push 0x50cf30
push 0x50cf3c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0x5dc], eax
mov edx, dword [ebp + 8]
push edx
push 0
push 0x50cf48
push 0x50cf58
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x44]
mov byte [ecx + 0x5d3], al
mov edx, dword [ebp + 8]
push edx
push 0
push 0x50cf64
push 0x50cf70
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0x5d4], eax
mov edx, dword [ebp + 8]
push edx
push 0
push 0x50cf7c
push 0x50cf80
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0x5e0], eax
mov esp, ebp
pop ebp
ret 4
Function at 0x41960d
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov dword [ebp - 0x210], ecx
push 0x208
push 0
lea eax, [ebp - 0x208]
push eax
call fcn.004adbd0
add esp, 0xc
mov ecx, dword [ebp - 0x210]
add ecx, 0x2dd
push ecx
lea edx, [ebp - 0x208]
push edx
call fcn.004ade30
add esp, 8
push 0x50dba4
lea eax, [ebp - 0x208]
push eax
call fcn.004ade40
add esp, 8
mov ecx, dword [ebp - 0x210]
add ecx, 0xf34
push ecx
lea edx, [ebp - 0x208]
push edx
call fcn.004ade40
add esp, 8
push 0x50dbb0
lea eax, [ebp - 0x208]
push eax
call fcn.004ade40
add esp, 8
mov ecx, dword [ebp - 0x210]
add ecx, 0xd2c
push ecx
lea edx, [ebp - 0x208]
push edx
call fcn.004aea30
add esp, 8
test eax, eax
jne 0x4196b9
mov eax, 1
jmp 0x41971d
push 0
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp - 0x210]
add ecx, 0xd2c
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x419718
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20c], eax
mov edx, 1
test edx, edx
je 0x4196fa
mov dword [ebp - 0x214], 0
jmp 0x419714
mov eax, dword [ebp - 0x20c]
push eax
push str._CopyLoadConfigAsFileToDefaultDir_:_errorcode___d_n
call fcn.004110a0
add esp, 8
mov dword [ebp - 0x214], eax
xor eax, eax
jmp 0x41971d
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x41b66b
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 0x8f5
push eax
push 0
push 0x50e4f8
push 0x50e500
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx], al
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 0
push 0x50e50c
push 0x50e518
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 1], al
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 0
push 0x50e524
push 0x50e52c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 2], al
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 0
push 0x50e538
push 0x50e540
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 3], al
mov esp, ebp
pop ebp
ret 4

Function at 0x41b6fe
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 0x8f5
push eax
push 0
push 0x50e54c
push 0x50e558
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx], al
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 1
push 0x50e564
push 0x50e570
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 1], al
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 0
push 0x50e57c
push 0x50e588
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 2], al
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 1
push 0x50e594
push 0x50e5a0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 3], al
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 0
push 0x50e5ac
push 0x50e5bc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 4], al
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 0
push 0x50e5c8
push 0x50e5d4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 5], al
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 0
push 0x50e5e0
push 0x50e5f0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 6], al
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 0
push 0x50e5fc
push 0x50e608
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 7], al
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 0
push 0x50e614
push 0x50e620
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 8], al
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 0x28
push 0x50e62c
push 0x50e638
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 9], al
mov esp, ebp
pop ebp
ret 4