joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004fa48
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1004fa60
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jmp 0x1004faab
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1004fa8e
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 4
jge 0x1004faab
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.10028a14
mov dword [eax], 1
jmp 0x1004fa83
mov esp, ebp
pop ebp
ret

Function at 0x10050268
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1005037d
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.10028a14
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
shl esi, 2
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.10028a14
mov eax, dword [eax]
sub eax, esi
je 0x10050365
mov eax, dword [ebp - 0x3c]
mov dword [eax], 0x2d91509c
mov eax, dword [ebp - 8]
mov esi, 0x2d91509c
sub esi, dword [eax]
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.10028a14
cmp dword [eax], esi
jl 0x1005032b
mov dword [ebp - 0x18], 1
jmp 0x1005032f
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x18], eax
jge 0x10050342
mov dword [ebp - 4], 1
jmp 0x10050346
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
cmp dword [ebp - 4], 0
je 0x10050365
mov dword [ebp - 0x1c], 1
jmp 0x10050369
and dword [ebp - 0x1c], 0
mov esi, dword [ebp - 0x1c]
sub esi, 9
push 0
mov ecx, dword [ebp - 0x44]
call fcn.10028a14
mov dword [eax], esi
jmp 0x10050387
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10081342
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1008b38c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1007213c
mov dword [ebp - 0x14], eax
cmp dword [0x106782cc], esi
jne 0x10081435
push 0x800
push esi
push 0x10007fac
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x100813c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10081515
push esi
push esi
push 0x10007fac
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10081515
push 0x10007fc4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10081515
push eax
call ebx
push 0x10007fd0
push edi
mov dword [0x106782cc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007fe0
push edi
mov dword [0x106782d0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007ff4
push edi
mov dword [0x106782d4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x106782dc], eax
test eax, eax
je 0x10081432
push 0x10008010
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x106782d8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1008145a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1008144d
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1008146f
push 4
pop eax
jmp 0x10081517
cmp dword [ebp - 0x14], esi
je 0x1008146f
push dword [0x106782cc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10081454
mov eax, dword [0x106782d8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x100814cd
cmp dword [0x106782dc], edi
je 0x100814cd
push eax
call ebx
push dword [0x106782dc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x100814cd
test eax, eax
je 0x100814cd
call ecx
test eax, eax
je 0x100814c2
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x100814c2
test byte [ebp - 8], 1
jne 0x100814cd
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x100814fd
mov eax, dword [0x106782d0]
cmp eax, edi
je 0x100814fa
push eax
call ebx
test eax, eax
je 0x100814fa
call eax
mov esi, eax
test esi, esi
je 0x100814fa
mov eax, dword [0x106782d4]
cmp eax, edi
je 0x100814fa
push eax
call ebx
test eax, eax
je 0x100814fa
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x106782cc]
call ebx
test eax, eax
je 0x10081515
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10081517
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x49e140
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4a000]
mov dword [edi + 0x907e4], 0xa3e204b3
push edi
or ebp, 0xffffffff
jmp 0x49e16a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x49e171
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49e160
mov eax, 1
add ebx, ebx
jne 0x49e183
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x49e178
jne 0x49e194
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x49e178
xor ecx, ecx
sub eax, 3
jb 0x49e1a8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x49e21a
mov ebp, eax
add ebx, ebx
jne 0x49e1b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x49e1c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x49e1e4
inc ecx
add ebx, ebx
jne 0x49e1d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x49e1c5
jne 0x49e1e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x49e1c5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x49e204
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x49e1f5
jmp 0x49e166
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x49e204
add edi, ecx
jmp 0x49e166
pop esi
mov edi, esi
mov ecx, 0x2dd1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x49e222
cmp byte [edi], 0x11
jne 0x49e222
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 0x49e227
lea edi, [esi + 0x99000]
mov eax, dword [edi]
or eax, eax
je 0x49e29f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9e4dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9e5dc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x49e254
mov ecx, edi
jns 0x49e283
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 + 0x9e5e4]
or eax, eax
je 0x49e299
mov dword [ebx], eax
add ebx, 4
jmp 0x49e271
call dword [esi + 0x9e5e0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x49e2d0
cmp al, 0xef
ja 0x49e2c3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x49e2a5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x49e2b2
mov ebp, dword [esi + 0x9e5e8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0x49e304
sub esp, 0xffffff80
jmp 0x413ad1
Function at 0x409204
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404bfc
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40921d
test al, 0x10
jne 0x409221
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40c0fc
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 0x40c135
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040483c
jmp 0x40c13e
mov eax, ebx
mov edx, esi
call fcn.004047a0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c7f0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c668
mov eax, dword [0x4adcf0]
cmp byte [eax], 0
je 0x40c85d
mov eax, dword [0x4ad9f0]
call fcn.00402e8c
call fcn.004028a4
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409790
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 0x40c8a4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c893
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4ad988]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4ae718]
call fcn.00405fc0
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 0x40d6bc
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 0x40d720
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.004049b4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408e2c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d727
lea eax, [ebp - 0xc]
call fcn.0040474c
ret

Function at 0x424f18
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00424d9c
dec esi
jne 0x424f3a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x426160
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4a95e4
cmp dword [edi], 0
jne 0x426218
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
xor eax, eax
mov dword [esi + 0xa], eax
lea edx, [esi + 4]
mov eax, 0x4a95e8
mov ecx, 2
call fcn.00402938
mov edx, 0x426128
lea eax, [esi + 5]
call fcn.00426148
mov dword [esi + 6], eax
lea ebx, [esi + 0x12]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00426148
mov dword [ebx + 1], eax
xor eax, eax
mov dword [ebx + 9], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
cmp dword [edi], 0
je 0x4261d7
mov eax, dword [edi]
mov dword [eax + 9], ebx
mov dword [edi], ebx
add ebx, 0xd
jno 0x4261e3
call fcn.00403860
mov eax, ebx
sub eax, esi
jno 0x4261ee
call fcn.00403860
cmp eax, 0xff7
jl 0x4261b3
xor eax, eax
mov dword [esi + 0xe], eax
mov eax, dword [0x4a95e0]
mov dword [esi], eax
cmp dword [0x4a95e0], 0
je 0x426212
mov eax, dword [0x4a95e0]
mov dword [eax + 0xe], esi
mov dword [0x4a95e0], esi
mov ebx, dword [edi]
mov eax, dword [ebx + 5]
mov dword [edi], eax
mov eax, ebx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
mov esi, eax
and esi, 0xfffff000
add dword [esi + 0xa], 1
jno 0x426240
call fcn.00403860
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4277d4
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 0x4277da
ret

Function at 0x429c70
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 0x429cc1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x429ca8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x429c98
jmp 0x429cc1
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 0x429ca9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434a1c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404bec
xor eax, eax
push ebp
push 0x434b4a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x434b1d
xor eax, eax
push ebp
push 0x434b16
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404a04
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x434aeb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x434ada
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404a04
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404bfc
mov edx, ebx
pop ecx
call fcn.00402938
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x434ae1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4ad8dc]
mov dl, 1
mov eax, dword [0x407d10]
call fcn.0040c964
call fcn.004040ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x434b51
lea eax, [ebp - 4]
call fcn.0040474c
ret
Function at 0x434b58
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x434d09
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404dec
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x434d20
call fcn.00404a50
mov eax, ebx
call fcn.004256b8
mov edi, eax
dec edi
test edi, edi
jl 0x434c10
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0042568c
mov edx, dword [0x432184]
call fcn.00403aac
test al, al
je 0x434c0c
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0042568c
lea edx, [ebp - 0x14]
call fcn.0043b708
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404dec
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404ac4
inc esi
dec edi
jne 0x434bbe
mov al, byte [0x434d24]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x434d30
mov eax, dword [ebp - 0xc]
call fcn.0040dc94
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004047e4
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0043b708
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x434d20
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f0]
call fcn.0043b708
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x434d20
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x434d20
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x434d3c
call fcn.00409ef0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x434d10
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404770
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404770
lea eax, [ebp - 0x14]
call fcn.0040474c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404770
ret

Function at 0x4363d0
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 0x43631c
call sub.user32.dll_EnumWindows
ret
Function at 0x4364f4
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 0x436571
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00435f40
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 0x436519
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00435b98
cmp dword [ebp - 4], 0
je 0x43655b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404bfc
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 0x436578
lea eax, [ebp - 4]
call fcn.0040474c
ret

Function at 0x439280
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 [0x4aec2c], 0
je 0x4393cf
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4adc54]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4393cf
mov eax, dword [0x4aec30]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4aec2c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43939e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4aec2c]
call fcn.0041c574
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x439396
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x439396
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x439396
mov eax, dword [ebp - 0x14]
call fcn.00441d8c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x439396
push ebp
call fcn.0043923c
pop ecx
test al, al
jne 0x439396
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x439352
mov eax, dword [ebp - 0x14]
call fcn.00440920
dec eax
jle 0x439396
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.00403b1c
cmp byte [ebp - 1], 0
je 0x439396
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x439396
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4aec30]
call fcn.00438a04
inc edi
dec ebx
jne 0x4392e5
mov eax, dword [0x4aec30]
cmp dword [eax + 8], 0
jle 0x4393b6
mov eax, dword [0x4aec30]
call fcn.00438a94
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4393cf
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004390a4
pop ecx
test al, al
jne 0x4393cf
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 0x43c97c
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 0x43c9c8
mov eax, esi
call fcn.00452468
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43c9c8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x43c9c8
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 0x43cb07
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43ca08
cmp eax, 0x108
ja 0x43ca08
mov eax, esi
call fcn.00452468
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43cafe
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x43cb07
jmp 0x43cafe
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43cae7
cmp eax, 0x20a
ja 0x43cae7
test byte [esi + 0x50], 0x80
jne 0x43ca3a
sub eax, 0x203
je 0x43ca37
sub eax, 3
je 0x43ca37
sub eax, 3
jne 0x43ca3a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43ca4e
dec eax
je 0x43ca63
dec eax
je 0x43ca80
dec eax
je 0x43ca63
jmp 0x43ca87
mov ecx, ebx
mov eax, dword [0x4adc54]
mov eax, dword [eax]
mov edx, esi
call fcn.0045b930
jmp 0x43cafe
cmp byte [esi + 0x5d], 1
jne 0x43ca79
mov eax, esi
mov si, 0xffed
call fcn.00403b1c
jmp 0x43cb07
or word [esi + 0x54], 1
jmp 0x43cafe
and word [esi + 0x54], 0xfffe
jmp 0x43cafe
mov eax, dword [0x4aebe8]
cmp byte [eax + 0x20], 0
je 0x43cafe
mov eax, dword [0x4aebe8]
cmp dword [eax + 0x1c], 0
je 0x43cafe
mov eax, dword [ebx]
mov edx, dword [0x4aebe8]
cmp eax, dword [edx + 0x1c]
jne 0x43cafe
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.004523ac
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.00403b1c
jmp 0x43cb07
cmp eax, 0xb00b
jne 0x43cafe
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0043b2b8
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