joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455c70
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x60e1f8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x6963f4]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x64]
push 0x33
lea eax, [esp + 0x20]
push 0
push eax
call fcn.005a3bb0
add esp, 0xc
push 0
call dword [sym.imp.user32.dll_GetKeyboardLayout]
push eax
push 0
push esi
call dword [sym.imp.user32.dll_MapVirtualKeyExA]
shl eax, 0x10
add esi, 0xffffffdf
or eax, 1
cmp esi, 0xe
ja 0x455cde
or eax, 0x1000000
push 0x32
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.user32.dll_GetKeyNameTextA]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x18]
call fcn.00404e10
lea edi, [esp + 0x14]
mov dword [esp + 0x5c], 0
call fcn.0041baa0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
xor esi, esi
test ecx, ecx
jle 0x455d4e
mov edi, dword [sym.imp.user32.dll_IsCharLowerA]
test esi, esi
jl 0x455df6
cmp esi, ecx
jg 0x455df6
mov bl, byte [esi + eax]
mov byte [esp + 0x18], bl
mov eax, dword [esp + 0x18]
push eax
call edi
test eax, eax
jne 0x455da3
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
add esi, 1
cmp esi, ecx
jl 0x455d1e
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, ebp
call fcn.004071b0
mov dword [esp + 0x5c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x455d82
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0059e0c2
add esp, 0x4c
ret 4
movsx ecx, bl
push ecx
call fcn.005a2a23
mov bl, al
mov eax, dword [esp + 0x18]
mov edi, dword [eax - 0xc]
add esp, 4
cmp esi, edi
jge 0x455df6
cmp dword [eax - 4], 1
jle 0x455dd2
mov edx, edi
push edx
lea ecx, [esp + 0x18]
call fcn.00401370
mov eax, dword [esp + 0x14]
test edi, edi
mov byte [esi + eax], bl
jl 0x455df6
mov eax, dword [esp + 0x14]
cmp edi, dword [eax - 8]
jg 0x455df6
mov dword [eax - 0xc], edi
mov eax, dword [esp + 0x14]
mov byte [edi + eax], 0
mov eax, dword [esp + 0x14]
jmp 0x455d4e
push 0x80070057
call fcn.004012a0
int3
Function at 0x4574e0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
je 0x4574ef
xor eax, eax
pop esi
ret 8
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 4
lea ecx, [esp + 0x10]
push ecx
push 4
push 0
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x10]
push edx
push eax
call dword [sym.imp.advapi32.dll_RegSetValueExA]
xor ecx, ecx
test eax, eax
sete cl
mov dword [esi + 4], eax
mov dword [esi + 0xc], 4
mov dword [esi + 8], 4
pop esi
mov eax, ecx
ret 8

Function at 0x457560
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
je 0x45756f
xor eax, eax
pop esi
ret 8
push edi
mov edi, dword [esp + 0x10]
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x457580
mov ecx, dword [esi + 0x10]
sub eax, edx
add eax, 1
push eax
mov eax, dword [esp + 0x10]
push edi
push 1
push 0
push eax
push ecx
call dword [sym.imp.advapi32.dll_RegSetValueExA]
mov ecx, edi
mov dword [esi + 4], eax
lea edi, [ecx + 1]
jmp 0x4575b0
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x4575b0
sub ecx, edi
xor edx, edx
add ecx, 1
test eax, eax
sete dl
pop edi
mov dword [esi + 0xc], ecx
mov dword [esi + 8], 1
pop esi
mov eax, edx
ret 8
Function at 0x457b00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x60505b
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x1c], 0
jne 0x457cb5
lea ecx, [esp + 0x18]
call fcn.00576879
push 1
push 0x14
mov dword [esp + 0xb0], 0
call fcn.005a1b21
add esp, 8
push 0xffffffffffffffff
push 5
lea ecx, [esp + 0x20]
mov ebx, eax
call fcn.0058c3ad
cmp dword [esp + 0x20], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov ecx, dword [ecx]
jg 0x457b80
call fcn.00564f58
mov edx, dword [esp + 0x1c]
mov dword [edx], ecx
cmp dword [esp + 0x20], 1
mov eax, dword [eax]
mov eax, dword [eax + 4]
jg 0x457b97
call fcn.00564f58
mov ecx, dword [esp + 0x1c]
push 0x10
push 0x14
mov dword [ecx + 4], eax
push ebx
lea ecx, [esp + 0x38]
call fcn.005858d3
push 0
push 0x1000
push 0
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x64]
mov byte [esp + 0xb8], 1
call fcn.0057e47d
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac], 2
call fcn.005768a0
lea ecx, [esp + 0x54]
call fcn.0057e2d8
lea ecx, [esp + 0x2c]
call fcn.005859ba
mov edi, eax
push edi
lea ecx, [esp + 0x30]
call fcn.0058592f
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 0x10]
push eax
push 3
push 0
push ecx
push edx
call dword [sym.imp.advapi32.dll_RegSetValueExA]
test ebx, ebx
mov dword [esp + 0x14], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], edi
mov dword [esi + 8], 2
je 0x457c34
push ebx
call fcn.005a01b3
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
mov byte [esp + 0xa8], 1
lea ecx, [esp + 0x54]
jne 0x457c8b
call fcn.0057e43f
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa8], 0
call fcn.00585c47
lea ecx, [esp + 0x18]
mov dword [esp + 0xa8], 0xffffffff
call fcn.00576890
mov eax, 1
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0057e43f
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa8], 0
call fcn.00585c47
lea ecx, [esp + 0x18]
mov dword [esp + 0xa8], 0xffffffff
call fcn.00576890
xor eax, eax
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x457cd0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
je 0x457cdf
xor eax, eax
pop esi
ret 0xc
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esi + 0x10]
push edi
mov edi, dword [esp + 0x14]
push edi
push eax
push 3
push 0
push ecx
push edx
call dword [sym.imp.advapi32.dll_RegSetValueExA]
xor ecx, ecx
test eax, eax
sete cl
mov dword [esi + 0xc], edi
mov dword [esi + 4], eax
pop edi
mov dword [esi + 8], 3
pop esi
mov eax, ecx
ret 0xc
Function at 0x457d23
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov esi, ecx
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x18]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x1c], 4
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov dword [esi + 4], eax
mov dword [esi + 8], edx
mov dword [esi + 0xc], ecx
pop esi
jne 0x457d79
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x10]
mov dword [edx], eax
mov eax, 1
add esp, 8
ret 8
xor eax, eax
add esp, 8
ret 8

Function at 0x457d90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
push ebp
push esi
push edi
xor ebp, ebp
lea eax, [esp + 0xc]
push eax
push ebp
mov edi, ecx
mov eax, dword [edi + 0x10]
lea ecx, [esp + 0x18]
push ecx
push ebp
push edx
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov esi, eax
cmp esi, ebp
jne 0x457e2f
mov eax, dword [esp + 0xc]
cmp eax, ebp
jbe 0x457e2f
mov ebp, eax
add eax, 1
push ebx
push eax
call fcn.0055dbf6
add esp, 4
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [edi + 0x10]
mov ebx, eax
mov eax, dword [esp + 0x20]
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push eax
push ecx
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x457e1a
cmp dword [esp + 0x10], eax
jbe 0x457e1a
mov ecx, dword [esp + 0x20]
push ebx
call fcn.00401590
push ebx
call fcn.0055dbfb
add esp, 4
pop ebx
jmp 0x457e38
mov ecx, dword [esp + 0x20]
call fcn.00401530
push ebx
call fcn.0055dbfb
add esp, 4
pop ebx
jmp 0x457e38
mov ecx, dword [esp + 0x1c]
call fcn.00401530
mov edx, dword [esp + 0x10]
mov dword [edi + 4], esi
mov dword [edi + 0xc], ebp
mov dword [edi + 8], edx
xor eax, eax
pop edi
test esi, esi
pop esi
sete al
pop ebp
add esp, 8
ret 8
Function at 0x458230
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x60618b
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x14]
call fcn.00576879
push 1
mov dword [esp + 0xac], 0
push 0x14
mov dword [esp + 0x18], 0x14
call fcn.005a1b21
mov edx, dword [ebp + 8]
add esp, 8
mov esi, eax
lea eax, [esp + 0x10]
push eax
mov eax, dword [edi + 0x10]
push esi
lea ecx, [esp + 0x30]
push ecx
push 0
push edx
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov ebx, eax
test ebx, ebx
jne 0x458385
cmp dword [esp + 0x28], 3
jne 0x458385
mov ecx, dword [esp + 0x10]
push eax
push ecx
push esi
lea ecx, [esp + 0x38]
call fcn.005858d3
push ebx
push 0x1000
push 1
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x64]
mov byte [esp + 0xb8], 1
call fcn.0057e47d
push 0xffffffffffffffff
mov byte [esp + 0xac], 2
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x60], ebx
call fcn.0058c3ad
push 0xffffffffffffffff
push 5
lea ecx, [esp + 0x1c]
call fcn.0058c3ad
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x18]
call fcn.005768a0
lea ecx, [esp + 0x54]
call fcn.0057e2d8
lea ecx, [esp + 0x2c]
call fcn.0058592f
cmp dword [esp + 0x1c], ebx
mov esi, eax
jg 0x45833e
call fcn.00564f58
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [edx], eax
cmp dword [esp + 0x1c], 1
jg 0x458357
call fcn.00564f58
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
lea ecx, [esp + 0x54]
mov byte [esp + 0xa8], 1
call fcn.0057e43f
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa8], 0
call fcn.00585c47
test esi, esi
mov dword [edi + 4], ebx
mov dword [edi + 8], 2
mov dword [edi + 0xc], 8
je 0x4583a3
push esi
call fcn.005a01b3
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0xa8], 0xffffffff
call fcn.00576890
test ebx, ebx
jne 0x4583d6
lea eax, [ebx + 1]
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x458724
Capabilities:
Delete registry value

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov ecx, dword [esi + 0x10]
push eax
push ecx
call dword [sym.imp.advapi32.dll_RegDeleteValueA]
xor ecx, ecx
xor edx, edx
cmp eax, ecx
sete dl
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
pop esi
mov eax, edx
ret 4
Function at 0x459e00
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6112a8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.0056fb45
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.user32.dll_GetSystemMetrics]
push 0x31
call edi
push 0x32
mov esi, eax
call edi
lea ecx, [ebp - 0x2c]
mov edi, eax
call fcn.0056f38b
push ebx
mov byte [ebp - 4], 2
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0056fa23
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], vtable.CBitmap.0
push edi
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x4c]
push esi
push eax
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0056fcea
cmp eax, ebx
jne 0x459ee0
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.0056a6c4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], vtable.CBitmap.0
call fcn.00423d70
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0056fa9d
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.0056fb99
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
push ecx
push edx
call fcn.0056fd6f
mov edx, dword [ebp - 0x28]
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov eax, dword [0x6b4b00]
push eax
lea ecx, [ebp - 0x3c]
push ecx
push edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], edi
call dword [sym.imp.user32.dll_FillRect]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
push ecx
lea eax, [ebp - 0x3c]
call fcn.00459d80
test ebx, ebx
je 0x459f28
mov ebx, dword [ebx + 4]
mov edx, dword [ebp - 0x28]
push ebx
push edx
call fcn.0056fd6f
call fcn.005669f5
test eax, eax
je 0x459f46
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x459f48
xor eax, eax
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
jne 0x459f5e
push 0xffffffffffffffff
push eax
jmp 0x459e95
call dword [sym.imp.user32.dll_EmptyClipboard]
test eax, eax
jne 0x459f80
push 0xffffffffffffffff
push eax
push 0x3e8a
call fcn.0056a6c4
call dword [sym.imp.user32.dll_CloseClipboard]
jmp 0x459e9f
lea ecx, [ebp - 0x1c]
call fcn.0056fd13
push eax
push 2
call dword [sym.imp.user32.dll_SetClipboardData]
test eax, eax
jne 0x459fa2
push 0xffffffffffffffff
push eax
push 0x3e8a
call fcn.0056a6c4
call dword [sym.imp.user32.dll_CloseClipboard]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], vtable.CBitmap.0
call fcn.00423d70
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0056fa9d
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.0056fb99
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45a060
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x60bf86
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x6963f4]
xor eax, esp
mov dword [esp + 0x274], eax
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x14]
sub eax, 0x10
push eax
call fcn.00401db0
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 0x290], 0
mov eax, dword [esi - 0xc]
test eax, eax
jl 0x45a0e6
push 0x63dab8
push esi
call fcn.0059fd35
add esp, 8
test eax, eax
je 0x45a0e6
sub eax, esi
cmp eax, 0xffffffff
jne 0x45a1af
cmp dword [esi - 0xc], 0
jl 0x45a12c
push 0x6482d0
push esi
call fcn.0059fd35
add esp, 8
test eax, eax
je 0x45a109
sub eax, esi
cmp eax, 0xffffffff
jne 0x45a1af
cmp dword [esi - 0xc], 0
jl 0x45a12c
push 0x63ece4
push esi
call fcn.0059fd35
add esp, 8
test eax, eax
je 0x45a12c
sub eax, esi
cmp eax, 0xffffffff
jne 0x45a1af
mov eax, dword [edi + 0x14]
sub eax, 0x10
push eax
call fcn.00401db0
add eax, 0x10
add esp, 4
mov dword [esp + 0x10], eax
push 0
lea ecx, [esp + 0x178]
push ecx
push 0x104
push 0
push eax
push 0
mov byte [esp + 0x2a8], 1
call dword [sym.imp.kernel32.dll_SearchPathA]
test eax, eax
jne 0x45a189
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
mov ecx, edi
call eax
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00401510
lea ecx, [esp + 0xc]
call fcn.00401510
mov eax, esi
jmp 0x45a201
lea ecx, [esp + 0x174]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401590
lea ecx, [esp + 0x10]
mov byte [esp + 0x290], 0
call fcn.00401510
mov esi, dword [esp + 0xc]
push 0x105
push 0x160
lea edx, [esp + 0x1c]
push edx
push 0
push esi
call dword [sym.imp.shell32.dll_SHGetFileInfo]
test eax, eax
je 0x45a1d1
mov edi, dword [esp + 0x14]
jmp 0x45a1dc
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
mov ecx, edi
call eax
mov edi, eax
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x290], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a1ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x274]
xor ecx, esp
call fcn.0059e0c2
mov esp, ebp
pop ebp
ret
Function at 0x45adc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6110a0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [sym.imp.user32.dll_GetSysColor]
push 0xf
call edi
push 0x10
mov dword [esi + 8], eax
call edi
push 0x15
mov dword [esi + 0xc], eax
call edi
push 0x16
mov dword [esi + 0x1c], eax
call edi
push 0x14
mov dword [esi + 0x20], eax
call edi
push 0x12
mov dword [esi + 0x10], eax
call edi
push 0x11
mov dword [esi + 0x14], eax
call edi
push 6
mov dword [esi + 0x24], eax
call edi
push 0xd
mov dword [esi + 0x18], eax
call edi
push 0xe
mov dword [esi + 0x28], eax
call edi
mov edi, dword [sym.imp.user32.dll_GetSysColorBrush]
push 0x10
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 0xff0000
call edi
push 0x14
mov dword [esi + 4], eax
call edi
lea ebx, [esi + 0x34]
mov ecx, ebx
mov dword [esi], eax
call fcn.0056fd13
push 0xf
call edi
push eax
mov ecx, ebx
call fcn.0056fcea
lea ebx, [esi + 0x3c]
mov ecx, ebx
call fcn.0056fd13
push 0xd
call edi
push eax
mov ecx, ebx
call fcn.0056fcea
lea ebx, [esi + 0x4c]
mov ecx, ebx
call fcn.0056fd13
push 0x15
call edi
push eax
mov ecx, ebx
call fcn.0056fcea
xor ebx, ebx
push ebx
lea ecx, [esp + 0x1c]
call fcn.0056fb45
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x20]
push 0xc
push eax
call dword [sym.imp.gdi32.dll_GetDeviceCaps]
lea edi, [esi + 0x44]
cmp edi, ebx
mov dword [esi + 0xa0], eax
je 0x45aecc
cmp dword [edi + 4], ebx
je 0x45aecc
mov ecx, edi
call fcn.0056fd3d
cmp dword [esi + 0xa0], 8
jle 0x45af2f
mov bl, byte [esi + 0xa]
movzx eax, byte [esi + 0x12]
movzx cx, byte [esi + 9]
movzx edx, bl
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add al, bl
xor ebx, ebx
mov bh, al
movzx eax, byte [esi + 0x11]
movzx edx, cl
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add al, cl
mov cl, byte [esi + 8]
mov bl, al
movzx eax, byte [esi + 0x10]
movzx edx, cl
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add al, cl
movzx eax, al
shl ebx, 8
or eax, ebx
push eax
call dword [sym.imp.gdi32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0056fcea
jmp 0x45af79
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0045b080
mov esi, vtable.CBitmap.0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 1
call fcn.0056fcea
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.gdi32.dll_CreatePatternBrush]
push eax
mov ecx, edi
call fcn.0056fcea
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], esi
call fcn.00423d70
call fcn.0048d830
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call fcn.0056fb99
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45afb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x606148
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
push 0
lea ecx, [esp + 0x10]
call fcn.0056fb45
push 0x6b4b2c
lea ecx, [esp + 0x10]
mov dword [esp + 0x64], 0
call fcn.0056fdc2
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.gdi32.dll_GetTextMetricsA]
mov esi, eax
lea eax, [esp + 0x20]
push eax
push ecx
call edi
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add eax, edx
add eax, dword [esp + 0x20]
push 0x6b4b4c
lea ecx, [esp + 0x10]
mov dword [0x6b4b6c], eax
call fcn.0056fdc2
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push edx
call edi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
add ecx, eax
add ecx, dword [esp + 0x20]
push esi
mov dword [0x6b4b70], ecx
lea ecx, [esp + 0x10]
call fcn.0056fdc2
lea ecx, [esp + 0xc]
mov dword [esp + 0x60], 0xffffffff
call fcn.0056fb99
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x58
ret
Function at 0x45e770
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x1c], ebx
call fcn.00568851
mov esi, dword [eax + 0xc]
movzx eax, word [ebp + 8]
push 0xf1
push eax
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
test eax, eax
jne 0x45e7aa
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x45e79f
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x45e79f
movzx eax, word [edi + 6]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0055dbf6
movzx ecx, word [edi + 4]
add esp, 4
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x10], eax
movzx eax, word [edi + 2]
push ecx
push eax
lea esi, [ecx + 6]
lea edx, [eax + 6]
push esi
push edx
je 0x45e805
mov eax, ebx
call fcn.0045e0d0
jmp 0x45e80d
call fcn.0045e000
add esp, 0x10
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0
mov esi, 1
jne 0x45e821
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
cmp dword [ebx + 0x684], 0
jne 0x45e843
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebx]
mov edx, dword [edx + 0x17c]
push ecx
push eax
mov ecx, ebx
call edx
test eax, eax
je 0x45e8c4
mov eax, dword [ebx + 0x680]
xor esi, esi
cmp word [edi + 6], si
mov dword [esp + 0x14], eax
jbe 0x45e89f
mov eax, edi
call fcn.0045e8e0
mov dword [esp + 0x18], eax
cmp dword [ebp + 0x10], 0
mov ecx, dword [esp + 0x18]
movzx ebx, word [ecx + esi*2]
mov edx, dword [esp + 0x10]
mov dword [edx + esi*4], ebx
jne 0x45e890
test ebx, ebx
jbe 0x45e890
mov eax, 0x6b4bbc
call fcn.0047da30
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
add ecx, 1
mov dword [esp + 0x14], ecx
movzx eax, word [edi + 6]
add esi, 1
cmp esi, eax
jl 0x45e860
mov ebx, dword [esp + 0x1c]
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x10]
mov dword [ebx + 0x684], ecx
movzx ecx, word [edi + 6]
push edx
mov edx, ebx
call fcn.0045e1a0
mov esi, eax
test esi, esi
jne 0x45e8c4
mov dword [ebx + 0x684], eax
mov eax, dword [esp + 0x10]
push eax
call fcn.0055dbfb
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46f5d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x610b8b
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
mov eax, esi
call fcn.0046c5e0
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esi], vtable.CBCGVisualManagerXP.0
mov ecx, vtable.CBrush.0
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], ecx
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], ecx
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], ecx
mov dword [esi + 0x60], eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov dword [esi + 0x74], eax
mov dword [esi + 0x70], ecx
mov dword [esi + 0x7c], eax
mov dword [esi + 0x78], vtable.CPen.0
mov byte [esp + 0x10], 9
mov ecx, 1
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 4], ecx
mov ecx, esi
mov dword [esi + 0x14], eax
mov dword [esi + 8], 4
call fcn.0046f7b0
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4