Function at 0x406c80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c957f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [0x5317dc]
push esi
push edi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], 1
mov dword [esp + 0x1c], eax
mov byte [esp + 0x38], 2
mov dword [esp + 0x18], eax
mov byte [esp + 0x38], 3
mov dword [esp + 0xc], eax
lea eax, [esp + 0x28]
mov byte [esp + 0x38], 4
push eax
call fcn.004b1525
mov ecx, dword [eax]
push 0
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0xc]
call fcn.004b1538
mov edi, dword [eax + 0xc]
push 0
lea ecx, [esp + 0xc]
call fcn.004b1538
mov esi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0xc]
inc esi
call fcn.004b1538
mov eax, dword [eax + 0x14]
push edi
add eax, 0x76c
push esi
push eax
lea edx, [esp + 0x28]
push str._d__d__d
push edx
call fcn.004b1390
mov eax, dword [0x5317dc]
add esp, 0x14
mov dword [esp + 0x20], eax
mov byte [esp + 0x38], 5
mov dword [esp + 0x14], eax
mov byte [esp + 0x38], 6
mov dword [esp + 0x10], eax
push 0
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 7
call fcn.004b1538
mov eax, dword [eax + 8]
push eax
lea eax, [esp + 0x24]
push 0x5054b4
push eax
call fcn.004b1390
add esp, 0xc
lea ecx, [esp + 8]
push 0
call fcn.004b1538
mov eax, dword [eax + 4]
push 0
cmp eax, 0xa
lea ecx, [esp + 0xc]
jge 0x406d92
call fcn.004b1538
mov eax, dword [eax + 4]
lea ecx, [esp + 0x14]
push eax
push 0x5054b0
push ecx
jmp 0x406da5
call fcn.004b1538
mov eax, dword [eax + 4]
lea edx, [esp + 0x14]
push eax
push 0x5054b4
push edx
call fcn.004b1390
add esp, 0xc
lea ecx, [esp + 8]
push 0
call fcn.004b1538
mov ecx, dword [eax]
push 0
cmp ecx, 0xa
lea ecx, [esp + 0xc]
jge 0x406dd9
call fcn.004b1538
mov eax, dword [eax]
push eax
lea eax, [esp + 0x14]
push 0x5054b0
push eax
jmp 0x406deb
call fcn.004b1538
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push eax
push 0x5054b4
push ecx
call fcn.004b1390
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
add esp, 0xc
push edx
push eax
push ecx
lea edx, [esp + 0x24]
push str._s:_s:_s
push edx
call fcn.004b1390
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea edx, [esp + 0x40]
push 0x50549c
push edx
call fcn.004b1390
mov eax, dword [esp + 0x68]
add esp, 0x24
sub eax, 0
je 0x406e4a
dec eax
je 0x406e43
dec eax
jne 0x406e58
lea eax, [esp + 0x18]
push eax
jmp 0x406e4f
lea ecx, [esp + 0x1c]
push ecx
jmp 0x406e4f
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x10]
call fcn.004b7b35
mov esi, dword [esp + 0x40]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.004b7771
mov dword [esp + 0x2c], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 6
call fcn.004b79fc
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 5
call fcn.004b79fc
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 4
call fcn.004b79fc
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 3
call fcn.004b79fc
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call fcn.004b79fc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 1
call fcn.004b79fc
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 0
call fcn.004b79fc
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 8