Function at 0x40b320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x515843
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
push esi
push edi
push 0x80000001
push 0
push ecx
mov dword [esp + 0x34], 0
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x5c669c
call fcn.00434760
push ecx
mov dword [esp + 0x16c], 1
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x5b970c
call fcn.00434760
lea ecx, [esp + 0x40]
mov byte [esp + 0x16c], 0
call fcn.00473250
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x30]
push eax
mov dword [esp + 0x160], 2
call fcn.004735c0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x15c], 3
push ecx
lea ecx, [esp + 0x28]
call fcn.0043475a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x15c], 5
call fcn.004344e4
lea ecx, [esp + 0x14]
call fcn.0043450e
lea ecx, [esp + 0xc]
mov byte [esp + 0x15c], 6
call fcn.0043450e
lea ecx, [esp + 0x2c]
mov byte [esp + 0x15c], 7
call fcn.0043450e
lea ecx, [esp + 0x18]
mov byte [esp + 0x15c], 8
call fcn.0043450e
mov dl, byte [0x5c669c]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x51]
mov byte [esp + 0x50], dl
mov byte [esp + 0x15c], 9
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x50]
push eax
push 0x104
nop
nop
nop
nop
nop
nop
lea ecx, [esp + 0x50]
lea edx, [esp + 0x18]
push ecx
push 0x5b9700
push edx
call fcn.00434502
add esp, 0xc
lea ecx, [esp + 0x10]
push 0x5b96f0
call fcn.00434760
lea eax, [esp + 0x50]
push 0x104
push eax
mov byte [esp + 0x164], 0xa
push 0x5c669c
mov ecx, dword [esp + 0x1c]
mov edi, dword [0x52f1d8]
push ecx
push 0x5b96e0
call edi
lea edx, [esp + 0x50]
lea ecx, [esp + 0x14]
push edx
call fcn.00434676
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x54]
push 0x104
push ecx
push 0x5c669c
push edx
push 0x5b96e0
nop
nop
nop
nop
nop
nop
lea eax, [esp + 0x50]
lea ecx, [esp + 0xc]
push eax
call fcn.00434676
push 0x5c669c
lea ecx, [esp + 0xc]
call fcn.00434760
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
mov esi, dword [0x52fe04]
push ecx
push edx
mov byte [esp + 0x164], 0xb
call esi
add esp, 8
test eax, eax
jne 0x40b52e
mov eax, dword [esp + 0xc]
push 0x5c669c
push eax
call esi
add esp, 8
test eax, eax
je 0x40b52e
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
push ecx
push edx
call esi
add esp, 8
test eax, eax
jne 0x40b52e
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
call fcn.00434640
jmp 0x40b5f1
lea ecx, [esp + 0x20]
push ecx
call fcn.0040b280
add esp, 4
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x160], 0xc
call fcn.00434640
lea ecx, [esp + 0x20]
mov byte [esp + 0x15c], 0xb
call fcn.004344e4
push ecx
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0043475a
lea ecx, [esp + 0x34]
call fcn.00473600
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
push eax
push ecx
push 0x5b96e0
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
push 0x5b96e0
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x50]
push 0x104
push edx
push 0x5c669c
push eax
push 0x5b96e0
call edi
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x18]
call fcn.00434676
mov edx, dword [esp + 0x14]
push 0x5c669c
push edx
call esi
add esp, 8
test eax, eax
jne 0x40b5f1
push 0x5c669c
lea ecx, [esp + 0xc]
call fcn.00434676
mov esi, dword [esp + 0x164]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.0043475a
mov dword [esp + 0x28], 1
lea ecx, [esp + 8]
mov byte [esp + 0x15c], 0xa
call fcn.004344e4
lea ecx, [esp + 0x10]
mov byte [esp + 0x15c], 9
call fcn.004344e4
lea ecx, [esp + 0x18]
mov byte [esp + 0x15c], 8
call fcn.004344e4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x15c], 7
call fcn.004344e4
lea ecx, [esp + 0xc]
mov byte [esp + 0x15c], 6
call fcn.004344e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x15c], 5
call fcn.004344e4
lea ecx, [esp + 0x24]
mov byte [esp + 0x15c], 2
call fcn.004344e4
lea ecx, [esp + 0x30]
mov byte [esp + 0x15c], 0
call fcn.004733d0
mov ecx, dword [esp + 0x154]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x158
ret