joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100cbe4
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4bc
push esi
push 1
pop esi
lea eax, [ebp - 0x4bc]
push 0x800
push 0x2b4
push eax
push 0
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp eax, esi
jne 0x100cc4e
mov ecx, dword [ebp - 0x4b4]
mov eax, 0x10000
and ecx, eax
cmp ecx, eax
jne 0x100cc4e
lea eax, [ebp - 0x208]
push 0x104
push eax
push dword [ebp + 8]
call fcn.0100cb17
test eax, eax
je 0x100cc4c
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x100cc4e
xor esi, esi
mov eax, esi
pop esi
leave
ret 4

Function at 0x100cc99
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push edi
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x100ccfa
lea eax, [ebp + 8]
push 0
push eax
lea eax, [ebp - 0x2c]
push 0x2c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c], 0x46464952
jne 0x100ccfa
cmp dword [ebp - 0x24], 0x41444443
jne 0x100ccfa
movzx eax, word [ebp - 0x16]
mov ecx, dword [ebp + 0xc]
dec eax
push 1
mov dword [ecx], eax
pop eax
jmp 0x100ccfc
xor eax, eax
pop edi
leave
ret 8

Function at 0x100e4a5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
push esi
lea eax, [ebp - 0x108]
push dword [ebp + 8]
xor esi, esi
push 0x1001968
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp + 8]
push eax
push 0x20019
lea eax, [ebp - 0x108]
push esi
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x100e552
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x108
push eax
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x1016f58
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x100e549
lea eax, [ebp - 0x318]
push 0x2c
push eax
call dword [sym.imp.MSVCRT.dll_wcschr]
pop ecx
cmp eax, esi
pop ecx
je 0x100e549
mov word [eax], si
add eax, 2
push eax
call fcn.010132f9
push eax
lea eax, [ebp - 0x318]
push eax
push dword [0x1017cf4]
call dword [sym.imp.SHELL32.dll_ExtractIconW]
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 4

Function at 0x100f3ae
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push 0
push 0x100e774
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x100f3d2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret 4
Function at 0x100f415
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1015f90]
push ebx
push esi
sub eax, 0x20c
push edi
je 0x100f514
sub eax, 6
je 0x100f514
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
test ax, ax
jge 0x100f46c
push 1
push edi
push dword [0x10178b4]
call fcn.010030f4
test eax, eax
je 0x100f46c
push edi
push 0x1fd
push 0x111
push dword [ebp + 8]
call esi
lea eax, [ebp - 4]
push eax
call fcn.0100b457
push edi
push edi
push 0x411
push dword [0x10173ec]
call esi
push edi
push edi
push 0x412
mov ebx, eax
push dword [0x10173ec]
call esi
push 0x17
mov esi, eax
cmp ebx, 0xffffffff
pop eax
je 0x100f4a8
cmp esi, 0xffffffff
je 0x100f4a8
cmp ebx, esi
jne 0x100f4ab
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], eax
jne 0x100f4ce
mov eax, dword [0x1018040]
mov ecx, dword [0x1018034]
lea ecx, [eax + ecx - 1]
cmp dword [ebp - 4], ecx
jb 0x100f4ce
push eax
call fcn.0100b279
test eax, eax
je 0x100f53c
cmp dword [ebp + 0xc], 0x1a
jne 0x100f4e7
push esi
push ebx
call fcn.0100b013
mov dword [0x1016f2c], 1
jmp 0x100f4f4
push edi
push edi
call fcn.0100b013
mov dword [0x1016f2c], edi
cmp eax, edi
jne 0x100f505
cmp dword [0x1016f24], edi
je 0x100f505
call fcn.0100caa9
or dword [0x1015f90], 0xffffffff
mov dword [0x1016f30], edi
jmp 0x100f53c
push 0x6d
push 0x64
push 0x30
push dword [0x1017cf4]
push dword [0x1017660]
call fcn.01006260
add esp, 0x14
cmp dword [0x1016f24], 0
je 0x100f53c
call fcn.0100caa9
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1010255
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x78
push ebx
xor ebx, ebx
cmp dword [0x1018034], ebx
push ebp
push esi
push edi
je case.default.0x10102fe
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
mov ebp, 0x400
push ebx
push ebp
push dword [0x10173ec]
call esi
cmp dword [0x1017890], ebx
mov edi, eax
jne 0x10102ee
push 0x10
mov dword [0x1017890], 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x10102e3
push 1
push ebx
push dword [0x10178b4]
call fcn.010030f4
test eax, eax
je 0x10102e3
push ebx
push 1
push 0x413
push dword [0x10173ec]
call esi
push ebx
push 0x1fd
push 0x111
push dword [esp + 0x98]
call esi
push dword [0x10173ec]
call dword [sym.imp.USER32.dll_SetFocus]
push ebx
call fcn.0100b170
mov dword [0x1016f00], eax
mov eax, dword [esp + 0x94]
cmp eax, 8
ja case.default.0x10102fe
jmp dword [eax*4 + 0x1010476]
push 1
pop eax
cmp dword [0x1016f34], eax
je 0x1010349
mov eax, dword [0x1018034]
add eax, 0x7f
shr eax, 7
jmp 0x1010349
push 1
pop eax
cmp dword [0x1016f34], eax
je 0x101038b
mov eax, dword [0x1018034]
add eax, 0x7f
shr eax, 7
jmp 0x101038b
cmp dword [0x1016f34], 3
je 0x1010350
mov eax, dword [0x1018034]
add eax, 0xf
shr eax, 4
sub edi, eax
jmp case.0x10102fe.4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
sub eax, dword [0x1017888]
cmp eax, 0xbb8
jae 0x1010369
push 0xffffffffffffffff
jmp 0x101036a
push ebx
call fcn.0100b3a7
mov dword [0x1017888], esi
jmp 0x10103ee
cmp dword [0x1016f34], 3
je 0x101038f
mov eax, dword [0x1018034]
add eax, 0xf
shr eax, 4
add edi, eax
jmp case.0x10102fe.4
push 1
call fcn.0100b3a7
mov dword [0x1017888], ebx
jmp 0x10103ee
test byte [0x101803d], 2
je case.0x10102fe.4
cmp dword [0x1015f90], 0x20e
je case.0x10102fe.4
push edi
call fcn.0100b279
jmp case.0x10102fe.4
mov edi, dword [0x1018040]
jmp case.0x10102fe.4
mov eax, dword [0x1018040]
mov ecx, dword [0x1018034]
lea edi, [eax + ecx]
push edi
push 1
push 0x405
push dword [0x10173ec]
call esi
push ebx
push ebx
push ebp
push dword [0x10173ec]
call esi
mov edi, eax
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x101040d
push 0x1016f08
push edi
push dword [esp + 0x94]
call fcn.010101c4
cmp dword [0x1017898], ebx
je case.default.0x10102fe
lea eax, [esp + 0x10]
push 1
push eax
push ebx
push edi
call fcn.0100ce14
lea eax, [esp + 0x10]
push eax
push dword [0x1017898]
call fcn.010033cf
jmp case.default.0x10102fe
cmp dword [esp + 0x90], ebx
mov dword [0x1017890], ebx
je 0x1010466
mov eax, dword [0x10178a8]
cmp eax, ebx
je 0x1010455
mov edi, eax
mov dword [0x10178a8], ebx
push dword [0x1016f00]
call fcn.0100b170
push edi
call fcn.0100b279
mov dword [0x1016f08], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 0x10
Function at 0x1011d13
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x1011d58
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
push esi
push esi
push str.MediaPath
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
leave
ret 8

Function at 0x101233f
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
push edi
lea eax, [ebp - 0xc]
push esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push eax
mov ebx, 0x20006
push esi
push ebx
push esi
push esi
push esi
push str.SoftwareMicrosoftMedia_Player
push 0x80000001
call edi
cmp eax, esi
mov dword [ebp - 4], eax
jne 0x10123da
cmp dword [ebp + 8], esi
je 0x101238e
lea eax, [ebp - 8]
push esi
push eax
push esi
push ebx
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0xc]
call edi
mov dword [ebp - 4], eax
jmp 0x1012394
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x10123d5
cmp dword [ebp + 0x14], esi
je 0x10123bc
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x10123c8
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [ebp + 8], esi
mov dword [ebp - 4], eax
je 0x10123d5
push dword [ebp - 8]
call edi
push dword [ebp - 0xc]
call edi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x14

Function at 0x10123e4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 8]
mov edi, 0x20019
push eax
push edi
push 0
push str.SoftwareMicrosoftMedia_Player
push 0x80000001
call esi
mov ebx, eax
test ebx, ebx
jne 0x1012468
cmp dword [ebp + 8], eax
je 0x1012428
lea eax, [ebp - 4]
push eax
push edi
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
call esi
mov ebx, eax
jmp 0x101242e
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1012463
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp + 8], 0
mov ebx, eax
je 0x1012463
push dword [ebp - 4]
call esi
push dword [ebp - 8]
call esi
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret 0x14
Function at 0x1013340
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10019e8
push 0x1013540
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x101d010], 0xffffffff
mov dword [0x101d014], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x1017140]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x101713c]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x101d018], ecx
call fcn.01013530
mov eax, dword [0x101677c]
test eax, eax
jne 0x10133d1
push 0x1013520
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.01013500
push 0x101500c
push 0x1015008
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x1017138]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x1017134]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x1015004
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [sym.imp.MSVCRT.dll__acmdln]
mov esi, dword [edx]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x10134df
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x1013445
cmp al, 0x22
jne 0x1013437
cmp byte [esi], 0x22
jne 0x101344e
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x101345e
cmp al, 0x20
ja 0x101345e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x101344e
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x101347f
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x1013484
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x10134c4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x101344e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x10134df

Function at 0x10135e5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push 0x1001a28
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x101363d
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x1001a64
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1013630
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x101363f
xor eax, eax
pop esi
leave
ret 4
Function at 0x419250
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4f0008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x210]
mov esi, ecx
push eax
call fcn.00419720
cmp dword [esi + 0xfa8], 0
lea edi, [esi + 0xfa8]
je 0x419288
mov dword [edi], 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4192e8
mov dword [esi + 0xf84], 0
mov dword [esi + 0xf8c], eax
mov dword [esi + 0xf90], 0
mov dword [esi + 0xf88], 0
mov dword [esi + 0xf98], 0
mov dword [esi + 0xf94], 0
mov dword [esi + 0xf9c], 0
mov dword [esi + 0xfa0], 0
jmp 0x419326
push edi
lea eax, [esi + 0xfa0]
push eax
lea eax, [esi + 0xf9c]
push eax
lea eax, [esi + 0xf94]
push eax
lea eax, [esi + 0xf98]
push eax
lea eax, [esi + 0xf88]
push eax
lea eax, [esi + 0xf90]
push eax
lea eax, [esi + 0xf8c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.004193f0
cmp dword [edi], 0
jne 0x41934d
mov ecx, dword [0x4f7ef8]
lea eax, [ebp - 0x214]
push eax
push 0x4d0ee0
mov ecx, dword [ecx + 8]
call fcn.00468d20
mov eax, dword [ebp - 0x214]
mov dword [edi], eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004912f2
mov esp, ebp
pop ebp
ret

Function at 0x419660
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x614
mov eax, dword [0x4f0008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4f7f30]
push esi
push edi
mov edi, dword [ebp + 8]
add eax, 0x978
push eax
lea eax, [ebp - 0x614]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x614]
push str.Save
push eax
lea eax, [ebp - 0x20c]
push 0x4d0ed4
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4196d4
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp + 0xc]
inc eax
push eax
lea eax, [ebp - 0x40c]
push str.save_02d.sav
push eax
call esi
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x4d0ed4
push edi
call esi
mov ecx, dword [ebp - 4]
add esp, 0x1c
xor ecx, ebp
pop edi
pop esi
call fcn.004912f2
mov esp, ebp
pop ebp
ret 8
Function at 0x419720
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4f0008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4f7f30]
push edi
mov edi, dword [ebp + 8]
add eax, 0x978
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.Save
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x4d0ed4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x419791
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.interruption.sav
lea eax, [ebp - 0x20c]
push eax
push 0x4d0ed4
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
call fcn.004912f2
mov esp, ebp
pop ebp
ret 4
Function at 0x42b6c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x26c
mov eax, dword [0x4f0008]
xor eax, esp
mov dword [esp + 0x268], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + 0x48]
mov eax, dword [eax + 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x42b712
mov eax, dword [ebp + 0xc]
add eax, 0xfffffffe
cmp dword [esi + 8], eax
je 0x42b7fa
mov esi, dword [esi + 4]
test esi, esi
jne 0x42b702
mov ecx, str.Array
call fcn.0046a880
mov ebx, eax
xor esi, esi
lea edi, [esi + 3]
push esi
lea eax, [esp + 0x74]
push 0x4c0424
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov word [esp + 0x10], di
lea eax, [esp + 0x10]
mov dword [esp + 0x18], 0
lea edx, [esp + 0x70]
mov ecx, ebx
push eax
call fcn.0046a7f0
inc esi
add esp, 4
cmp esi, 0xb
jl 0x42b723
mov eax, dword [ebx]
lea ecx, [esp + 0x2c]
push ecx
push 0x400
push 1
lea ecx, [esp + 0x30]
mov word [esp + 0x3c], di
push ecx
push 0x4bb530
push ebx
mov dword [esp + 0x50], 0xb
mov dword [esp + 0x3c], str.length
mov dword [esp + 0x40], 0xfffffffd
call dword [eax + 0x14]
test eax, eax
js 0x42b7db
push 0
push 0
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], 1
push ecx
push 4
lea eax, [esp + 0x44]
mov dword [esp + 0x30], 1
push 0x800
mov dword [esp + 0x28], eax
lea eax, [esp + 0x40]
push 0x4bb530
push dword [esp + 0x48]
mov dword [esp + 0x34], eax
mov eax, dword [ebx]
push ebx
call dword [eax + 0x18]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x274]
pop edi
pop esi
mov dword [eax], ebx
xor eax, eax
pop ebx
xor ecx, esp
call fcn.004912f2
mov esp, ebp
pop ebp
ret 0xc
mov ecx, str.Array
call fcn.0046a880
mov ebx, eax
test esi, esi
je 0x42b71e
lea edx, [esi + 0xc]
xor edi, edi
lea eax, [edx + 0xc]
mov dword [esp + 0x44], edx
mov dword [esp + 0x50], eax
lea ecx, [edx + 4]
lea eax, [edx + 0x10]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x54], eax
lea ecx, [edx + 8]
lea eax, [edx + 0x14]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x58], eax
lea eax, [edx + 0x18]
mov dword [esp + 0x5c], eax
lea eax, [edx + 0x1c]
mov dword [esp + 0x60], eax
lea eax, [edx + 0x20]
mov dword [esp + 0x64], eax
lea eax, [edx + 0x24]
mov dword [esp + 0x68], eax
lea eax, [edx + 0x28]
mov dword [esp + 0x6c], eax
nop dword [eax]
mov eax, dword [esp + edi*4 + 0x44]
push edi
push 0x4c0424
mov esi, dword [eax]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, 3
mov dword [esp + 0x24], esi
add esp, 0xc
mov word [esp + 0x10], ax
lea eax, [esp + 0x10]
mov ecx, ebx
lea edx, [esp + 0x70]
push eax
call fcn.0046a7f0
inc edi
add esp, 4
cmp edi, 0xb
jl 0x42b860
mov edi, 3
jmp 0x42b75d
Function at 0x431660
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x26c
mov eax, dword [0x4f0008]
xor eax, esp
mov dword [esp + 0x268], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x48]
mov eax, dword [eax + 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x4316b0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffffe
nop dword [eax]
cmp dword [esi + 8], eax
je 0x431798
mov esi, dword [esi + 4]
test esi, esi
jne 0x4316a0
mov ecx, str.Array
call fcn.0046a880
mov ebx, eax
xor esi, esi
lea edi, [esi + 3]
push esi
lea eax, [esp + 0x74]
push 0x4c0424
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov word [esp + 0x10], di
lea eax, [esp + 0x10]
mov dword [esp + 0x18], 0
lea edx, [esp + 0x70]
mov ecx, ebx
push eax
call fcn.0046a7f0
inc esi
add esp, 4
cmp esi, 0xb
jl 0x4316c1
mov eax, dword [ebx]
lea ecx, [esp + 0x2c]
push ecx
push 0x400
push 1
lea ecx, [esp + 0x30]
mov word [esp + 0x3c], di
push ecx
push 0x4bb530
push ebx
mov dword [esp + 0x50], 0xb
mov dword [esp + 0x3c], str.length
mov dword [esp + 0x40], 0xfffffffd
call dword [eax + 0x14]
test eax, eax
js 0x431779
push 0
push 0
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], 1
push ecx
push 4
lea eax, [esp + 0x44]
mov dword [esp + 0x30], 1
push 0x800
mov dword [esp + 0x28], eax
lea eax, [esp + 0x40]
push 0x4bb530
push dword [esp + 0x48]
mov dword [esp + 0x34], eax
mov eax, dword [ebx]
push ebx
call dword [eax + 0x18]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x274]
pop edi
pop esi
mov dword [eax], ebx
xor eax, eax
pop ebx
xor ecx, esp
call fcn.004912f2
mov esp, ebp
pop ebp
ret 0xc
mov ecx, str.Array
call fcn.0046a880
mov ebx, eax
test esi, esi
je 0x4316bc
lea edx, [esi + 0xc]
xor edi, edi
lea eax, [edx + 0xc]
mov dword [esp + 0x44], edx
mov dword [esp + 0x50], eax
lea ecx, [edx + 4]
lea eax, [edx + 0x10]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x54], eax
lea ecx, [edx + 8]
lea eax, [edx + 0x14]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x58], eax
lea eax, [edx + 0x18]
mov dword [esp + 0x5c], eax
lea eax, [edx + 0x1c]
mov dword [esp + 0x60], eax
lea eax, [edx + 0x20]
mov dword [esp + 0x64], eax
lea eax, [edx + 0x24]
mov dword [esp + 0x68], eax
lea eax, [edx + 0x28]
mov dword [esp + 0x6c], eax
nop dword [eax + eax]
mov eax, dword [esp + edi*4 + 0x44]
push edi
push 0x4c0424
mov esi, dword [eax]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, 3
mov dword [esp + 0x24], esi
add esp, 0xc
mov word [esp + 0x10], ax
lea eax, [esp + 0x10]
mov ecx, ebx
lea edx, [esp + 0x70]
push eax
call fcn.0046a7f0
inc edi
add esp, 4
cmp edi, 0xb
jl 0x431800
mov edi, 3
jmp 0x4316fb