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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040cb0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x1b0
mov eax, dword [0x10054670]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1a8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x10003917
or eax, 0xffffffff
jmp 0x100039c3
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x1bc], eax
cmp dword [ebp - 0x1bc], 0xffffffff
jne 0x10003940
call dword [sym.imp.WS2_32.dll_WSACleanup]
or eax, 0xffffffff
jmp 0x100039c3
mov ecx, 2
mov word [ebp - 0x1b8], cx
push 0xd3d
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1b6], ax
mov eax, 0x10056e98
call fcn.10004660
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x1b4], eax
push 0x10
lea edx, [ebp - 0x1b8]
push edx
mov eax, dword [ebp - 0x1bc]
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x100039a8
mov ecx, dword [ebp - 0x1bc]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
or eax, 0xffffffff
jmp 0x100039c3
jmp 0x100039b7
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100102d0
mov esp, ebp
pop ebp
ret

Function at 0x10003b40
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10003b64
xor eax, eax
jmp 0x10003b80
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x10003b7b
xor eax, eax
jmp 0x10003b80
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x10003b90
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10054670]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], 0x1c
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10003c46
mov eax, dword [ebp - 0x24]
cmp eax, dword [0x10056dec]
jne 0x10003c0a
mov ecx, dword [0x10056dec]
push ecx
call fcn.10003b40
add esp, 4
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x24]
cmp edx, dword [0x10056dfc]
jne 0x10003c26
mov eax, dword [0x10056dfc]
push eax
call fcn.10003b40
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0
je 0x10003c34
cmp dword [ebp - 4], 0
je 0x10003c34
jmp 0x10003c46
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10003bed
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xc], 0
je 0x10003c5c
cmp dword [ebp - 4], 0
jne 0x10003c7a
push 0
push str.ERROR
push str.IsThreadSuspended1
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [0x10056e60], 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100102d0
mov esp, ebp
pop ebp
ret

Function at 0x10003c90
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10054670]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], 0x1c
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10003d31
mov eax, dword [ebp - 0x24]
cmp eax, dword [0x10056dec]
jne 0x10003cff
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [0x10056dfc]
jne 0x10003d11
mov dword [ebp - 4], 1
cmp dword [ebp - 8], 0
je 0x10003d1f
cmp dword [ebp - 4], 0
je 0x10003d1f
jmp 0x10003d31
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10003ced
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], 0
je 0x10003d47
cmp dword [ebp - 4], 0
jne 0x10003d65
push 0
push str.ERROR
push str.IsThreadTerminated2
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [0x10056e64], 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100102d0
mov esp, ebp
pop ebp
ret
Function at 0x10006a80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100412f9
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10054670]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x10054670]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ecx
cmp dword [ecx + 0x44], esi
je 0x10006c94
cmp byte [ecx + 0x49], 0
je 0x10006c94
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x10006c7c
push esi
push 8
lea ecx, [esp + 0x58]
call fcn.100060b0
mov dword [esp + 0x80], esi
lea esp, [esp]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x54]
call fcn.10006590
mov esi, eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x54]
mov byte [esp + 0x84], 1
call fcn.10006590
mov edi, eax
mov ecx, esi
mov byte [esp + 0x80], 2
call fcn.100076a0
mov ebx, dword [esp + 0x64]
mov ecx, edi
mov esi, eax
call fcn.100076a0
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x44]
mov edx, dword [ecx]
lea edi, [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
add ebx, esi
push ebx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [edx + 0x18]
call eax
lea ecx, [esp + 0x20]
mov esi, eax
mov byte [esp + 0x80], 1
call fcn.100011e0
lea ecx, [esp + 0x44]
mov byte [esp + 0x80], 0
call fcn.100011e0
mov eax, esi
sub eax, 0
je 0x10006bae
dec eax
je 0x10006bb2
sub eax, 2
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x50]
jne 0x10006c77
jmp 0x10006c8f
mov byte [edi + 0x49], 0
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x54]
call fcn.10006590
mov ecx, eax
mov byte [esp + 0x80], 3
call fcn.100076a0
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
sub esi, eax
mov byte [esp + 0x80], 0
call fcn.100011e0
test esi, esi
je 0x10006c24
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x54]
call fcn.10006590
mov byte [esp + 0x80], 4
or dword [esp + 0x14], 1
mov ecx, eax
call fcn.100076a0
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.10016140
add esp, 0x10
cmp esi, eax
je 0x10006c24
mov bl, 1
jmp 0x10006c26
xor bl, bl
mov dword [esp + 0x80], 0
test byte [esp + 0x14], 1
je 0x10006c46
and dword [esp + 0x14], 0xfffffffe
lea ecx, [esp + 0x38]
call fcn.100011e0
test bl, bl
jne 0x10006c68
cmp byte [edi + 0x49], bl
je 0x10006c80
test esi, esi
jne 0x10006b00
push esi
push 8
lea ecx, [esp + 0x58]
call fcn.10006160
jmp 0x10006b00
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x50]
call fcn.100045d0
xor al, al
jmp 0x10006c96
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x50]
call fcn.100045d0
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.100102d0
mov esp, ebp
pop ebp
ret
Function at 0x10007560
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040edb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10054670]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1000bb10
push 0x18
push 0x1004f470
mov dword [ebp - 4], 0
call fcn.1000adc0
push eax
push 4
call fcn.1000acf0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x100075ed
call fcn.1000b2c0
mov dword [edi], eax
call fcn.1000b0d0
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.1000baa0
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x100075e3
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.1000bae0
jmp 0x100075ef
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10009b90
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push edi
call esi
lea ecx, [ebp - 4]
push ecx
push 0x40
push 5
push 0x1005562c
call esi
lea edx, [ebp - 4]
push edx
push 0x40
push 5
push 0x10055634
call esi
mov eax, dword [edi]
pop esi
cmp eax, dword [0x1005562c]
jne 0x10009be3
mov cl, byte [0x10055630]
cmp cl, byte [edi + 4]
jne 0x10009be3
mov eax, 0xb
mov esp, ebp
pop ebp
ret
cmp eax, dword [0x10055634]
jne 0x10009bfb
mov dl, byte [0x10055638]
mov eax, 5
cmp dl, byte [edi + 4]
je 0x10009bfe
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x10009c10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [esi + 4]
push edi
push eax
mov edi, ebx
call fcn.10009b90
mov dword [esi + 4], eax
add eax, 5
push eax
call fcn.10017320
mov edx, dword [esi + 4]
add esp, 8
lea ecx, [ebp - 8]
push ecx
push 0x40
add edx, 5
mov edi, eax
push edx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [esi + 4]
push eax
push ebx
push edi
call fcn.10018150
mov ecx, dword [esi + 4]
mov byte [edi + ecx], 0xe9
mov eax, dword [esi + 4]
mov edx, ebx
sub edx, edi
sub edx, 5
mov dword [edi + eax + 1], edx
mov eax, dword [ebp + 8]
add esp, 0xc
sub eax, ebx
sub eax, 5
mov dword [ebp - 7], eax
mov dl, byte [ebp - 4]
mov byte [ebp - 8], 0xe9
mov ecx, dword [ebp - 8]
mov dword [ebx], ecx
mov byte [ebx + 4], dl
mov dword [esi], edi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x1000a700
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100417b4
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x10054670]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x80], ebx
mov dword [ebp - 4], 1
cmp dword [ebp + 0x20], 0x10
mov eax, dword [ebp + 0xc]
mov byte [ebp - 0x7c], bl
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
jae 0x1000a76d
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x1c]
lea esi, [ebp - 0x7c]
call fcn.1000a450
mov ecx, esi
call fcn.1000a500
mov eax, esi
push eax
mov esi, edi
call fcn.1000a5e0
mov byte [ebp - 4], bl
cmp dword [ebp + 0x20], 0x10
mov dword [ebp - 0x80], 1
jb 0x1000a7a6
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10015ec0
add esp, 4
lea ecx, [ebp + 8]
mov dword [ebp + 0x20], 0xf
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0xc], bl
call fcn.10006710
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100102d0
mov esp, ebp
pop ebp
ret
Function at 0x100102d0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10054670]
jne 0x100102da
repz ret
jmp fcn.1001cac0
Function at 0x1003df20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.1003e0d0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1003dfed
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x1003df6a
mov eax, dword [ebp - 4]
cmp eax, dword [0x10054004]
ja 0x1003df6a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1003df3a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100184c0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1003df90
jmp 0x1003dfed
cmp dword [ebp - 0x14], 0x10000
jne 0x1003dfd3
cmp dword [ebp - 0x18], 0x10000
jb 0x1003dfd3
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1003dfc6
mov eax, dword [ebp - 8]
jmp 0x1003dfef
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1003dfe8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1003e0d0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1003df3a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1003e000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1003e100
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1003e0c5
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x1003e045
mov eax, dword [ebp - 4]
cmp eax, dword [0x10054004]
ja 0x1003e045
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1003e015
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100184c0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1003e06b
jmp 0x1003e0c5
cmp dword [ebp - 0x14], 0x10000
jne 0x1003e0ae
cmp dword [ebp - 0x18], 0x10000
jb 0x1003e0ae
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1003e0a1
mov eax, dword [ebp - 8]
jmp 0x1003e0c7
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1003e0c0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1003e100
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1003e015
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1003f4d0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x10055a10], eax
je 0x1003f4ee
mov eax, 0x10dd
jmp 0x1003f5cf
mov eax, dword [0x10055a20]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1003f56c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x1003f54a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x1003f54a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.1003e580
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.10015ec0
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x1003f4f6
mov dword [0x10055a20], 0
call fcn.1003ee60
mov ecx, dword [0x10055a1c]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1003f5b9
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.10015ec0
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x1003f584
mov dword [0x10055a1c], 0
mov dword [0x10055a10], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1003fab0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x10055a14], 0
je 0x1003fac9
mov eax, dword [0x10055a14]
jmp 0x1003fb69
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x1003fadb
xor eax, eax
jmp 0x1003fb69
push 8
call fcn.10017320
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1003fb31
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1003fb1a
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.10015ec0
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x10055a14], eax
mov dword [0x10055a18], 0
mov eax, dword [ebp - 8]
jmp 0x1003fb69
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1003fb4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x1003fafb
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x10055a1c]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x10055a1c], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x445344
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4d77e8
cmp dword [edi], 0
jne 0x4453c0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4d77e4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4d49b8
mov ecx, 2
call fcn.00402958
mov edx, 0x44531c
lea eax, [esi + 5]
call fcn.0044533c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0044533c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x445395
mov dword [0x4d77e4], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4454e4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x445534]
test si, 4
je 0x4454f8
or bl, 1
test si, 8
je 0x445502
or bl, 4
test si, 1
je 0x44550c
or bl, 8
test si, 2
je 0x445516
or bl, 0x10
test si, 0x10
je 0x445520
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44552f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x445538
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x445570]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x445551
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x445560
or bl, 4
test esi, 0x20000000
je 0x44556b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44a562
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x44a59d
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x44a584
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x44a595
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x44a59f
inc edi
add eax, 0x28
cmp edi, esi
jb 0x44a57a
xor eax, eax
pop edi
pop esi
ret

Function at 0x44a9f4
Capabilities:
Inspect section memory permissions

Disassembly:
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]
js 0x44a9b4
jp 0x44a9bc
inc ebp
invalid
Function at 0x44c0a8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax], al
and byte [ebp - 0x78c], 0
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
cmp al, 0xc6
test dword [eax + edi*8 - 1], edi
push dword [eax]
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
call fcn.0044a532
pop ecx
push eax
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
call fcn.0044a493
add esp, 0xc
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x3a0], eax
jmp 0x44c49a

Function at 0x44c4fc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
jne 0x44c505
jmp 0x44bec4
cmp dword [ebp - 0x37c], 0
je 0x44c513
jmp fcn.0044c5c8
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x44c56c
push 0
lea eax, [ebp - 0x6c4]
test dword [ecx + edi*8], edi
invalid
invalid
push eax
jmp 0x44bec4
Function at 0x4a3b10
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, eax
lea eax, [esp + 0x100]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
push esp
push 0
push 0x4a3b54
lea eax, [esp + 0x10c]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, ebx
mov eax, esp
call fcn.00409474
add esp, 0x200
pop ebx
ret
Function at 0x10011e4
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor edi, edi
cmp eax, edi
jne 0x1001238
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x1001228
and eax, 0xffff
or eax, 0x80070000
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.010015cc
leave
ret 0x10
cmp eax, esi
jb 0x1001243
mov eax, 0x8007007a
jmp 0x1001228
lea eax, [ebp - 0x20c]
push eax
push 0x10010d8
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.01001185
add esp, 0x10
cmp eax, edi
jl 0x1001228
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, edi
je 0x1001214
push 0x10010cc
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
jne 0x10012a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x100129a
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
jmp 0x1001228
push edi
push edi
push edi
push edi
call eax
jmp 0x100129c