joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d97d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4d97db
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x4d98de
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x5ee824]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x5ee824]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x5ee824]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x5ee824]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x5ee824]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x5ee824]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x5ee824]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x5ee824]
xor eax, edx
inc ecx
dec edi
jne 0x4d97f6
pop edi
test esi, esi
je 0x4d9900
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x5ee824]
xor eax, edx
inc ecx
dec esi
jne 0x4d98e2
pop esi
pop ebx
not eax
ret

Function at 0x5038f0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x503923
push esi
call fcn.00508660
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x50391c
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x5039a9
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x503992
mov eax, dword [esi + 8]
test eax, eax
je 0x503947
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x50398e
cmp eax, 2
je 0x503992
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x50393a
cmp eax, 3
je 0x50396d
cmp eax, 1
jne 0x50393a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x50393a
mov edx, dword [esi + 0x144]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x50393a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.005039e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x5039c9
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.005039e0
add esp, 4
pop esi
ret
Function at 0x559a00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x57eae0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.0054e818
mov eax, dword [0x6d2280]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.0054e74a
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.0055a4a0
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x559aa7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x559a9e
cmp al, 0xff
je 0x559a9e
dec al
mov byte [ecx], al
jmp 0x559aa7
push ecx
call fcn.00563f9a
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x559ad8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x559acf
cmp al, 0xff
je 0x559acf
dec al
mov byte [ecx], al
jmp 0x559ad8
push ecx
call fcn.00563f9a
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x453d70
Capabilities:
Hash data using sha1

Disassembly:
mov edx, dword [esp + 4]
push edi
mov ecx, 0x17
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [edx], 0x67452301
mov dword [edx + 4], 0xefcdab89
mov dword [edx + 8], 0x98badcfe
mov dword [edx + 0xc], 0x10325476
mov dword [edx + 0x10], 0xc3d2e1f0
pop edi
ret

Function at 0x453e50
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x20]
push ebx
mov ebx, dword [esp + 0x28]
push ebp
mov edx, dword [eax + 0x10]
mov ecx, dword [eax]
mov ebp, dword [eax + 0xc]
push esi
mov esi, dword [eax + 8]
mov dword [esp + 0x18], edx
push edi
xor dl, dl
xor edi, edi
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ebp
mov byte [esp + 0x13], dl
mov dword [esp + 0x24], edi
cmp edi, 0x3c
ja case.0x453e92.4
xor eax, eax
mov al, byte [edi + 0x453fec]
jmp dword [eax*4 + 0x453fd8]
mov dword [esp + 0x14], 0x5a827999
jmp case.0x453e92.4
mov dword [esp + 0x14], 0x6ed9eba1
jmp case.0x453e92.4
mov dword [esp + 0x14], 0x8f1bbcdc
jmp case.0x453e92.4
mov dword [esp + 0x14], 0xca62c1d6
mov al, dl
and al, 0xf
cmp dl, 0xf
mov byte [esp + 0x28], al
mov edi, dword [esp + 0x28]
jbe 0x453f0c
mov edx, edi
and edx, 0xff
lea eax, [edx - 8]
lea ebp, [edx - 3]
and eax, 0xf
and ebp, 0xf
mov eax, dword [ebx + eax*4]
xor eax, dword [ebx + ebp*4]
lea ebp, [edx + 2]
and ebp, 0xf
xor eax, dword [ebx + ebp*4]
mov ebp, dword [ebx + edx*4]
xor eax, ebp
mov ebp, eax
add eax, eax
shr ebp, 0x1f
or ebp, eax
mov dword [ebx + edx*4], ebp
mov ebp, dword [esp + 0x20]
mov dl, byte [esp + 0x13]
cmp dl, 0x14
jae 0x453f1f
mov eax, ecx
mov edx, esi
not eax
and eax, ebp
and edx, ecx
or eax, edx
jmp 0x453f3d
cmp dl, 0x28
jb 0x453f37
cmp dl, 0x3c
jae 0x453f37
mov eax, esi
mov edx, esi
or eax, ecx
and edx, ecx
and eax, ebp
or eax, edx
jmp 0x453f3d
mov eax, ebp
xor eax, esi
xor eax, ecx
mov edx, dword [esp + 0x18]
and edi, 0xff
mov ebx, edx
shr ebx, 0x1b
shl edx, 5
or ebx, edx
mov edx, ebx
mov ebx, dword [esp + 0x34]
add edx, dword [ebx + edi*4]
mov edi, dword [esp + 0x14]
add edx, edi
mov edi, dword [esp + 0x1c]
add edx, edi
mov edi, dword [esp + 0x24]
add eax, edx
mov edx, ecx
shl edx, 0x1e
shr ecx, 2
mov dword [esp + 0x1c], ebp
or edx, ecx
mov ecx, dword [esp + 0x18]
mov ebp, esi
mov esi, edx
mov dl, byte [esp + 0x13]
inc dl
inc edi
cmp dl, 0x50
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], eax
mov byte [esp + 0x13], dl
mov dword [esp + 0x24], edi
jb 0x453e85
mov edx, dword [esp + 0x30]
mov edi, dword [edx]
mov ebx, dword [edx + 4]
add edi, eax
mov eax, dword [esp + 0x1c]
mov dword [edx], edi
mov edi, dword [edx + 8]
add edi, esi
mov esi, dword [edx + 0xc]
add ebx, ecx
mov ecx, dword [edx + 0x10]
add esi, ebp
mov dword [edx + 8], edi
mov dword [edx + 0xc], esi
pop edi
add ecx, eax
pop esi
mov dword [edx + 4], ebx
pop ebp
mov dword [edx + 0x10], ecx
pop ebx
add esp, 0x1c
ret
Function at 0x45fee0
Capabilities:
Terminate process

Disassembly:
push esi
call fcn.0045fe20
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_IsDebuggerPresent]
push esi
push 1
test eax, eax
push 0x1f0fff
je 0x45ff0b
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
pop esi
ret
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.DLL_WaitForInputIdle]
pop esi
ret

Function at 0x460370
Capabilities:
Terminate process

Disassembly:
sub esp, 0x108
push ebp
push 0x42d20
call fcn.0045ffe0
mov ebp, eax
add esp, 4
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4604fa
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrcatA]
push esi
push edi
mov eax, dword [ebp + 0xc]
push eax
call fcn.0045ffe0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
jne 0x460404
lea ecx, [esp + 0x98]
push 0x464370
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov edx, dword [ebp + 0xc]
push edx
call fcn.0045ffe0
add esp, 4
push eax
lea eax, [esp + 0x9c]
push eax
call ebx
push edi
lea ecx, [esp + 0x9c]
push 0x464360
push ecx
call dword [sym.imp.USER32.DLL_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.DLL_MessageBoxA]
push 1
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov edx, dword [ebp + 0x10]
push edx
call fcn.0045ffe0
mov dword [esp + 0x14], eax
mov eax, dword [ebp]
add esp, 4
test eax, eax
jne 0x46041e
mov eax, dword [ebp + 0x10]
push eax
call fcn.0045ffe0
mov esi, eax
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x4604e9
jmp 0x460439
mov edi, dword [esp + 0x14]
test eax, 0x80000000
je 0x460447
and eax, 0x7fffffff
jmp 0x460453
push eax
call fcn.0045ffe0
add esp, 4
add eax, 2
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov edi, eax
test edi, edi
jne 0x4604cf
lea ecx, [esp + 0x18]
push 0x464340
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov edx, dword [ebp + 0xc]
push edx
call fcn.0045ffe0
add esp, 4
push eax
lea eax, [esp + 0x1c]
push eax
call ebx
lea ecx, [esp + 0x18]
push 0x464330
push ecx
call ebx
mov eax, dword [esi]
test eax, 0x80000000
jne 0x4604ae
push eax
call fcn.0045ffe0
add esp, 4
add eax, 2
lea edx, [esp + 0x18]
push eax
push edx
call ebx
push 0
lea eax, [esp + 0x1c]
push 0x464360
push eax
call dword [sym.imp.USER32.DLL_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.DLL_MessageBoxA]
push 1
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov eax, dword [esp + 0x10]
add esi, 4
mov dword [eax], edi
add eax, 4
mov dword [esp + 0x10], eax
mov eax, dword [esi]
test eax, eax
jne 0x460435
mov eax, dword [ebp + 0x24]
add ebp, 0x14
test eax, eax
jne 0x46039a
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x108
ret
Function at 0x408654
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 0xc], 0
je 0x408753
call fcn.004e8cf2
mov dword [ebp - 0x10], eax
push pe_nt_image_headers32
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4086fb
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4086cc
push str.DLGINIT_resource_was_found__but_could_not_be_loaded._n
push 0x682030
call fcn.0045aa15
add esp, 8
xor eax, eax
jmp 0x40879c
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4086f3
push 0x146
push str.occmgr.cpp
call fcn.004df9d0
test eax, eax
je 0x4086f3
int3
xor edx, edx
test edx, edx
jne 0x4086d9
jmp 0x408753
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jne 0x40871e
push 0x14e
push str.occmgr.cpp
call fcn.004df9d0
test eax, eax
je 0x40871e
int3
xor edx, edx
test edx, edx
jne 0x408704
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xffffffff
je 0x408753
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], 0
je 0x408748
push str.Dialog_has_OLE_controls__but_no_matching_DLGINIT_resource._n
push 0x682070
call fcn.0045aa15
add esp, 8
jmp 0x408753
mov edx, dword [ebp - 0x18]
add edx, 4
mov dword [ebp - 0x18], edx
jmp 0x408724
mov dword [ebp - 0xc], 1
cmp dword [ebp - 4], 0
je 0x40877a
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1c]
call dword [edx + 0x1c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x408799
cmp dword [ebp - 8], 0
je 0x408799
mov eax, dword [ebp - 8]
push eax
call fcn.00407f80
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x446400
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00424060
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4464cb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4464cb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x44647e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x446489
or bh, 8
and edi, 0x8000000
je 0x4464a4
mov eax, dword [0x730a3c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4464cb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4468a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4468cb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4468ef
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x44690a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x45aeb3
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542f99
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.004f5220
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable._AFX_DEBUG_STATE.0
push str.AFX.INI
push 1
push str.TraceEnabled
push str.Diagnostics
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x72e9ac], eax
push str.AFX.INI
push 0
push str.TraceFlags
push str.Diagnostics
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x72e9a8], eax
cmp dword [0x72e9b8], 0
je 0x45af3c
push 0x77
push 0x685280
call fcn.004df9d0
test eax, eax
je 0x45af3c
int3
xor ecx, ecx
test ecx, ecx
jne 0x45af22
push 0x45ace4
call fcn.00425c50
add esp, 4
mov dword [0x72e9b8], eax
cmp dword [0x72e9bc], 0
je 0x45af6e
push 0x7a
push 0x685290
call fcn.004df9d0
test eax, eax
je 0x45af6e
int3
xor edx, edx
test edx, edx
jne 0x45af54
push 0x45ae56
call fcn.00428e50
add esp, 4
mov dword [0x72e9bc], eax
push 4
push 2
call fcn.00428d70
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x484b85
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0x100
jne 0x484bf0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0x70
jne 0x484bf0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
shr eax, 0x10
and eax, 0xffff
and eax, 0xffff
and eax, 0x4000
test eax, eax
jne 0x484bf0
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jl 0x484bf0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jl 0x484bf0
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jl 0x484bf0
mov dword [ebp - 4], 1
jmp 0x484bf7
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x486bed
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
call fcn.004e8cf2
mov dword [ebp - 4], eax
push 5
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x486c46
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x486c60
push 0xeb
push str.dlgcore.cpp
call fcn.004df9d0
test eax, eax
je 0x486c60
int3
xor edx, edx
test edx, edx
jne 0x486c46
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00486cbb
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00407f80
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x487a0e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x48]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x44]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x40], 0
je 0x487a61
call fcn.004e8cf2
mov dword [ebp - 0x10], eax
push 5
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x40]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x487a74
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 1
cmp dword [ebp - 0xc], 0
je 0x487b08
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov dx, word [ecx + 2]
cmp edx, 0xffff
jne 0x487abf
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0xc]
mov ax, word [edx + 0x12]
mov word [ebp - 0x18], ax
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx + 0x14]
mov word [ebp - 0x1c], dx
jmp 0x487ad5
mov eax, dword [ebp - 0xc]
mov cx, word [eax + 0xa]
mov word [ebp - 0x18], cx
mov edx, dword [ebp - 0xc]
mov ax, word [edx + 0xc]
mov word [ebp - 0x1c], ax
mov ecx, dword [ebp - 0x20]
and ecx, 0x1801
test ecx, ecx
jne 0x487afb
movsx edx, word [ebp - 0x18]
test edx, edx
jne 0x487afb
movsx eax, word [ebp - 0x1c]
test eax, eax
jne 0x487afb
mov dword [ebp - 0x28], 1
jmp 0x487b02
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x40], 0
jne 0x487b1a
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x44], 0
je 0x487b23
mov ecx, dword [ebp - 4]
push ecx
call fcn.00407f80
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x40], 0
je 0x487b36
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret