joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404080
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8dc
mov eax, dword [0x415048]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x8dc], eax
mov eax, dword [ebp + 0xc]
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x8d8], edx
mov dword [ebp - 0x8d4], ebx
lea ecx, [ebp - 0x8cc]
test eax, eax
je 0x4040bc
mov ecx, eax
xor eax, eax
mov word [ecx], ax
mov esi, dword [edx]
xor edi, edi
mov dword [ebp - 0x8d0], edi
test esi, esi
je 0x404207
test ebx, ebx
je 0x404207
push 0xc7
lea ecx, [ebp - 0xcb]
push edi
push ecx
mov byte [ebp - 0xcc], al
call fcn.00407f00
add esp, 0xc
push edi
push 2
lea edx, [ebp - 0xcc]
push edx
push esi
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x404205
test eax, eax
je 0x404205
movzx edi, word [ebp - 0xcc]
lea eax, [edi + 2]
push eax
xor esi, esi
call fcn.0040566e
add esp, 4
mov ebx, eax
test edi, edi
jle 0x4041e1
jmp 0x404140
mov eax, dword [ebp - 0x8d8]
push 0
mov ecx, edi
sub ecx, esi
push ecx
mov ecx, dword [eax]
lea edx, [esi + ebx]
push edx
push ecx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x4041bb
test eax, eax
je 0x4041bb
add esi, eax
cmp edi, esi
jg 0x404140
cmp esi, 5
jl 0x4041e1
mov edx, dword [0x415f14]
sub esi, 5
cmp edx, dword [ebx]
jne 0x4041e1
mov al, byte [ebx + 4]
cmp al, byte [0x415f18]
jne 0x4041e1
test esi, esi
jle 0x40419a
lea eax, [ebx + 5]
mov edi, esi
nop
mov cl, byte [eax]
not cl
mov byte [eax], cl
inc eax
dec edi
jne 0x404190
mov edi, dword [ebp - 0x8dc]
mov eax, dword [edi]
cmp eax, esi
jl 0x4041c3
mov eax, dword [ebp - 0x8d4]
push esi
lea edx, [ebx + 5]
push edx
push eax
call fcn.00408a70
mov dword [edi], esi
jmp 0x4041d4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x4041e1
mov edx, dword [ebp - 0x8d4]
push eax
lea ecx, [ebx + 5]
push ecx
push edx
call fcn.00408a70
add esp, 0xc
mov dword [ebp - 0x8d0], 1
test ebx, ebx
je 0x4041ee
push ebx
call fcn.00405a47
add esp, 4
mov eax, dword [ebp - 0x8d0]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004045a8
mov esp, ebp
pop ebp
ret
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004045a8
mov esp, ebp
pop ebp
ret
Function at 0x404220
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe2c
mov eax, dword [0x415048]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x400
mov ebx, ecx
lea ecx, [ebp - 0x610]
push 0
push ecx
mov dword [ebp - 0xe24], eax
call fcn.00407f00
add esp, 0xc
push ebx
lea edx, [ebp - 0x610]
push 0x1ff
push edx
call fcn.0040462c
mov eax, ebx
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404271
sub eax, edx
sar eax, 1
lea edi, [ebp + eax*2 - 0x60e]
mov ecx, 0x80
mov esi, 0x417a78
mov eax, ebx
rep movsd dword es:[edi], dword [esi]
lea edx, [eax + 2]
jmp 0x4042a0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4042a0
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 0x202]
push 0x10000
mov dword [ebp - 0xe28], eax
call fcn.004050ed
add esp, 4
push 0x10000
xor esi, esi
mov ebx, eax
push esi
push ebx
call fcn.00407f00
add esp, 0xc
push 0x7fe
lea edx, [ebp - 0xe0e]
xor ecx, ecx
push esi
push edx
mov dword [ebp - 0xe1c], 0x10000
mov word [ebp - 0xe10], cx
call fcn.00407f00
add esp, 0xc
push 0x206
lea ecx, [ebp - 0x20e]
xor eax, eax
push esi
push ecx
mov dword [ebp - 0xe18], esi
mov dword [ebp - 0xe14], esi
mov dword [ebp - 0xe20], esi
mov word [ebp - 0x210], ax
call fcn.00407f00
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp - 0xe24]
lea eax, [ebp - 0xe10]
push eax
push ecx
lea esi, [ebp - 0xe18]
call fcn.00403b60
add esp, 8
test eax, eax
je 0x40443c
mov eax, dword [ebp - 0xe28]
lea edx, [ebp - 0xe10]
push edx
push eax
lea ecx, [ebp - 0x610]
push ecx
push 0xbba
mov edx, esi
call fcn.00403c70
add esp, 0x10
test eax, eax
je 0x40443c
lea edx, [ebp - 0xe10]
push edx
lea eax, [ebp - 0xe20]
push eax
mov ecx, esi
push ecx
lea edx, [ebp - 0xe1c]
mov ecx, ebx
call fcn.00403e70
add esp, 0xc
test eax, eax
je 0x40443c
mov edx, 0xbba
cmp word [ebp - 0xe20], dx
jne 0x40443c
cmp dword [ebp - 0xe1c], 0
je 0x40443c
cmp byte [ebx], 0
jne 0x40443c
push 0x417c78
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.004045b7
add esp, 0xc
push 0x4135fc
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0xe14]
push edx
mov dword [ebp - 0xe14], 0
call fcn.004048d9
add esp, 0xc
cmp dword [ebp - 0xe14], 0
je 0x404432
lea eax, [ebp - 0xe14]
push eax
mov edi, esi
call fcn.00404480
add esp, 4
mov dword [ebp - 0xe14], 1
test ebx, ebx
je 0x404449
push ebx
call fcn.00405181
add esp, 4
mov eax, dword [ebp - 0xe18]
test eax, eax
je 0x40445a
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xe14]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004045a8
mov esp, ebp
pop ebp
ret
Function at 0x404480
Capabilities:
Download and write a file
Receive and write data from server to client
Receive data
Receive data on socket
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0040db70
mov eax, dword [0x415048]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [edi]
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push ebx
push 4
lea ecx, [ebp - 0x1008]
push ecx
push edx
mov dword [ebp - 0x100c], eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 4
je 0x4044cc
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004045a8
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x1008], ebx
jbe 0x404518
push esi
mov ecx, dword [edi]
push 0
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
test esi, esi
je 0x404517
mov edx, dword [ebp - 0x100c]
mov eax, dword [edx]
push eax
push esi
lea ecx, [ebp - 0x1004]
push 1
push ecx
call fcn.00404dbf
add ebx, esi
add esp, 0x10
cmp ebx, dword [ebp - 0x1008]
jb 0x4044d5
pop esi
mov edx, dword [ebp - 0x100c]
mov eax, dword [edx]
push eax
call fcn.00404bf4
mov ecx, dword [ebp - 4]
add esp, 4
cmp ebx, dword [ebp - 0x1008]
pop ebx
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.004045a8
mov esp, ebp
pop ebp
ret

Function at 0x4045a8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x415048]
jne 0x4045b2
repz ret
jmp fcn.00405d2e
Function at 0x40df0b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x415048]
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.00409a75
and dword [ebp - 0x14], 0
cmp dword [0x416cac], 0
mov dword [ebp - 0x18], eax
jne 0x40dfbe
push 0x4122f0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40e066
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4122e4
push ebx
call edi
test eax, eax
je 0x40e066
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4122d4
push ebx
mov dword [0x416cac], eax
call edi
push eax
call esi
push 0x4122c0
push ebx
mov dword [0x416cb0], eax
call edi
push eax
call esi
push 0x4122a4
push ebx
mov dword [0x416cb4], eax
call edi
push eax
call esi
mov dword [0x416cbc], eax
test eax, eax
je 0x40dfbe
push 0x41228c
push ebx
call edi
push eax
call esi
mov dword [0x416cb8], eax
mov eax, dword [0x416cb8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40e017
cmp dword [0x416cbc], ecx
je 0x40e017
push eax
call esi
push dword [0x416cbc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40e017
test ebx, ebx
je 0x40e017
call edi
test eax, eax
je 0x40e00e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40e00e
test byte [ebp - 8], 1
jne 0x40e017
or dword [ebp + 0x10], 0x200000
jmp 0x40e04a
mov eax, dword [0x416cb0]
cmp eax, dword [ebp - 0x18]
je 0x40e04a
push eax
call esi
test eax, eax
je 0x40e04a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40e04a
mov eax, dword [0x416cb4]
cmp eax, dword [ebp - 0x18]
je 0x40e04a
push eax
call esi
test eax, eax
je 0x40e04a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x416cac]
call esi
test eax, eax
je 0x40e066
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40e068
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004045a8
leave
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x432030
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4014e0
Capabilities:
Encrypt data using rc4 prga
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [0x46a00c], 0
je 0x40154d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [0x469004]
add ecx, dword [ebp + 0xc]
cmp ecx, dword [0x469008]
jl 0x401515
mov edx, dword [0x469008]
sub edx, dword [0x469004]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
jle 0x401545
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [section..data]
add ecx, dword [0x469004]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00435930
add esp, 0xc
mov eax, dword [0x469004]
add eax, dword [ebp - 8]
mov dword [0x469004], eax
mov eax, dword [ebp - 8]
jmp 0x40160f
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.0043b8bb
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [0x46a2ac], 0
je 0x40160c
cmp dword [ebp - 8], 0
jle 0x40160c
mov ecx, dword [0x46a2c0]
add ecx, dword [0x46a2b0]
and ecx, 0xff
mov dword [ebp - 0x14], ecx
mov edx, dword [0x46a2c4]
add edx, dword [0x46a2b4]
and edx, 0xff
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x4015bf
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 8]
jge 0x40160c
mov eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
xor edx, dword [ebp - 0x14]
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
sub eax, dword [ebp - 0x18]
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
movzx edx, byte [0x46a2c8]
add edx, ecx
mov byte [0x46a2c8], dl
mov eax, dword [ebp - 0xc]
mov cl, byte [0x46a2c8]
mov byte [eax], cl
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
jmp 0x4015b6
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x401640
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00401d40
add esp, 4
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jge 0x40166c
mov dword [ebp - 8], 0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
cmp dword [0x46a00c], 0
je 0x4016b2
mov eax, dword [ebp + 8]
push eax
call fcn.00401440
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [0x469004], ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.004014e0
add esp, 0xc
mov dword [ebp - 0xc], eax
call fcn.00401620
mov eax, dword [ebp - 0xc]
jmp 0x4017d9
cmp dword [0x46a008], 0
je 0x401761
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401b40
add esp, 4
test eax, eax
jne 0x401761
mov edx, dword [0x46a2a4]
mov dword [ebp - 0x10], edx
mov eax, dword [0x46a2cc]
push eax
call fcn.0043b531
add esp, 4
push 0x457458
push 0x46a098
call fcn.00439380
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40170d
or eax, 0xffffffff
jmp 0x4017d9
push 0
mov ecx, dword [0x46a2a0]
add ecx, dword [0x46a2a8]
add ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0043bca6
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x10]
jge 0x401739
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004014e0
add esp, 0xc
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 4]
push edx
call fcn.0043b531
add esp, 4
mov eax, dword [ebp - 0xc]
jmp 0x4017d9
push 0x457460
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00432e80
add esp, 8
push eax
call fcn.00439380
add esp, 8
mov dword [ebp - 4], eax
lea edx, [ebp - 0x18]
push edx
call fcn.00432f00
add esp, 4
cmp dword [ebp - 4], 0
jne 0x401799
or eax, 0xffffffff
jmp 0x4017d9
cmp dword [ebp + 0x14], 0
jl 0x4017b1
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0043bca6
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 1
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0043b8bb
add esp, 0x10
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 4]
push edx
call fcn.0043b531
add esp, 4
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4018f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0xc], 0x8000
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00401d40
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
call fcn.004017e0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x40192f
mov eax, 1
jmp 0x401a1f
push 0x457484
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00432e80
add esp, 8
push eax
call fcn.00439380
add esp, 8
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.00432f00
add esp, 4
cmp dword [ebp - 0x10], 0
jne 0x40196c
mov eax, 1
jmp 0x401a1f
mov edx, dword [ebp + 8]
push edx
call fcn.00401440
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.0043c4b8
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, 1
test ecx, ecx
je 0x4019f3
cmp dword [ebp - 4], 0
jne 0x40199b
jmp 0x4019f3
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0xc]
jge 0x4019ab
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
jmp 0x4019b1
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004014e0
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
push 1
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0043c45b
add esp, 0x10
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 8]
jge 0x4019e8
jmp 0x4019f3
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x40198a
call fcn.00401620
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0043b531
add esp, 4
mov edx, dword [ebp - 0x14]
push edx
call fcn.0043c4b3
add esp, 4
cmp dword [ebp - 4], 0
je 0x401a1d
mov eax, 1
jmp 0x401a1f
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x41ad60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x201c
call fcn.00434d80
mov eax, dword [0x46b2f0]
mov ecx, dword [eax + 0x338]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 1
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov word [ebp + eax - 0x201c], cx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 6
ja case.default.0x41adb5
mov eax, dword [ebp - 0x10]
jmp dword [eax*4 + 0x41af1c]
push 0x1000
lea ecx, [ebp - 0x201c]
push ecx
call fcn.00442d7d
add esp, 8
jmp 0x41aeb5
mov edx, dword [0x46b2f0]
mov eax, dword [edx + 0x384]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
jmp 0x41aeb5
push 0x1000
lea ecx, [ebp - 0x201c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
jmp 0x41aeb5
push 0x1000
lea edx, [ebp - 0x201c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x41aeb5
mov eax, dword [0x46b2f0]
mov ecx, dword [eax + 0x368]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
jmp 0x41aeb5
mov dword [ebp - 4], 0x457719
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
jmp 0x41aeb5
mov edx, dword [0x46b2f0]
add edx, 0x390
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
jmp 0x41aeb5
mov eax, dword [ebp + 8]
and eax, 0x10000
je 0x41aea0
push 0
mov ecx, dword [ebp + 8]
and ecx, 0xffff
push ecx
lea edx, [ebp - 0x201c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
jmp 0x41aeb5
mov dword [ebp - 0x18], 3
push 0x465e94
lea eax, [ebp - 0x18]
push eax
call fcn.004363b5
cmp dword [ebp - 8], 0
je 0x41af01
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x201c]
push edx
call fcn.00432f20
add esp, 8
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [0x46b2f0]
add ecx, 0x338
push ecx
call fcn.00412640
add esp, 8
lea edx, [ebp - 0x14]
push edx
call fcn.00432fa0
add esp, 4
mov eax, dword [0x46b2f0]
mov ecx, dword [eax + 0x338]
mov dword [ebp - 4], ecx
cmp dword [ebp - 0xc], 0
je 0x41af15
push 0x5c
mov edx, dword [ebp - 4]
push edx
call fcn.00433de0
add esp, 8
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x41af40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xa
mov eax, dword [ebp + 0x10]
and eax, 2
je 0x41af6a
mov dword [ebp - 8], 2
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx]
test edx, edx
je 0x41b022
push 0x3c
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.00435eb0
add esp, 0xc
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x50], 0xc
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00432e80
add esp, 8
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00432e80
add esp, 8
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x38], 1
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x41b005
lea eax, [ebp - 4]
push eax
call fcn.00432f00
add esp, 4
lea ecx, [ebp - 0xc]
push ecx
call fcn.00432f00
add esp, 4
mov dword [ebp - 0x14], 0xe
push 0x465e94
lea edx, [ebp - 0x14]
push edx
call fcn.004363b5
lea eax, [ebp - 4]
push eax
call fcn.00432f00
add esp, 4
lea ecx, [ebp - 0xc]
push ecx
call fcn.00432f00
add esp, 4
jmp 0x41b0f0
mov edx, dword [ebp + 0x10]
and edx, 0x10
je 0x41b064
mov eax, dword [ebp - 8]
push eax
push 0x457888
push 0x45788c
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00432e80
add esp, 8
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
call fcn.00432f00
add esp, 4
jmp 0x41b0d5
mov ecx, dword [ebp + 0x10]
and ecx, 0x20
je 0x41b0a9
mov edx, dword [ebp - 8]
push edx
push 0x457890
push 0x457894
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00432e80
add esp, 8
push eax
push str.print
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 4]
push edx
call fcn.00432f00
add esp, 4
jmp 0x41b0d5
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00432e80
add esp, 8
push eax
call fcn.0041b890
add esp, 8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
call fcn.00432f00
add esp, 4
cmp dword [ebp - 0x10], 0x20
jge 0x41b0f0
mov dword [ebp - 0x18], 0xe
push 0x465e94
lea ecx, [ebp - 0x18]
push ecx
call fcn.004363b5
mov esp, ebp
pop ebp
ret
Function at 0x41b760
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x400c
call fcn.00434d80
call fcn.00402ed0
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00433ee0
add esp, 4
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00432f20
add esp, 8
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x368
push ecx
call fcn.00412640
add esp, 8
lea edx, [ebp - 8]
push edx
call fcn.00432fa0
add esp, 4
push 0x104
lea eax, [ebp - 0x200c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x20
lea ecx, [ebp - 0x400c]
push ecx
lea edx, [ebp - 0x200c]
push edx
call fcn.00433490
add esp, 0xc
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x400c]
push ecx
call fcn.00432f20
add esp, 8
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
add eax, 0x338
push eax
call fcn.00412640
add esp, 8
push 0x5c
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x338]
push edx
call fcn.00433de0
add esp, 8
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x338]
push ecx
mov edx, dword [ebp - 4]
add edx, 0x384
push edx
call fcn.00412640
add esp, 8
push str.hsptv_
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x338]
push ecx
call fcn.0043c590
add esp, 8
lea edx, [ebp - 8]
push edx
call fcn.00432fa0
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x338]
push ecx
mov edx, dword [ebp - 4]
add edx, 0x388
push edx
call fcn.00412640
add esp, 8
mov esp, ebp
pop ebp
ret

Function at 0x41b890
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 1
mov ax, word [ebp + 0xc]
mov word [ebp - 0x24], ax
xor ecx, ecx
mov word [ebp - 0x22], cx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, 0x20
mov esp, ebp
pop ebp
ret
Function at 0x41d870
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [0x46b338]
call fcn.00429cd0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x41d88c
jmp 0x41d8d4
mov dword [ebp - 8], 1
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
je 0x41d8aa
mov dword [ebp - 8], 0xffffffff
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [0x46b338]
call fcn.004214f0
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x108], 0
je 0x41d8d4
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.00424110
mov esp, ebp
pop ebp
ret