Function at 0x412310
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5225c3
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 0x5db530
call fcn.0041e3de
push ecx
mov dword [esp + 0x16c], 1
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x5cda98
call fcn.0041e3de
lea ecx, [esp + 0x40]
mov byte [esp + 0x16c], 0
call fcn.0047d570
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x30]
push eax
mov dword [esp + 0x160], 2
call fcn.0047d8e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x15c], 3
push ecx
lea ecx, [esp + 0x28]
call fcn.0041e35a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x15c], 5
call fcn.0041e354
lea ecx, [esp + 0x14]
call fcn.0041e36c
lea ecx, [esp + 0xc]
mov byte [esp + 0x15c], 6
call fcn.0041e36c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x15c], 7
call fcn.0041e36c
lea ecx, [esp + 0x18]
mov byte [esp + 0x15c], 8
call fcn.0041e36c
mov dl, byte [0x5db530]
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
call 0x7c835dfa
lea ecx, [esp + 0x50]
lea edx, [esp + 0x18]
push ecx
push 0x5cda8c
push edx
call fcn.0041e3c6
add esp, 0xc
lea ecx, [esp + 0x10]
push 0x5cda7c
call fcn.0041e3de
lea eax, [esp + 0x50]
push 0x104
push eax
mov byte [esp + 0x164], 0xa
push 0x5db530
mov ecx, dword [esp + 0x1c]
mov edi, dword [0x53d264]
push ecx
push 0x5cda6c
call edi
lea edx, [esp + 0x50]
lea ecx, [esp + 0x14]
push edx
call fcn.0041e3cc
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x54]
push 0x104
push ecx
push 0x5db530
push edx
push 0x5cda6c
nop
call 0x7c832b86
lea eax, [esp + 0x50]
lea ecx, [esp + 0xc]
push eax
call fcn.0041e3cc
push 0x5db530
lea ecx, [esp + 0xc]
call fcn.0041e3de
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
mov esi, dword [0x53df6c]
push ecx
push edx
mov byte [esp + 0x164], 0xb
call esi
add esp, 8
test eax, eax
jne 0x41251e
mov eax, dword [esp + 0xc]
push 0x5db530
push eax
call esi
add esp, 8
test eax, eax
je 0x41251e
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
push ecx
push edx
call esi
add esp, 8
test eax, eax
jne 0x41251e
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
call fcn.0041e360
jmp 0x4125e1
lea ecx, [esp + 0x20]
push ecx
call fcn.00412270
add esp, 4
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x160], 0xc
call fcn.0041e360
lea ecx, [esp + 0x20]
mov byte [esp + 0x15c], 0xb
call fcn.0041e354
push ecx
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0041e35a
lea ecx, [esp + 0x34]
call fcn.0047d920
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
push eax
push ecx
push 0x5cda6c
nop
call 0x7c85d091
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
push 0x5cda6c
nop
call 0x7c835d84
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x50]
push 0x104
push edx
push 0x5db530
push eax
push 0x5cda6c
call edi
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x18]
call fcn.0041e3cc
mov edx, dword [esp + 0x14]
push 0x5db530
push edx
call esi
add esp, 8
test eax, eax
jne 0x4125e1
push 0x5db530
lea ecx, [esp + 0xc]
call fcn.0041e3cc
mov esi, dword [esp + 0x164]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.0041e35a
mov dword [esp + 0x28], 1
lea ecx, [esp + 8]
mov byte [esp + 0x15c], 0xa
call fcn.0041e354
lea ecx, [esp + 0x10]
mov byte [esp + 0x15c], 9
call fcn.0041e354
lea ecx, [esp + 0x18]
mov byte [esp + 0x15c], 8
call fcn.0041e354
lea ecx, [esp + 0x2c]
mov byte [esp + 0x15c], 7
call fcn.0041e354
lea ecx, [esp + 0xc]
mov byte [esp + 0x15c], 6
call fcn.0041e354
lea ecx, [esp + 0x14]
mov byte [esp + 0x15c], 5
call fcn.0041e354
lea ecx, [esp + 0x24]
mov byte [esp + 0x15c], 2
call fcn.0041e354
lea ecx, [esp + 0x30]
mov byte [esp + 0x15c], 0
call fcn.0047d6f0
mov ecx, dword [esp + 0x154]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x158
ret