joyce8/EMBER2024-capa huggingface dataset:
Function at 0xc367f4
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xc36916
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00c35edc
xor eax, eax
push ebp
push 0xc368f9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0xc36844
call fcn.00bc3b38
jmp 0xc36900
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0xc368e3
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0xc368e3
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00bc34bc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0xc368e3
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00bcb978
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0xc36930
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0xc9571c]
mov dl, 1
mov eax, dword [0xc34d44]
call fcn.00bcc29c
call fcn.00bc3a8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc36900
mov eax, dword [ebp - 4]
call fcn.00c35ee8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc3691d
lea eax, [ebp - 0x28]
call fcn.00bc40d4
ret
Function at 0xc3697c
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xc36ac6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00c35edc
xor eax, eax
push ebp
push 0xc36aa9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0xc369e1
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0xc369e1
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0xc36a93
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0xc369f4
call fcn.00bc3b38
jmp 0xc36ab0
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0xc36a93
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0xc36a93
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00bc34bc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0xc36a93
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00bcb978
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0xc36ae0
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0xc9571c]
mov dl, 1
mov eax, dword [0xc34d44]
call fcn.00bcc29c
call fcn.00bc3a8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc36ab0
mov eax, dword [ebp - 4]
call fcn.00c35ee8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc36acd
lea eax, [ebp - 0x28]
call fcn.00bc40d4
ret
Function at 0xc4c994
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0xc4c99c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0xc4cb8e
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0xc4cba4
mov eax, esi
call fcn.00c4a820
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00bc4128
lea ecx, [ebp - 0x10]
mov edx, 0xc4cbb8
mov eax, esi
call fcn.00c4a820
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00bc4128
lea ecx, [ebp - 0x14]
mov edx, 0xc4cbd0
mov eax, esi
call fcn.00c4a820
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00bc4128
lea ecx, [ebp - 0x18]
mov edx, 0xc4cbec
mov eax, esi
call fcn.00c4a820
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00bc4128
lea ecx, [ebp - 0x1c]
mov edx, 0xc4cc08
mov eax, esi
call fcn.00c4a820
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00bc4128
lea ecx, [ebp - 0x24]
mov edx, 0xc4cc20
mov eax, esi
call fcn.00c4a820
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00bc85e0
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00bc8b28
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0xc4cc38
mov eax, esi
call fcn.00c4a820
mov eax, dword [ebp - 0x28]
call fcn.00c442f8
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0xc4cc48
mov eax, esi
call fcn.00c4a820
mov eax, dword [ebp - 0x2c]
call fcn.00c442f8
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0xc4cc60
mov eax, esi
call fcn.00c4a820
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00bc8b28
inc eax
je 0xc4cb31
lea ecx, [ebp - 0x34]
mov edx, 0xc4cc60
mov eax, esi
call fcn.00c4a820
mov eax, dword [ebp - 0x34]
call fcn.00bc8aec
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.00bca07c
fstp qword [ebp - 0x3c]
wait
call fcn.00bca414
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0xc4cb4c
lea ecx, [ebp - 0x40]
mov edx, 0xc4cc60
mov eax, esi
call fcn.00c4a820
mov eax, dword [ebp - 0x40]
call fcn.00c442f8
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0xc4cc70
mov eax, esi
call fcn.00c4a820
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00bc4128
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc4cb95
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00bc40f8
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00bc40f8
ret
Function at 0xc53920
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0xc5397a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00c53910
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00c42f64
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00c42b64
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc53981
lea eax, [ebp - 4]
call fcn.00bc40d4
ret

Function at 0xc5d398
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0xc5d452
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00bc47e0
mov eax, dword [0xc95214]
cmp byte [eax], 0
je 0xc5d407
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00bc4b40
mov eax, dword [ebx]
call fcn.00bc496c
push eax
mov eax, dword [ebx]
call fcn.00bc495c
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00bc496c
mov edx, eax
dec edx
mov eax, ebx
call fcn.00bc4b40
jmp 0xc5d439
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00bc92bc
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00bc494c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc5d459
lea eax, [ebp - 0x3f0]
call fcn.00bc40d4
ret

Function at 0xc60660
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0xc606ba
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x2c8], ecx
mov dword [esi + 0x2cc], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x2bc], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c8]
mov eax, esi
call fcn.00c606c4
mov eax, dword [esi + 0x2c8]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc606c1
ret
Function at 0xc65fa8
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0xc65fde
jmp 0xc66084
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0xc66022
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x168], 0
je 0xc66022
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x168]
mov eax, dword [eax + 0x14]
jmp 0xc66032
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x164]
test edx, edx
je 0xc66032
mov eax, dword [edx + 0x14]
test eax, eax
je 0xc6604b
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.00c6294c
jmp 0xc66084
mov dl, 1
mov eax, dword [0xbe41a4]
call fcn.00be60e8
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.00be6b58
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xbc]
mov eax, dword [esi + 0x10]
call fcn.00be5c98
mov edx, esp
mov eax, esi
call fcn.00be67ec
mov eax, esi
call fcn.00bc32c0
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0xc686a4
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.00c197d0
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.00c12df4
pop ebx
ret
Function at 0xc6e760
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0xc6e81a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00bc47e0
mov eax, dword [0xc95214]
cmp byte [eax], 0
je 0xc6e7cf
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00bc4b40
mov eax, dword [ebx]
call fcn.00bc496c
push eax
mov eax, dword [ebx]
call fcn.00bc495c
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00bc496c
mov edx, eax
dec edx
mov eax, ebx
call fcn.00bc4b40
jmp 0xc6e801
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00bc92bc
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00bc494c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc6e821
lea eax, [ebp - 0x3f0]
call fcn.00bc40d4
ret

Function at 0xc6e828
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.00bc92bc
add esp, 0x3ec
pop ebx
ret

Function at 0xc6e9e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
mov ebp, eax
mov edx, esi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
cmp dword [esi + 0xc], 0
jne 0xc6eaae
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00c2a824
mov ebx, eax
mov dx, word [esi + 4]
mov eax, ebp
call fcn.00c6e6a4
mov edi, eax
test edi, edi
je 0xc6ea47
mov al, byte [0xc6eabc]
cmp al, bl
jne 0xc6ea47
mov edx, edi
mov eax, ebp
call fcn.00c6e5dc
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0xc6eaae
cmp byte [ebp + 0x161], 2
jne 0xc6ea72
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0xc95790]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov edx, 0xb006
call fcn.00c14088
test eax, eax
jne 0xc6eaae
jmp 0xc6eaa9
mov edx, dword [0xc95608]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x128]
cmp edx, eax
je 0xc6eaa9
test byte [eax + 0x2f4], 8
jne 0xc6eaa9
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0xc95608]
mov eax, edx
mov edx, 0xb006
call fcn.00c14088
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0xc74a14
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [0xc95790]
mov eax, dword [eax]
cmp dword [eax + 0x64], 0
jne 0xc74aba
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0xc74a59
cmp eax, dword [esp]
pop edx
pop eax
jae 0xc74a95
jmp 0xc74a5d
pop edx
pop eax
jge 0xc74a95
mov eax, dword [0xc95790]
mov eax, dword [eax]
mov dword [eax + 0x44], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00c6f7d4
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0xc74aba
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0xc74aba
cmp dword [ebx + 0x11c], 0
je 0xc74aba
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.00bf4c14
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0xc7f69c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xc7f80d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x9c], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0xc7f7f2
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00bc92bc
mov dl, 1
mov eax, dword [0xc576c8]
call fcn.00c57720
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
mov dl, 1
mov eax, dword [0xbd75a4]
call fcn.00bc3290
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x98]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.00c5779c
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0xc7f7ef
mov dl, 1
mov eax, dword [0xc58af0]
call fcn.00c58b58
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
mov edx, 0xc7f824
call fcn.00c57d60
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00bc43e0
xor eax, eax
push ebp
push 0xc7f7e8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00c58e58
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00c7f82c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc7f7ef
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.00bc32c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00bc32c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00bc32c0
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc7f814
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00bc40f8
ret
Function at 0xc8092c
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0xc80a39
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
mov eax, ebx
call fcn.00bc40d4
push esi
call sub.user32.dll_OpenClipboard
test eax, eax
je 0xc80a19
xor eax, eax
push ebp
push 0xc80a12
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xd
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0xc809fb
xor eax, eax
push ebp
push 0xc809f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalSize
xor edx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0xc80904]
call fcn.00bc5524
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov edx, esi
call fcn.00bc708c
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00bc435c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc809ff
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc80a1d
call sub.user32.dll_CloseClipboard
ret
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc80a40
lea eax, [ebp - 4]
mov edx, dword [0xc80904]
call fcn.00bc5530
ret

Function at 0xc8a0c8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
mov ebx, 0xff
mov eax, 0xff
call fcn.00bc2714
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xc8a11a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_GetTempPathA
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00bc42cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc8a121
mov eax, dword [ebp - 4]
call fcn.00bc2734
ret
Function at 0x10001500
Capabilities:
Manipulate console buffer
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x138
mov eax, esp
lea ecx, [esp + 0x128]
mov dword [eax + 4], ecx
mov dword [eax + 8], 0x669
mov dword [eax], 0xf560a2
mov eax, dword [sym.imp.GDI32.dll_LPtoDP]
call eax
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x3d2491
mov ecx, dword [sym.imp.KERNEL32.dll_GlobalFlags]
mov dword [esp + 0xbc], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx + 8], 0x7b0
mov dword [ecx + 4], 0x7b0
mov dword [ecx], 0x4d1061
mov ecx, dword [sym.imp.USER32.dll_DeleteMenu]
mov dword [esp + 0xb8], eax
call ecx
sub esp, 0xc
mov ecx, dword [sym.imp.KERNEL32.dll_GetThreadLocale]
mov dword [esp + 0xb4], eax
call ecx
xor ecx, ecx
mov edx, 0x18
lea esi, [esp + 0x110]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x18
mov dword [esp + 0xb0], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xa8], edx
call fcn.10002330
mov eax, esp
lea ecx, [esp + 0x110]
add dword [eax], eax
add byte [ecx + 0x5054a108], cl
add byte [eax], dl

Function at 0x1000276c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101ec160]
jne 0x10002776
repz ret
jmp fcn.10002a1d

Function at 0x10003c50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [fcn.10003c50]
mov dword [ebp - 8], eax
mov dword [0x101ec134], 0x1189
jmp 0x10003ca8
mov dword [ebp - 4], 0
jmp 0x10003cc8
mov al, 1
test al, 1
jne 0x10003ca8
jmp 0x10003c6b
mov eax, dword [ebp - 8]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
jmp 0x10003c74
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 8]
cmp dword [ecx + eax], 0x4550
je 0x10003cbe
jmp 0x10003cc6
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x10003c94
jmp 0x10003c7c
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x10003cc8
jmp 0x10003c7c
mov eax, dword [ebp - 4]
add esp, 0x10
pop ebp
ret

Function at 0x10003f90
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [0x101ec134], 0x2433
mov dword [ebp - 8], 0
mov dword [0x101ec138], 0xb4
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x100040aa
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
jmp 0x10003ffa
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x100040aa
cmp dword [ebp - 0x10], 0x104
jge 0x10003ffa
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2]
cmp eax, 0
je 0x1000404f
mov eax, dword [0x101ec134]
sub eax, 0x2d4
mov dword [0x101ec138], eax
jmp 0x10004073