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

Disassembly:
push 0xffffffffffffffff
push 0x452910
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x18]
mov eax, dword [esi + 0x124]
push eax
call fcn.10053f00
mov ecx, dword [esi + 0x140]
mov dword [esp + 0x30], 0
push ecx
lea ecx, [esp + 0x14]
call fcn.10053f00
mov edi, dword [esp + 0x38]
push 1
mov ecx, edi
mov byte [esp + 0x34], 1
call fcn.100536e7
test byte [esi + 0x1e8], 2
je 0x10010619
push edi
mov ecx, esi
call fcn.10010805
mov edx, dword [esi + 0x158]
mov eax, dword [esi + 0x154]
push edx
push eax
push 0
push 0
lea ecx, [esp + 0x4c]
call fcn.100553c4
lea ebp, [esi + 0x194]
mov ecx, edi
push ebp
call fcn.10053990
lea ecx, [esp + 0x3c]
push ecx
push edi
mov ecx, esi
call fcn.100108b5
mov ebx, dword [esp + 0x14]
mov ecx, dword [esi + 0x16c]
mov edx, dword [esi + 0x168]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
and eax, ebx
test ebp, ebp
je 0x10010655
mov ebp, dword [ebp + 4]
push ecx
push edx
mov edx, dword [edi + 4]
push eax
push ebp
push edx
call dword [0x455160]
mov eax, dword [esi + 0x150]
mov ecx, dword [esi + 0x14c]
neg eax
push eax
lea eax, [esp + 0x40]
neg ecx
push ecx
push eax
call dword [0x45563c]
mov eax, dword [esi + 0x6c]
cmp eax, 3
je 0x100106a3
cmp eax, 2
je 0x100106a3
mov eax, dword [esp + 0x48]
mov ecx, dword [esi + 0x160]
mov ebp, dword [esp + 0x40]
sub eax, ecx
mov dword [esp + 0x48], eax
jmp 0x100106b7
mov ebp, dword [esp + 0x40]
mov eax, dword [esi + 0x160]
add ebp, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x40], ebp
mov ecx, dword [esi + 0x1dc]
test ecx, ecx
je 0x1001073d
mov edx, dword [esi + 0x1e8]
mov ebx, dword [esi + 0x14c]
test dl, 0x20
mov ecx, ebp
je 0x100106e7
sub eax, dword [esi + 0x1a8]
sub eax, ebp
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, ebp
jmp 0x100106f4
test dl, 0x40
je 0x100106f4
sub eax, dword [esi + 0x1a8]
mov ecx, eax
mov edx, dword [esi + 0x1a8]
mov eax, dword [esi + 0x1a4]
mov ebp, dword [edi + 4]
push 3
push edx
push eax
mov eax, dword [esi + 0x1dc]
push ecx
push ebx
push 0
push eax
push 0
push 0
push ebp
call dword [0x455648]
mov ecx, dword [esi + 0x14c]
mov edx, dword [esi + 0x1a4]
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
add ecx, edx
add eax, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esi + 0x1e8]
test cl, 0x10
je 0x10010754
sub eax, dword [esi + 0x1b0]
mov dword [esp + 0x40], eax
jmp 0x1001076c
test cl, 8
je 0x1001076c
sub eax, dword [esi + 0x1b0]
sub eax, ebp
cdq
sub eax, edx
sar eax, 1
add ebp, eax
mov dword [esp + 0x40], ebp
push 0
push ecx
lea edx, [esi + 0x1e0]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.100507ef
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
sub esp, 0x10
mov eax, esp
push edi
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 8], ecx
mov ecx, esi
mov dword [eax + 0xc], edx
lea eax, [esp + 0x3c]
push eax
call fcn.10011c55
lea ecx, [esp + 0x18]
call fcn.10053e9a
lea ecx, [esp + 0x10]
call fcn.10053e9a
mov esi, 0x4578d8
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.10053e9a
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 3
call fcn.10053e9a
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 0x14