joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
mov ecx, 0x457e17ef
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
mov ecx, 0x5ea398b
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x10003368
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x10003377
pop dword [ebp - 0x20]
mov eax, 0xf4256005
sub eax, 0xe4252c8e
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xcaf7294e
sub dword [ebp - 0x30], 0x7ca4e403
mov dword [ebp - 0x2c], 0x100d2ed8
add dword [ebp - 0x2c], 0x22261d6d
mov dword [ebp - 0x28], 0xfd319433
sub dword [ebp - 0x28], 0xb0e55005
mov dword [ebp - 0x24], 0xb6837a3e
sub dword [ebp - 0x24], 0xb6837a3e
lea eax, [ebp - 0x30]
push eax
mov eax, 0x26605808
add eax, 0xe99fe840
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xd5e41f93
add dword [ebp - 0x30], 0x9e8e49c3
mov dword [ebp - 0x2c], 0xc8d40285
sub dword [ebp - 0x2c], 0x8767a110
mov dword [ebp - 0x28], 0x746a2a8f
sub dword [ebp - 0x28], 0x10fabe23
mov dword [ebp - 0x24], 0x8dbe3d97
add dword [ebp - 0x24], 0x7241c269
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x3644b
push 0
call eax
mov ecx, 0x46a6
xor ebx, ebx
add ebx, eax
mov edx, 0x10009600
add edx, dword [ebp - 0x20]
mov edi, 0xf955e1f9
add dword [ebp - 0x10], 0xf5f1bdbb
mov esi, dword [edx]
add dword [ebp - 0x14], eax
xor esi, edi
add dword [ebp - 8], ecx
mov dword [ebx], esi
xor dword [ebp - 0x1c], ecx
add ebx, 0x1aea1b9d
sub ebx, 0x1aea1b99
add edx, 0x2cea5c01
add edx, 0xd315a403
loop 0x10003484
add eax, 0x10d6b
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x100015be
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
lea ebp, [esp - 0xb8]
sub esp, 0x134
mov eax, dword [0x100120b4]
xor eax, ebp
mov dword [ebp + 0xb4], eax
push esi
mov esi, dword [sym.imp.ws2_32.dll_select]
xor ecx, ecx
lea edx, [ebp - 0x7c]
push edx
push ecx
push ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], ecx
lea ecx, [ebp - 0x6c]
lea eax, [edi + 1]
push ecx
push eax
mov byte [ebp - 0x6d], 0
mov dword [ebp - 0x74], 0x1c
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x6c], 1
call esi
test eax, eax
jle 0x10001671
push ebx
mov ebx, dword [sym.imp.ws2_32.dll_recvfrom]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x98]
push eax
push 2
push 1
lea eax, [ebp - 0x6e]
push eax
push edi
call ebx
cmp eax, 0xffffffff
jne 0x10001670
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2746
jne 0x10001670
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x98]
push eax
push 0
push 1
lea eax, [ebp - 0x6e]
push eax
push edi
call ebx
lea eax, [ebp - 0x7c]
push eax
push 0
push 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [edi + 1]
push eax
mov byte [ebp - 0x6d], 1
call esi
test eax, eax
jg 0x10001618
pop ebx
mov ecx, dword [ebp + 0xb4]
mov al, byte [ebp - 0x6d]
xor ecx, ebp
pop esi
call fcn.1000c212
add ebp, 0xb8
leave
ret

Function at 0x100016d6
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
xor edi, edi
push edi
push 2
push 0x17
mov dword [ebp - 8], edi
mov dword [ebp - 4], 1
call dword [sym.imp.ws2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10001715
push str.Socket_creation_failed
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
push eax
push dword [ebp + 8]
call fcn.10008e3f
or eax, 0xffffffff
jmp 0x10001788
push 4
lea eax, [ebp - 8]
push eax
push 0x1b
push 0x29
push esi
call dword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x10001748
push str.Socket_creation_failed
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
push eax
push dword [ebp + 8]
call fcn.10008e3f
push esi
call dword [sym.imp.ws2_32.dll_closesocket]
jmp 0x10001710
push edi
push 1
push esi
call dword [sym.imp.kernel32.dll_SetHandleInformation]
push 4
lea eax, [ebp - 4]
push eax
push 0x20
push 0xffff
push esi
call fcn.10008e3f
push edi
push edi
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push 4
lea eax, [ebp - 4]
push eax
push 0x9800000c
push esi
mov dword [ebp - 4], edi
call dword [sym.imp.ws2_32.dll_WSAIoctl]
mov eax, esi
pop edi
pop esi
leave
ret 0xc
Function at 0x10001814
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100120b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
xor ecx, ecx
inc ecx
push ecx
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push dword [ebp + 0x18]
mov dword [ebp - 0x24], 0x1c
push eax
push esi
call fcn.10008e3f
test eax, eax
jne 0x1000189a
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.ws2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x10001878
push str.connect
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
push eax
push esi
call fcn.10008e3f
jmp 0x1000189a
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 4
lea eax, [ebp - 0x30]
push eax
push 4
lea eax, [ebp - 0x28]
push eax
push 0x9800000c
push dword [ebp + 0x10]
call dword [sym.imp.ws2_32.dll_WSAIoctl]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1000c212
leave
ret 0x14

Function at 0x100018a9
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x100120b4]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x24], 0
push 0x1c
lea eax, [ebp - 0x20]
push 0
push eax
call sub.msvcr100.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.ws2_32.dll_connect]
push 0
push 0
lea eax, [ebp - 0x28]
push eax
push 4
lea eax, [ebp - 0x2c]
push eax
push 4
lea eax, [ebp - 0x24]
push eax
push 0x9800000c
push dword [ebp + 0x10]
call dword [sym.imp.ws2_32.dll_WSAIoctl]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000c212
leave
ret 0xc

Function at 0x1000190c
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100120b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 0x24], 0x1c
call dword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x10001954
push str.JVM_GetSockName
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
push eax
push esi
call fcn.10008e3f
or eax, 0xffffffff
jmp 0x10001962
movzx eax, word [ebp - 0x1e]
push eax
call dword [sym.imp.ws2_32.dll_ntohs]
movzx eax, ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1000c212
leave
ret 0xc

Function at 0x10001971
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100120b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 0x24], 0x1c
call dword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x100019b8
push str.Error_getting_socket_name
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
push eax
push esi
call fcn.10008e3f
xor eax, eax
jmp 0x100019c6
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.10008e3f
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1000c212
leave
ret 0xc
Function at 0x10001ced
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x7ac]
sub esp, 0x82c
mov eax, dword [0x100120b4]
xor eax, ebp
mov dword [ebp + 0x7a8], eax
cmp byte [ebp + 0x7d4], 0
mov eax, dword [ebp + 0x7c0]
push esi
mov esi, dword [ebp + 0x7b4]
lea ecx, [ebp - 0x74]
push edi
mov edi, dword [ebp + 0x7c8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x7cc]
mov dword [ebp - 0x78], 0x1c
mov dword [ebp - 0x7c], ecx
je 0x10001d45
and dword [ebp - 0x7c], 0
and dword [ebp - 0x78], 0
jmp 0x10001d64
push 1
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x74]
push ecx
push dword [ebp + 0x7d0]
push eax
push esi
call fcn.10008e3f
test eax, eax
jne 0x10001de8
push ebx
cmp edi, 0x800
jle 0x10001d93
mov eax, 0x10000
cmp edi, eax
jle 0x10001d78
mov edi, eax
push edi
call dword [sym.imp.msvcr100.dll_malloc]
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x10001d96
push str.Native_heap_allocation_failed
push esi
call sub.java.dll__JNU_ThrowOutOfMemoryError_8
jmp 0x10001de7
lea ebx, [ebp - 0x58]
mov eax, dword [esi]
push ebx
push edi
push dword [ebp + 0x7c4]
push dword [ebp - 0x80]
push esi
call dword [eax + 0x320]
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push 0
push edi
push ebx
push dword [ebp + 0x7bc]
call dword [sym.imp.ws2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x10001dd7
push str.Datagram_send_failed
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
push eax
push esi
call fcn.10008e3f
cmp edi, 0x800
jle 0x10001de7
push ebx
call dword [sym.imp.msvcr100.dll_free]
pop ecx
pop ebx
mov ecx, dword [ebp + 0x7a8]
pop edi
xor ecx, ebp
pop esi
call fcn.1000c212
add ebp, 0x7ac
leave
ret 0x24

Function at 0x10001f9e
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
xor eax, eax
cmp byte [ebp + 0x10], al
push esi
sete al
push 0
inc eax
push eax
push 0x17
call fcn.1000b86d
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
jne 0x10001fdc
push str.create
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
push eax
push dword [ebp + 8]
call fcn.10008e3f
or eax, esi
jmp 0x10002013
push 4
lea eax, [ebp - 4]
push eax
push 0x1b
push 0x29
push esi
call dword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x10002006
push str.create
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
push eax
push dword [ebp + 8]
call fcn.10008e3f
push 0
push 1
push esi
call dword [sym.imp.kernel32.dll_SetHandleInformation]
mov eax, esi
pop esi
leave
ret 0x10
Function at 0x10002086
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100120b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push 1
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push dword [ebp + 0x18]
mov dword [ebp - 0x24], 0x1c
push eax
push esi
call fcn.10008e3f
test eax, eax
jne 0x10002108
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.ws2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1000210b
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x100020e3
push 0xfffffffffffffffe
pop eax
jmp 0x1000210b
cmp eax, 0x2741
jne 0x100020fc
push str.connect:_Address_is_invalid_on_local_machine__or_port_is_not_valid_on_remote_machine
push str.java_net_ConnectException
push esi
call sub.java.dll__JNU_ThrowByName_12
jmp 0x10002108
push str.connect
push eax
push esi
call fcn.10008e3f
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1000c212
leave
ret 0x14

Function at 0x1000211a
Capabilities:
Get socket status

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x100120b4]
xor eax, ebp
mov dword [ebp + 0x198], eax
xor eax, eax
inc eax
mov dword [ebp - 0x70], eax
mov dword [ebp + 0x94], eax
mov eax, dword [ebp + 0x1b0]
cdq
mov ecx, 0x3e8
idiv ecx
push ebx
push esi
mov esi, dword [ebp + 0x1ac]
push edi
mov edi, dword [ebp + 0x1a4]
xor ebx, ebx
mov dword [ebp - 0x78], 4
mov dword [ebp - 0x6c], esi
mov dword [ebp + 0x98], esi
mov dword [ebp - 0x80], eax
imul edx, edx, 0x3e8
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x94]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
lea eax, [esi + 1]
push eax
mov dword [ebp - 0x7c], edx
call dword [sym.imp.ws2_32.dll_select]
mov dword [ebp - 0x74], eax
cmp eax, ebx
jne 0x100021b8
push str.connect_timed_out
push str.java_net_SocketTimeoutException
push edi
call sub.java.dll__JNU_ThrowByName_12
push 2
push esi
call dword [sym.imp.ws2_32.dll_shutdown]
jmp 0x1000221b
lea eax, [ebp + 0x94]
push eax
push esi
call sub.ws2_32.dll___WSAFDIsSet
test eax, eax
je 0x1000221b
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
push 0x1007
push 0xffff
push esi
call fcn.10008e3f
cmp dword [ebp - 0x74], 0
jne 0x1000220d
push 0
call dword [sym.imp.kernel32.dll_Sleep]
inc ebx
cmp ebx, 3
jl 0x100021c9
cmp dword [ebp - 0x74], 0
jne 0x1000220d
push str.Unable_to_establish_connection
push str.java_net_SocketException
push edi
call sub.java.dll__JNU_ThrowByName_12
jmp 0x1000221b
push str.connect
push dword [ebp - 0x74]
push edi
call fcn.10008e3f
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000c212
add ebp, 0x19c
leave
ret 0x10
Function at 0x10002235
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100120b4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 0x24], 0x1c
call dword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x1000229c
push esi
mov esi, dword [sym.imp.ws2_32.dll_WSAGetLastError]
call esi
cmp eax, 0x2736
jne 0x10002288
push str.Socket_closed
push str.java_net_SocketException
push edi
call sub.java.dll__JNU_ThrowByName_12
jmp 0x10002296
push str.getsockname_failed
call esi
push eax
push edi
call fcn.10008e3f
or eax, 0xffffffff
pop esi
jmp 0x100022aa
movzx eax, word [ebp - 0x1e]
push eax
call dword [sym.imp.ws2_32.dll_ntohs]
movzx eax, ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1000c212
leave
ret 0xc

Function at 0x100022b9
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100120b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 0x24], 0x1c
call dword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x10002302
push str.Error_getting_socket_name
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
push eax
push esi
call fcn.10008e3f
jmp 0x10002343
push ebx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.10008e3f
mov ebx, eax
test ebx, ebx
je 0x10002342
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x7c]
mov ecx, dword [esi]
push str.Ljava_net_InetAddress_
push str.addr
push eax
push esi
call dword [ecx + 0x178]
test eax, eax
je 0x10002342
mov ecx, dword [esi]
push ebx
push eax
push edi
push esi
call dword [ecx + 0x1a0]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1000c212
leave
ret 0x10

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

Disassembly:
push 1
push 1
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
call dword [sym.imp.ws2_32.dll_send]
cmp eax, 0xffffffff
jne 0x1000266b
push str.send
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
push eax
push dword [esp + 0xc]
call fcn.10008e3f
jmp 0x10002680
cmp eax, 0xfffffffe
jne 0x10002680
push 0
push str.java_io_InterruptedIOException
push dword [esp + 0xc]
call sub.java.dll__JNU_ThrowByName_12
ret 0x10

Function at 0x100027a3
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x100120b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.ws2_32.dll_gethostname]
cmp eax, 0xffffffff
jne 0x100027e4
lea eax, [ebp - 0x104]
push str.localhost
push eax
call sub.msvcr100.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp - 0x104]
push eax
push esi
call sub.java.dll__JNU_NewStringPlatform_8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1000c212
leave
ret 8
Function at 0x10003578
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x448
mov eax, dword [0x100120b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x448], ebx
call dword [eax + 0x2ac]
lea ecx, [ebp - 0x14]
cmp eax, 4
mov eax, dword [edi]
push ecx
jne 0x1000360e
push 4
push ebx
push esi
push edi
call dword [eax + 0x320]
movsx esi, byte [ebp - 0x14]
movzx eax, byte [ebp - 0x13]
shl esi, 8
or esi, eax
movzx eax, byte [ebp - 0x12]
shl esi, 8
or esi, eax
movzx eax, byte [ebp - 0x11]
shl esi, 8
push 0x10
or esi, eax
lea eax, [ebp - 0x428]
push ebx
push eax
call sub.msvcr100.dll_memset
add esp, 0xc
push esi
call dword [sym.imp.ws2_32.dll_htonl]
push 2
mov dword [ebp - 0x424], eax
pop eax
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x428]
push 0x10
jmp 0x1000364f
push 0x10
push ebx
push esi
push edi
call dword [eax + 0x320]
push 0x1c
lea eax, [ebp - 0x444]
push ebx
push eax
call sub.msvcr100.dll_memset
push 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x43c]
push eax
call sub.msvcr100.dll_memcpy
add esp, 0x18
push 0x17
pop eax
mov word [ebp - 0x444], ax
lea eax, [ebp - 0x444]
push 0x1c
pop ecx
push 4
push ebx
push ebx
push 0x401
lea edx, [ebp - 0x418]
push edx
push ecx
push eax
call dword [sym.imp.ws2_32.dll_getnameinfo]
test eax, eax
jne 0x1000368a
mov eax, dword [edi]
lea ecx, [ebp - 0x418]
push ecx
push edi
call dword [eax + 0x29c]
mov dword [ebp - 0x448], eax
cmp eax, ebx
jne 0x10003696
xor eax, eax
jmp 0x1000369c
push ebx
push str.java_net_UnknownHostException
push edi
call sub.java.dll__JNU_ThrowByName_12
mov eax, dword [ebp - 0x448]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000c212
leave
ret 0xc
Function at 0x10003c67
Capabilities:
Get outbound credentials handle via credssp

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
xor ebx, ebx
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
cmp dword [ebp + 0x10], ebx
je 0x10003c95
lea eax, [ebp - 1]
push eax
push dword [ebp + 0x10]
push edi
call sub.java.dll__JNU_GetStringPlatformChars_12
mov esi, eax
cmp esi, ebx
je 0x10003cbc
cmp dword [ebp + 0x14], ebx
je 0x10003cc7
lea eax, [ebp - 1]
push eax
push dword [ebp + 0x14]
push edi
call sub.java.dll__JNU_GetStringPlatformChars_12
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x10003cc7
cmp esi, ebx
je 0x10003cbc
push esi
push dword [ebp + 0x10]
push edi
call sub.java.dll__JNU_ReleaseStringPlatformChars_12
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
leave
ret 0x14
cmp dword [ebp + 0x18], ebx
je 0x10003cfb
lea eax, [ebp - 1]
push eax
push dword [ebp + 0x18]
push edi
call sub.java.dll__JNU_GetStringPlatformChars_12
mov dword [ebp - 0xc], eax
cmp eax, ebx
jne 0x10003cfb
cmp esi, ebx
je 0x10003cee
push esi
push dword [ebp + 0x10]
push edi
call sub.java.dll__JNU_ReleaseStringPlatformChars_12
cmp dword [ebp - 8], ebx
je 0x10003cbc
push dword [ebp - 8]
push dword [ebp + 0x14]
jmp 0x10003cb6
push 8
call dword [sym.imp.msvcr100.dll_malloc]
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, ebx
jne 0x10003d31
push str.native_memory_allocation_failed
push edi
call sub.java.dll__JNU_ThrowOutOfMemoryError_8
cmp esi, ebx
je 0x10003d24
push esi
push dword [ebp + 0x10]
push edi
call sub.java.dll__JNU_ReleaseStringPlatformChars_12
cmp dword [ebp - 0xc], ebx
je 0x10003cee
push dword [ebp - 0xc]
push dword [ebp + 0x18]
jmp 0x10003ce8
cmp esi, ebx
jne 0x10003d43
cmp dword [ebp - 0xc], ebx
jne 0x10003d43
cmp dword [ebp - 8], ebx
jne 0x10003d43
xor edi, edi
jmp 0x10003d94
push 0x1c
lea edi, [ebp - 0x34]
mov eax, edi
push ebx
push eax
call sub.msvcr100.dll_memset
add esp, 0xc
cmp esi, ebx
je 0x10003d65
push esi
mov dword [ebp - 0x34], esi
call sub.msvcr100.dll_strlen
pop ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x10003d79
push eax
mov dword [ebp - 0x24], eax
call sub.msvcr100.dll_strlen
pop ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x10003d8d
push eax
mov dword [ebp - 0x2c], eax
call sub.msvcr100.dll_strlen
pop ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 1
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
push ebx
push ebx
push edi
push ebx
push 2
push str.NTLM
push ebx
call sub.Secur32.dll_AcquireCredentialsHandleA
mov edi, eax
cmp esi, ebx
je 0x10003dbe
push esi
push dword [ebp + 0x10]
push dword [ebp + 8]
call sub.java.dll__JNU_ReleaseStringPlatformChars_12
cmp dword [ebp - 0xc], ebx
je 0x10003dd1
push dword [ebp - 0xc]
push dword [ebp + 0x18]
push dword [ebp + 8]
call sub.java.dll__JNU_ReleaseStringPlatformChars_12
cmp dword [ebp - 8], ebx
je 0x10003de4
push dword [ebp - 8]
push dword [ebp + 0x14]
push dword [ebp + 8]
call sub.java.dll__JNU_ReleaseStringPlatformChars_12
cmp edi, ebx
jne 0x10003cbc
mov eax, dword [ebp - 0x10]
cdq
jmp 0x10003cc0
Function at 0x10006094
Capabilities:
Monitor local ipv4 address changes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
and dword [ebp - 0xc], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
call sub.IPHLPAPI.DLL_NotifyAddrChange
cmp eax, 0x3e5
jne 0x100060cd
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_GetOverlappedResult]
test eax, eax
je 0x100060cd
xor eax, eax
jmp 0x100060d0
or eax, 0xffffffff
leave
ret 8