joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e270
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x43e289
or eax, 0xffffffff
jmp 0x43e2ea
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 8], esi
je 0x43e2e6
push 0x3d
push esi
call fcn.0043345d
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x43e2e6
cmp esi, eax
je 0x43e2e6
xor ecx, ecx
cmp byte [eax + 1], cl
mov eax, dword [0x477340]
sete cl
cmp eax, dword [0x477344]
mov dword [ebp - 4], ecx
jne 0x43e2cc
mov edi, eax
call fcn.0043e20f
mov dword [0x477340], eax
cmp eax, ebx
jne 0x43e325
cmp dword [ebp + 0xc], ebx
je 0x43e2ee
cmp dword [0x477348], ebx
je 0x43e2ee
call fcn.0043dd20
test eax, eax
je 0x43e325
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 4], ebx
je 0x43e2f7
xor eax, eax
jmp 0x43e2e9
push 4
call fcn.00432e7e
cmp eax, ebx
pop ecx
mov dword [0x477340], eax
je 0x43e2e6
mov dword [eax], ebx
cmp dword [0x477348], ebx
jne 0x43e325
push 4
call fcn.00432e7e
cmp eax, ebx
pop ecx
mov dword [0x477348], eax
je 0x43e2e6
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
mov ebx, dword [0x477340]
sub edi, esi
push esi
call fcn.0043e1c2
mov edi, eax
test edi, edi
pop ecx
jl 0x43e38c
cmp dword [ebx], 0
je 0x43e38c
lea esi, [ebx + edi*4]
push dword [esi]
call fcn.00432d66
xor eax, eax
cmp dword [ebp - 4], eax
pop ecx
jne 0x43e36c
mov ecx, dword [ebp - 8]
mov dword [esi], ecx
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x43e3cd
mov ecx, dword [esi + 4]
inc edi
mov dword [esi], ecx
lea esi, [ebx + edi*4]
cmp dword [esi], eax
jne 0x43e363
mov eax, edi
shl eax, 2
push eax
push dword [0x477340]
call fcn.00433ebb
test eax, eax
mov esi, dword [ebp - 8]
pop ecx
pop ecx
je 0x43e3cd
jmp 0x43e3c8
cmp dword [ebp - 4], 0
jne 0x43e434
test edi, edi
jge 0x43e39c
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x477340]
call fcn.00433ebb
test eax, eax
pop ecx
pop ecx
je 0x43e2e6
lea ecx, [eax + edi*4]
and dword [ecx + 4], 0
mov dword [ecx], esi
mov ecx, dword [ebp + 8]
and dword [ecx], 0
mov dword [0x477340], eax
cmp dword [ebp + 0xc], 0
je 0x43e41f
push esi
call fcn.00433e10
inc eax
inc eax
push eax
call fcn.00432e7e
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x43e41f
push esi
push edi
call fcn.00436460
mov eax, edi
sub eax, esi
add eax, dword [ebp - 0xc]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov byte [eax], 0
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x43e418
or dword [ebp - 0x10], 0xffffffff
push edi
call fcn.00432d66
pop ecx
cmp dword [ebp - 4], 0
je 0x43e42c
push esi
call fcn.00432d66
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x43e2e9
push esi
call fcn.00432d66
mov eax, dword [ebp + 8]
and dword [eax], 0
pop ecx
jmp 0x43e2f3
Function at 0x44302a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
jne 0x443063
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00404510
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004041b0
pop esi
ret 4
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x44438e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x4443d1
call fcn.00455ed2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4443d1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4443ec
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.004434e9
test ebx, ebx
mov esi, eax
je 0x4443ea
test edi, edi
je 0x4443ea
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4448e5
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x45b3fb
call fcn.00433e9c
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
jne 0x44490a
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x444956
call fcn.00440b08
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401020
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x445dd7
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x1c
xor ebx, ebx
lea eax, [ebp - 0x1c]
push ebx
push eax
mov esi, ecx
call fcn.00434090
add esp, 0xc
call fcn.00455ec2
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
push 1
push ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
call edi
push ebx
push ebx
push 1
push ebx
mov dword [ebp - 0xc], eax
call edi
cmp dword [ebp - 0xc], ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
je 0x445ea7
cmp dword [ebp - 8], ebx
je 0x445ea2
lea ecx, [esi + 0x2c]
push ecx
or eax, 4
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x445ca9
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.004325e8
add esp, 0x18
cmp eax, ebx
mov dword [esi + 0x28], eax
je 0x445eb1
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xc]
call edi
test byte [ebp + 8], 4
je 0x445e7a
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp dword [ebp - 4], ebx
je 0x445e94
push 0xffffffffffffffff
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x28]
call edi
mov dword [esi + 0x28], ebx
jmp 0x445eac
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
inc eax
jmp 0x445eb3
push dword [ebp - 0xc]
call edi
cmp dword [ebp - 8], ebx
je 0x445eb1
push dword [ebp - 8]
call edi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x445eba
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
call fcn.00445f20
mov esi, eax
test esi, esi
jne 0x445ed1
call fcn.0043edd9
push dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
push dword [ebp + 0x10]
and dword [esi + 0x30], 0
or eax, 4
push eax
mov ecx, esi
call fcn.00445dd7
test eax, eax
jne 0x445ef8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
xor eax, eax
jmp 0x445f15
push dword [ebp + 0xc]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test byte [ebp + 0x14], 4
jne 0x445f13
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, esi
pop esi
pop ebp
ret 0x14
Function at 0x446498
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x54], 0
mov eax, dword [edi + 0x58]
mov esi, dword [edi + 0x5c]
mov dword [ebp - 4], eax
je 0x4464cf
call fcn.00455ed2
mov ebx, dword [eax + 0xc]
push 5
push dword [edi + 0x54]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4464e0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor ebx, ebx
inc ebx
test esi, esi
je 0x446519
cmp word [esi + 2], 0xffff
mov ecx, dword [esi]
jne 0x4464fe
mov ecx, dword [esi + 0xc]
mov ax, word [esi + 0x12]
mov si, word [esi + 0x14]
jmp 0x446506
mov ax, word [esi + 0xa]
mov si, word [esi + 0xc]
test cx, 0x1801
jne 0x446517
test ax, ax
jne 0x446517
test si, si
je 0x446519
xor ebx, ebx
cmp dword [edi + 0x54], 0
je 0x446528
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x446788
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x45b7a5
call fcn.00433e9c
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x58]
mov ebx, dword [esi + 0x5c]
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
call fcn.00455ed2
cmp dword [esi + 0x54], 0
mov edi, dword [eax + 0xc]
je 0x4467c8
call fcn.00455ed2
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x54]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4467d9
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4467e5
or eax, 0xffffffff
jmp 0x4468e8
mov ecx, esi
call fcn.004462bc
mov dword [ebp - 0x14], eax
call fcn.004423df
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x14], 0
je 0x446828
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x446828
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x446828
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
and dword [ebp - 4], 0
push esi
call fcn.00443a21
push dword [ebp - 0x14]
call fcn.00442337
push edi
push eax
push ebx
mov ecx, esi
call fcn.0044656d
xor ebx, ebx
cmp eax, ebx
je 0x44689c
test byte [esi + 0x38], 0x10
je 0x44686a
push 4
pop edi
mov ecx, esi
call fcn.004446c3
test ah, 1
je 0x446862
push 5
pop edi
push edi
mov ecx, esi
call fcn.00441ddb
cmp dword [esi + 0x1c], ebx
je 0x44689c
push 0x97
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.00444868
jmp 0x44689c
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], ebx
je 0x4468b0
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], ebx
je 0x4468c9
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x4468c9
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.004462f6
cmp dword [esi + 0x54], ebx
je 0x4468e5
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x40]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x446d3e
Capabilities:
Get disk information

Disassembly:
mov eax, 0x45bd0e
call fcn.00433e9c
sub esp, 0x154
mov eax, dword [0x4741f0]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor eax, ebp
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x158]
push eax
push edi
mov esi, 0x104
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x446d85
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp 0x446d89
cmp eax, esi
jb 0x446d90
xor eax, eax
jmp 0x446e74
call fcn.00440b08
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x154], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x154]
push eax
push edi
call fcn.00446cfc
push dword [ebp - 0x154]
call dword [sym.imp.SHLWAPI.dll_PathIsUNCA]
test eax, eax
jne 0x446e61
push eax
push eax
lea ecx, [ebp - 0x15c]
push ecx
lea ecx, [ebp - 0x160]
push ecx
push eax
push eax
push eax
push dword [ebp - 0x154]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x446df1
xor esi, esi
jmp 0x446e64
test byte [ebp - 0x15c], 2
jne 0x446e01
push edi
call dword [sym.imp.USER32.dll_CharUpperA]
test byte [ebp - 0x15c], 4
jne 0x446e61
lea eax, [ebp - 0x150]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x446e61
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x158], 0
je 0x446ded
cmp dword [ebp - 0x158], edi
jbe 0x446ded
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
sub eax, edi
add eax, dword [ebp - 0x158]
cmp eax, esi
jge 0x446ded
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 0x158]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x154]
add ecx, 0xfffffff0
call fcn.00401020
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.00433dfe
leave
ret 8

Function at 0x4492ca
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x4741f0]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor eax, ebp
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
mov eax, 0x100
cmp ebx, eax
ja 0x44931d
push eax
lea eax, [ebp - 0x104]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, ebx
jne 0x44931d
push edi
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x449325
push edi
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00433dfe
leave
ret 8
Function at 0x44a020
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push ecx
mov eax, 0x475290
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44a030
sub eax, edx
mov dword [esp], eax
je 0x44a0d0
push ebx
mov ebx, dword [esp + 0x10]
test ebx, ebx
push esi
push edi
jne 0x44a06d
call fcn.0042bd50
mov esi, eax
test esi, esi
jne 0x44a05f
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x14]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x44a0bb
mov edi, dword [esp + 0x1c]
test edi, edi
jne 0x44a092
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0042be10
mov esi, eax
add esp, 4
test esi, esi
je 0x44a058
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x44a0bb
mov edx, dword [esp + 0x14]
push edx
call fcn.0042be10
mov esi, eax
add esp, 4
test esi, esi
je 0x44a058
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push edi
push 1
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
pop edi
pop esi
sete al
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 0x475310
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop ecx
ret

Function at 0x44a0f0
Capabilities:
Set registry value

Disassembly:
mov eax, 0x475290
sub esp, 0x14
lea edx, [eax + 1]
jmp 0x44a100
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44a100
sub eax, edx
mov dword [esp], eax
je 0x44a155
mov eax, dword [esp + 0x18]
push esi
push eax
call fcn.0042be10
mov esi, eax
add esp, 4
test esi, esi
jne 0x44a127
pop esi
add esp, 0x14
ret
mov edx, dword [esp + 0x20]
push edi
push 4
lea ecx, [esp + 0x2c]
push ecx
push 4
push 0
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
pop edi
sete al
pop esi
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 8]
push 0x462c1c
push ecx
call fcn.00431952
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add esp, 0xc
push 0x475310
lea edx, [esp + 8]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0x14
ret
Function at 0x44a327
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4741f0]
push ebx
push esi
mov esi, dword [ebp + 8]
push dword [ebp + 0xc]
xor eax, ebp
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.0044a310
cmp dword [esi], 0
mov ebx, eax
je 0x44a389
push edi
mov edi, dword [ebp + 0x18]
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push edi
push dword [ebp + 0x10]
lea eax, [ebp - 0x44]
push eax
call fcn.004319aa
add esp, 0xc
cmp eax, 1
pop edi
je 0x44a3a6
push 0xffffffffffffffff
push 0
push dword [ebp + 0x14]
call fcn.0044e101
mov ecx, esi
call fcn.0044a1d5
jmp 0x44a3a6
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x44]
push eax
call fcn.004311fd
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.004492ca
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00433dfe
leave
ret
Function at 0x44a533
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x44a6b7
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov dword [ebp - 8], ebx
je 0x44a6b6
push esi
push edi
mov edi, dword [ebx]
add edi, 0x40
push edi
call fcn.00432e7e
mov esi, eax
test esi, esi
pop ecx
je 0x44a6b4
push edi
push ebx
push esi
call fcn.00433a90
mov edi, dword [esi]
add esp, 0xc
add edi, esi
and dword [ebp + 0xc], 0
mov ecx, dword [ebp + 0xc]
mov ecx, dword [edi + ecx*4]
xor eax, eax
cmp ecx, dword [eax*8 + 0x465ee8]
je 0x44a5a9
inc eax
cmp eax, 4
jb 0x44a598
jmp 0x44a60b
cmp dword [ebp + 0x10], 0
je 0x44a5c5
cmp dword [eax*8 + 0x465eec], 0x12
je 0x44a60b
mov eax, dword [ebp + 0xc]
mov dword [edi + eax*4], 0xffffff
jmp 0x44a60b
lea ebx, [eax*8 + 0x465eec]
push dword [ebx]
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_GetSysColor]
push dword [ebx]
movzx eax, ah
mov dword [ebp + 8], eax
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [ebp + 8]
mov ch, al
mov eax, ebx
push dword [eax]
shl ecx, 8
mov dword [ebp + 8], ecx
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [ebp + 8]
shr eax, 0x10
movzx eax, al
or ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [edi + eax*4], ecx
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 0x10
jl 0x44a590
mov edi, dword [esi + 4]
mov ebx, dword [esi + 8]
push 0
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], ebx
call dword [sym.imp.USER32.dll_GetDC]
push ebx
push edi
push eax
mov dword [ebp + 0x10], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
mov dword [ebp - 4], eax
je 0x44a696
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 4]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
mov edi, eax
push edi
call ebx
mov cl, byte [esi + 0xe]
push 0xcc0020
xor edx, edx
inc edx
shl edx, cl
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
xor eax, eax
push eax
push esi
lea ecx, [ecx + edx*4 + 0x28]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
push eax
push edi
call dword [sym.imp.GDI32.dll_StretchDIBits]
push dword [ebp - 0xc]
push edi
call ebx
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp + 0x10]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push esi
call fcn.00432d66
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x44c81a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov esi, ecx
call fcn.00440cf1
test eax, eax
jne 0x44ca0a
mov edi, dword [edi + 4]
push ebx
mov ecx, esi
call fcn.0042cc6e
test byte [esi + 0x7c], 0x20
mov dword [ebp - 0x10], eax
mov ebx, 0x201
jne 0x44c85e
cmp edi, ebx
je 0x44c85e
cmp edi, 0x202
jne 0x44c9b7
cmp edi, 0x200
jb 0x44c86e
cmp edi, 0x209
jbe 0x44c886
cmp edi, 0xa0
jb 0x44c9b7
cmp edi, 0xa9
ja 0x44c9b7
call fcn.00455ef8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push dword [esi + 0x1c]
mov dword [ebp - 0x18], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0x30
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.00434090
mov eax, dword [esi]
add esp, 0xc
lea ecx, [ebp - 0x48]
push ecx
push dword [ebp - 0x14]
mov ecx, esi
push dword [ebp - 0x18]
mov dword [ebp - 0x48], 0x28
call dword [eax + 0x6c]
cmp dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 4], eax
je 0x44c8e4
push dword [ebp - 0x24]
call fcn.00432d66
pop ecx
cmp edi, ebx
jne 0x44c8f7
test byte [ebp - 0x41], 0x80
je 0x44c8f7
mov dword [ebp - 8], 1
jmp 0x44c915
and dword [ebp - 8], 0
cmp edi, ebx
je 0x44c915
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x44c915
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x78]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x44c981
cmp dword [ebp - 8], 0
jne 0x44c981
cmp edi, 0x202
jne 0x44c941
mov eax, dword [esi]
push 0xffffffffffffffff
mov ecx, esi
call dword [eax + 0x160]
push 0xc8
push 0xe001
jmp 0x44c969
test byte [esi + 0x78], 8
jne 0x44c972
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x44c972
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ecx + 0x78]
je 0x44c9ae
push 0x12c
push 0xe000
mov ecx, esi
call fcn.0044becb
jmp 0x44c9ae
push dword [ebp - 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x160]
jmp 0x44c9ae
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x44c994
cmp dword [ebp - 8], 0
je 0x44c9ae
mov eax, dword [esi]
push 0xffffffffffffffff
mov ecx, esi
call dword [eax + 0x160]
push 0xe001
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x78], eax
mov ecx, esi
call fcn.00442cf7
test eax, eax
pop ebx
je 0x44c9c9
cmp dword [eax + 0x64], 0
jne 0x44ca0f
cmp dword [ebp - 0x10], 0
je 0x44c9f1
mov edi, dword [ebp - 0x10]
push dword [ebp + 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x100]
test eax, eax
jne 0x44ca0a
mov ecx, edi
call fcn.00442cb8
test eax, eax
mov dword [ebp - 0x10], eax
jne 0x44c9cf
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44ca0f
push dword [ebp + 8]
mov ecx, esi
call fcn.0044173f
jmp 0x44ca11
xor eax, eax
inc eax
jmp 0x44ca11
xor eax, eax
pop edi
pop esi
leave
ret 4