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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100feb08
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
push ecx
lea edi, [ebp - 0x54]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x1011d944]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x10103d18
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x868], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [0x1011dad8]
mov dword [edx + 0x85c], eax
mov ecx, dword [0x1011dad8]
add ecx, 1
mov dword [0x1011dad8], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x85c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], 1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2c], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x864], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x48], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x860], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x20], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x44], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x34], 0x1000
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
mov dword [ecx + 0x58], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x28], 3
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x24], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x48], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x860]
mov dword [ecx + 0x860], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x864], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3c], 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x44], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x34], 0x1000
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x44], 0
je 0x10008351
mov edx, dword [ebp + 8]
cmp dword [edx + 0x2c], 0
jne 0x10008502
push 0x1c
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x2c], 0
je 0x1000837f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.10001546
mov dword [ebp - 0x48], eax
jmp 0x10008386
mov dword [ebp - 0x48], 0
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x34]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov esi, esp
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x54]
call eax
cmp esi, esp
call fcn.100fc603
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x18]
mov dword [eax + 0xc], 3
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov esi, esp
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x54]
call eax
cmp esi, esp
call fcn.100fc603
mov dword [ebp - 0x1c], eax
push 0x870
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x34], 0
je 0x1000841f
mov ecx, dword [ebp + 8]
add ecx, 0x5c
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.10001271
mov dword [ebp - 0x4c], eax
jmp 0x10008426
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x85c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x86c]
mov dword [ebp - 0x24], ecx
push 0x870
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov dword [ecx + 0x86c], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x85c], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x3c], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x48], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x44], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x44], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x30], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0x864], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x2c], 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x38], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x40], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x34]
mov dword [eax + 0x4c], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x24], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x44], eax
jmp 0x10008536
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x44]
cmp dword [edx + 8], 0
jne 0x1000852a
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x86c], 0
jmp 0x100086ca
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
mov dword [edx + 0x44], ecx
push 0x1c
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x3c], 0
je 0x10008561
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x3c]
call fcn.10001546
mov dword [ebp - 0x50], eax
jmp 0x10008568
mov dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x38]
mov dword [ecx + 0x30], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x30]
mov dword [edx + 0xc], 3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x30]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x30]
cmp dword [eax], 0
jne 0x100085b9
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], 0
jmp 0x100085c3
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x860]
mov dword [edx + 0x860], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x44]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx + 0x864]
mov dword [eax + 0x864], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2c], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x58]
mov dword [edx + 0x58], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x44]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp + 8]
add edx, 0x5c
push edx
mov eax, dword [ebp - 0x10]
add eax, 0x5c
push eax
call sub.MSVCR80.dll_strcpy
add esp, 8
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x44]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x28], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x44]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx + 0x48]
mov dword [eax + 0x48], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x44]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x48], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x44]
mov ecx, dword [eax + 0x3c]
add ecx, 1
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x44]
mov dword [eax + 0x3c], ecx
push 4
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 3
cmp dword [ebp - 0x44], 0
je 0x100086aa
mov ecx, dword [ebp - 0x44]
call fcn.10001311
mov dword [ebp - 0x54], eax
jmp 0x100086b1
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x40]
mov dword [edx + 0x86c], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x54
cmp ebp, esp
call fcn.100fc603
mov esp, ebp
pop ebp
ret 8