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

Disassembly:
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x10], 0x80
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
mov ebx, dword [edi + 0x510]
mov esi, dword [edi]
push eax
push ecx
mov edx, dword [ebx + 0x144]
mov eax, dword [ebx + 0x14c]
mov ecx, dword [ebx + 0x14]
lea ebp, [ebx + 0x14c]
add edx, 4
push 0
push edx
push eax
push ecx
mov dword [esp + 0x2c], esi
call dword [sym.imp.WS2_32.dll_recvfrom]
mov dword [ebx + 0x13c], eax
mov eax, dword [ebx + 0x138]
test eax, eax
jne 0x10106d13
mov ecx, dword [esp + 0x10]
lea esi, [esp + 0x18]
mov edx, ecx
lea edi, [ebx + 0xb8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x9c]
mov dword [ebx + 0x138], eax
cmp dword [ebx + 0x13c], 4
jge 0x10106d3e
push str.Received_too_short_packet
push esi
call fcn.100f2ef0
add esp, 8
mov dword [ebx + 0xc], 7
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x88
ret
push ebp
call fcn.10106ea0
and eax, 0xffff
add esp, 4
mov dword [ebx + 0xc], eax
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x10106d5b
jmp dword [eax*4 + 0x10106e84]
cmp dword [ebx + 0x13c], 4
jle case.0x10106d5b.4
push ebp
call fcn.101068a0
mov cx, word [ebx + 0x30]
add esp, 4
inc ecx
cmp cx, ax
jne case.0x10106d5b.4
mov edx, dword [ebx + 0x13c]
mov eax, dword [ebp]
sub edx, 4
add eax, 4
push edx
push eax
push 1
push edi
call fcn.100f3630
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x10106dc0
push 5
push ebx
call fcn.10106130
add esp, 8
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
mov eax, dword [ebx + 0x13c]
mov ebp, dword [esi + 0x90]
sub eax, 4
cdq
add ebp, eax
mov dword [esi + 0x90], ebp
mov ecx, dword [esi + 0x94]
adc ecx, edx
mov dword [esi + 0x94], ecx
mov edx, dword [esi + 0x90]
push ecx
push edx
push esi
call fcn.100fd410
jmp 0x10106e54
push ebp
call fcn.101068a0
and eax, 0xffff
mov dword [ebx + 8], eax
mov eax, dword [ebp]
add eax, 4
push eax
push 0x102d0284
push esi
call fcn.100f2e80
add esp, 0x10
jmp case.0x10106d5b.4
mov ecx, dword [ebx + 0x13c]
mov edx, dword [ebp]
sub ecx, 2
add edx, 2
push ecx
push edx
push ebx
call fcn.10106ec0
add esp, 0xc
test eax, eax
je case.0x10106d5b.4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
push str.Internal_error:_Unexpected_packet
push 0x102c39f0
push esi
call fcn.100f2ef0
add esp, 0xc
push edi
call fcn.100fd5f0
add esp, 4
test eax, eax
je 0x10106d31
push 5
push ebx
call fcn.10106130
add esp, 8
mov eax, 0x2a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
Function at 0x101091e0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x10109219
mov ecx, dword [esp + 0x194]
push eax
push str.WSAStartup_failed___d_
push ecx
call fcn.100f2ef0
add esp, 0xc
mov eax, 2
add esp, 0x190
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ax, word [esp]
cmp al, 2
jne 0x10109239
xor edx, edx
mov dl, ah
test dl, dl
jne 0x10109239
xor eax, eax
add esp, 0x190
ret
mov eax, dword [esp + 0x194]
push str.insufficient_winsock_version_to_support_telnet
push eax
call fcn.100f2ef0
add esp, 8
mov eax, 2
add esp, 0x190
ret

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

Disassembly:
mov al, byte [esp + 0xc]
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push edi
push 0
lea ecx, [esp + 0x14]
mov edx, dword [esi + 0x198]
mov edi, dword [esi]
push 3
push ecx
push edx
mov byte [esp + 0x20], 0xff
mov byte [esp + 0x21], bl
mov byte [esp + 0x22], al
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x1010940d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push edi
call fcn.100f2ef0
add esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
push eax
push ebx
push str.SENT
push ecx
call fcn.10109430
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x1010a5b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push edi
mov eax, dword [eax]
mov dword [esp + 8], eax
mov edi, dword [eax + 0x140]
mov eax, dword [esp + 0x14]
cmp eax, 0x1f
jne 0x1010a719
push ebp
push esi
lea ebp, [edi + 0x1cb0]
lea esi, [edi + 0x1eb0]
cmp ebp, esi
mov dword [esi], ebp
jae 0x1010a5ed
mov byte [ebp], 0xff
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, esi
jae 0x1010a5fb
mov byte [eax], 0xfa
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, esi
jae 0x1010a609
mov byte [eax], 0x1f
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov cx, word [edi + 0x1ca8]
mov ebx, dword [sym.imp.WS2_32.dll_htons]
push ecx
call ebx
mov dx, word [edi + 0x1caa]
mov dword [esp + 0x1c], eax
push edx
call ebx
mov ecx, dword [esi]
cmp ecx, esi
jae 0x1010a638
mov dl, byte [esp + 0x1c]
mov byte [ecx], dl
mov ecx, dword [esi]
inc ecx
mov dword [esi], ecx
mov ecx, dword [esi]
cmp ecx, esi
jae 0x1010a649
mov dl, byte [esp + 0x1d]
mov byte [ecx], dl
mov ecx, dword [esi]
inc ecx
mov dword [esi], ecx
mov ecx, dword [esi]
cmp ecx, esi
jae 0x1010a656
mov byte [ecx], al
mov ecx, dword [esi]
inc ecx
mov dword [esi], ecx
mov ecx, dword [esi]
cmp ecx, esi
jae 0x1010a663
mov byte [ecx], ah
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, esi
jae 0x1010a671
mov byte [eax], 0xff
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, esi
jae 0x1010a67f
mov byte [eax], 0xf0
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov eax, dword [esi]
mov ebx, dword [esp + 0x10]
mov ecx, eax
lea edx, [edi + 0x1cb2]
sub ecx, ebp
mov dword [edi + 0x1eb4], eax
sub ecx, 2
mov dword [esi], ebp
push ecx
push edx
push 0x3e
push ebx
call fcn.1010a2a0
add esp, 0x10
mov esi, dword [sym.imp.WS2_32.dll_send]
push 0
push 3
push ebp
mov ebp, dword [esp + 0x24]
mov eax, dword [ebp + 0x198]
push eax
call esi
test eax, eax
jge 0x1010a6d8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.100f2ef0
add esp, 0xc
lea ecx, [edi + 0x1cb3]
push 4
push ecx
push ebp
call fcn.1010a720
mov edx, dword [ebp + 0x198]
add esp, 0xc
add edi, 0x1cb7
push 0
push 2
push edi
push edx
call esi
pop esi
pop ebp
test eax, eax
jge 0x1010a719
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.100f2ef0
add esp, 0xc
pop edi
pop ebx
pop ecx
ret
Function at 0x1010cc70
Capabilities:
Check http status code

Disassembly:
mov ecx, dword [esp + 8]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
shr eax, 0x1f
mov ebx, dword [edi]
add edx, eax
cmp edx, 2
je 0x1010ccac
push str.Couldnt_set_desired_mode
push ebx
call fcn.100f2ef0
add esp, 8
mov eax, 0x11
pop edi
pop esi
pop ebx
ret
cmp ecx, 0xc8
je 0x1010ccc3
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
push ebx
call fcn.100f2e80
add esp, 0xc
mov eax, dword [esp + 0x18]
cmp eax, 0x13
jne 0x1010ccdb
push edi
call fcn.1010b6f0
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebx
ret
cmp eax, 0x14
jne 0x1010ccef
push edi
call fcn.1010cd20
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebx
ret
cmp eax, 0x15
jne 0x1010cd03
push edi
call fcn.1010ce40
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebx
ret
cmp eax, 0x16
jne 0x1010cd13
push edi
call fcn.1010ce60
add esp, 4
mov esi, eax
mov eax, esi
pop edi
pop esi
pop ebx
ret

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

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x20]
push edi
mov ebp, dword [esi + 0x19c]
mov ebx, dword [esi]
lea ecx, [esp + 0x10]
push eax
push ecx
push ebp
or edi, 0xffffffff
mov dword [esp + 0x30], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x1010d47e
lea edx, [esp + 0x24]
lea eax, [esp + 0x10]
push edx
push eax
push ebp
mov dword [esp + 0x30], 0x10
call dword [sym.imp.WS2_32.dll_accept]
mov edi, eax
push ebp
push esi
call fcn.100f6d20
add esp, 8
cmp edi, 0xffffffff
jne 0x1010d4a8
push str.Error_accept__ing_server_connect
push ebx
call fcn.100f2ef0
add esp, 8
mov eax, 0x1e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push str.Connection_accepted_from_server_n
push ebx
call fcn.100f2e80
push 1
push edi
mov dword [esi + 0x2d0], 0
mov dword [esi + 0x19c], edi
call fcn.10119be0
mov dword [esi + 0x1ac], 1
mov eax, dword [ebx + 0x1c8]
add esp, 0x10
test eax, eax
je 0x1010d50b
mov ecx, dword [ebx + 0x1cc]
push 1
push edi
push ecx
call eax
add esp, 0xc
test eax, eax
je 0x1010d50b
push esi
call fcn.1010bfd0
add esp, 4
mov eax, 0x2a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
Function at 0x101158a0
Capabilities:
Check http status code

Disassembly:
sub esp, 0x34
push ebx
push ebp
mov ebp, dword [esp + 0x44]
push esi
push edi
mov edi, dword [esp + 0x48]
xor ebx, ebx
mov eax, dword [edi + ebp*4 + 0x198]
mov esi, dword [edi]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + ebp*4 + 0x5c4]
cmp eax, 2
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], ebx
je 0x1011631e
mov dword [edi + 0x308], ebx

Function at 0x101182e0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x104
mov eax, dword [esp + 0x108]
push eax
call fcn.1007afe8
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x1011832d
lea ecx, [esp]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov al, byte [esp]
test al, al
je 0x1011832d
lea edx, [esp]
push edx
call dword [0x102cdf30]
add esp, 4
add esp, 0x104
ret
xor eax, eax
add esp, 0x104
ret

Function at 0x10119a90
Capabilities:
Get common file path

Disassembly:
push ecx
push edi
push str.kernel32
mov dword [esp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
test edi, edi
jne 0x10119aae
pop edi
pop ecx
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebp
push esi
push str.LoadLibraryExA
push edi
call ebx
mov esi, dword [esp + 0x18]
push 0x102d5c88
push esi
mov ebp, eax
call fcn.1006d3a0
add esp, 8
test eax, eax
je 0x10119afd
test ebp, ebp
je 0x10119aec
push 8
push 0
push esi
call ebp
pop esi
pop ebp
pop ebx
mov dword [esp + 4], eax
pop edi
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop esi
pop ebp
pop ebx
mov dword [esp + 4], eax
pop edi
pop ecx
ret
test ebp, ebp
je 0x10119b21
push str.AddDllDirectory
push edi
call ebx
test eax, eax
je 0x10119b21
push 0x800
push 0
push esi
call ebp
pop esi
pop ebp
pop ebx
mov dword [esp + 4], eax
pop edi
pop ecx
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, eax
test edx, edx
mov dword [esp + 0x18], edx
je 0x10119bcd
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + edx + 1]
push eax
call dword [0x102cdf24]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10119bc3
mov ecx, dword [esp + 0x18]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x10119bc3
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov dx, word [0x102d2100]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebx
mov word [ecx + ebx], dx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, esi
mov edx, ecx
or ecx, 0xffffffff
add edx, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test ebp, ebp
rep movsb byte es:[edi], byte [esi]
je 0x10119bb8
push 8
push 0
push ebx
call ebp
jmp 0x10119bbf
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esp + 0x10], eax
push ebx
call dword [0x102cdf28]
add esp, 4
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
pop ecx
ret
Function at 0x1011afa0
Capabilities:
Get hostname

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push esi
mov byte [esi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
mov byte [esi + edi - 1], 0
jne 0x1011afd2
push 0x2e
push esi
call fcn.1006ce30
add esp, 8
test eax, eax
je 0x1011afd0
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
ret

Function at 0x101202a0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push eax
call dword [0x102cdf24]
mov edi, eax
add esp, 4
test edi, edi
jne 0x101202c3
pop edi
pop esi
ret
lea eax, [edi + 0xc]
push ebx
mov dword [edi], esi
mov dword [edi + 4], eax
mov ebx, dword [esi + 0xc]
mov edx, eax
add edx, ebx
mov ebx, dword [esp + 0x18]
mov dword [edi + 8], edx
mov ecx, dword [esi + 0x10]
cmp ebx, ecx
push ebp
jbe 0x1012030e
push eax
call dword [esi]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 4]
push ebx
push eax
push ecx
call dword [esi + 4]
mov ebx, dword [edi + 8]
mov eax, dword [esi + 0xc]
mov edx, dword [edi + 4]
add ebx, eax
push edx
push ebx
call dword [esi + 8]
mov eax, dword [esi + 0x14]
add esp, 0x18
mov dword [esp + 0x1c], eax
jmp 0x10120312
mov ebx, dword [esp + 0x18]
mov ecx, dword [edi + 4]
push ecx
call dword [esi]
mov edx, dword [edi + 8]
push edx
call dword [esi]
mov eax, dword [esp + 0x24]
add esp, 8
xor ebp, ebp
test eax, eax
jbe 0x10120378
mov dword [esp + 0x1c], eax
mov ebp, eax
mov al, byte [ebx]
mov cl, byte [0x10266520]
xor al, cl
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], al
mov edx, dword [edi + 4]
push 1
push ecx
push edx
call dword [esi + 4]
mov al, byte [ebx]
mov dl, byte [0x10266521]
xor al, dl
lea ecx, [esp + 0x20]
mov byte [esp + 0x20], al
mov edx, dword [edi + 8]
push 1
push ecx
push edx
inc ebx
call dword [esi + 4]
mov eax, dword [esp + 0x34]
add esp, 0x18
dec eax
mov dword [esp + 0x1c], eax
jne 0x10120331
cmp ebp, dword [esi + 0x10]
jae 0x101203a4
mov eax, dword [edi + 4]
push 1
push 0x10266520
push eax
call dword [esi + 4]
mov ecx, dword [edi + 8]
push 1
push 0x10266521
push ecx
call dword [esi + 4]
mov eax, dword [esi + 0x10]
add esp, 0x18
inc ebp
cmp ebp, eax
jb 0x1012037d
pop ebp
mov eax, edi
pop ebx
pop edi
pop esi
ret
Function at 0x10122210
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x102566de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x10], ebx
call fcn.10124870
mov eax, dword [0x1025e6e0]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [ebx + 0x2c], eax
mov ecx, dword [0x1025e6e0]
lea ebp, [ebx + 0x30]
mov dword [ebp], ecx
mov byte [esp + 0x1c], 2
mov dword [ebx], 0x10266590
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebx + 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebx + 8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x102f88ac
mov dword [ebx + 0xc], eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, dword [esp + 0x24]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], edi
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], edi
mov dword [ebx + 0x40], edi
mov edx, dword [esi + 0x14]
mov dword [ebx + 0x14], edx
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov ecx, dword [esi + 0x1c]
mov dword [ebx + 0x1c], ecx
mov edx, dword [esi + 0x20]
mov dword [ebx + 0x20], edx
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x24], eax
mov ecx, dword [esi + 0x28]
lea edx, [esi + 0x30]
mov dword [ebx + 0x28], ecx
push edx
mov ecx, ebp
call fcn.1007e360
mov eax, dword [ebx + 0x38]
mov ebp, dword [esi + 0x34]
mov esi, dword [esi + 0x38]
cmp eax, edi
je 0x101222f0
push eax
call fcn.1023d925
add esp, 4
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x34], edi
cmp esi, edi
je 0x1012231d
cmp ebp, edi
jbe 0x1012231d
push ebp
call fcn.1023d8fc
add esp, 4
cmp eax, edi
mov dword [ebx + 0x38], eax
je 0x1012231d
mov ecx, ebp
mov edi, eax
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 dword [ebx + 0x34], ebp
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x10122340
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1025670e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x10266590
mov eax, dword [esi + 0x38]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x14], 2
je 0x10122384
push eax
call fcn.1023d925
add esp, 4
mov dword [esi + 0x38], ebx
mov dword [esi + 0x34], ebx
lea ecx, [esi + 0x30]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov byte [esp + 0x14], 1
call fcn.1007e1e0
lea ecx, [esi + 0x2c]
mov byte [esp + 0x14], bl
call fcn.1007e1e0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.101248a0
mov ecx, dword [esp + 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x10125210
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10256a8e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.10094b30
xor edi, edi
lea ecx, [esi + 0x34]
mov dword [esp + 0x14], edi
call fcn.10126aa0
push 0xa
lea ecx, [esi + 0x68]
mov byte [esp + 0x18], 1
call fcn.101c3070
lea ecx, [esi + 0x80]
mov byte [esp + 0x14], 2
call fcn.100912d0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x28], edi
mov word [esi + 0x2c], di
mov dword [esi + 0x30], edi
mov dword [esi + 0xa0], edi
mov dword [esi], 0x10266614
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x10125780
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10256b48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
push edi
mov edi, ecx
push 1
lea ecx, [esp + 0x18]
lea eax, [edi + 0x80]
push eax
call fcn.10091800
mov eax, dword [esp + 0x30]
xor ebp, ebp
cmp eax, ebp
mov eax, dword [edi + 0x70]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], ebp
je 0x10125879
neg eax
sbb eax, eax
cmp eax, ebp
mov dword [esp + 0x30], eax
je 0x10125800
lea esi, [edi + 0x68]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.101c3430
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x14]
cmp dword [esp + 0x30], ebp
jne 0x101257db
mov eax, dword [edi + 0x70]
neg eax
sbb eax, eax
cmp eax, ebp
mov dword [esp + 0x30], eax
je 0x1012586f
push ebx
lea ebx, [edi + 0x68]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x38]
push ecx
push edx
mov ecx, ebx
call fcn.101c3430
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x30]
cmp ecx, ebp
je 0x10125839
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, esi
mov dword [esi + 0x2c], ebp
call fcn.10094dc0
mov ecx, dword [esp + 0x10]
call fcn.10094e80
mov ecx, dword [esp + 0x10]
cmp ecx, ebp
je 0x1012585a
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x14]
cmp ecx, ebp
je 0x10125868
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [esp + 0x34], ebp
jne 0x10125813
pop ebx
lea ecx, [edi + 0x68]
call fcn.101c3100
jmp 0x101258f1
neg eax
sbb eax, eax
cmp eax, ebp
mov dword [esp + 0x30], eax
je 0x101258f1
lea esi, [edi + 0x68]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.101c3430
mov ecx, dword [esp + 0xc]
call fcn.10094f00
test eax, eax
jne 0x101258eb
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0x28], ebp
jne 0x101258eb
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x14]
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x101258d1
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
cmp ecx, ebp
je 0x101258e3
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.101c33a0
cmp dword [esp + 0x30], ebp
jne 0x10125888
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.10091860
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x10126fb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10256d4f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [esp + 0x38]
push esi
mov dword [esp + 4], 0
cmp word [eax], 0x4d4f
je 0x10126ffd
mov esi, dword [esp + 0x38]
push 0
push 0
mov ecx, esi
call fcn.10097730
mov eax, esi
pop esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
push ebp
push edi
mov ebp, dword [esp + 0x48]
mov ecx, 8
mov esi, eax
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x1c]
xor esi, esi
xor edi, edi
test ecx, ecx
jbe 0x10127031
and word [esp + 0x12], 0xefff
test byte [eax + 3], 0x10
je 0x1012702d
or byte [esp + 0x13], 0x20
mov esi, ebp
mov edi, ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], edi
call fcn.10097720
lea eax, [esp + 0x10]
push 0x20
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], 1
call fcn.10097c80
push edi
push esi
lea ecx, [esp + 0x4c]
call fcn.10097c80
test esi, esi
je 0x10127072
cmp esi, ebp
je 0x10127072
push esi
call fcn.1023d925
add esp, 4
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call fcn.10097840
lea ecx, [esp + 0x44]
mov dword [esp + 0xc], 1
mov byte [esp + 0x38], 0
call fcn.10097880
mov ecx, dword [esp + 0x30]
pop edi
mov eax, esi
pop ebp
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret