joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467c58
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.00468a78
test byte [ebp + 0xd], 0xc0
jne 0x467c7c
mov eax, dword [0x479bf8]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x467c89
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x467cb6
je 0x467cc8
sub ecx, 0x100
je 0x467cd6
sub ecx, 0x100
je 0x467cdd
sub ecx, 0x100
je 0x467ccf
jmp 0x467ce4
sub ecx, 0x600
je 0x467cdd
sub ecx, 0x100
je 0x467cc8
jmp 0x467ce4
mov edi, 1
jmp 0x467ce9
mov edi, 2
jmp 0x467ce9
mov edi, 4
jmp 0x467ce9
mov edi, 5
jmp 0x467ce9
mov edi, 3
test byte [ebp + 0xd], 1
je 0x467d10
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x479670]
test al, 0x80
je 0x467d09
mov ebx, 0x80
jmp 0x467d22
mov ebx, 1
jmp 0x467d22
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x467d22
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x467d34
je 0x467d3d
dec eax
je 0x467d46
jmp 0x467d4f
mov dword [ebp - 4], 0x80000000
jmp 0x467d5e
mov dword [ebp - 4], 0x40000000
jmp 0x467d5e
mov dword [ebp - 4], 0xc0000000
jmp 0x467d5e
push 1
call fcn.00468e70
pop ecx
mov ebx, eax
jmp 0x467e4a
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x467d7a
sub eax, 0x10
je 0x467d81
sub eax, 0x10
je 0x467d8a
sub eax, 0x10
je 0x467d93
jmp 0x467d93
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x467d9a
mov dword [ebp - 8], 1
jmp 0x467d9a
mov dword [ebp - 8], 2
jmp 0x467d9a
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
push 0
push ebx
push edi
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x467e03
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x467df8
test byte [ebp + 0xd], 1
mov ebx, 0x50
jne 0x467df8
add ebx, 0xffffffb2
push ebx
call fcn.00468e70
pop ecx
mov ebx, eax
jmp 0x467e4a
mov edi, esi
push edi
call fcn.00467bbc
pop ecx
test eax, eax
je 0x467e17
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x467e23
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.00468b98
add esp, 8
mov ebx, eax
inc eax
jne 0x467e4a
push 4
call fcn.00468e70
pop ecx
push esi
call sub.KERNEL32.DLL_CloseHandle
call fcn.00468aac
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46cbf8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x46cc5a
call fcn.0046cba8
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.0046694c
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.0046694c
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x46ccd8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x47aa98], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x46cdb2
cmp dword [0x47aa94], 0
jne 0x46cdb2
cmp dword [0x47ac78], 0
je 0x46cd6c
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.0046caa8
add esp, 8
mov ebx, eax
test eax, eax
jne 0x46cd52
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.0046caa8
add esp, 8
mov ebx, eax
test eax, eax
jne 0x46cd52
lea ebx, [ebp - 0x84]
jmp 0x46cd53
inc ebx
call fcn.0046cc94
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x46cded
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x47aa9c
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0046694c
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x47aa9f
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x46cded
cmp dword [0x47aa94], 0
je 0x46cdcc
cmp dword [0x47aa94], 0xffffffff
je 0x46cded
push esi
call dword [0x47aa94]
pop ecx
mov eax, dword [0x47aa98]
test eax, eax
je 0x46cded
cmp dword [0x47aa98], 0xffffffff
je 0x46cded
cmp byte [eax], 0
je 0x46cded
push esi
push eax
call fcn.0046cbf8
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46d584
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x47f54c], 0
jne 0x46d605
cmp dword [0x47f56c], 0
jne 0x46d5b4
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x47f56c], eax
test eax, eax
jne 0x46d5b4
push str.GetEnvironmentStrings_failed
call fcn.0046ce04
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x47f56c]
jmp 0x46d5c8
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.0046694c
pop ecx
mov edi, eax
test eax, eax
jne 0x46d5c0
lea edi, [ebp + 1]
push edi
call fcn.00466310
pop ecx
mov ebx, eax
mov dword [0x47f550], ebx
test ebx, ebx
jne 0x46d5f2
xor eax, eax
jmp 0x46d6c8
push edi
mov edx, dword [0x47f56c]
push edx
push ebx
call fcn.00466780
add esp, 0xc
jmp 0x46d625
xor esi, esi
mov ebx, dword [0x47f54c]
jmp 0x46d61f
push eax
call fcn.0046694c
pop ecx
test eax, eax
jne 0x46d61b
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x46d60f
lea ebx, [esi + 4]
push 4
mov dword [0x47f554], ebx
inc ebx
push ebx
call fcn.00465dec
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x46d648
xor eax, eax
jmp 0x46d6c8
cmp dword [0x47f54c], 0
jne 0x46d679
xor esi, esi
mov ebx, dword [0x47f550]
mov eax, dword [esp]
mov ebp, eax
jmp 0x46d66a
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.0046694c
pop ecx
mov edi, eax
test eax, eax
jne 0x46d660
jmp 0x46d6aa
xor esi, esi
mov ebx, dword [0x47f54c]
mov eax, dword [esp]
mov edi, eax
jmp 0x46d6a4
push eax
call fcn.0046694c
pop ecx
test eax, eax
je 0x46d699
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x46d69d
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x46d688
mov eax, dword [0x47f54c]
test eax, eax
je 0x46d6ba
push eax
call fcn.00466320
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x47f54c], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x4ac765d3
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..rsrc
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x55383735
nop
nop
nop
test eax, eax
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4068a5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068c9
xor eax, eax
test eax, eax
je 0x4068dc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4068dc
xor ecx, ecx
jmp 0x4068df
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406a02
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4275ac], 0
push esi
jne 0x406a39
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a13
mov dword [ecx*4 + 0x4275a8], eax
inc ecx
cmp ecx, 0x100
jl 0x406a0e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a6a
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4275a8]
xor eax, esi
inc ecx
dec edx
jne 0x406a4c
pop edi
not eax
pop esi
ret 0xc

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53
Function at 0x4060dc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406142
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404220
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402cac
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40612c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406149
lea eax, [ebp - 0x10]
call fcn.00403fb0
ret

Function at 0x40bbc0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bbf9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004040a0
jmp 0x40bc02
mov eax, ebx
mov edx, esi
call fcn.00404004
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bc0c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bc2d
mov al, byte [esp]
jmp 0x40bc2f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c2b4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c12c
mov eax, dword [0x48dc34]
cmp byte [eax], 0
je 0x40c330
mov eax, dword [0x48d894]
call fcn.00402a70
call fcn.004028e0
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408d84
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c378
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c366
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x48d818]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x48e668]
call fcn.004055f0
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40cc38
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40cd0e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404048
lea eax, [ebp - 8]
call fcn.004044c0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404470
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40ccf8
mov eax, ebx
call fcn.00402778
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40ccf1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404470
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40ccdb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cd20
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40ccdb
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ccf8
mov eax, dword [ebp - 0x10]
call fcn.00402798
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cd15
lea eax, [ebp - 8]
call fcn.00403fb0
ret

Function at 0x40d28c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40d2f0
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404220
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004088f4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d2f7
lea eax, [ebp - 0xc]
call fcn.00403fb0
ret

Function at 0x422db4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x48e888
cmp dword [edi], 0
jne 0x422e30
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x48e884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x48b5d0
mov ecx, 2
call fcn.00402974
mov edx, 0x422d8c
lea eax, [esi + 5]
call fcn.00422dac
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00422dac
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x422e05
mov dword [0x48e884], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42404c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x424052
ret
Function at 0x426494
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4264e5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4264cc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4264bc
jmp 0x4264e5
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4264cd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4335c4
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x433510
call sub.user32.dll_EnumWindows
ret

Function at 0x4336e4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x433761
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00433144
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x433709
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00432d44
cmp dword [ebp - 4], 0
je 0x43374b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404470
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433768
lea eax, [ebp - 4]
call fcn.00403fb0
ret

Function at 0x43672c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x48eb58], 0
je 0x43687b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x48db8c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43687b
mov eax, dword [0x48eb5c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x48eb58]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43684a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x48eb58]
call fcn.0041b968
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x436842
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x436842
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x436842
mov eax, dword [ebp - 0x14]
call fcn.0043f3c4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x436842
push ebp
call fcn.004366e8
pop ecx
test al, al
jne 0x436842
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x4367fe
mov eax, dword [ebp - 0x14]
call fcn.0043def4
dec eax
jle 0x436842
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403474
cmp byte [ebp - 1], 0
je 0x436842
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x436842
mov edx, dword [ebp - 0x14]
mov eax, dword [0x48eb5c]
call fcn.00435eb4
inc edi
dec ebx
jne 0x436791
mov eax, dword [0x48eb5c]
cmp dword [eax + 8], 0
jle 0x436862
mov eax, dword [0x48eb5c]
call fcn.00435f44
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43687b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00436550
pop ecx
test al, al
jne 0x43687b
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439e5c
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 0x439ea8
mov eax, esi
call fcn.0044f60c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x439ea8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x439ea8
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 0x439fe7
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x439ee8
cmp eax, 0x108
ja 0x439ee8
mov eax, esi
call fcn.0044f60c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x439fde
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x439fe7
jmp 0x439fde
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x439fc7
cmp eax, 0x20a
ja 0x439fc7
test byte [esi + 0x50], 0x80
jne 0x439f1a
sub eax, 0x203
je 0x439f17
sub eax, 3
je 0x439f17
sub eax, 3
jne 0x439f1a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x439f2e
dec eax
je 0x439f43
dec eax
je 0x439f60
dec eax
je 0x439f43
jmp 0x439f67
mov ecx, ebx
mov eax, dword [0x48db8c]
mov eax, dword [eax]
mov edx, esi
call fcn.00458db8
jmp 0x439fde
cmp byte [esi + 0x5d], 1
jne 0x439f59
mov eax, esi
mov si, 0xffed
call fcn.00403474
jmp 0x439fe7
or word [esi + 0x54], 1
jmp 0x439fde
and word [esi + 0x54], 0xfffe
jmp 0x439fde
mov eax, dword [0x48eb14]
cmp byte [eax + 0x20], 0
je 0x439fde
mov eax, dword [0x48eb14]
cmp dword [eax + 0x1c], 0
je 0x439fde
mov eax, dword [ebx]
mov edx, dword [0x48eb14]
cmp eax, dword [edx + 0x1c]
jne 0x439fde
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.0044f550
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.00403474
jmp 0x439fe7
cmp eax, 0xb00b
jne 0x439fde
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0043877c
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 0x43d554
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 0x43d570
cmp dword [esi + 4], 0
je 0x43d59d
test byte [ebx + 0x55], 1
jne 0x43d58f
mov eax, ebx
call fcn.0043c0f4
test eax, eax
jne 0x43d58f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43d6ad
mov edx, esi
mov eax, ebx
call fcn.0043d078
jmp 0x43d6ad
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 0x43d6a6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043f3c4
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.00439d90
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043d554
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.0043f3c4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d6ad
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