joyce8/EMBER2024-capa huggingface dataset:
Function at 0x546e89
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebx + 0x24]
push esi
mov dword [ebp - 8], edx
push edi
mov ecx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x34]
mov esi, dword [ebx + 0x6c]
sub eax, ecx
sub eax, esi
mov dword [ebp - 4], eax
jne 0x546eb5
test ecx, ecx
jne 0x546ebf
test esi, esi
jne 0x546ebf
mov eax, edx
jmp 0x546f30
cmp eax, 0xffffffff
jne 0x546ebf
push 0xfffffffffffffffe
pop eax
jmp 0x546f30
mov esi, dword [ebx + 0x24]
lea esi, [edx + esi - 0x106]
cmp ecx, esi
jb 0x546f30
mov edi, dword [ebx + 0x30]
mov ecx, edx
mov eax, ecx
shr ecx, 2
lea esi, [edi + edx]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x3c]
sub dword [ebx + 0x68], edx
sub dword [ebx + 0x64], edx
sub dword [ebx + 0x54], edx
lea eax, [eax + ecx*2]
dec eax
dec eax
movzx esi, word [eax]
mov edi, esi
sub edi, edx
cmp esi, edx
sbb esi, esi
not esi
and esi, edi
dec ecx
mov word [eax], si
jne 0x546ef5
mov eax, dword [ebx + 0x38]
mov esi, edx
lea eax, [eax + edx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edi, ecx
sub edi, edx
cmp ecx, edx
sbb ecx, ecx
not ecx
and ecx, edi
dec esi
mov word [eax], cx
jne 0x546f14
mov eax, dword [ebp - 4]
add eax, edx
mov esi, dword [ebx]
cmp dword [esi + 4], 0
mov dword [ebp - 0xc], esi
je 0x546fdd
mov edi, dword [ebx + 0x6c]
add edi, dword [ebx + 0x64]
mov ecx, dword [esi + 4]
add edi, dword [ebx + 0x30]
cmp ecx, eax
mov dword [ebp - 4], ecx
jbe 0x546f55
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x546f5f
xor ecx, ecx
jmp 0x546f9e
sub ecx, dword [ebp - 4]
mov eax, dword [esi + 0x1c]
mov dword [esi + 4], ecx
cmp dword [eax + 0x18], 0
jne 0x546f81
push dword [ebp - 4]
push dword [esi]
push dword [esi + 0x30]
call fcn.0056d4c3
mov edx, dword [ebp - 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebp - 4]
mov esi, dword [esi]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov eax, dword [ebp - 0xc]
add dword [eax], ecx
add dword [eax + 8], ecx
add dword [ebx + 0x6c], ecx
mov edi, dword [ebx + 0x6c]
cmp edi, 3
jb 0x546fc9
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [ebx + 0x50]
mov dword [ebx + 0x40], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp edi, 0x106
jae 0x546fdd
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x546e97
pop edi
pop esi
leave
ret
Function at 0x575e64
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push ebp
push ebx
push esi
mov dword [esp], eax
test eax, eax
je 0x575f11
mov esi, eax
mov edx, dword [esi]
xor eax, eax
mov byte [edx + 0x16], al
mov ecx, dword [esi]
mov byte [ecx + 0x17], al
mov ebx, dword [esi]
mov byte [ebx + 0x18], al
mov ebp, dword [esi]
mov byte [ebp + 0x19], al
mov ebp, dword [esi + 4]
test ebp, ebp
jle 0x575ebb
mov eax, esi
mov edx, dword [eax]
xor ecx, ecx
xor ebx, ebx
movzx esi, byte [edx + ebx]
mov edi, ecx
shl edi, 8
shr ecx, 0x18
xor ecx, esi
mov eax, ecx
mov ecx, edi
xor ecx, dword [eax*4 + 0x598f80]
inc ebx
cmp ebx, ebp
jl 0x575e9b
jmp 0x575ec1
mov eax, esi
mov edx, dword [eax]
xor ecx, ecx
mov eax, dword [esp]
mov edi, dword [eax + 0xc]
test edi, edi
jle 0x575eef
mov ebp, dword [eax + 8]
xor esi, esi
movzx eax, byte [ebp + esi]
mov ebx, ecx
shl ebx, 8
shr ecx, 0x18
xor ecx, eax
mov eax, ecx
mov ecx, ebx
xor ecx, dword [eax*4 + 0x598f80]
inc esi
cmp esi, edi
jl 0x575ed0
mov esi, dword [esp]
mov byte [edx + 0x16], cl
mov ebp, dword [esi]
mov eax, ecx
shr eax, 8
mov byte [ebp + 0x17], al
mov ebx, dword [esi]
mov edx, ecx
shr edx, 0x10
mov byte [ebx + 0x18], dl
mov edi, dword [esi]
shr ecx, 0x18
mov byte [edi + 0x19], cl
pop ecx
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x100113b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100113dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100113dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10001880
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x1010f16c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
xor edx, edx
push esi
push edi
mov dword [ebp - 0x154], ebx
lea esi, [ebx + 0x20]
mov eax, dword [esi]
lea esi, [esi + 4]
bswap eax
mov dword [ebp + edx*4 - 0x144], eax
inc edx
cmp edx, 0x10
jb 0x100018a3
lea eax, [ebp - 0x13c]
mov edx, 0x40
mov ecx, dword [eax + 0x2c]
lea eax, [eax + 4]
xor ecx, dword [eax + 0x14]
xor ecx, dword [eax - 0xc]
xor ecx, dword [eax - 4]
rol ecx, 1
mov dword [eax + 0x34], ecx
sub edx, 1
jne 0x100018c2
mov eax, dword [ebx]
mov ecx, eax
mov edi, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x148], edx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x14c], eax
nop dword [eax]
mov edx, ecx
mov eax, esi
and eax, edi
rol edx, 5
mov ecx, edi
not ecx
and ecx, ebx
or ecx, eax
mov eax, dword [ebp - 0x148]
add edx, ecx
add edx, dword [ebp + eax*4 - 0x144]
mov eax, dword [ebp - 0x14c]
add eax, 0x5a827999
mov dword [ebp - 0x14c], ebx
add edx, eax
mov ebx, esi
mov eax, dword [ebp - 0x148]
mov esi, edi
mov edi, dword [ebp - 0x150]
inc eax
ror esi, 2
mov ecx, edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x148], eax
cmp eax, 0x14
jb 0x10001910
mov dword [ebp - 0x148], 0x14
mov eax, ebx
rol edx, 5
xor eax, esi
xor eax, edi
add edx, eax
mov eax, dword [ebp - 0x148]
add edx, dword [ebp + eax*4 - 0x144]
mov eax, dword [ebp - 0x14c]
add eax, 0x6ed9eba1
mov dword [ebp - 0x14c], ebx
add edx, eax
mov ebx, esi
mov eax, dword [ebp - 0x148]
mov esi, edi
inc eax
ror esi, 2
mov dword [ebp - 0x148], eax
mov edi, ecx
mov ecx, edx
cmp eax, 0x28
jb 0x10001974
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x148], 0x28
nop dword [eax]
mov ecx, esi
rol edx, 5
or ecx, edi
mov eax, esi
and eax, edi
and ecx, ebx
or ecx, eax
add edx, 0x8f1bbcdc
mov eax, dword [ebp - 0x148]
add edx, dword [ebp - 0x14c]
mov dword [ebp - 0x14c], ebx
mov ebx, esi
mov esi, edi
mov edi, dword [ebp - 0x150]
add ecx, dword [ebp + eax*4 - 0x144]
inc eax
add edx, ecx
ror esi, 2
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x148], eax
cmp eax, 0x3c
jb 0x100019d0
mov dword [ebp - 0x148], 0x3c
nop dword [eax]
mov ecx, dword [ebp - 0x148]
mov eax, ebx
xor eax, esi
rol edx, 5
add edx, dword [ebp - 0x14c]
xor eax, edi
add eax, 0xca62c1d6
mov dword [ebp - 0x14c], ebx
add eax, dword [ebp + ecx*4 - 0x144]
mov ebx, esi
add edx, eax
mov esi, edi
mov edi, dword [ebp - 0x150]
mov eax, ecx
inc eax
ror esi, 2
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x148], eax
cmp eax, 0x50
jb 0x10001a30
mov ecx, dword [ebp - 0x154]
mov eax, dword [ebp - 0x158]
add eax, edx
add dword [ecx + 4], edi
add dword [ecx + 8], esi
add dword [ecx + 0xc], ebx
mov dword [ecx], eax
mov eax, dword [ebp - 0x14c]
add dword [ecx + 0x10], eax
mov dword [ecx + 0x60], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100908e7
mov esp, ebp
pop ebp
ret
Function at 0x10003780
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
mov ebx, ecx
mov esi, edx
push edi
push 0x20
mov edx, 0x20
lea ecx, [ebp - 0x7c]
lea edi, [ebx + 4]
push edi
call fcn.10060570
push dword [ebp + 8]
mov edx, esi
lea ecx, [ebp - 0x7c]
call fcn.10061d60
push 0x20
mov edx, edi
lea ecx, [ebp - 0x7c]
call fcn.10061e10
mov dword [ebx], 0
add esp, 0x10
mov dword [ebx + 0x44], 0x61707865
mov dword [ebx + 0x48], 0x3320646e
mov dword [ebx + 0x4c], 0x79622d32
mov dword [ebx + 0x50], 0x6b206574
mov eax, dword [edi]
mov dword [ebx + 0x54], eax
mov eax, dword [edi + 4]
mov dword [ebx + 0x58], eax
mov eax, dword [edi + 8]
mov dword [ebx + 0x5c], eax
mov eax, dword [edi + 0xc]
mov dword [ebx + 0x60], eax
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x64], eax
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x68], eax
mov eax, dword [edi + 0x18]
mov dword [ebx + 0x6c], eax
mov eax, dword [edi + 0x1c]
pop edi
pop esi
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10003c40
Capabilities:
Generate random numbers via rtlgenrandom
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
cmp byte [edi + 5], 0
jne 0x10003c5c
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x101160c8]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 8], esi
mov word [esi], 0x316
mov byte [esi + 2], 3
mov word [esi + 5], 2
mov word [esi + 9], 0x303
test eax, eax
jne 0x10003ca6
push str.SystemFunction036
push str.ADVAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101160c8], eax
test eax, eax
je 0x10003dde
push 0x20
lea ecx, [esi + 0xb]
push ecx
call eax
test al, al
je 0x10003dde
mov byte [esi + 0x2b], 0x20
lea ecx, [esi + 0x4f]
movups xmm0, xmmword [edi + 0x150]
movzx eax, cx
mov dword [ebp - 0xc], eax
movups xmmword [esi + 0x2c], xmm0
mov dword [ebp - 4], ecx
movups xmm0, xmmword [edi + 0x160]
lea edi, [ecx + 0x10]
movups xmmword [esi + 0x3c], xmm0
mov word [esi + 0x4c], 0x113
mov byte [esi + 0x4e], 0
movq xmm0, qword [0x100f2e10]
movq qword [ecx + 2], xmm0
mov eax, dword [0x100f2e18]
mov dword [ecx + 0xa], eax
mov ax, word [0x100f2e1c]
mov word [ecx + 0xe], ax
movzx eax, cx
mov dword [ebp + 8], eax
mov eax, dword [0x101160c8]
test eax, eax
jne 0x10003d44
push str.SystemFunction036
push str.ADVAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xc]
movzx ecx, cx
mov dword [0x101160c8], eax
mov dword [ebp + 8], ecx
test eax, eax
je 0x10003dde
push 0x20
push edi
call eax
test al, al
je 0x10003dde
and byte [edi + 0x1f], 0x7f
add edi, 0x26
mov eax, dword [0x100f2e08]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x30], eax
movzx eax, word [0x100f2e0c]
mov word [ecx + 0x34], ax
mov ecx, edi
mov eax, dword [ebp - 8]
movzx edx, ax
sub ecx, edx
sub ecx, 5
mov ah, cl
mov al, ch
mov ecx, edi
sub ecx, edx
mov word [esi + 3], ax
sub ecx, 9
mov ah, cl
mov al, ch
mov ecx, edi
sub ecx, dword [ebp + 8]
mov word [esi + 7], ax
sub ecx, 2
mov ah, cl
mov esi, edi
mov al, ch
mov ecx, dword [ebp - 4]
mov word [ecx], ax
mov ecx, dword [ebp - 8]
sub esi, ecx
lea edx, [ecx + 5]
mov ecx, dword [ebp - 0x10]
lea eax, [esi - 5]
add ecx, 0x48
push eax
call fcn.10003780
mov eax, dword [0x100f2e00]
add esp, 4
mov dword [edi], eax
movzx eax, word [0x100f2e04]
mov word [edi + 4], ax
lea eax, [esi + 6]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10004750
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x1010f16c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 1
push 0
mov esi, ecx
movzx eax, word [esi + 0x1b8]
lea edi, [esi + 0x1b8]
push 0
push 0
push 1
push eax
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov ecx, eax
mov dword [esi + 0x18], ecx
cmp ecx, 0xffffffff
jne 0x1000479e
push 0x100f2fb4
call fcn.10056110
add esp, 4
jmp 0x10004846
mov eax, dword [esi + 4]
push 0
push 0
push dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test eax, eax
jne 0x100047c5
push 0x100f2fc4
call fcn.10056110
add esp, 4
jmp 0x10004846
push 1
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 1
push eax
push 1
push 6
push dword [esi + 0x18]
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0
push 0
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 4
push eax
push 4
lea eax, [ebp - 0x64]
push eax
push 0x10
push 0x100f3150
push 0xc8000006
push dword [esi + 0x18]
call dword [sym.imp.WS2_32.dll_WSAIoctl]
push 0x10
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 2
push eax
push dword [esi + 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
movlpd qword [ebp - 0x50], xmm0
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x1000486d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x100f2ffc
call fcn.10056110
add esp, 8
mov eax, dword [esi + 0x18]
cmp eax, 0xffffffff
je 0x10004855
push eax
call dword [sym.imp.KERNEL32.dll_CancelIo]
mov byte [esi + 0xe], 1
mov byte [esi + 0x11], 0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100908e7
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x48]
mov ecx, edi
call fcn.10053840
push eax
push str.Connecting_to_tcp:___s...
call fcn.100561a0
add esp, 8
mov byte [esi + 0xe], 2
lea eax, [esi + 0x1a0]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
push eax
push 0
push 0
push 0
push 0x10
push edi
push dword [esi + 0x18]
mov dword [esi + 0x1b4], esi
call dword [ebp - 0x64]
test eax, eax
jne 0x100048e8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x100048e8
push eax
push str.ConnectEx_failed:__d
call fcn.10056110
add esp, 8
mov ecx, esi
call fcn.10004730
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100908e7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
mov byte [esi + 0xc], 1
xor ecx, ebp
pop esi
call fcn.100908e7
mov esp, ebp
pop ebp
ret
Function at 0x100060b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d41dd
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1010f16c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
lea esi, [edi + 0x1c]
mov dword [ebp - 0x14], esi
push 0x40
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10090929
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 3
lea esi, [edi + 0x24]
mov dword [ebp - 0x14], esi
push 0x40
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10090929
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 6
lea esi, [edi + 0x2c]
mov dword [ebp - 0x14], esi
push 0x40
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10090929
add esp, 0xc
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 9
lea eax, [edi + 0x34]
mov dword [ebp - 0x14], eax
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xa
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0xf
mov byte [eax + 0x1c], 0
mov byte [ebp - 4], 0xc
lea eax, [edi + 0x68]
mov dword [ebp - 0x14], eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10007a20
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d4740
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x1010f16c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x64], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
cmp word [eax], 2
jne 0x10007bf6
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
mov esi, dword [ebx + 0x90]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx + 0x94]
mov dword [ebp - 0x60], eax
cmp esi, eax
je 0x10007af8
nop
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x10007a8a
mov eax, dword [esi]
push 0x28
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.100b1840
lea eax, [ebp - 0x38]
push 0x2f
push eax
call fcn.100a7af0
add esp, 0x14
mov edi, eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x38]
mov byte [edi], 0
push eax
push 2
mov dword [ebp - 0x58], 0
call dword [sym.imp.WS2_32.dll_inet_pton]
push dword [ebp - 0x58]
call dword [sym.imp.WS2_32.dll_ntohl]
lea ecx, [edi + 1]
mov ebx, eax
push ecx
call fcn.100b2554
mov ecx, 0x20
add esp, 4
sub ecx, eax
mov eax, dword [ebp - 0x5c]
shr ebx, cl
shr eax, cl
cmp ebx, eax
je 0x10007ba3
add esi, 0x18
cmp esi, dword [ebp - 0x60]
jne 0x10007a80
mov ebx, dword [ebp - 0x64]
mov ecx, dword [ebx + 0x100]
lea eax, [ebp - 0x68]
push eax
call fcn.10031180
mov dword [ebp - 4], 0
mov ecx, dword [eax]
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 4]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
call fcn.100195d0
mov ecx, eax
mov dword [ebp - 0x40], 0
mov edx, ecx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
lea esi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10007b50
sub edx, esi
push edx
push ecx
lea ecx, [ebp - 0x50]
call fcn.100057f0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x50]
push eax
mov ecx, ebx
call fcn.10007c20
test al, al
sete bl
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x10007bb1
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10007ba7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007c16
jmp 0x10007ba7
mov al, 1
jmp 0x10007bf8
push edx
push ecx
call fcn.1009091b
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x64]
test esi, esi
je 0x10007bf2
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10007bf2
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10007bf2
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov al, bl
jmp 0x10007bf8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100908e7
mov esp, ebp
pop ebp
ret 4
call fcn.100abcda
int3
Function at 0x10011650
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d5464
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1010f16c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.100180e0
mov dword [ebp - 4], 0
lea eax, [esi + 0x18]
lea ecx, [edi + 0x18]
push eax
call fcn.100180e0
mov byte [ebp - 4], 1
lea ecx, [edi + 0x34]
mov ax, word [esi + 0x30]
mov word [edi + 0x30], ax
lea eax, [esi + 0x34]
push eax
call fcn.100180e0
mov byte [ebp - 4], 2
lea eax, [esi + 0x4c]
lea ecx, [edi + 0x4c]
push eax
call fcn.100180e0
mov byte [ebp - 4], 3
lea eax, [esi + 0x64]
lea ecx, [edi + 0x64]
push eax
call fcn.100180e0
mov byte [ebp - 4], 4
mov eax, dword [esi + 0x7c]
mov dword [edi + 0x7c], eax
mov eax, dword [esi + 0x80]
mov dword [edi + 0x80], eax
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x10015a60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d58e2
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x1010f16c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
push 0
call fcn.1007a8af
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov byte [ebp - 4], 1
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [ebp - 4], 2
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov byte [ebp - 4], 3
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov byte [ebp - 4], 4
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov byte [ebp - 4], 5
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
test eax, eax
je 0x10015b13
push eax
push esi
call fcn.1007a76d
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
lea ecx, [ebp - 0x1c]
call fcn.10015a00
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.10016af0
int3
Function at 0x100195d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d6268
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1010f16c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
lea esi, [ebx + 0xe8]
push esi
mov dword [ebp - 0x18], esi
call fcn.10079ba3
add esp, 4
test eax, eax
je 0x1001961c
push eax
call fcn.10079c5b
add esp, 4
mov dword [ebp - 4], 0
mov edi, dword [ebp + 8]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x150]
and ecx, eax
mov eax, dword [ebx + 0x144]
mov ebx, dword [eax + ecx*8]
lea ecx, [ecx*8 + 4]
mov dword [ebp - 0x14], ecx
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x13c]
nop
cmp ebx, edx
jne 0x10019688
mov ecx, edx
jmp 0x1001969f
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov ecx, dword [esi + 0x144]
mov esi, dword [ebp - 0x18]
mov ecx, dword [edi + ecx]
mov edi, dword [ebp + 8]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x100196bf
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x100196ae
mov eax, dword [eax]
jmp 0x10019680
cmp eax, edx
je 0x100196bf
cmp dword [eax + 0x20], 0x10
lea edi, [eax + 0xc]
jb 0x100196c4
mov edi, dword [edi]
jmp 0x100196c4
mov edi, 0x100f34bc
mov dword [ebp - 4], 0xffffffff
push esi
call fcn.10079bc8
add esp, 4
test eax, eax
je 0x100196e1
push eax
call fcn.10079c5b
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4