joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431ec0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x431f0c
mov eax, esi
call fcn.00447790
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x431f0c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x431f0c
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x43204b
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x431f4c
cmp eax, 0x108
ja 0x431f4c
mov eax, esi
call fcn.00447790
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x432042
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x43204b
jmp 0x432042
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43202b
cmp eax, 0x20a
ja 0x43202b
test byte [esi + 0x50], 0x80
jne 0x431f7e
sub eax, 0x203
je 0x431f7b
sub eax, 3
je 0x431f7b
sub eax, 3
jne 0x431f7e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x431f92
dec eax
je 0x431fa7
dec eax
je 0x431fc4
dec eax
je 0x431fa7
jmp 0x431fcb
mov ecx, ebx
mov eax, dword [0x454034]
mov eax, dword [eax]
mov edx, esi
call fcn.00451068
jmp 0x432042
cmp byte [esi + 0x5d], 1
jne 0x431fbd
mov eax, esi
mov si, 0xffed
call fcn.0040383c
jmp 0x43204b
or word [esi + 0x54], 1
jmp 0x432042
and word [esi + 0x54], 0xfffe
jmp 0x432042
mov eax, dword [0x455aa4]
cmp byte [eax + 0x20], 0
je 0x432042
mov eax, dword [0x455aa4]
cmp dword [eax + 0x1c], 0
je 0x432042
mov eax, dword [ebx]
mov edx, dword [0x455aa4]
cmp eax, dword [edx + 0x1c]
jne 0x432042
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.004476d4
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.0040383c
jmp 0x43204b
cmp eax, 0xb00b
jne 0x432042
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004307e0
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4355cc
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x4355e8
cmp dword [esi + 4], 0
je 0x435615
test byte [ebx + 0x55], 1
jne 0x435607
mov eax, ebx
call fcn.0043416c
test eax, eax
jne 0x435607
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x435725
mov edx, esi
mov eax, ebx
call fcn.004350f0
jmp 0x435725
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43571e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043743c
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00431df4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004355cc
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043743c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435725
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43be04
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x454194]
cmp byte [eax + 0xc], 0
je 0x43bf71
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43bf6a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x455af8], 0
jne 0x43be58
push 0x43bf78
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43bf80
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455af8], eax
cmp dword [0x453b50], 0
jne 0x43bf53
push 0x43bf90
call sub.kernel32.dll_LoadLibraryA
mov dword [0x453b50], eax
cmp dword [0x453b50], 0
je 0x43bf53
push 0x43bf9c
mov eax, dword [0x453b50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455afc], eax
push 0x43bfac
mov eax, dword [0x453b50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b00], eax
push 0x43bfc0
mov eax, dword [0x453b50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b04], eax
push 0x43bfd8
mov eax, dword [0x453b50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b08], eax
push 0x43bff0
mov eax, dword [0x453b50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b0c], eax
push 0x43c004
mov eax, dword [0x453b50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b10], eax
push 0x43c01c
mov eax, dword [0x453b50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b14], eax
push 0x43c034
mov eax, dword [0x453b50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b18], eax
push 0x43c050
mov eax, dword [0x453b50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b1c], eax
push 0x43c05c
mov eax, dword [0x453b50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b20], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43bf71
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43fe24
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.004043a8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43fe73
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.00404618
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x447644
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x447694]
test si, 4
je 0x447658
or bl, 1
test si, 8
je 0x447662
or bl, 4
test si, 1
je 0x44766c
or bl, 8
test si, 2
je 0x447676
or bl, 0x10
test si, 0x10
je 0x447680
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44768f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x447698
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4476d0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4476b1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4476c0
or bl, 4
test esi, 0x20000000
je 0x4476cb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44dd94
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44dda6
add esp, 0xfffffff0
call fcn.00403954
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419a9c
mov eax, dword [0x453e70]
mov dword [eax + 4], ebx
mov dword [eax], 0x44e138
mov eax, dword [0x453e7c]
mov dword [eax + 4], ebx
mov dword [eax], 0x44e144
mov eax, ebx
call fcn.0044e150
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411cb4]
call fcn.00403604
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411cb4]
call fcn.00403604
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411cb4]
call fcn.00403604
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411cb4]
call fcn.00403604
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411cb4]
call fcn.00403604
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, 0x44a568
push eax
push 0
push 0
mov eax, dword [0x453fbc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b514]
call fcn.0041c97c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b514]
call fcn.0041c97c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b514]
call fcn.0041c97c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044e5a0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e468
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e468
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e468
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44dee3
call fcn.004039ac
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44e24c
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 0x44e3f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44e3d8
mov dl, 1
mov eax, dword [0x4120d0]
call fcn.00403604
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004043a8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44e3c7
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.0043c164
test al, al
je 0x44e3ba
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, 0x44e408
lea eax, [ebp - 0x254]
call fcn.00409030
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44e3ba
xor eax, eax
push ebp
push 0x44e3b3
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 0x44e440
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44e39c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404618
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 0x44e39c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404618
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e3ba
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44e2bd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415c34
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 0x44e3fe
lea eax, [ebp - 0x260]
call fcn.004043a8
ret

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

Disassembly:
push ecx
mov eax, dword [0x455b44]
cmp byte [eax + 0xa5], 0
jne 0x44edb1
cmp dword [0x455b5c], 0
jne 0x44ed72
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44ecfc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x455b5c], eax
cmp dword [0x455b58], 0
jne 0x44ed8d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x455b58], eax
cmp dword [0x455b60], 0
jne 0x44edb1
push esp
push 0
push 0
push 0x44eca0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x455b60], eax
pop edx
ret
Function at 0x44f444
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x455b44]
cmp dword [eax + 0x30], 0
je 0x44f4ee
cmp dword [ebx + 0x94], 0
jne 0x44f4e8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44f3d4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44f4e8
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 0x44f4ae
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44f4e8
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.00414030
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44f4bd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45004c
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 0x450081
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.00404498
jmp 0x45008e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004043fc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4511b0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4511f1
mov eax, esi
call fcn.00437740
test al, al
je 0x4511f1
mov eax, dword [ebx + 0x84]
call fcn.0043743c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4511f1
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043743c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x452474
Capabilities:
Inspect section memory permissions

Disassembly:
xor edx, edx
test eax, 0x4000000
je 0x452493
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
or edx, 0x200
test eax, 0x20000000
je 0x452521
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
test eax, 0x40000000
je 0x4524ec
test eax, 0x80000000
je 0x4524d4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
or edx, 0x40
jmp 0x452588
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
or edx, 0x20
jmp 0x452588
test eax, 0x80000000
je 0x45250b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
or edx, 0x80
jmp 0x452588
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
or edx, 0x10
mov eax, edx
ret
test eax, 0x40000000
je 0x452559
test eax, 0x80000000
je 0x452544
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
or edx, 4
jmp 0x452588
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
or edx, 2
jmp 0x452588
test eax, 0x80000000
je 0x452575
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
or edx, 8
jmp 0x452588
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
or edx, 1
mov eax, edx
ret
Function at 0x402a00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x403280
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
mov esi, dword [esp + 0x48]
lea ecx, [esp + 0x24]
push esi
mov dword [esp + 0x44], 0
call sub.MFC42.DLL_CClientDC::CClientDC
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x48], 1
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x6e0032
push 1
push 0
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CPen::CPen
lea edx, [esp + 0xc]
lea ecx, [esp + 0x24]
push edx
mov byte [esp + 0x44], 2
call sub.MFC42.DLL_CDC::SelectObject_1
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 4]
push eax
call sub.MFC42.DLL_CBrush::CBrush
lea ecx, [esp + 4]
mov byte [esp + 0x40], 3
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CDC::SelectObject
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
push 1
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CDC::SetBkMode
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
lea eax, [ecx + 5]
lea ecx, [edx + 0xa]
mov edx, dword [esp + 0x50]
mov esi, dword [edx - 8]
push esi
push edx
push eax
mov eax, dword [esp + 0x30]
push ecx
lea ecx, [esp + 0x34]
call dword [eax + 0x64]
mov dword [esp + 4], 0x4045b0
lea ecx, [esp + 4]
mov byte [esp + 0x40], 4
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov esi, 0x40459c
mov dword [esp + 0xc], 0x4045b0
mov dword [esp + 4], esi
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x24]
mov dword [esp + 0xc], esi
mov byte [esp + 0x40], 0
call fcn.00402eb2
lea ecx, [esp + 0x50]
mov dword [esp + 0x40], 0xffffffff
call fcn.00402e5e
mov ecx, dword [esp + 0x38]
pop esi
mov dword fs:[0], ecx
add esp, 0x40
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x67e2770a
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x22014e61
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x403610
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x415318
push eax
mov eax, 0x1560
mov dword fs:[0], esp
call fcn.00414ad0
push ebx
mov dword [esp + 8], ecx
push ebp
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x157c]
lea ecx, [esp + 0x11c]
push eax
xor ebx, ebx
push 0x1450
push ecx
mov dword [esp + 0x1580], ebx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
mov ebp, eax
lea eax, [ebp - 1]
cmp eax, ebx
jle 0x403751
push esi
cmp edi, ebp
mov eax, edi
jge 0x40369e
mov cl, byte [esp + eax + 0x120]
cmp cl, bl
je 0x403693
mov edx, eax
sub edx, edi
inc eax
cmp eax, ebp
mov byte [esp + edx + 0x1c], cl
jl 0x403679
jmp 0x40369e
mov ecx, eax
sub ecx, edi
lea edi, [eax + 1]
mov byte [esp + ecx + 0x1c], bl
lea edx, [esp + 0x1c]
push str.ENVIRONMENT
push edx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x403745
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator
push 0xac
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x1578], 1
je 0x4036ef
mov ecx, eax
call fcn.00401000
mov esi, eax
jmp 0x4036f1
xor esi, esi
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x1578], bl
mov eax, dword [ecx - 8]
cmp eax, 0xffffffff
jle 0x403718
cmp byte [eax + ecx - 1], 0x5f
jne 0x403718
dec eax
push 0x20
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::SetAt
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 4]
call fcn.00414486
push eax
lea ecx, [esi + 8]
call fcn.00414486
mov edx, dword [esp + 0x14]
push esi
mov eax, dword [edx + 0x108]
lea ecx, [edx + 0x100]
push eax
call sub.MFC42.DLL_CObArray::SetAtGrow
lea eax, [ebp - 1]
cmp edi, eax
jl 0x403673
pop esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x1574], 0xffffffff
call fcn.00414462
mov ecx, dword [esp + 0x156c]
pop edi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x156c
ret 4
Function at 0x409220
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x416110
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
mov bl, 1
push 0x2e
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::Find
mov esi, eax
cmp esi, 0xffffffff
je 0x4093c5
lea eax, [esp + 0x10]
push esi
push eax
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 2
call fcn.00414486
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], bl
call fcn.00414462
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::TrimLeft
push 0
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::GetBuffer
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
push eax
call edi
mov ecx, dword [esp + 0x2c]
add esp, 4
inc esi
lea edx, [esp + 0x28]
mov dword [ecx], eax
push esi
push edx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 3
call fcn.00414486
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], bl
call fcn.00414462
push 0x2e
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::Find
mov esi, eax
cmp esi, 0xffffffff
je 0x4093c5
lea eax, [esp + 0x28]
push esi
push eax
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 4
call fcn.00414486
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], bl
call fcn.00414462
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::TrimLeft
push 0
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call edi
mov ecx, dword [esp + 0x30]
add esp, 4
inc esi
lea edx, [esp + 0x28]
mov dword [ecx], eax
push esi
push edx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 5
call fcn.00414486
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], bl
call fcn.00414462
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::TrimLeft
push 0
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call edi
mov ecx, dword [esp + 0x34]
add esp, 4
mov byte [esp + 0x1c], 0
mov dword [ecx], eax
lea ecx, [esp + 0xc]
call fcn.00414462
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00414462
pop edi
mov al, bl
pop esi
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call fcn.00414462
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00414462
mov ecx, dword [esp + 0x14]
pop edi
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret