Function at 0x404700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45fc50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov dword [esp + 0x1c], ecx
push ebx
mov ecx, dword [0x47f244]
push ebp
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x3c]
xor ebx, ebx
cmp eax, 0x400
mov dword [esp + 0x30], ebx
jae 0x404773
mov dword [esp + 0x10], ecx
push eax
lea eax, [esp + 0x14]
push 0x47c1dc
push eax
mov byte [esp + 0x3c], 1
call fcn.0043e0c9
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0xc]
push ecx
push 7
push edx
call fcn.0044f3f4
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x10]
jmp 0x404814
cmp eax, 0x100000
jae 0x4047c8
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
fild qword [esp + 0x1c]
sub esp, 8
lea eax, [esp + 0x18]
mov byte [esp + 0x38], 2
fmul qword [0x464d10]
fstp qword [esp]
push 0x47c1f0
push eax
call fcn.0043e0c9
mov ecx, dword [esp + 0x20]
add esp, 0x10
lea edx, [esp + 0xc]
push ecx
push 8
push edx
call fcn.0044f3f4
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x10]
jmp 0x404814
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
fild qword [esp + 0x1c]
sub esp, 8
lea eax, [esp + 0x18]
mov byte [esp + 0x38], 3
fmul qword [0x464d08]
fstp qword [esp]
push 0x47c1e8
push eax
call fcn.0043e0c9
mov ecx, dword [esp + 0x20]
add esp, 0x10
lea edx, [esp + 0xc]
push ecx
push 9
push edx
call fcn.0044f3f4
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x10]
call fcn.00447d9c
mov ecx, dword [0x47f244]
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x40]
cmp eax, 0x400
jae 0x404869
mov dword [esp + 0x40], ecx
push eax
lea eax, [esp + 0x44]
push 0x47c1dc
push eax
mov byte [esp + 0x3c], 5
call fcn.0043e0c9
mov ecx, dword [esp + 0x4c]
add esp, 0xc
lea edx, [esp + 8]
push ecx
push 7
push edx
call fcn.0044f3f4
mov byte [esp + 0x30], 4
lea ecx, [esp + 0x40]
jmp 0x40490c
cmp eax, 0x100000
jae 0x4048bf
mov dword [esp + 0x40], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
fild qword [esp + 0x10]
sub esp, 8
lea eax, [esp + 0x48]
mov byte [esp + 0x38], 6
fmul qword [0x464d10]
fstp qword [esp]
push 0x47c1f0
push eax
call fcn.0043e0c9
mov ecx, dword [esp + 0x50]
add esp, 0x10
lea edx, [esp + 8]
push ecx
push 8
push edx
call fcn.0044f3f4
mov byte [esp + 0x30], 4
lea ecx, [esp + 0x40]
jmp 0x40490c
mov dword [esp + 0x40], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
fild qword [esp + 0x10]
sub esp, 8
lea eax, [esp + 0x48]
mov byte [esp + 0x38], 7
fmul qword [0x464d08]
fstp qword [esp]
push 0x47c1e8
push eax
call fcn.0043e0c9
mov ecx, dword [esp + 0x50]
add esp, 0x10
lea edx, [esp + 8]
push ecx
push 9
push edx
call fcn.0044f3f4
mov byte [esp + 0x30], 4
lea ecx, [esp + 0x40]
call fcn.00447d9c
mov eax, dword [0x47f244]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
push ecx
push edx
lea eax, [esp + 0x24]
push 0xa
push eax
mov byte [esp + 0x40], 8
call fcn.0044f40b
mov ebp, dword [0x47f244]
mov dword [esp + 0x3c], ebp
mov ecx, dword [esp + 0x38]
cmp ecx, 0x3c
jae 0x404983
mov dword [esp + 0x40], ebp
push ecx
lea ecx, [esp + 0x44]
push 0x47c1dc
push ecx
mov byte [esp + 0x3c], 0xa
call fcn.0043e0c9
mov edx, dword [esp + 0x4c]
add esp, 0xc
lea eax, [esp + 0x3c]
push edx
push 0xb
push eax
call fcn.0044f3f4
mov byte [esp + 0x30], 9
lea ecx, [esp + 0x40]
jmp 0x404a21
mov eax, 0x88888889
push esi
mul ecx
mov esi, edx
mov eax, ecx
xor edx, edx
mov ecx, 0x3c
div ecx
push edi
mov dword [esp + 0x40], ebp
shr esi, 5
mov edi, edx
push edi
lea edx, [esp + 0x44]
push 0x47c1dc
push edx
mov byte [esp + 0x44], 0xb
call fcn.0043e0c9
mov eax, dword [0x47f244]
add esp, 0xc
mov dword [esp + 0x48], eax
push esi
lea ecx, [esp + 0x4c]
push 0x47c1dc
push ecx
mov byte [esp + 0x44], 0xc
call fcn.0043e0c9
add esp, 0xc
cmp edi, ebx
pop edi
pop esi
jne 0x4049f4
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x3c]
push edx
push 0xc
push eax
call fcn.0044f3f4
jmp 0x404a0a
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
push ecx
push edx
lea eax, [esp + 0x44]
push 0xd
push eax
call fcn.0044f40b
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], 0xb
call fcn.00447d9c
mov byte [esp + 0x30], 9
lea ecx, [esp + 0x38]
call fcn.00447d9c
mov ecx, dword [0x47f244]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
push edx
push eax
lea ecx, [esp + 0x20]
push 0xe
push ecx
mov byte [esp + 0x40], 0xd
call fcn.0044f40b
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
push edx
lea ecx, [eax + 0xe4]
call fcn.00447252
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 9
call fcn.00447d9c
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 8
call fcn.00447d9c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 4
call fcn.00447d9c
lea ecx, [esp + 8]
mov byte [esp + 0x30], bl
call fcn.00447d9c
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.00447d9c
mov ecx, dword [esp + 0x28]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc