joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f58
Capabilities:
Check http status code

Disassembly:
mov dword [esp + 0x24], 0x3fb89
call fcn.00022ba0
jmp 0x32757

Function at 0x4141d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea edx, [ebp - 4]
bswap eax
bswap ax
bswap eax
push 0x407a32a0
mov dword [esp + 4], edx
mov al, 0xb3
pop eax
lea eax, [ecx*8 + 0x1a98324d]
lea eax, [ebp - 0xc]
push esp
mov dword [esp], eax
pushfd
mov dword [esp], str.IoAllocateWorkItem
push 0x9d28a279
push 0xd08c1bc
push esp
lea esp, [esp + 0xc]
call fcn.00014d20
pushfd
btc cx, bx
neg cx
neg cx
mov ecx, dword [ebp - 4]
test ah, 0xc9
bt edx, ebx
bt ebp, edi
test ecx, ecx
pushal
mov dword [esp], 0xd4288020
jmp 0x33464

Function at 0x415e2
Capabilities:
Check http status code
Resolve function by parsing pe exports

Disassembly:
mov byte [esp + 4], al
pushfd
lea esp, [esp + 0x2c]
call fcn.0001ad20
lea eax, [ebx*4 - 0xab54e93]
movzx ax, bl
movzx ax, cl
lea eax, [ebp - 0x150]
push ecx
pushfd
pushfd
mov dword [esp + 8], eax
push edx
lea esp, [esp + 0xc]
call fcn.00018030
pushal
mov esi, eax
pushfd
test esi, esi
mov byte [esp + 4], ah
mov word [esp + 8], cx
lea esp, [esp + 0x24]
je 0x25a50
pushal
lea esp, [esp + 0x20]
jne 0x31ca5
pushfd
mov dword [esp], 1
pushal
pushal
pushfd
push ecx
mov dword [esp + 0x44], esi
mov byte [esp], 0xed
mov dword [esp + 0x40], 0
push dword [esp]
lea esp, [esp + 0x44]
call fcn.00016970
setl ch
not ch
push str._tj.php
jmp 0x395dc
pushal
jmp 0x2319f
jmp 0x3ec56
lea ecx, [edi + 0x3ce5c97f]
lea ecx, [ebp - 0x150]
jmp 0x31640
push 1
call fcn.0002a077
lea esp, [esp + 4]
call fcn.00013720
movzx bx, al
sub bl, cl
mov ebx, eax
call fcn.000190e9
mov byte [esp + 8], 0x4f
push 0xb3a13de3
mov dword [esp + 0x28], 0x1e064
jmp 0x27887

Function at 0x4187b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov byte [esp + 8], 0x1b
pushfd
mov dword [esp + 0x2c], esi
pushfd
push edi
call fcn.0003cbf4
cmc
bt dx, ax
test al, al
jmp fcn.0003a3ca

Function at 0x41a9a
Capabilities:
Check http status code
Resolve function by parsing pe exports

Disassembly:
push 0
call fcn.000189a2
mov word [esp + 4], 0x7a88
mov dword [esp + 0x24], 0x22e090
pushal
lea esp, [esp + 0x44]
call fcn.00013630
push edx
mov byte [esi + 0x28], 0
pushal
mov word [esp + 0x10], 0x66c7
lea esp, [esp + 0x24]
call fcn.0001b170
cmp al, 0x5e
pushal
pushfd
add eax, 0x493e0
lea esp, [esp + 0x24]
jp 0x3cfe6
stc
test dh, al
mov dword [ebp - 0x20], eax
stc
cmc
lahf
dec al
mov eax, dword [0x1e51c]
pushfd
call fcn.00029834
cmp dh, dl
mov dword [ebp - 0x1c], eax
pushfd
cmp dword [0x1e51c], eax
pushal
lea esp, [esp + 0x24]
jne 0x420a0
push 0x53eb6392
jmp loc.00011086
mov dword [esp + 0xc], 0
mov word [esp], 0x957e
pushfd
lea esp, [esp + 0x10]
call fcn.0001ad60
pushal
mov byte [esp + 4], 0xda
pushal
lea esp, [esp + 0x40]
jmp 0x3aaf4
cmp al, al
stc
jmp 0x31654
call fcn.0002413f
lea esp, [esp + 0x30]
jne 0x24bca
call fcn.0002d000
mov dword [esp + 8], esi
push 0x31bf99b
mov word [esp + 8], ax
pushfd
jmp 0x33eae
jmp 0x2eba4

Function at 0x41aea
Capabilities:
Check http status code

Disassembly:
lea esp, [esp + 0x34]
jae 0x378bf
sub dl, 0xbb
not dl
call fcn.000230b9
Function at 0x41d5f
Capabilities:
Check http status code
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
cmc
mov dword [ebp + 8], eax
clc
mov byte [esp], dh
cmp eax, dword [ebx + 0xc]
mov word [esp + 0x14], 0xa9c5
lea esp, [esp + 0x30]
jb 0x3a8d9
push edx
mov word [esp], si
mov edi, dword [esp + 4]
push 0x26755eed
not dl
mov byte [esp + 4], 0xd6
pop edx
mov edx, dword [ebx + 8]
pushal
push dword [esp]
mov word [esp + 4], bx
pushfd
mov dword [0x1e32c], edx
push ebp
lea esp, [esp + 0x34]
jmp 0x3f609

Function at 0x4208c
Capabilities:
Check http status code
Resolve function by parsing pe exports

Disassembly:
pushfd
mov dword [esp + 0x28], esi
pushfd
push dword [esp + 8]
pushfd
lea esp, [esp + 0x34]
call fcn.00013a90

Function at 0x420ae
Capabilities:
Check http status code

Disassembly:
push 0x100
bswap ax
pushal
lea eax, [ebp - 0x150]
call fcn.0002834e
lea esp, [esp + 0x28]
je 0x24074
jmp 0x236ae
pushfd
lea esp, [esp + 0x10]
je 0x18f0d
pushfd
bt cx, 7
pushal
cmp eax, dword [ebp - 8]
pushfd
jmp 0x3ef43

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
mov ecx, 0x10834b85
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x774e5bcd
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x3ab63aa3
nop
nop
test eax, eax
nop
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
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
jne 0x431024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
mov ecx, 0x270a7534
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x10cc430
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x144000]
push edi
or ebp, 0xffffffff
jmp 0x10cc452
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10cc459
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10cc448
mov eax, 1
add ebx, ebx
jne 0x10cc46b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10cc47c
jne 0x10cc49b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10cc49b
dec eax
add ebx, ebx
jne 0x10cc488
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x10cc460
add ebx, ebx
jne 0x10cc497
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x10cc4ed
xor ecx, ecx
sub eax, 3
jb 0x10cc4b3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x10cc522
sar eax, 1
mov ebp, eax
jmp 0x10cc4be
add ebx, ebx
jne 0x10cc4be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10cc48c
inc ecx
add ebx, ebx
jne 0x10cc4cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10cc48c
add ebx, ebx
jne 0x10cc4d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10cc4ce
jne 0x10cc4ea
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10cc4ce
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10cc50c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10cc4fe
jmp 0x10cc44e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10cc50c
add edi, ecx
jmp 0x10cc44e
pop esi
mov edi, esi
mov ecx, 0x7109
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10cc52a
cmp byte [edi], 0x22
jne 0x10cc52a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x10cc52f
lea edi, [esi + 0xcc9000]
mov eax, dword [edi]
or eax, eax
je 0x10cc5a7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd12b74]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd12cdc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10cc55c
mov ecx, edi
jns 0x10cc58b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd12ce0]
or eax, eax
je 0x10cc5a1
mov dword [ebx], eax
add ebx, 4
jmp 0x10cc579
call dword [esi + 0xd12cf0]
mov ebp, dword [esi + 0xd12ce4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x10cc5db
sub esp, 0xffffff80
jmp 0x51130b
Function at 0x4029ec
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404344
test esi, esi
jne 0x402a22
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404434
jmp 0x402a40
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402900
mov edi, eax
test esi, esi
je 0x402a40
cmp dword [ebx], 0
je 0x402a40
dec esi
jmp 0x402a29
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403468
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x45200c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403500
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4034e0
xor eax, eax
push ebp
push 0x4034d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x40351c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4034e0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x45200c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x45200c], ax
mov esp, ebp
pop ebp
ret

Function at 0x4041c8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x453048], 0
je 0x404229
cmp word [0x45321c], 0xd7b2
jne 0x4041f1
cmp dword [0x453224], 0
jbe 0x4041f1
mov eax, 0x453218
call dword [0x453234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x452054
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404250
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45201c], 0
jne 0x404245
push 0
push 0x452074
push 0x452054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x409558
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 0x409591
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404434
jmp 0x40959a
mov eax, ebx
mov edx, esi
call fcn.00404398
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4095a4
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 0x4095c5
mov al, byte [esp]
jmp 0x4095c7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x409c4c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x409ac4
mov eax, dword [0x452e54]
cmp byte [eax], 0
je 0x409cb4
mov eax, dword [0x452cb8]
call fcn.00402d84
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408790
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
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 0x409cfc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x409cea
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x452c78]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x453714]
call fcn.00405a30
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 0x40a754
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 0x40a7b8
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.004045ac
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040849c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a7bf
lea eax, [ebp - 0xc]
call fcn.00404344
ret
Function at 0x41c3d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x453a20
cmp dword [edi], 0
jne 0x41c44c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x453a1c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4524bc
mov ecx, 2
call fcn.004028c0
mov edx, 0x41c3a8
lea eax, [esi + 5]
call fcn.0041c3c8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041c3c8
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 0x41c421
mov dword [0x453a1c], 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 0x41d5d8
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 0x41d5de
ret

Function at 0x41fa1c
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 0x41fa6d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41fa54
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41fa44
jmp 0x41fa6d
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 0x41fa55
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ae24
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 0x42ad70
call sub.user32.dll_EnumWindows
ret

Function at 0x42af48
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 0x42afc5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042a994
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 0x42af6d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042a5ec
cmp dword [ebp - 4], 0
je 0x42afaf
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004047f4
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 0x42afcc
lea eax, [ebp - 4]
call fcn.00404344
ret

Function at 0x42dcd4
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 [0x453ba8], 0
je 0x42de23
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x452e00]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42de23
mov eax, dword [0x453bac]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x453ba8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42ddf2
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x453ba8]
call fcn.00413a4c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42ddea
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42ddea
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42ddea
mov eax, dword [ebp - 0x14]
call fcn.004367e0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42ddea
push ebp
call fcn.0042dc90
pop ecx
test al, al
jne 0x42ddea
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42dda6
mov eax, dword [ebp - 0x14]
call fcn.00435374
dec eax
jle 0x42ddea
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.004037ec
cmp byte [ebp - 1], 0
je 0x42ddea
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42ddea
mov edx, dword [ebp - 0x14]
mov eax, dword [0x453bac]
call fcn.0042d458
inc edi
dec ebx
jne 0x42dd39
mov eax, dword [0x453bac]
cmp dword [eax + 8], 0
jle 0x42de0a
mov eax, dword [0x453bac]
call fcn.0042d4e8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42de23
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042daf8
pop ecx
test al, al
jne 0x42de23
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 0x4313e0
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 0x43142c
mov eax, esi
call fcn.00446da8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43142c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x43142c
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 0x431570
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43146c
cmp eax, 0x108
ja 0x43146c
mov eax, esi
call fcn.00446da8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x431567
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x431570
jmp 0x431567
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43154e
cmp eax, 0x20a
ja 0x43154e
test byte [esi + 0x50], 0x80
jne 0x43149e
sub eax, 0x203
je 0x43149b
sub eax, 3
je 0x43149b
sub eax, 3
jne 0x43149e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4314b2
dec eax
je 0x4314c7
dec eax
je 0x4314e7
dec eax
je 0x4314c7
jmp 0x4314ee
mov ecx, ebx
mov eax, dword [0x452e00]
mov eax, dword [eax]
mov edx, esi
call fcn.0045047c
jmp 0x431567
cmp byte [esi + 0x5d], 1
jne 0x4314dd
mov eax, esi
mov si, 0xffed
call fcn.004037ec
jmp 0x431570
or word [esi + 0x54], 1
jmp 0x431567
and word [esi + 0x54], 0xfffe
jmp 0x431567
mov eax, dword [0x453b64]
cmp byte [eax + 0x20], 0
je 0x431567
mov eax, dword [0x453b64]
cmp dword [eax + 0x1c], 0
je 0x431567
mov eax, dword [ebx]
mov edx, dword [0x453b64]
cmp eax, dword [edx + 0x1c]
jne 0x431567
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.00446cec
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.004037ec
jmp 0x431570
mov eax, dword [ebx]
cmp eax, 0xb00b
jne 0x431567
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042fd0c
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 0x434a10
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 0x434a2c
cmp dword [esi + 4], 0
je 0x434a59
test byte [ebx + 0x55], 1
jne 0x434a4b
mov eax, ebx
call fcn.00433668
test eax, eax
jne 0x434a4b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x434b69
mov edx, esi
mov eax, ebx
call fcn.00434530
jmp 0x434b69
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 0x434b62
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004367e0
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.00431314
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00434a10
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.004367e0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x434b69
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