joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426404
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0
and dword [ebp - 4], 0
push dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.004263aa
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x426460
cmp dword [ebp - 4], 0
jbe 0x426460
push 0x40a7b8
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x426460
push esi
push 1
push dword [ebp - 4]
push ebx
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
push 1
pop eax
jmp 0x426462
xor eax, eax
pop esi
pop ebx
leave
ret

Function at 0x426e1f
Capabilities:
Create directory

Disassembly:
push esi
push 0
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, eax
test esi, esi
jne 0x426e44
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x426e44
push 1
pop eax
pop esi
ret
mov eax, esi
pop esi
ret

Function at 0x426f93
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x84], 2
jne 0x426fd0
cmp dword [ebp - 0x90], 5
jne 0x426fd0
push 1
pop eax
cmp dword [ebp - 0x8c], eax
je 0x426fd2
xor eax, eax
leave
ret

Function at 0x427296
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push esi
push 1
xor esi, esi
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x4272fb
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4272fb
push ebx
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
cmp ebx, esi
je 0x4272f4
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, esi
je 0x4272f4
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
push eax
push 0x40a158
push esi
push edi
call dword [sym.imp.MSVCRT.dll__snprintf]
and byte [edi + esi - 1], 0
add esp, 0x10
push 1
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop ebx
mov eax, esi
pop esi
ret

Function at 0x42734f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x40acfc]
cmp eax, 0xffffffff
jne 0x4273c6
push esi
push 1
pop esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10c]
and dword [0x40acfc], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x104
push eax
push 0x40b024
push 0x40affc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4273c0
push 3
lea eax, [ebp - 0x10c]
push 0x40aff8
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jle 0x4273c0
mov dword [0x40acfc], esi
mov eax, dword [0x40acfc]
pop esi
leave
ret
Function at 0x4273c8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x40ad00]
cmp eax, 0xffffffff
jne 0x42743f
push esi
push 1
pop esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10c]
and dword [0x40ad00], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x104
push eax
push 0x40b024
push 0x40affc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x427439
push 3
lea eax, [ebp - 0x10c]
push 0x40b02c
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jle 0x427439
mov dword [0x40ad00], esi
mov eax, dword [0x40ad00]
pop esi
leave
ret
Function at 0x4277b1
Capabilities:
Create process on windows
Initialize iwebbrowser2
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x930
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x12f]
mov byte [ebp - 0x130], bl
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 8]
mov edi, 0x104
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x45fc38
push 0x40b090
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], edi
call esi
lea eax, [ebp - 0x130]
push ebx
push eax
call fcn.0042653d
pop ecx
test eax, eax
pop ecx
jne 0x42784d
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 1
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x40b08c
push 0x40b050
push SysReAllocStringLen
mov dword [ebp - 8], edi
mov byte [ebp - 0x130], bl
call esi
lea edi, [ebp - 0x130]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x42789e
lea eax, [ebp - 0x930]
push 0x800
push eax
push dword [ebp + 8]
call fcn.00424e92
add esp, 0xc
lea eax, [ebp - 0x930]
push 0xa
push ebx
push eax
lea eax, [ebp - 0x130]
push eax
push 0x40a7e0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x42793d
mov esi, dword [ebp + 8]
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x427942
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
test eax, eax
pop ecx
je 0x427942
lea eax, [ebp - 4]
push eax
push 0x4036f8
push 0x15
push ebx
push 0x4036c8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x427942
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x42793d
lea edx, [ebp + 8]
mov dword [ebp + 8], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x94]
cmp dword [ebp + 8], ebx
je 0x427907
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
push edx
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x2c]
mov word [ebp - 0x1c], bx
mov word [ebp - 0x2c], 8
mov dword [ebp - 0x24], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xd0]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 1
pop eax
jmp 0x427944
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x427db8
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
lea eax, [esp]
push 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x427dcf
push 1
pop eax
pop ecx
ret
call fcn.00427d45
test eax, eax
jne 0x427dca
push eax
push 0x40b164
call sub.SensApi.dll_IsDestinationReachableA
pop ecx
ret
Function at 0x427fd1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
and byte [ebp - 0x108], 0
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
push dword [ebp + 8]
mov dword [ebp - 4], 1
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0x10]
push 0x40a0d0
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x108]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
mov edi, dword [ebp + 0xc]
add esp, 0x10
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp - 0x108]
push 0
push eax
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x428045
push 1
pop eax
jmp 0x42804a
and byte [edi], 0
xor eax, eax
pop edi
leave
ret

Function at 0x42804d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
and byte [ebp - 0x10c], 0
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
and byte [ebp - 0x210], 0
push 0x40
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x20f]
push dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, 0x103
push 0x40b17c
mov dword [ebp - 8], eax
push eax
lea eax, [ebp - 0x10c]
mov dword [ebp - 4], 1
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10c]
push 0
push eax
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
pop edi
jne 0x4280ec
push dword [ebp + 0x10]
lea eax, [ebp - 0x210]
push dword [ebp + 0xc]
push eax
call fcn.00427fd1
add esp, 0xc
leave
ret
mov eax, dword [ebp + 0xc]
and byte [eax], 0
xor eax, eax
leave
ret

Function at 0x4281c5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor eax, eax
push edi
push eax
push 0x80
push 2
push eax
push eax
push 0xc0000000
mov esi, 0xfa000
push dword [ebp + 8]
mov edi, esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x4281f9
push 1
pop eax
jmp 0x428238
push ebx
mov ebx, dword [ebp + 0x10]
cmp ebx, esi
jae 0x428203
mov edi, ebx
lea eax, [ebp - 4]
push 0
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x428225
cmp edi, ebx
je 0x42822a
sub ebx, esi
add dword [ebp + 0xc], edi
jmp 0x4281fd
push 1
pop esi
jmp 0x42822c
xor esi, esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop ebx
pop edi
pop esi
leave
ret
Function at 0x428ee5
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
push ebx
push esi
push edi
mov esi, 0x40b1d0
lea edi, [ebp - 0x14]
cmp dword [0x40ad04], 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ebx, 0x4611d8
je 0x428f9b
mov al, byte [0x45fc38]
mov ecx, 0x208
mov byte [ebp - 0x838], al
xor eax, eax
lea edi, [ebp - 0x837]
mov esi, 0x823
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0x838]
push eax
push 0
call sub.urlmon.dll_ObtainUserAgentString
test eax, eax
jne 0x428f9b
lea eax, [ebp - 0x838]
push 0x29
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
mov edx, eax
pop ecx
test edx, edx
pop ecx
je 0x428f9b
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jne 0x428f9b
and byte [edx], al
lea eax, [ebp - 0x838]
push 0x40a37c
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40b1c4
push esi
push ebx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x18
and dword [0x40ad04], 0
cmp dword [ebp + 8], 0
mov eax, ebx
jne 0x428fa8
mov eax, 0x4611e4
pop edi
pop esi
pop ebx
leave
ret

Function at 0x429816
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 5
push dword [esi + 4]
lea eax, [esi + 8]
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
mov eax, dword [esi + 4]
add esp, 0xc
lea ebx, [esi + 0x34]
mov dword [ebp + 8], eax
xor edi, edi
push 0
push dword [ebp + 8]
push ebx
call fcn.0041cce4
sub eax, dword [ebp + 8]
add dword [ebp + 8], eax
add edi, eax
add ebx, eax
cmp edi, 5
jl 0x42983e
mov eax, dword [esi + 4]
mov dword [esi + 0x30], edi
sub edi, ebx
xor ecx, ecx
push 5
mov byte [ebp - 8], 0xe9
lea eax, [edi + eax - 5]
mov cl, ah
mov byte [ebp - 7], al
mov byte [ebp - 6], cl
xor ecx, ecx
shr eax, 0x10
mov byte [ebp - 5], al
mov cl, ah
lea eax, [ebp - 8]
mov byte [ebp - 4], cl
push eax
push ebx
call fcn.00439800
lea eax, [esi + 0x18]
push 5
push eax
push dword [esi + 4]
call fcn.00439800
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x430941
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
lea eax, [ebp - 0x2c]
push edi
mov esi, ecx
push eax
mov dword [ebp - 0x2c], 0x2c
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov eax, dword [ebp - 0x24]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 6
mov dword [esi + 0x24], eax
push dword [esi + 4]
call edi
push 0
push dword [esi + 4]
call edi
pop edi
pop esi
leave
ret
Function at 0x43203d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x45ef5c
call fcn.0045dac0
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00432ad3
xor edi, edi
lea ecx, [esi + 0x10]
mov dword [ebp - 4], edi
call fcn.00432ad3
mov ecx, dword [ebp - 0xc]
or dword [esi + 0x3c], 0xffffffff
mov dword [esi + 4], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
mov dword [esi], 0x402c3c
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x432048
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x45ef5c
call fcn.0045dac0
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00432ad3
xor edi, edi
lea ecx, [esi + 0x10]
mov dword [ebp - 4], edi
call fcn.00432ad3
mov ecx, dword [ebp - 0xc]
or dword [esi + 0x3c], 0xffffffff
mov dword [esi + 4], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
mov dword [esi], 0x402c3c
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4327d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
cmp dword [ebx + 4], 0x104
mov esi, ecx
jne 0x43289c
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x43289c
push 0x14
xor eax, eax
pop ecx
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
push eax
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
movzx eax, word [esi + 0x2c]
push eax
push 0x410
push dword [esi + 0x30]
call edi
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], 0x50
push ecx
push eax
push 0x41d
mov dword [ebp - 0x4c], 0x101
push dword [esi + 0x30]
call edi
test byte [ebp - 0x48], 8
jne 0x43289c
mov al, byte [ebx + 8]
and byte [ebp + 0xa], 0
xor ebx, ebx
mov byte [ebp + 8], 0x26
cmp dword [esi + 0x28], ebx
mov byte [ebp + 9], al
jle 0x43289c
and byte [ebp - 0x154], 0
lea eax, [ebp - 0x154]
push eax
push ebx
push 0x42d
push dword [esi + 0xc]
call edi
lea eax, [ebp - 0x154]
push eax
call fcn.00427ab7
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 0xc
test eax, eax
jne 0x4328a5
inc ebx
cmp ebx, dword [esi + 0x28]
jl 0x432859
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
push ebx
mov ecx, esi
call fcn.004328b2
push 1
pop eax
jmp 0x43289e
Function at 0x4328b2
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov esi, ecx
push ebp
push dword [esi + 4]
mov dword [esi + 0x20], eax
call dword [sym.imp.USER32.dll_GetSubMenu]
mov edi, eax
mov ebx, 0x4989c8
push 6
push edi
mov ecx, ebx
mov dword [esp + 0x34], edi
call fcn.00452eac
push 1
push 6
push edi
mov ecx, ebx
call fcn.00453583
push edi
mov ecx, ebx
call fcn.00451f62
cmp dword [esi + 0x20], 0xffffffff
je 0x432a53
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x432a53
push ebp
push 0xffffffffffffffff
push 0x448
push dword [esi + 0xc]
call edi
push 1
push dword [esi + 0x20]
push 0x403
push dword [esi + 0xc]
call edi
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esi + 0x20]
lea ecx, [esp + 0x18]
push ecx
push eax
push 0x433
mov dword [esi + 0x44], eax
push dword [esi + 0xc]
call edi
lea eax, [esp + 0x18]
push 2
push eax
push ebp
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_MapWindowPoints]
push dword [esi + 0x20]
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_GetSubMenu]
cmp eax, ebp
mov dword [esi + 0x1c], eax
je 0x432a53
mov dword [0x4631fc], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push ebp
push 0x43269b
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x4631f8], eax
lea eax, [esp + 0x10]
push ebp
push eax
push dword [esi + 0x20]
mov ecx, ebx
push dword [esi + 0xc]
push 0x3ec
call fcn.00451a46
mov eax, dword [esi + 0x1c]
mov dword [0x534aa4], eax
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_SetFocus]
push ebp
push dword [esi + 0x30]
push ebp
push dword [esp + 0x20]
push dword [esp + 0x20]
push 0x4180
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
cmp eax, ebp
je 0x4329fa
or dword [esi + 0x20], 0xffffffff
push ebp
push eax
push 0x111
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x432a0d
push 0x1b
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x432a0d
or dword [esi + 0x20], 0xffffffff
push dword [0x4631f8]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [0x4631f8], ebp
mov dword [0x4631fc], ebp
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x432a49
push ebp
push dword [esi + 0x44]
push 0x403
push dword [esi + 0xc]
call edi
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [esi + 0x20], 0xffffffff
jne 0x432907
mov dword [esi + 0x1c], ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x432b1f
Capabilities:
Check os version

Disassembly:
push esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xd
cmp al, 5
call esi
push 4
mov dword [0x463258], eax
call esi
push 4
mov dword [0x463274], eax
call esi
push 7
mov dword [0x463270], eax
call esi
push 0xe
mov dword [0x46326c], eax
call esi
push 0x11
mov dword [0x463268], eax
call esi
push 0x10
mov dword [0x463264], eax
call esi
push 0x10
mov dword [0x463260], eax
call esi
push 4
mov dword [0x46325c], eax
call esi
push 1
mov dword [0x463254], eax
pop eax
mov dword [0x46322c], 0xa
push 0x10
mov dword [0x463250], eax
pop ecx
mov dword [0x463238], eax
push ecx
mov dword [0x463248], ecx
pop edx
mov dword [0x463218], eax
push 3
mov dword [0x46324c], edx
pop edx
push 2
mov dword [0x46323c], edx
pop ecx
mov dword [0x463228], edx
mov dword [0x463240], ecx
mov dword [0x463230], ecx
xor ecx, ecx
pop esi
mov dword [0x463220], ecx
mov dword [0x46321c], ecx
mov dword [0x46320c], ecx
ret
Function at 0x43419f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x434250
mov eax, dword [ebp + 8]
push esi
push 0x40a240
xor esi, esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
mov dword [eax], esi
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
pop ecx
cmp edi, esi
pop ecx
mov dword [ebp + 0xc], edi
je 0x43424c
push ebx
push 2
push esi
mov esi, dword [sym.imp.MSVCRT.dll_fseek]
push edi
call esi
push edi
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
push 0
push edi
mov ebx, eax
call esi
push ebx
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, ebx
push dword [ebp + 0xc]
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
push 1
rep stosb byte es:[edi], al
push esi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x30
cmp eax, ebx
jne 0x434239
push ebx
push esi
push dword [ebp + 8]
call fcn.004340c2
add esp, 0xc
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.MSVCRT.dll_free]
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
pop ecx
pop ebx
mov eax, dword [ebp - 4]
pop esi
pop edi
leave
ret

Function at 0x434253
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 0x10]
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 0x14]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x4342ad
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4342ad
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4342a6
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push edi
push dword [ebp + 8]
call fcn.004340c2
add esp, 0xc
mov ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret

Function at 0x4355e7
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x45f0fc
call fcn.0045dac0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], fcn.0043565f
mov dword [esi + 4], 0x402e40
mov dword [esi + 8], 0x402e2c
mov dword [esi + 0xc], 0x402e1c
lea ecx, [esi + 0x3c]
mov dword [ebp - 4], 3
call fcn.00411e66
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 2
call fcn.00411e66
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 1
call fcn.00411e66
and byte [ebp - 4], 0
lea ecx, [esi + 0x30]
call fcn.00411e66
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x2c]
call fcn.00411e66
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x43578f
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x45f110
call fcn.0045dac0
sub esp, 0x10c
push ebx
push esi
mov esi, ecx
push edi
push 0x40b8bc
lea eax, [esi + 0x38]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00423994
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x117]
mov byte [ebp - 0x118], bl
rep stosd dword es:[edi], eax
push dword [ebp - 0x10]
mov dword [ebp - 4], ebx
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x118]
push 0x103
push eax
push 0x45fc38
push 0x40b8a8
push 0x40b8a0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
push 1
pop ecx
cmp eax, ecx
jne 0x43580f
mov dword [esi + 0x4c], ecx
jmp 0x435812
mov dword [esi + 0x4c], ebx
mov eax, dword [esi + 0x3c]
lea ecx, [ebp - 0x14]
push SysReAllocStringLen
push ecx
push eax
push 0x40ad48
mov dword [ebp - 0x14], ebx
call fcn.004248cf
add esp, 0x10
xor eax, eax
cmp dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x10]
setne al
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x40], eax
call fcn.00411e66
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret