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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x629a90
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x652018]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [0x652018]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], esi
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
mov ebx, dword [ebp + 0x10]
mov eax, dword [edx + 0xc]
push dword [edx]
mov dword [esp + 0x44], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x48], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
call fcn.004319b6
mov dword [esp + 0x14], eax
test eax, eax
jne 0x431861
lea eax, [esp + 0x40]
mov ecx, esi
push eax
push 0
push 0x404b4c
call fcn.00470a46
mov dword [esp + 0x14], eax
mov edi, dword [esi + 0x14]
lea ecx, [esp + 0x3c]
push 0x20
mov edx, 3
mov dword [esp + 0x1c], edi
call 0x3bd1b6
mov ecx, dword [eax]
mov eax, dword [edi + 4]
and ecx, 0xfffffffc
sub eax, dword [edi]
mov dword [esp + 0x1c], ecx
cmp eax, ecx
jae 0x431897
push 0x20
mov ecx, edi
call 0x3bcee6
mov ecx, dword [esp + 0x1c]
mov edi, dword [edi]
push 0x44
lea eax, [edi + ecx]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
xor eax, eax
mov dword [edi], eax
lea ecx, [esp + 0x20]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
lea edx, [eax + 3]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov esi, dword [esi + 0x14]
call 0x3bd1b6
mov ecx, dword [eax]
mov eax, dword [esi + 4]
and ecx, 0xfffffffc
sub eax, dword [esi]
mov dword [esp + 0x18], ecx
cmp eax, ecx
jae 0x4318e7
push 0x44
mov ecx, esi
call 0x3bcee6
mov ecx, dword [esi]
mov eax, dword [esp + 0x18]
push 0x44
add eax, ecx
push 0
push ecx
mov dword [esi], eax
call 0x5a49c2
add esp, 0xc
lea ecx, [esp + 0x28]
mov esi, eax
mov dword [edi], esi
push dword [esp + 0x14]
call fcn.004e2f76
mov dword [esi + 0x10], eax
test ebx, ebx
je 0x43191b
mov dword [ebx + 4], edi
jmp 0x43191d
mov ebx, edi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [ecx + 0xf4]
test eax, eax
jne 0x43197f
mov ecx, dword [ecx + 4]
push 0x2c
add ecx, 0x24
call fcn.0053ac26
mov esi, eax
mov eax, 0x2c
mov word [esi], ax
mov eax, dword [esp + 0x40]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0x10], ecx
mov ecx, 0x65e308
mov dword [esi + 0x1c], 0x65e308
call 0x3db1c6
mov dword [esi + 0x14], eax
mov eax, esi
or word [esi + 2], 1
jmp 0x431995
push dword [ecx + 0x3c]
lea edx, [esp + 0x44]
push dword [ecx + 0x38]
mov ecx, dword [ecx + 4]
push ebx
push edx
push edx
push eax
call fcn.0045a3a6
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call 0x59f177
mov esp, ebp
pop ebp
ret 0xc