Function at 0x4209dc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45abdb
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x4732d4]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [esp + 0x64]
call fcn.00412415
mov eax, dword [0x476e64]
mov ecx, 0x476e64
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
and dword [esp + 0xa8], 0
lea eax, [esp + 0x64]
push eax
mov eax, ebx
call fcn.00412444
movzx edx, byte [ebx + 0x30]
mov cl, byte [ebx + 0x31]
mov al, byte [ebx + 0x32]
or edx, 0xffffff00
shl edx, 8
movzx ecx, cl
or edx, ecx
movzx eax, al
shl edx, 8
or edx, eax
lea eax, [esp + 0x10]
lea esi, [esp + 0x58]
mov dword [esp + 0x10], edx
call fcn.004041ee
mov byte [esp + 0xa8], 1
cmp dword [ebx + 0x30], 0xffffffff
je 0x420aad
lea edi, [ebx + 0x18]
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
push eax
mov eax, dword [edi + 8]
sub eax, dword [edi]
push eax
push dword [ebx + 0x1c]
mov eax, esi
push dword [edi]
mov esi, dword [ebp + 8]
call fcn.0040422b
mov ecx, dword [ebx + 0x120]
test ecx, ecx
je 0x420acd
mov esi, edi
jmp 0x420aba
mov ecx, dword [ebx + 0x118]
test ecx, ecx
je 0x420acd
lea esi, [ebx + 0x18]
mov eax, dword [ecx]
push 0
sub esp, 0x10
mov edi, esp
push dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x18]
mov eax, dword [ebx + 0x108]
mov ecx, dword [ebx + 0x104]
cmp eax, ecx
jne 0x420ae1
fldz
jmp 0x420b4d
jae 0x420aef
mov dword [ebx + 0x108], ecx
mov dword [ebx + 0x104], eax
mov edx, dword [ebx + 0x10c]
mov ecx, dword [ebx + 0x104]
cmp edx, ecx
jae 0x420b07
mov dword [ebx + 0x10c], ecx
jmp 0x420b17
mov eax, dword [ebx + 0x108]
cmp edx, eax
jbe 0x420b17
mov dword [ebx + 0x10c], eax
mov eax, dword [ebx + 0x10c]
sub eax, ecx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
test eax, eax
jge 0x420b31
fadd qword [0x467120]
mov eax, dword [ebx + 0x108]
sub eax, ecx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
test eax, eax
jge 0x420b4b
fadd qword [0x467120]
fdivp st(1)
cmp dword [ebx + 0x114], 0xffffffff
fstp qword [esp + 0x3c]
lea esi, [ebx + 0x18]
lea edi, [esp + 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x420c1f
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul qword [esp + 0x3c]
call fcn.004578a0
add eax, dword [esp + 0x14]
movzx edx, byte [ebx + 0x114]
mov cl, byte [ebx + 0x115]
or edx, 0xffffff00
mov dword [esp + 0x1c], eax
mov al, byte [ebx + 0x116]
shl edx, 8
movzx ecx, cl
or edx, ecx
movzx eax, al
shl edx, 8
or edx, eax
lea eax, [esp + 0x10]
lea esi, [esp + 0x30]
mov dword [esp + 0x10], edx
call fcn.004041ee
mov byte [esp + 0xa8], 2
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
push eax
push dword [esp + 0x20]
mov eax, esi
push dword [esp + 0x20]
mov esi, dword [ebp + 8]
call fcn.0040422b
mov ecx, dword [ebx + 0x11c]
test ecx, ecx
je 0x420c11
mov eax, dword [ecx]
push 0
sub esp, 0x10
mov edi, esp
push dword [ebp + 8]
lea esi, [esp + 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x18]
push dword [esp + 0x34]
call fcn.0043c18a
jmp 0x420cdd
push 0xfffffffffffffffe
push 0xfffffffffffffffe
lea eax, [esp + 0x1c]
push eax
call dword [0x45c3cc]
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul qword [esp + 0x3c]
call fcn.004578a0
fld1
add eax, dword [esp + 0x14]
and dword [esp + 0x30], 0
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x30]
push eax
push 0
push ecx
fstp dword [esp]
mov edi, 0xff426190
push edi
call fcn.0043c2f8
mov esi, dword [ebp + 8]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x3c]
push dword [esp + 0x20]
call fcn.0041de10
lea eax, [esp + 0x10]
lea esi, [esp + 0x4c]
mov dword [esp + 0x10], edi
call fcn.004041ee
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
push eax
push dword [esp + 0x20]
mov eax, esi
push dword [esp + 0x20]
mov esi, dword [ebp + 8]
call fcn.0040422b
push dword [esp + 0x50]
call fcn.0043c18a
push dword [esp + 0x30]
call fcn.0043c2f2
call fcn.0041193b
lea esi, [esp + 0x28]
call fcn.00411919
push 1
push dword [esp + 0x2c]
call fcn.0043c226
test eax, eax
je 0x420cfe
mov dword [esp + 0x2c], eax
push 1
push dword [esp + 0x2c]
call fcn.0043c23e
test eax, eax
je 0x420d11
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x98]
movzx ecx, al
mov edx, eax
or ecx, 0xffffff00
shr edx, 8
shl ecx, 8
movzx edx, dl
shr eax, 0x10
or ecx, edx
movzx eax, al
shl ecx, 8
or ecx, eax
lea eax, [esp + 0x10]
lea esi, [esp + 0x4c]
mov dword [esp + 0x10], ecx
call fcn.004041ee
mov byte [esp + 0xa8], 4
cmp dword [ebx + 0x110], 0
je 0x420de5
fld qword [esp + 0x3c]
fmul qword [0x467128]
call fcn.004578a0
push eax
lea eax, [esp + 0x28]
push str._d__
push eax
call fcn.00401bf3
mov edi, dword [esp + 0xa0]
add esp, 0xc
test edi, edi
jne 0x420d93
call fcn.004119bd
mov edi, eax
mov esi, dword [ebp + 8]
lea eax, [ebx + 0x18]
fild dword [eax]
mov ecx, dword [eax + 8]
sub ecx, dword [eax]
fstp dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
fild dword [ebx + 0x1c]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 4]
mov ebx, dword [esp + 0x24]
fstp dword [esp + 0x40]
lea eax, [esp + 0x3c]
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
push eax
lea eax, [esp + 0x50]
fstp dword [esp + 0x48]
lea ecx, [esp + 0x2c]
fild dword [esp + 0x14]
fstp dword [esp + 0x4c]
push dword [ebx - 0xc]
push ebx
call fcn.0041197a
jmp 0x420de9
mov ebx, dword [esp + 0x24]
push dword [esp + 0x50]
call fcn.0043c18a
push dword [esp + 0x28]
call fcn.0043c268
push dword [esp + 0x5c]
call fcn.0043c18a
lea eax, [ebx - 0x10]
call fcn.00401143
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4