joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43afe0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43b013
push esi
call fcn.0043e0d0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43b00c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43b099
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43b082
mov eax, dword [esi + 8]
test eax, eax
je 0x43b037
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43b07e
cmp eax, 2
je 0x43b082
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43b02a
cmp eax, 3
je 0x43b05d
cmp eax, 1
jne 0x43b02a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43b02a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43b02a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043b0c0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43b0a8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043b0c0
add esp, 4
pop esi
ret

Function at 0x446460
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4464c6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4464c6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4464a7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x446c50
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x446c88
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x4478a0
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.004479f0
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x4478c0
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x4478a1
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.004479f0
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x4478c0
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x4478f0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call sub.WS2_32.dll_htons
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x447947
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x44795d
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.00447980
pop edi
pop esi
add esp, 0x10
ret 8
push 0x2726
call sub.WS2_32.dll_WSASetLastError
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x447980
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call sub.WS2_32.dll_connect
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x447a10
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x447a59
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4
Function at 0x447ed0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x483ab0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00447a80
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00447b00
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00447b00
lea ecx, [esi + 0xc]
call fcn.0047581a
lea ecx, [esi + 0x10]
call fcn.0047581a
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0044a330
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0044a330
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0044a330
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0047588f
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0047588f
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x448b78
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x483cd8
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x448b88
call fcn.004490a0
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x448c6b
cmp byte [edi], 0
je 0x448c6b
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x448bad
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.004478a0
test eax, eax
jne 0x448bcd
push 0x4b74e4
lea ecx, [esi + 0x38]
call fcn.004759cc
jmp 0x448c6b
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.004478f0
test eax, eax
jne 0x448bfc
mov ecx, esi
call fcn.004479f0
push edi
add esi, 0x38
push 0x4b74c0
push esi
call fcn.00473863
add esp, 0xc
jmp 0x448c6b
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.00449920
test eax, eax
je 0x448c64
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.00448d40
test eax, eax
jne 0x448c80
push edi
lea eax, [esi + 0x38]
push 0x4b749c
push eax
call fcn.00473863
add esp, 0xc
mov ecx, esi
call fcn.004490a0
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x448d28
mov ecx, dword [0x4b7874]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.00473863
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.004479a0
test eax, eax
jne 0x448cea
push 0x4b7480
lea ecx, [esi + 0x38]
call fcn.004759cc
jmp 0x448cfa
push 0xfa
mov ecx, esi
call fcn.00449920
test eax, eax
jne 0x448d17
mov ecx, esi
call fcn.004490a0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0047588f
jmp 0x448c6b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0047588f
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x44d730
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x483fb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.0044db30
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x4e13f4
call fcn.004548f6
mov ecx, dword [0x49f880]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.0044ae90
mov esi, 0x49f8d8
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x44d7d7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x44d7ce
cmp al, 0xff
je 0x44d7ce
dec al
mov byte [ecx], al
jmp 0x44d7d7
push ecx
call fcn.004755f9
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.00471a10
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x44d81d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x44d814
cmp al, 0xff
je 0x44d814
dec al
mov byte [ecx], al
jmp 0x44d81d
push ecx
call fcn.004755f9
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.0045497d
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x46bed0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x484fc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.00460e3a
mov eax, dword [0x4a23a0]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.00460d6c
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.0046c990
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x46bf77
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x46bf6e
cmp al, 0xff
je 0x46bf6e
dec al
mov byte [ecx], al
jmp 0x46bf77
push ecx
call fcn.004755f9
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x46bfa8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x46bf9f
cmp al, 0xff
je 0x46bf9f
dec al
mov byte [ecx], al
jmp 0x46bfa8
push ecx
call fcn.004755f9
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x477c36
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x477c6e
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00475cea
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00475cc2
jmp 0x477c7a
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x479328
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x47936a
call fcn.0047f099
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47936a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x479361
xor eax, eax
jmp 0x479372
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00479378
pop edi
pop esi
pop ebx
ret 4

Function at 0x47f5c9
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47f5f7
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47f615
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047f52f
jmp 0x47f615
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47f615
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047f52f
test edi, edi
mov eax, edi
jne 0x47f5ff
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x415354
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x41541f
jmp 0x415413
cmp dword [esi + 0x10], 0x1000
jne 0x4153ff
test byte [esi + 0x15], 1
jne 0x4153ff
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4153b0
cmp ebp, 2
je 0x4153b0
cmp ebp, 0x10
je 0x4153b0
cmp ebp, 0x20
jne 0x4153cc
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4153cc
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4153dd
mov eax, dword [esi]
add eax, ebx
call fcn.0041534c
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4153d0
cmp byte [esp + 4], 0
je 0x4153ff
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x41541f
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x415385
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x100029b8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0xffffffff
je 0x10002a1a
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [ebp - 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10002a1a
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10002a15
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
movzx ax, byte [eax]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov word [edx + ecx*2], ax
jmp 0x100029f2
push 1
pop eax
jmp 0x10002a1c
xor eax, eax
leave
ret 0x10
Function at 0x100066d0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x100220a5
call fcn.10021c80
sub esp, 0x20
mov dword [ebp - 0x18], 0x1000
lea ecx, [ebp - 0x28]
call fcn.100024c5
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
push str.CONTENT_LENGTH
call fcn.10006676
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
call fcn.1000272e
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
inc eax
push eax
mov ecx, dword [ebp + 8]
call fcn.10007a59
mov ecx, dword [ebp + 8]
call fcn.100024e5
mov ecx, dword [ebp + 8]
call fcn.1000273c
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
cmp ecx, dword [ebp - 0x18]
jae 0x1000674c
mov ecx, dword [ebp + 8]
call fcn.1000273c
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov dword [ebp - 0x2c], ecx
jmp 0x10006752
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
jbe 0x10006791
and dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
call fcn.1000274b
push eax
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10006791
and dword [ebp - 0x14], 0
mov ecx, dword [ebp + 8]
call fcn.1000273c
add eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.100027bb
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jne 0x100067be
mov ecx, dword [ebp + 8]
call fcn.1000273c
cmp eax, dword [ebp - 0x1c]
jb 0x10006728
mov ecx, dword [ebp + 8]
call fcn.1000274b
and word [eax], 0
lea ecx, [ebp - 0x28]
call fcn.10002525
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100024a2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x1000a8a7
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1002231d
call fcn.10021c80
sub esp, 0x2d8
and dword [ebp - 0x28], 0
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x1c]
call fcn.100024c5
and dword [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.100024c5
mov byte [ebp - 4], 1
or dword [ebp - 0x244], 0xffffffff
push 0x2e
push dword [ebp + 0x14]
call fcn.10001458
pop ecx
pop ecx
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
je 0x1000a985
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
pop ecx
lea eax, [ebp - 0x28]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x230]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
jne 0x1000a985
mov dword [ebp - 0x24], 0x50
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.Content_Type
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x244], eax
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x2e4]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x244], 0
je 0x1000aa00
and dword [ebp - 0x20], 0
jmp 0x1000a99b
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax*8 + 0x100321d8], 0
jne 0x1000a9cf
cmp dword [ebp + 0x10], 0
je 0x1000a9c3
mov eax, dword [ebp + 0x10]
movzx eax, word [eax]
test eax, eax
je 0x1000a9c3
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x234], eax
jmp 0x1000a9cd
mov dword [ebp - 0x234], str.application_octet_stream
jmp 0x1000aa00
mov eax, dword [ebp - 0x20]
push dword [eax*8 + 0x100321d8]
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x1000a9fe
mov eax, dword [ebp - 0x20]
mov eax, dword [eax*8 + 0x100321dc]
mov dword [ebp - 0x234], eax
jmp 0x1000aa00
jmp 0x1000a994
push 1
push 7
lea eax, [ebp - 0x240]
push eax
push dword [ebp + 0x14]
call fcn.10008227
add esp, 0x10
push 0x10024bd8
mov ecx, dword [ebp + 8]
call fcn.100027f9
push dword [ebp - 0x234]
mov ecx, dword [ebp + 8]
call fcn.100026bf
push str.__r_n_name_
mov ecx, dword [ebp + 8]
call fcn.100026bf
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp + 8]
call fcn.10002710
push 0x100235e8
mov ecx, dword [ebp + 8]
call fcn.100026bf
cmp dword [ebp + 0xc], 0
je 0x1000aa71
push dword [ebp - 0x234]
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
pop ecx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.100024a2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.100024a2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x1000ce25
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
lea ecx, [ebp - 0x10]
call fcn.100024c5
push 0x402
push 0
lea eax, [ebp - 0x41c]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
and dword [ebp - 0x18], 0
mov dword [ebp - 4], 0x10
mov eax, dword [ebp - 4]
shl eax, 1
push eax
lea ecx, [ebp - 0x10]
call fcn.100025da
push 0x10023874
lea ecx, [ebp - 0x10]
call fcn.100027f9
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000272e
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x10]
call fcn.1000272e
mov ecx, dword [ebp - 4]
and word [eax + ecx*2], 0
lea ecx, [ebp - 0x10]
call fcn.10005be7
cmp dword [ebp - 0x14], 0
je 0x1000ceb2
lea ecx, [ebp - 0x10]
call fcn.1000273c
test eax, eax
jne 0x1000cf1c
and byte [ebp - 0x41c], 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x41c]
push eax
call sub.WSOCK32.dll_gethostname
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x10]
call fcn.10002525
and dword [ebp - 4], 0
jmp 0x1000cee0
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jge 0x1000cf12
mov eax, dword [ebp - 4]
movsx eax, byte [ebp + eax - 0x41c]
test eax, eax
je 0x1000cf12
mov eax, dword [ebp - 4]
movsx eax, byte [ebp + eax - 0x41c]
and eax, 0xff
push eax
lea ecx, [ebp - 0x10]
call fcn.100026f7
jmp 0x1000ced9
push 0
lea ecx, [ebp - 0x10]
call fcn.100026f7
cmp dword [ebp - 0x18], 0
je 0x1000cf43
mov eax, dword [ebp - 0x18]
sub eax, 0x1388
mov dword [ebp - 0x420], eax
lea ecx, [ebp - 0x10]
call fcn.100024a2
mov eax, dword [ebp - 0x420]
jmp 0x1000d004
lea ecx, [ebp - 0x10]
call fcn.1000272e
push eax
call dword [sym.imp.MSVCRT.dll__wcslwr]
pop ecx
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000272e
push eax
call fcn.1000b644
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
call fcn.10002525
and dword [ebp - 4], 0
jmp 0x1000cf7f
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jge 0x1000cfca
cmp dword [ebp - 4], 0x402
jae 0x1000cfca
mov eax, dword [ebp - 4]
movsx eax, byte [ebp + eax - 0x41c]
cmp eax, 0x20
jl 0x1000cfb0
mov eax, dword [ebp - 4]
movsx eax, byte [ebp + eax - 0x41c]
cmp eax, 0x7e
jle 0x1000cfb2
jmp 0x1000cfca
mov eax, dword [ebp - 4]
movsx ax, byte [ebp + eax - 0x41c]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov word [edx + ecx*2], ax
jmp 0x1000cf78
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
and word [ecx + eax*2], 0
mov eax, dword [ebp + 8]
movzx eax, word [eax]
test eax, eax
jne 0x1000cfef
push str.localhost
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
pop ecx
and dword [ebp - 0x424], 0
lea ecx, [ebp - 0x10]
call fcn.100024a2
mov eax, dword [ebp - 0x424]
leave
ret
Function at 0x1000d059
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov word [ebp - 4], 0x101
and dword [0x100425a4], 0
lea eax, [ebp - 0x194]
push eax
push dword [ebp - 4]
call sub.WSOCK32.dll_WSAStartup
mov dword [ebp - 0x198], eax
movzx eax, word [0x10043616]
test eax, eax
je 0x1000d0d1
mov ax, word [0x100415d0]
mov word [ebp - 0x19c], ax
and word [0x100415d0], 0
push dword [ebp - 0x198]
call fcn.1000b298
pop ecx
push eax
push dword [ebp - 0x198]
push str.superDebug:_init_winsock____WSAStartup___returned__i___s__n
call fcn.10005df8
add esp, 0xc
mov ax, word [ebp - 0x19c]
mov word [0x100415d0], ax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0x2726
je 0x1000d122
cmp dword [ebp - 0x1a0], 0x2734
je 0x1000d130
cmp dword [ebp - 0x1a0], 0x2753
je 0x1000d137
cmp dword [ebp - 0x1a0], 0x276b
je 0x1000d11b
cmp dword [ebp - 0x1a0], 0x276c
je 0x1000d129
jmp 0x1000d13e
mov eax, 0xfa6
jmp 0x1000d14a
mov eax, 0xfa5
jmp 0x1000d14a
mov eax, 0xfa4
jmp 0x1000d14a
mov eax, 0xfab
jmp 0x1000d14a
mov eax, 0xfa8
jmp 0x1000d14a
mov dword [0x100425a4], 1
xor eax, eax
leave
ret

Function at 0x1000f5e7
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax], 0
mov eax, dword [ebp + 8]
and dword [eax + 4], 0
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x10325476
pop ebp
ret