joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100af140
Capabilities:
Get common file path

Disassembly:
sub esp, 0x230
mov eax, dword [0x1011ac70]
xor eax, esp
mov dword [esp + 0x22c], eax
cmp dword [0x101244bc], 0
mov dword [esp], str.getaddrinfo
mov dword [esp + 4], 0x100aeb90
mov dword [esp + 8], str.getnameinfo
mov dword [esp + 0xc], 0x100aee80
mov dword [esp + 0x10], str.freeaddrinfo
mov dword [esp + 0x14], fcn.100aeb40
je 0x100af1b2
movzx eax, word [esp + 0x234]
mov eax, dword [eax*8 + 0x1011c5e0]
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.10071fee
add esp, 0x230
ret 4
push 0x104
lea ecx, [esp + 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x100af2af
push ebx
push ebp
push esi
push edi
lea edx, [esp + 0x134]
push edx
lea eax, [esp + 0x2c]
push 0x10c
push eax
call fcn.1007ec55
push str.ws2_32
lea ecx, [esp + 0x38]
push 0x10c
push ecx
call fcn.10087810
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0x18
lea edx, [esp + 0x28]
push edx
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x100af22d
push str.getaddrinfo
push esi
call ebx
test eax, eax
jne 0x100af274
push esi
call ebp
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x2c]
push 0x10c
push ecx
call fcn.1007ec55
push str.wship6
lea edx, [esp + 0x38]
push 0x10c
push edx
call fcn.10087810
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call edi
mov esi, eax
test esi, esi
je 0x100af2ab
push str.getaddrinfo
push esi
call ebx
test eax, eax
je 0x100af2df
xor edi, edi
mov ecx, dword [esp + edi*8 + 0x10]
push ecx
push esi
call ebx
test eax, eax
mov dword [esp + edi*8 + 0x14], eax
je 0x100af2df
add edi, 1
cmp edi, 3
jl 0x100af276
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov dword [0x1011c5e0], edx
mov dword [0x1011c5e8], eax
mov dword [fcn.100aeb40], ecx
pop edi
pop esi
pop ebp
pop ebx
movzx edx, word [esp + 0x234]
mov ecx, dword [esp + 0x22c]
mov eax, dword [edx*8 + 0x1011c5e0]
xor ecx, esp
mov dword [0x101244bc], 1
call fcn.10071fee
add esp, 0x230
ret 4
push esi
call ebp
jmp 0x100af2ab

Function at 0x100af840
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push 0
push 0
push eax
push ecx
push 0
push 0
call fcn.1007bb5f
add esp, 0x18
test eax, eax
je 0x100af863
cmp eax, 0xffffffff
jne 0x100af865
xor eax, eax
ret
Function at 0x100b7e10
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
push str.Connected_for_receive
push 0x100fd324
push ecx
call fcn.100abd80
add esp, 0xc
mov eax, esi
mov dword [esi], 1
call fcn.100b6fb0
test eax, eax
jne 0x100b7e40
mov eax, esi
jmp fcn.100b7440
ret
Function at 0x100b8250
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x88
mov eax, dword [0x1011ac70]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
mov ebp, dword [esp + 0x94]
mov ebx, dword [ebp]
push esi
mov esi, dword [ebp + 0x3d0]
push edi
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x80
mov edx, dword [esi + 0x154]
mov eax, dword [esi + 0x15c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x14]
push 0
add edx, 4
lea edi, [esi + 0x15c]
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [esi + 0x148], 0
mov dword [esi + 0x14c], eax
jne 0x100b82df
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 0xc8]
push ecx
call fcn.10074d40
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esi + 0x148], edx
mov edx, dword [esi + 0x14c]
cmp edx, 4
jge 0x100b831a
push str.Received_too_short_packet
push ebx
call fcn.100abe10
add esp, 8
mov dword [esi + 0xc], 7
xor eax, eax
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10071fee
add esp, 0x88
ret
mov eax, edi
call fcn.100b7130
movzx eax, ax
mov dword [esi + 0xc], eax
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x100b8333
jmp dword [eax*4 + 0x100b8420]
cmp edx, 4
jle case.0x100b8333.4
mov eax, edi
call fcn.100b7140
movzx ecx, word [esi + 0x40]
add ecx, 1
cmp cx, ax
jne case.0x100b8333.4
add edx, 0xfffffffc
push edx
mov edx, dword [edi]
add edx, 4
push edx
push 1
push ebp
call fcn.100ac0f0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x100b8388
mov ecx, 5
mov eax, esi
call fcn.100b81d0
mov eax, edi
jmp 0x100b8301
mov eax, dword [esi + 0x14c]
sub eax, 4
cdq
add dword [ebx + 0x38], eax
mov ecx, dword [ebx + 0x38]
adc dword [ebx + 0x3c], edx
mov eax, dword [ebx + 0x3c]
push eax
push ecx
push ebx
call fcn.100c4e30
jmp 0x100b83f4
mov eax, edi
call fcn.100b7140
movzx edx, ax
mov eax, dword [edi]
add eax, 4
push eax
push 0x100fd324
push ebx
mov dword [esi + 8], edx
call fcn.100abd80
jmp 0x100b83f4
mov ecx, dword [edi]
add edx, 0xfffffffe
push edx
add ecx, 2
push ecx
push esi
call fcn.100b71e0
add esp, 0xc
test eax, eax
je case.0x100b8333.4
jmp 0x100b8301
push str.Internal_error:_Unexpected_packet
push 0x100e4334
push ebx
call fcn.100abe10
add esp, 0xc
push ebp
call fcn.100c4ef0
add esp, 4
test eax, eax
je 0x100b82ff
mov ecx, 5
mov eax, esi
call fcn.100b81d0
mov eax, 0x2a
jmp 0x100b8301
Function at 0x100b9f80
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x1011ac70]
xor eax, esp
mov dword [esp + 0x190], eax
lea eax, [esp]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x100b9fb5
push eax
push str.WSAStartup_failed___d_
push esi
call fcn.100abe10
add esp, 0xc
jmp 0x100b9fec
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ax, word [esp]
cmp al, 2
jne 0x100b9fde
test ah, ah
jne 0x100b9fde
xor eax, eax
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.10071fee
add esp, 0x194
ret
push str.insufficient_winsock_version_to_support_telnet
push esi
call fcn.100abe10
add esp, 8
mov ecx, dword [esp + 0x190]
xor ecx, esp
mov eax, 2
call fcn.10071fee
add esp, 0x194
ret

Function at 0x100ba180
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
mov edx, dword [edi + 0x130]
mov al, byte [esp + 8]
push esi
mov esi, dword [edi]
push 0
push 3
lea ecx, [esp + 0xc]
push ecx
push edx
mov byte [esp + 0x14], 0xff
mov byte [esp + 0x15], al
mov byte [esp + 0x16], bl
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x100ba1c4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push esi
call fcn.100abe10
add esp, 0xc
mov esi, dword [esp + 0xc]
mov ecx, dword [edi]
push str.SENT
mov eax, ebx
call fcn.100ba070
add esp, 4
pop esi
pop ecx
ret
Function at 0x100bb7e0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x18
mov eax, dword [0x1011ac70]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
mov ebx, dword [esi + 0x134]
push ebp
push edi
mov edi, dword [esi]
push 1
push 0
push edi
or ebp, 0xffffffff
mov dword [esp + 0x18], 0x10
call fcn.100ac250
add esp, 0xc
test eax, eax
jl 0x100bb849
mov ecx, 0x3e8
cmp eax, ecx
jge 0x100bb820
mov ecx, eax
push ecx
push 0xffffffffffffffff
push ebx
call fcn.100c38b0
add esp, 0xc
cmp eax, 0xffffffff
je 0x100bb8e4
test eax, eax
jne 0x100bb86e
push 1
push eax
push edi
call fcn.100ac250
add esp, 0xc
test eax, eax
jge 0x100bb815
push str.Timeout_while_waiting_for_server_connect
push edi
call fcn.100abe10
add esp, 8
pop edi
pop ebp
mov eax, 0x1c
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.10071fee
add esp, 0x18
ret
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push ebx
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x100bb89e
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
push ebx
mov dword [esp + 0x18], 0x10
call dword [sym.imp.WS2_32.dll_accept]
mov ebp, eax
push ebx
push esi
call fcn.100aca60
add esp, 8
cmp ebp, 0xffffffff
jne 0x100bb8b4
push str.Error_accept__ing_server_connect
jmp 0x100bb8e9
push str.Connection_accepted_from_server_n
push edi
call fcn.100abd80
push 1
push ebp
mov dword [esi + 0x134], ebp
call fcn.100c7600
add esp, 0x10
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.10071fee
add esp, 0x18
ret
push str.Error_while_waiting_for_server_connect
push edi
call fcn.100abe10
mov ecx, dword [esp + 0x28]
add esp, 8
pop edi
pop ebp
pop ebx
xor ecx, esp
mov eax, 0x1e
call fcn.10071fee
add esp, 0x18
ret
Function at 0x100bc8b0
Capabilities:
Check http status code

Disassembly:
mov eax, 0x51eb851f
imul ecx
sar edx, 5
push ebx
mov ebx, dword [edi]
mov eax, edx
push ebp
mov ebp, dword [esp + 0xc]
shr eax, 0x1f
push esi
add eax, edx
xor esi, esi
cmp eax, 2
je 0x100bc8e6
push str.Couldnt_set_desired_mode
push ebx
call fcn.100abe10
add esp, 8
lea eax, [esi + 0x11]
pop esi
pop ebp
pop ebx
ret
cmp ecx, 0xc8
je 0x100bc8fd
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
push ebx
call fcn.100abd80
add esp, 0xc
cmp ebp, 0x13
jne 0x100bc90f
mov eax, edi
call fcn.100bc470
mov esi, eax
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x14
jne 0x100bc923
push edi
call fcn.100bc4c0
add esp, 4
mov esi, eax
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x15
jne 0x100bc935
mov eax, edi
call fcn.100bc5e0
mov esi, eax
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x16
jne 0x100bc943
mov eax, edi
call fcn.100bc5f0
mov esi, eax
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x100c38b0
Capabilities:
Check for time delay via gettickcount
Get socket status

Disassembly:
sub esp, 0x31c
push ebx
mov ebx, dword [esp + 0x324]
push ebp
mov ebp, dword [esp + 0x32c]
push esi
xor esi, esi
cmp ebx, 0xffffffff
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
jne 0x100c38f4
cmp ebp, ebx
jne 0x100c38f4
mov eax, dword [esp + 0x334]
push eax
call fcn.100c3880
add esp, 4
pop esi
pop ebp
pop ebx
add esp, 0x31c
ret
push edi
mov edi, dword [esp + 0x338]
cmp edi, esi
jle 0x100c390f
mov esi, edi
call fcn.100b2aa0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
xor eax, eax
xor ecx, ecx
or edx, 0xffffffff
cmp ebx, 0xffffffff
mov dword [esp + 0x20], ecx
mov dword [esp + 0x124], eax
je 0x100c3943
mov ecx, 1
mov dword [esp + 0x128], ebx
mov dword [esp + 0x124], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ecx
mov edx, ebx
cmp ebp, 0xffffffff
mov dword [esp + 0x228], eax
je 0x100c398a
test ecx, ecx
mov dword [esp + 0x22c], ebp
mov dword [esp + 0x228], 1
jbe 0x100c3972
cmp dword [esp + eax*4 + 0x24], ebp
je 0x100c3972
add eax, 1
cmp eax, ecx
jb 0x100c3965
cmp eax, ecx
jne 0x100c3984
cmp ecx, 0x40
jae 0x100c3984
mov dword [esp + eax*4 + 0x24], ebp
add dword [esp + 0x20], 1
cmp ebp, edx
jbe 0x100c398a
mov edx, ebp
xor ebx, ebx
test edi, edi
setl bl
lea ecx, [esp + 0x18]
lea ebp, [edx + 1]
sub ebx, 1
and ebx, ecx
lea ecx, [ecx]
xor eax, eax
cmp edi, eax
jle 0x100c39d1
mov eax, 0x10624dd3
imul esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], eax
imul eax, eax, 0x3e8
mov edx, esi
sub edx, eax
imul edx, edx, 0x3e8
mov dword [esp + 0x1c], edx
jmp 0x100c39db
jne 0x100c39db
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x230]
push ecx
lea edx, [esp + 0x130]
push edx
push ebp
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x100c3a45
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x100c3a0e
cmp eax, 0x2714
jne 0x100c3a49
test edi, edi
jle 0x100c39a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.100b2aa0
push edx
push eax
call fcn.100b2ad0
mov esi, edi
sub esi, eax
add esp, 0x10
test esi, esi
jg 0x100c39a0
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x31c
ret
test eax, eax
jge 0x100c3a57
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x31c
ret
jne 0x100c3a66
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x31c
ret
mov edi, dword [esp + 0x330]
xor esi, esi
cmp edi, 0xffffffff
je 0x100c3a9d
lea edx, [esp + 0x124]
push edx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x100c3a8b
mov esi, 1
lea eax, [esp + 0x20]
push eax
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x100c3a9d
or esi, 4
mov edi, dword [esp + 0x334]
cmp edi, 0xffffffff
je 0x100c3ad0
lea ecx, [esp + 0x228]
push ecx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x100c3abe
or esi, 2
lea edx, [esp + 0x20]
push edx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x100c3ad0
or esi, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x31c
ret
Function at 0x100c5620
Capabilities:
Parse pe header

Disassembly:
mov al, byte [esp + 4]
movsx ecx, al
add ecx, 0xffffff9f
cmp ecx, 0x19
ja case.default.0x100c562f
jmp dword [ecx*4 + 0x100c5684]
mov al, 0x41
ret
mov al, 0x42
ret
mov al, 0x43
ret
mov al, 0x44
ret
mov al, 0x45
ret
mov al, 0x46
ret
mov al, 0x47
ret
mov al, 0x48
ret
mov al, 0x49
ret
mov al, 0x4a
ret
mov al, 0x4b
ret
mov al, 0x4c
ret
mov al, 0x4d
ret
mov al, 0x4e
ret
mov al, 0x4f
ret
mov al, 0x50
ret
mov al, 0x51
ret
mov al, 0x52
ret
mov al, 0x53
ret
mov al, 0x54
ret
mov al, 0x55
ret
mov al, 0x56
ret
mov al, 0x57
ret
mov al, 0x58
ret
mov al, 0x59
ret
mov al, 0x5a
ret

Function at 0x100c5810
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x1011ac70]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call fcn.100915dd
add esp, 4
test eax, eax
mov byte [esp], 0
je 0x100c5875
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp byte [esp], 0
je 0x100c5875
lea edx, [esp]
push edx
call dword [0x1011c5d4]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.10071fee
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.10071fee
add esp, 0x108
ret
jmp 0x100c5810

Function at 0x100c5890
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x1011ac70]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call fcn.100915dd
add esp, 4
test eax, eax
mov byte [esp], 0
je 0x100c5875
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp byte [esp], 0
je 0x100c5875
lea edx, [esp]
push edx
call dword [0x1011c5d4]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.10071fee
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.10071fee
add esp, 0x108
ret
jmp 0x100c5810

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

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [eax + 0x2c]
push esi
push edi
mov edi, dword [ebx]
mov esi, dword [edi + 0x1a4]
test esi, esi
jne 0x100c7a59
mov esi, dword [eax + 0x28]
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
push ecx
push edx
call fcn.100b2aa0
push edx
push eax
call fcn.100b2ad0
add esp, 0x10
sub esi, eax
cmp dword [edi + 0x19c], 0
je 0x100c7aa6
mov eax, dword [ebx + 0x124]
mov ecx, dword [ebx + 0x120]
push eax
push ecx
call fcn.100b2aa0
push edx
push eax
call fcn.100b2ad0
mov ecx, dword [edi + 0x19c]
sub ecx, eax
add esp, 0x10
cmp esi, ecx
mov eax, ecx
jge 0x100c7aa8
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x100c8400
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push edi
push eax
call dword [0x1011c5c8]
mov edi, eax
add esp, 4
test edi, edi
jne 0x100c8425
pop edi
pop esi
pop ecx
ret
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov edx, dword [esi + 0xc]
push ebx
add edx, eax
push ebp
mov ebp, dword [esp + 0x20]
mov dword [edi + 8], edx
cmp ebp, dword [esi + 0x10]
jbe 0x100c846c
push eax
mov eax, dword [esi]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push ebp
push ecx
push edx
call eax
mov ebx, dword [edi + 8]
mov ecx, dword [edi + 4]
add ebx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
push ebx
call edx
mov ebp, dword [esi + 0x14]
add esp, 0x18
jmp 0x100c8470
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 4]
mov ecx, dword [esi]
push eax
call ecx
mov edx, dword [edi + 8]
mov eax, dword [esi]
push edx
call eax
add esp, 8
test ebp, ebp
mov dword [esp + 0x10], 0
jbe 0x100c84d0
mov dword [esp + 0x10], ebp
mov cl, byte [ebx]
xor cl, 0x36
mov byte [esp + 0x18], cl
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
push 1
lea edx, [esp + 0x1c]
push edx
push eax
call ecx
mov dl, byte [ebx]
xor dl, 0x5c
mov byte [esp + 0x24], dl
mov ecx, dword [edi + 8]
mov edx, dword [esi + 4]
push 1
lea eax, [esp + 0x28]
push eax
push ecx
add ebx, 1
call edx
add esp, 0x18
sub ebp, 1
jne 0x100c8493
mov eax, dword [esp + 0x10]
cmp eax, dword [esi + 0x10]
pop ebp
pop ebx
jae 0x100c8513
jmp 0x100c84e0
mov ecx, dword [edi + 4]
mov edx, dword [esi + 4]
push 1
push 0x101027d4
push ecx
call edx
mov eax, dword [edi + 8]
mov ecx, dword [esi + 4]
push 1
push 0x101027d5
push eax
call ecx
mov eax, dword [esp + 0x20]
add eax, 1
add esp, 0x18
cmp eax, dword [esi + 0x10]
mov dword [esp + 8], eax
jb 0x100c84e0
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x100c8e90
Capabilities:
Get hostname

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push esi
mov byte [esi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
mov byte [esi + edi - 1], 0
jne 0x100c8ec2
push 0x2e
push esi
call fcn.10078cf0
add esp, 8
test eax, eax
je 0x100c8ec0
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
ret
Function at 0x100020d5
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
mov dword [esi + 0x70], 0x100051b0
mov dword [0x10005678], esi
mov dword [esi], 0x84
push esi
mov dword [esi + 0x64], 0x300
call dword [sym.imp.ATL.DLL_AtlModuleInit]
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x1000211f
push 0x10
push dword [ebp + 0x10]
push 0x10005668
call fcn.100028f0
add esp, 0xc
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10]
cmp eax, 1
jbe 0x1000218d
or dword [esi + 0x74], 0xffffffff
add eax, eax
xor ecx, ecx
test eax, 0x80000000
jne 0x10002157
shr dword [esi + 0x74], 1
shl eax, 1
inc ecx
cmp ecx, 0x20
jl 0x10002145
shr dword [esi + 0x74], 1
mov eax, dword [esi + 0x74]
push edi
lea eax, [eax*4 + 4]
push eax
push ebx
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi + 0x78], eax
xor edi, edi
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov ecx, dword [esi + 0x78]
mov dword [ecx + edi*4], eax
inc edi
cmp edi, dword [esi + 0x74]
jbe 0x10002175
pop edi
jmp 0x10002193
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], ebx
pop esi
xor eax, eax
pop ebx
leave
ret 0xc
Function at 0xe22eea
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [esp + 0x38]
push esi
mov esi, dword [esp + 0x34]
push edi
push ebp
push dword [esp + 0x40]
push esi
push edx
push ecx
call fcn.00e338f7
mov dword [esp + 0x38], 0x7494e7
xor edi, edi
mov dword [esp + 0x3c], 0xff0577
add esp, 0x14
mov dword [esp + 0x2c], 0x555382
xor edx, edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x14], 0xe46dce
xor dword [esp + 0x14], 0xc2cbba63
add dword [esp + 0x14], 0xd7e8
xor dword [esp + 0x14], 0xc23db602
mov dword [esp + 0x10], 0x1ac67f
add dword [esp + 0x10], 0xb5ce
xor dword [esp + 0x10], 0xafe3b74d
xor dword [esp + 0x10], 0xaff394c1
mov dword [esp + 0x18], 0xd143cf
xor dword [esp + 0x18], 0xeaed47df
xor dword [esp + 0x18], 0xea31b1f6
mov dword [esp + 0x38], 0xc8b9e0
mov eax, dword [esp + 0x38]
push 0x4f
pop ecx
div ecx
mov dword [esp + 0x38], eax
add dword [esp + 0x38], 0x7f56
xor dword [esp + 0x38], 0x6994a
mov eax, dword [esi]
mov edx, dword [esi + 4]
add esi, 8
xor edx, eax
mov dword [esp + 0x1c], eax
mov eax, edx
mov dword [esp + 0x20], edx
and eax, 0xfffffffc
mov ecx, edx
add eax, 4
mov ebx, edx
and cl, 3
cmovne ebx, eax
mov eax, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push ebx
push ecx
push ecx
call fcn.00e2666a
add esp, 0xc
mov dword [esp + 0x38], eax
test eax, eax
je 0xe2302e
shr ebx, 2
lea ecx, [esi + ebx*4]
xor ebx, ebx
mov edx, ecx
sub edx, esi
add edx, 3
shr edx, 2
cmp esi, ecx
cmova edx, ebx
test edx, edx
je 0xe23023
mov ebx, dword [esp + 0x1c]
mov ecx, eax
sub ecx, esi
mov eax, dword [esi]
xor eax, ebx
inc edi
mov dword [ecx + esi], eax
lea esi, [esi + 4]
cmp edi, edx
jb 0xe23010
mov eax, dword [esp + 0x38]
test ebp, ebp
je 0xe2302e
mov ecx, dword [esp + 0x20]
mov dword [ebp], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0xe231d5
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
push ebx
push esi
mov esi, dword [esp + 0x2c]
push edi
push dword [esp + 0x38]
push dword [esp + 0x38]
push esi
push edx
push ecx
call fcn.00e338f7
and dword [esp + 0x38], 0
lea edi, [esi + 4]
and dword [esp + 0x3c], 0
add esp, 0x14
mov dword [esp + 0x20], 0x275cc1
xor edx, edx
mov dword [esp + 0x14], 0xe4120f
or dword [esp + 0x14], 0x68d1d1ac
xor dword [esp + 0x14], 0x68fb6119
mov dword [esp + 0x10], 0x86282f
shr dword [esp + 0x10], 1
add dword [esp + 0x10], 0x2ae5
imul eax, dword [esp + 0x10], 0x3f
push 0x57
pop ecx
push 0x5e
mov dword [esp + 0x14], eax
xor dword [esp + 0x14], 0x1088f987
mov dword [esp + 0x10], 0xf6a4ea
xor dword [esp + 0x10], 0x115d94e1
mov eax, dword [esp + 0x10]
div ecx
pop ecx
mov dword [esp + 0xc], eax
xor edx, edx
mov eax, dword [esp + 0xc]
div ecx
mov dword [esp + 0xc], eax
xor dword [esp + 0xc], 0xada1d
mov dword [esp + 0x30], 0x3893bb
imul eax, dword [esp + 0x30], 0x1d
mov dword [esp + 0x30], eax
or dword [esp + 0x30], 0xd3dc6da8
shr dword [esp + 0x30], 0xf
xor dword [esp + 0x30], 0x2231d
mov ecx, dword [esi]
mov eax, dword [edi]
add edi, 4
xor eax, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
lea esi, [eax + 1]
mov ecx, esi
mov eax, esi
and eax, 0xfffffffc
add eax, 4
and cl, 3
cmovne esi, eax
mov eax, dword [esp + 0x30]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push esi
push ecx
push ecx
call fcn.00e2666a
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x30], ebx
test ebx, ebx
je 0xe2333f
shr esi, 2
xor eax, eax
push ebp
xor ebp, ebp
mov edx, ebx
lea ecx, [edi + esi*4]
mov esi, ecx
sub esi, edi
add esi, 3
shr esi, 2
cmp edi, ecx
cmova esi, eax
test esi, esi
je 0xe23336
mov ebx, dword [esp + 0x1c]
mov ecx, dword [edi]
lea edi, [edi + 4]
xor ecx, ebx
mov byte [edx], cl
mov eax, ecx
shr eax, 8
lea edx, [edx + 4]
shr ecx, 0x10
mov byte [edx - 3], al
mov byte [edx - 2], cl
shr ecx, 8
inc ebp
mov byte [edx - 1], cl
cmp ebp, esi
jb 0xe2330d
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
pop ebp
mov byte [ebx + eax], 0
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x20
ret