joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40eceb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x416048]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040a854
and dword [ebp - 0x14], 0
cmp dword [0x417cac], 0
mov dword [ebp - 0x18], eax
jne 0x40ed9e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40ee46
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40ee46
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x417cac], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x417cb0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x417cb4], eax
call edi
push eax
call esi
mov dword [0x417cbc], eax
test eax, eax
je 0x40ed9e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x417cb8], eax
mov eax, dword [0x417cb8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40edf7
cmp dword [0x417cbc], ecx
je 0x40edf7
push eax
call esi
push dword [0x417cbc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40edf7
test ebx, ebx
je 0x40edf7
call edi
test eax, eax
je 0x40edee
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40edee
test byte [ebp - 8], 1
jne 0x40edf7
or dword [ebp + 0x10], 0x200000
jmp 0x40ee2a
mov eax, dword [0x417cb0]
cmp eax, dword [ebp - 0x18]
je 0x40ee2a
push eax
call esi
test eax, eax
je 0x40ee2a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40ee2a
mov eax, dword [0x417cb4]
cmp eax, dword [ebp - 0x18]
je 0x40ee2a
push eax
call esi
test eax, eax
je 0x40ee2a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x417cac]
call esi
test eax, eax
je 0x40ee46
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40ee48
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405392
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x405730
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x40b054]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x1c]
push edi
push 0x18
push eax
push 7
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x4057a4
push 0x3e
pop ecx
call fcn.00406a1a
mov ebx, eax
test ebx, ebx
jne 0x40576f
mov eax, 0xc000009a
jmp 0x4057a4
mov esi, edi
cmp dword [ebp - 0x1c], esi
jbe 0x40579b
push esi
push 0x402ee8
push 0x1f
push ebx
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x10
mov ecx, ebx
call fcn.004053f3
test eax, eax
jns 0x405795
mov edi, eax
inc esi
cmp esi, dword [ebp - 0x1c]
jb 0x405776
mov ecx, ebx
call fcn.00406a2d
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a430
leave
ret

Function at 0x4057b3
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x40b054]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x402f14
lea eax, [ebp - 0xc]
push 3
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
push 0x41
pop eax
mov word [ebp - 0xc], ax
push 0x106
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x405820
mov ecx, dword [ebp - 0xc]
call fcn.00407701
cmp eax, 0xffffffff
je 0x40583e
lea ecx, [ebp - 0x220]
xor edx, edx
push ecx
push 0
mov ecx, eax
call fcn.004054ce
test eax, eax
js 0x405832
mov ax, word [ebp - 0xc]
inc ax
mov word [ebp - 0xc], ax
cmp ax, 0x5a
jbe 0x4057e3
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a430
leave
ret
mov eax, 0xc00000ef
jmp 0x405832
Function at 0x405ab3
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 8]
push 0x1083
call fcn.00406b59
mov ebx, 0x101d
push ebx
call fcn.00406b59
add esp, 0xc
mov ecx, esi
call fcn.004059ea
mov edi, eax
test edi, edi
jns 0x405b0e
push 0x1082
call fcn.00406b59
pop ecx
push edi
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov ecx, eax
call fcn.00406b9e
push ebx
call fcn.00406b59
mov eax, edi
jmp 0x405cab
xor edi, edi
cmp dword [esi + 0xc], edi
je 0x405b26
push 0x1084
call fcn.00406b59
xor eax, eax
jmp 0x405cab
push dword [esi + 8]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
push 0x2a
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x3c], 0x18
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x24]
push 7
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x38], edi
push eax
push 0xc0100080
lea eax, [ebp - 4]
mov dword [ebp - 0x30], 0x40
push eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
call dword [sym.imp.ntdll.dll_NtOpenFile]
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
jns 0x405b94
push 0x1086
call fcn.00406b59
pop ecx
push ebx
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov ecx, eax
call fcn.00406b9e
mov eax, ebx
jmp 0x405cac
mov ebx, dword [esi + 0x10]
mov eax, 0x200
cmp ebx, eax
jb 0x405ba8
test ebx, 0x1ff
je 0x405baa
mov ebx, eax
lea ecx, [ebx + ebx]
call fcn.00406a1a
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
jne 0x405bd0
push 0x1085
call fcn.00406b59
pop ecx
mov esi, 0xc000009a
jmp 0x405c8e
push edi
push ebx
push edi
push esi
call fcn.0040a9a0
mov edi, esi
test eax, eax
je 0x405be8
sub edi, eax
add edi, ebx
mov dword [ebp - 0xc], edi
jmp 0x405beb
mov dword [ebp - 0xc], esi
xor esi, esi
push esi
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x405c05
push 0x1087
jmp 0x405c76
push esi
lea eax, [ebp - 8]
push eax
push ebx
push edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x405c71
cmp dword [ebp - 8], ebx
jne 0x405c71
mov esi, dword [0x411ed0]
push 0x6e
pop ecx
mov esi, dword [esi + 0xc]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x405bfe
push esi
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 0xc]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x405c6a
cmp dword [ebp - 8], ebx
jne 0x405c6a
push 0x108a
call fcn.00406b59
mov esi, dword [ebp - 0x10]
pop ecx
jmp 0x405c8e
push 0x1089
jmp 0x405c76
push 0x1088
call fcn.00406b59
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00406b9e
mov esi, 0xc0000001
mov ecx, dword [ebp - 0x14]
call fcn.00406a2d
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_NtClose]
push 0x101d
call fcn.00406b59
mov eax, esi
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4074a8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
or al, 0x50
push esi
push dword [ebp + 8]
call fcn.004071ba
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x4074e3
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.004071f5
movsd dword es:[edi], dword [esi]
and al, byte [ebx - 0x3fba72df]
push eax
call fcn.00407205
push eax
push esi
push dword [ebp + 8]
call fcn.004071ba
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.004071f5
test dl, 0x57
scasd eax, dword es:[edi]
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
int 0xc6
inc ebp
out dx, eax
retf
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.00407205
push eax
push esi
push dword [ebp + 8]
call fcn.004071ba
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
Function at 0x4075f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00407205
push eax
push esi
push dword [ebp + 8]
call fcn.004071ba
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00407205
push eax
push esi
push dword [ebp + 8]
call fcn.004071ba
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004071f5
mov ah, 0x2e
loope 0x4076ea
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
jle 0x407686
invalid
invalid
jmp 0xffc01416
invalid
inc esi
inc ebp
adc byte [ecx - 0x3a], 0x45
xor dword [ebx - 0x3a], 0xc6628245
inc ebp
sbb dword [ebx - 0x3a], 0x45
test byte [ecx - 0x3a], bh
inc ebp
test dword [edx - 0x3a], esi
inc ebp
xchg byte [ebx - 0x3a], ah
inc ebp
xchg dword [edx - 0x3a], edi
inc ebp
mov byte [ebx - 0x3a], dh
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid
jb 0x40768b
inc ebp
lea edi, [edx - 0x3a]
inc ebp
invalid
jae 0x407693
inc ebp
invalid
push edi
mov byte [ebp - 0x70], 0x16
call fcn.004071f5
lds ebx, [eax + eax*8 - 0x27]
lea eax, [ebp - 0x84]
push eax
call fcn.00407205
push eax
push esi
push dword [ebp + 8]
call fcn.004071ba
add esp, 0x10
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
add byte [eax], al
Function at 0x409c94
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], edi
mov ebx, edi
call fcn.00409efe
lea edx, [esp + 0xc]
test al, al
je 0x409cd3
mov ecx, 0x404df0
call fcn.00409fee
mov esi, eax
cmp esi, 0xc0000452
jne 0x409cdf
lea edx, [esp + 0xc]
mov ecx, 0x404e38
call fcn.00409fee
mov esi, eax
test esi, esi
js 0x409d82
push edi
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], edi
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov edi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
call dword [sym.imp.ntdll.dll_NtQuerySymbolicLinkObject]
mov esi, eax
cmp esi, 0xc0000023
je 0x409d21
test esi, esi
js 0x409d86
mov esi, 0xc0000001
jmp 0x409d86
mov eax, dword [esp + 0x10]
add eax, 2
push eax
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edi, dword [esp + 0xc]
mov ebx, eax
test ebx, ebx
jne 0x409d4b
mov esi, 0xc000009a
jmp 0x409d86
mov ax, word [esp + 0x10]
mov word [esp + 0x1a], ax
lea eax, [esp + 0x18]
push 0
push eax
push edi
mov dword [esp + 0x28], ebx
call dword [sym.imp.ntdll.dll_NtQuerySymbolicLinkObject]
mov esi, eax
test esi, esi
js 0x409d86
movzx eax, word [esp + 0x18]
shr eax, 1
xor ecx, ecx
mov word [ebx + eax*2], cx
mov eax, dword [esp + 0x14]
mov dword [eax], ebx
jmp 0x409d86
mov edi, dword [esp + 0xc]
test edi, edi
je 0x409d91
push edi
call dword [sym.imp.ntdll.dll_NtClose]
test esi, esi
jns 0x409dab
test ebx, ebx
je 0x409dab
mov eax, dword fs:[0x30]
push ebx
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40a4b4
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x40aa48
call fcn.0040a778
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x40a514
cmp eax, 0xffffffff
je 0x40a514
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x40a50d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x40a50d
cmp edx, 0x10000000
jae 0x40a50d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x40a50a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40a580
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40a5be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x40a5b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x40a5c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x40a5a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x40a690
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x40a6c1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40a6c1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x40a6c1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1002bbba
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1002bc3b
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1002bbee
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jmp 0x1002bc39
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1002bc1c
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], 2
jge 0x1002bc39
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.1000e623
mov dword [eax], 0x4431fada
jmp 0x1002bc11
jmp 0x1002bc4d
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
push 0
push dword [ebp - 0x20]
call fcn.1004524b
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x1002bc86
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002bcde
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1002bcc5
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1002bcc3
push 0x1c48
push 0
call dword [sym.imp.USER32.dll_CharUpperBuffW]
jmp 0x1002bcdc
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x1002bd0f
lea eax, [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x1002bcfb
push 0x36d
call dword [sym.imp.USER32.dll_GetSysColorBrush]
jmp 0x1002bd0f
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x1002bd0f
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov esp, ebp
pop ebp
ret
Function at 0x100465bc
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10046655
lea eax, [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x1004661b
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10046619
push 0
push 0x1e05
call dword [sym.imp.USER32.dll_GetClientRect]
jmp 0x10046653
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push dword [eax]
mov ecx, dword [ebp - 0x30]
call fcn.1000e623
mov ecx, dword [ebp - 0x34]
mov eax, dword [eax]
mov dword [ecx], eax
jmp 0x100466d4
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x100466c5
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
push dword [eax]
push 1
push dword [ebp - 0x58]
push 1
mov eax, dword [ebp - 0x5c]
push dword [eax]
push 0x634c
push 0x175d
push 0x6bf7
call fcn.1003b822
add esp, 0x20
jmp 0x100466d4
push 0x105c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esp, ebp
pop ebp
ret
Function at 0x1004866b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1004869a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push 1
push dword [ebp - 0x20]
call fcn.100487c0
add esp, 0xc
jmp 0x100487bc
lea eax, [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x100486d2
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100486cd
push 0x1cf8
call dword [sym.imp.USER32.dll_GetKeyState]
jmp 0x100487bc
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], 0x1641
cmp dword [ebp - 0x38], 0xf6a
jge 0x1004876a
lea eax, [ebp - 0x3c]
push eax
push 0x10007758
call fcn.100528eb
pop ecx
pop ecx
mov dword [ebp - 0x10], 1
jmp 0x1004871a
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x3c]
jg 0x1004876a
lea eax, [ebp - 8]
push eax
push 0x10007758
call fcn.100528eb
pop ecx
pop ecx
and dword [ebp - 0x14], 0
cmp dword [ebp - 8], 0
je 0x10048759
mov eax, dword [ebp - 8]
cdq
push 0xa
pop ecx
idiv ecx
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
cdq
push 0xa
pop ecx
idiv ecx
mov dword [ebp - 8], eax
jmp 0x10048736
push dword [ebp - 0x14]
push 0x100077f8
call fcn.10052b06
pop ecx
pop ecx
jmp 0x10048713
push 1
mov ecx, dword [ebp - 0xc]
call fcn.1000e623
and dword [eax], 0
jmp 0x10048791
push 1
mov ecx, dword [ebp - 0xc]
call fcn.1000e623
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
push 1
mov ecx, dword [ebp - 0xc]
call fcn.1000e623
cmp dword [eax], 1
jge 0x100487bc
push 1
mov ecx, dword [ebp - 0xc]
call fcn.1000e623
push dword [eax]
mov ecx, dword [ebp - 0x40]
call fcn.1000e623
mov dword [eax], 0xe97eede0
jmp 0x10048779
mov esp, ebp
pop ebp
ret

Function at 0x1004930b
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10049327
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esp, ebp
pop ebp
ret