joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10b6da00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10bc94b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x20]
push ebp
mov ecx, dword [eax]
push esi
push edi
mov edi, dword [esp + 0x24]
lea ebp, [ebx + 8]
lea edx, [esp + 0x28]
lea esi, [edi + 0xc]
mov dword [edi], ecx
mov dword [edi + 8], 0x10be1e50
push edx
mov ecx, ebp
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], esi
mov dword [esi + 0xc], 0x10be1e48
call fcn.10b3af70
push 0
push eax
mov ecx, esi
call fcn.10b3a040
push 0x18
call fcn.10a714d0
mov dword [esi], eax
xor ecx, ecx
mov dword [esi + 4], ecx
mov dl, byte [ebp + 8]
mov byte [esi + 8], dl
mov edx, dword [ebp]
mov dword [esp + 0x1c], ecx
cmp dword [edx + 4], ecx
mov byte [eax], cl
jne 0x10b6da93
mov eax, dword [esi]
mov dword [eax + 4], ecx
mov eax, dword [esi]
mov dword [eax + 8], eax
mov eax, dword [esi]
mov dword [eax + 0xc], eax
jmp 0x10b6dadb
mov ecx, dword [ebp]
mov ebx, dword [esi]
push ebx
mov edx, dword [ecx + 4]
mov ecx, esi
push edx
call fcn.10b6dc60
mov dword [ebx + 4], eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10b6dabc
mov eax, ecx
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10b6dab3
mov dword [edx + 8], eax
mov edx, dword [esi]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x10b6dad4
mov ecx, eax
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x10b6dacb
mov ebx, dword [esp + 0x2c]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp + 4]
lea ecx, [ebx + 0x18]
mov dword [esi + 4], eax
lea edx, [edi + 0x1c]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [ebx + 0x28]
mov dword [edi + 0x2c], edx
mov eax, dword [ebx + 0x2c]
mov dword [edi + 0x30], eax
mov ecx, dword [ebx + 0x30]
mov dword [edi + 0x34], ecx
mov ecx, dword [esp + 0x14]
mov dword [edi + 4], vtable.clPlayerResults.0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x10b6db30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10bc94d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [esp], 0
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
push edi
test eax, eax
mov ebx, ecx
je 0x10b6db63
mov dword [ebx + 4], 0x10be1e50
mov ebp, dword [esp + 0x24]
lea esi, [ebx + 8]
lea eax, [esp + 0x28]
mov dword [esp + 0x10], esi
lea edi, [ebp + 8]
push eax
mov ecx, edi
mov dword [esi + 0xc], 0x10be1e48
call fcn.10b3af70
push 0
push eax
mov ecx, esi
call fcn.10b3a040
push 0x18
call fcn.10a714d0
mov dword [esi], eax
xor ecx, ecx
mov dword [esi + 4], ecx
mov dl, byte [edi + 8]
mov byte [esi + 8], dl
mov edx, dword [edi]
mov dword [esp + 0x1c], ecx
cmp dword [edx + 4], ecx
mov byte [eax], cl
jne 0x10b6dbc0
mov eax, dword [esi]
mov dword [eax + 4], ecx
mov eax, dword [esi]
mov dword [eax + 8], eax
mov eax, dword [esi]
mov dword [eax + 0xc], eax
jmp 0x10b6dc07
mov ecx, dword [edi]
mov ebp, dword [esi]
push ebp
mov edx, dword [ecx + 4]
mov ecx, esi
push edx
call fcn.10b6dc60
mov dword [ebp + 4], eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10b6dbe8
mov eax, ecx
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10b6dbdf
mov dword [edx + 8], eax
mov edx, dword [esi]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x10b6dc00
mov ecx, eax
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x10b6dbf7
mov ebp, dword [esp + 0x24]
mov dword [edx + 0xc], ecx
mov eax, dword [edi + 4]
lea ecx, [ebp + 0x18]
mov dword [esi + 4], eax
lea edx, [ebx + 0x18]
mov eax, dword [ecx]
pop edi
mov dword [edx], eax
pop esi
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp + 0x28]
mov dword [ebx + 0x28], edx
mov eax, dword [ebp + 0x2c]
mov dword [ebx + 0x2c], eax
mov ecx, dword [ebp + 0x30]
mov dword [ebx + 0x30], ecx
mov ecx, dword [esp + 0xc]
mov dword [ebx], vtable.clPlayerResults.0
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x10b6ea00
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x190
lea eax, [esp]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x10b6ea22
xor al, al
add esp, 0x190
ret 4
mov eax, dword [esp + reloc.ole32.dll_CoCreateGuid]
test eax, eax
je 0x10b6ea66
push esi
push edi
mov edi, 0x10c74eec
mov esi, eax
mov ecx, 1
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
pop edi
pop esi
je 0x10b6ea66
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10b6ea17
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov al, 1
mov edx, dword [ecx]
mov dword [0x10c75038], edx
add esp, 0x190
ret 4
mov dword [0x10c75038], 0
mov al, 1
add esp, 0x190
ret 4
Function at 0x10b6ed20
Capabilities:
Resolve dns

Disassembly:
mov ecx, dword [esp + 4]
push esi
lea eax, [esp + 8]
push edi
push eax
push ecx
call fcn.10b6ed00
push 0x10
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov dword [edx], 0x10
call fcn.10a714d0
xor ecx, ecx
mov esi, dword [esp + 0x18]
test edi, edi
mov dword [esi], eax
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
jne 0x10b6ed8a
mov edx, dword [esi]
mov eax, dword [0x10c75038]
movsx cx, byte [esp + 0xc]
mov dword [edx + 4], eax
mov edx, dword [esi]
mov eax, dword [esp + 0x14]
push eax
mov word [edx], cx
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esi]
pop edi
pop esi
mov word [ecx + 2], ax
mov al, 1
ret 0x14
movsx dx, byte [esp + 0xc]
mov eax, dword [esi]
mov ecx, dword [esp + 0x14]
push ecx
mov word [eax], dx
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esi]
push edi
mov word [edx + 2], ax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10b6edc4
mov eax, dword [eax + 0xc]
mov edx, dword [esi]
pop edi
pop esi
mov ecx, dword [eax]
mov eax, dword [ecx]
mov dword [edx + 4], eax
mov al, 1
ret 0x14
mov ecx, dword [esi]
push ecx
call fcn.10a71510
pop edi
xor al, al
pop esi
ret 0x14

Function at 0x10b6ee50
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x84
push esi
mov esi, dword [esp + 0x8c]
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10b6eeaa
mov eax, dword [eax + 0xc]
push 0x81
mov ecx, dword [eax]
mov eax, dword [ecx]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
lea edx, [esp + 8]
push eax
push edx
call sub.MSVCR70.dll_strncpy
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
pop esi
mov ecx, dword [esp + 0x8c]
mov dword [ecx], eax
mov al, 1
add esp, 0x84
ret 8
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, reloc.ole32.dll_CoCreateGuid
pop esi
mov edx, dword [esp + 0x8c]
mov dword [edx], eax
setne al
add esp, 0x84
ret 8

Function at 0x10b6eed0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push esi
push 0
push 1
push 2
mov esi, ecx
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, reloc.ole32.dll_CoCreateGuid
mov dword [esi + 4], eax
jne 0x10b6eef4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 8], eax
xor al, al
pop esi
ret
mov dword [esi + 8], 0
mov byte [esi + 0xc], 1
mov al, 1
pop esi
ret

Function at 0x10b6ef10
Capabilities:
Create udp socket

Disassembly:
push esi
push 0
push 2
push 2
mov esi, ecx
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, reloc.ole32.dll_CoCreateGuid
mov dword [esi + 4], eax
jne 0x10b6ef34
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 8], eax
xor al, al
pop esi
ret
mov dword [esi + 8], 0
mov byte [esi + 0xc], 2
mov al, 1
pop esi
ret
Function at 0x10b6efb0
Capabilities:
Connect socket
Get socket status

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x124
lea eax, [esp + 0x10]
push esi
mov esi, ecx
mov ecx, dword [esp + reloc.ole32.dll_CoCreateGuid]
push edi
push eax
push ecx
push edx
call fcn.10b6ede0
test al, al
je 0x10b6f0a9
mov ecx, dword [esi + 4]
lea eax, [esp + 0x18]
push 0x10
push eax
push ecx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x10b6f083
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call edi
cmp eax, 0x2733
mov dword [esi + 8], eax
jne 0x10b6f0b2
mov edx, dword [esi + 4]
mov eax, dword [0x10c3b0e8]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], edx
push ecx
lea edx, [esp + 0x2c]
push 0
push edx
push 0
push 0x40
mov dword [esp + 0x3c], 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 1
jne 0x10b6f097
mov ecx, dword [esi + 4]
lea eax, [esp + 0x28]
push eax
push ecx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x10b6f097
mov ecx, dword [esi + 4]
lea edx, [esp + 0xc]
lea eax, [esp + 0xb]
push edx
push eax
push 0x1007
push 0xffff
push ecx
mov dword [esp + 0x20], 4
call dword [sym.imp.WS2_32.dll_getsockopt]
mov al, byte [esp + 0xb]
test al, al
jne 0x10b6f097
mov dword [esi + 8], 0
pop edi
mov al, 1
pop esi
add esp, 0x124
ret 8
call edi
mov dword [esi + 8], eax
pop edi
xor al, al
pop esi
add esp, 0x124
ret 8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 8], eax
pop edi
xor al, al
pop esi
add esp, 0x124
ret 8

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

Disassembly:
push ecx
mov edx, dword [esp + 0x14]
push ebx
push esi
mov esi, ecx
lea eax, [esp + 0x1c]
push edi
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov cl, byte [esi + 0xc]
push edx
push eax
push ecx
mov dword [esp + 0x20], 0
call fcn.10b6ed20
test al, al
je 0x10b6f17e
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esi + 4]
push ebx
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_sendto]
push ebx
mov edi, eax
call fcn.10a71510
cmp edi, reloc.ole32.dll_CoCreateGuid
jne 0x10b6f16e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 8], eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret 0x10
mov eax, edi
mov dword [esi + 8], 0
pop edi
pop esi
pop ebx
pop ecx
ret 0x10
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 8], eax
pop edi
pop esi
or eax, reloc.ole32.dll_CoCreateGuid
pop ebx
pop ecx
ret 0x10
Function at 0x10b6f1a0
Capabilities:
Send data
Send data on socket

Disassembly:
mov edx, dword [esp + 0xc]
sub esp, 0x10
lea eax, [esp]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x28]
push eax
push ecx
push edx
call fcn.10b6ede0
test al, al
je 0x10b6f207
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 8]
push 0x10
push eax
mov eax, dword [edi + 4]
push 0
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
mov esi, eax
cmp esi, reloc.ole32.dll_CoCreateGuid
jne 0x10b6f1f6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi + 8], eax
mov eax, esi
pop edi
pop esi
add esp, 0x10
ret 0x10
mov dword [edi + 8], 0
mov eax, esi
pop edi
pop esi
add esp, 0x10
ret 0x10
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi + 8], eax
pop edi
or eax, reloc.ole32.dll_CoCreateGuid
pop esi
add esp, 0x10
ret 0x10
Function at 0x10b6f270
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x20]
push ebp
push esi
mov edx, dword [ebx]
mov ebp, dword [sym.imp.WS2_32.dll_recvfrom]
mov esi, ecx
lea eax, [esp + 0xc]
push edi
mov edi, dword [esp + 0x30]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esi + 4]
push ecx
push 2
push edi
push edx
push eax
mov dword [esp + 0x28], 0x10
mov dword [esp + 0x2c], 0
call ebp
cmp eax, reloc.ole32.dll_CoCreateGuid
jne 0x10b6f395
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2738
mov dword [esi + 8], eax
jne 0x10b6f315
mov eax, dword [esp + 0x14]
cmp eax, 0x19
jge 0x10b6f315
mov edx, eax
mov eax, dword [ebx]
inc edx
add edi, edi
test eax, eax
mov dword [esp + 0x14], edx
je 0x10b6f2e4
push eax
call fcn.10a71510
push edi
call fcn.10a714d0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push edx
push 2
push edi
mov dword [ebx], eax
push eax
mov eax, dword [esi + 4]
push eax
call ebp
cmp eax, reloc.ole32.dll_CoCreateGuid
jne 0x10b6f32d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2738
mov dword [esi + 8], eax
je 0x10b6f2c6
cmp dword [esi + 8], reloc.ole32.dll_CoCreateGuid
jne 0x10b6f388
xor eax, eax
pop edi
mov dword [esi + 8], eax
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10
mov eax, dword [ebx]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 4]
push edx
push 0
push edi
push eax
push ecx
call ebp
mov edx, dword [esp + 0x1c]
push 0x81
push edx
mov edi, eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
mov eax, dword [esp + 0x3c]
push eax
call sub.MSVCR70.dll_strncpy
mov ecx, dword [esp + 0x26]
add esp, 0xc
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
mov edx, dword [esp + 0x38]
mov word [edx], ax
mov eax, edi
mov dword [esi + 8], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10
pop edi
pop esi
pop ebp
or eax, reloc.ole32.dll_CoCreateGuid
pop ebx
add esp, 0x18
ret 0x10
mov edx, dword [ebx]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esi + 4]
push ecx
push 0
push edi
push edx
push eax
call ebp
mov ecx, dword [esp + 0x1c]
push 0x81
push ecx
mov edi, eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, dword [esp + 0x38]
push eax
push edx
call sub.MSVCR70.dll_strncpy
mov eax, dword [esp + 0x26]
add esp, 0xc
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [esp + 0x38]
mov word [ecx], ax
mov eax, edi
mov dword [esi + 8], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10
Function at 0x10b6f550
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x14
mov dl, byte [esp + 0x28]
push esi
neg dl
mov esi, ecx
lea eax, [esp + 4]
sbb edx, edx
push edi
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x28]
and edx, 2
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
mov dword [esp + 0x20], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
mov edi, eax
cmp edi, reloc.ole32.dll_CoCreateGuid
jne 0x10b6f5b1
cmp dword [esi + 8], reloc.ole32.dll_CoCreateGuid
jne 0x10b6f5a6
xor eax, eax
pop edi
mov dword [esi + 8], eax
pop esi
add esp, 0x14
ret 0x14
pop edi
or eax, reloc.ole32.dll_CoCreateGuid
pop esi
add esp, 0x14
ret 0x14
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0xe]
mov ecx, dword [esp + 0x10]
push edx
mov dword [eax], ecx
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [esp + 0x2c]
mov word [ecx], ax
mov eax, edi
mov dword [esi + 8], 0
pop edi
pop esi
add esp, 0x14
ret 0x14

Function at 0x10b71aa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10bc997b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
xor ebx, ebx
mov edi, 1
mov esi, ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], 0x10be1f48
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], vtable.clData.0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], ebx
call fcn.10b72420
mov dword [esp + 0x10], vtable.clDataStr.0
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x38], edi
call fcn.10b71680
cmp al, bl
je 0x10b71b60
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x38]
push esi
push edx
push edi
call sub.MSVCR70.dll_strncpy
mov al, byte [edi + esi - 1]
add esp, 0xc
cmp al, bl
je 0x10b71b2f
mov byte [edi + esi - 1], bl
jmp 0x10b71b31
mov bl, 1
mov dword [esp + 0x10], vtable.clDataStr.0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 2
call fcn.10bbe020
pop edi
mov al, bl
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
mov dword [esp + 0x10], vtable.clDataStr.0
lea eax, [esp + 0x1c]
mov dword [esp + 0x30], 3
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 4
call fcn.10bbe020
mov ecx, dword [esp + 0x28]
pop edi
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
Function at 0x10b72180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10bc9a38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
push edi
mov dword [esp + 8], 0
mov edi, dword [esp + 0x3c]
test edi, edi
mov esi, ecx
jne 0x10b721c1
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 8
push ebx
mov ebx, 2
mov dword [esp + 0x18], 0x10be16b0
mov dword [esp + 0x2c], 0x10be16a8
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], vtable.clData.0
lea eax, [esp + 0x40]
lea ecx, [esp + 0x20]
push eax
mov dword [esp + 0x3c], 1
call fcn.10b723d0
mov dword [esp + 0x14], vtable.clDataBin.0
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x38], ebx
push ecx
push edi
lea ecx, [esp + 0x1c]
call fcn.10b72ef0
push 1
lea ecx, [esp + 0x10]
call fcn.10b730a0
lea edx, [esp + 0x14]
push esi
push edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 3
call fcn.10b73100
lea ecx, [esp + 0xc]
mov bl, al
mov byte [esp + 0x38], 2
call fcn.10b730f0
mov dword [esp + 0x14], vtable.clDataBin.0
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 4
call fcn.10bbff70
mov ecx, dword [esp + 0x30]
mov al, bl
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 8

Function at 0x10b74920
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10bc9c60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov esi, ecx
xor eax, eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
push eax
lea eax, [esp + 0xf]
push eax
call fcn.10b3a040
mov edx, dword [esp + 0x28]
or ecx, reloc.ole32.dll_CoCreateGuid
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov al, byte [esp + 0x30]
mov byte [esp + 0x20], 1
not ecx
dec ecx
mov byte [esp + 0x28], al
lea eax, [esp + 0x28]
add ecx, edx
push eax
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.10b6c160
lea ecx, [esp + 0xc]
add esi, 4
push ecx
mov ecx, esi
mov byte [esp + 0x24], 2
call fcn.10b762e0
mov edi, eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
sub edx, eax
lea ecx, [esp + 0x14]
push edx
push eax
mov byte [esp + 0x28], 3
call fcn.10bc0f80
mov eax, dword [esi]
mov dword [esp + 0x20], reloc.ole32.dll_CoCreateGuid
cmp edi, eax
mov eax, dword [esp + 0x30]
je 0x10b749d8
mov ecx, dword [esp + 0x2c]
push eax
push ecx
mov ecx, dword [edi + 0x1c]
call fcn.10b741e0
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x10b836df
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x10be4e88
call fcn.10b83d30
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x10b8371c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], reloc.ole32.dll_CoCreateGuid
jne 0x10b8371c
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x10b83734
cmp eax, 0x20b
je 0x10b83721
mov dword [ebp - 0x1c], ebx
jmp 0x10b83748
cmp dword [ecx + 0x84], 0xe
jbe 0x10b8371c
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x10b83742
cmp dword [ecx + 0x74], 0xe
jbe 0x10b8371c
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR70.dll___set_app_type]
pop ecx
or dword [0x10d51bc8], 0xffffffff
or dword [0x10d51bcc], 0xffffffff
call dword [sym.imp.MSVCR70.dll___p__fmode]
mov ecx, dword [0x10c75050]
mov dword [eax], ecx
call dword [sym.imp.MSVCR70.dll___p__commode]
mov ecx, dword [0x10c7504c]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR70.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x10d51bc4], eax
call fcn.10b83c8a
call fcn.10b83d2a
cmp dword [0x10c3bf70], ebx
jne 0x10b837a8
push fcn.10b83d2a
call dword [sym.imp.MSVCR70.dll___setusermatherr]
pop ecx
call fcn.10b83d18
push 0x10c347f0
push 0x10c347ec
call sub.MSVCR70.dll__initterm
push 0x10b83cce
call fcn.10b83676
mov eax, dword [0x10c75048]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x10c75044]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR70.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x30], eax
cmp eax, ebx
jge 0x10b837fc
push 8
call sub.MSVCR70.dll__amsg_exit
pop ecx
push 0x10c347e8
push section..data
call sub.MSVCR70.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR70.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
cmp byte [esi], 0x22
jne 0x10b83856
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x10b8382a
cmp al, 0x22
jne 0x10b8381c
cmp byte [esi], 0x22
jne 0x10b83833
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x10b8383d
cmp al, 0x20
jbe 0x10b8382f
mov dword [ebp - 0x4c], ebx
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x4c], 1
je 0x10b83861
movzx eax, word [ebp - 0x48]
jmp 0x10b83864
cmp byte [esi], 0x20
jbe 0x10b83833
inc esi
mov dword [ebp - 0x34], esi
jmp 0x10b83856
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.1090ab60
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x10b83881
push esi
call dword [sym.imp.MSVCR70.dll_exit]
call dword [sym.imp.MSVCR70.dll__cexit]
jmp 0x10b838b6
or dword [ebp - 4], reloc.ole32.dll_CoCreateGuid
mov eax, esi
call fcn.10b83d6b
ret
Function at 0x10b871a8
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1964
call fcn.10b83a60
push ebx
push esi
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x64]
push 0x10bebdac
push eax
call sub.MSVCR70.dll_swprintf
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0xc
test ebx, ebx
mov edi, 0xbb8
je 0x10b87217
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10b871e3
sub eax, edx
add eax, 0xc8
cmp eax, edi
jae 0x10b87217
lea eax, [ebp - 0x64]
push eax
push ebx
lea eax, reloc.ole32.dll_CoCreateGuid
push str._S__s_:
push eax
call sub.MSVCR70.dll_swprintf
add esp, 0x10
lea eax, reloc.ole32.dll_CoCreateGuid
push eax
call esi
cmp dword [ebp + 0x14], 0
je 0x10b87222
push dword [ebp + 0x14]
call esi
push dword [ebp + 0x10]
push dword [ebp + 0x10]
call fcn.10b8481a
push eax
lea eax, reloc.ole32.dll_CoCreateGuid
push str._s__0x_0.8x_
push eax
call sub.MSVCR70.dll_swprintf
lea eax, reloc.ole32.dll_CoCreateGuid
push eax
lea eax, reloc.ole32.dll_CoCreateGuid
push 0x10bebd68
push eax
call sub.MSVCR70.dll_swprintf
add esp, 0x1c
lea eax, reloc.ole32.dll_CoCreateGuid
push eax
call esi
push 0x10bebd64
call esi
cmp dword [ebp + 0x18], 0
je 0x10b872f6
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10b87279
push dword [ebp + 0x14]
sub eax, edx
mov esi, eax
call sub.MSVCR70.dll_wcslen
mov ebx, eax
lea eax, reloc.ole32.dll_CoCreateGuid
push eax
call sub.MSVCR70.dll_wcslen
lea ecx, [ebp - 0x64]
add eax, esi
push ecx
mov dword [ebp + 0xc], eax
call sub.MSVCR70.dll_wcslen
mov ecx, dword [ebp + 0xc]
add ecx, ebx
lea eax, [eax + ecx + 0xc8]
add esp, 0xc
cmp eax, edi
jae 0x10b872f6
push dword [ebp + 0x14]
lea eax, reloc.ole32.dll_CoCreateGuid
push eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 8]
lea eax, reloc.ole32.dll_CoCreateGuid
push str.File:__S_nLine:__s_nError_Code:__s_nCalling:__s
push eax
call sub.MSVCR70.dll_swprintf
add esp, 0x18
push 0x10
push str.Unexpected_error_encountered
lea eax, reloc.ole32.dll_CoCreateGuid
push eax
push 0
call dword [0x10c74c30]
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
leave
ret 0x14