Function at 0x458700
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
lea eax, [esp + 0x30]
push edi
push eax
mov ebx, ecx
push 0xfafafa
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
call fcn.00425150
fld dword [esp + 0x34]
call fcn.00463230
fld dword [esp + 0x38]
mov edi, eax
mov dword [esp + 0x24], edi
call fcn.00463230
fld dword [esp + 0x3c]
fadd dword [esp + 0x34]
mov ebp, eax
mov dword [esp + 0x28], ebp
call fcn.00463230
fld dword [esp + 0x40]
fadd dword [esp + 0x38]
mov esi, eax
mov dword [esp + 0x2c], esi
call fcn.00463230
mov dword [esp + 0x30], eax
push ebp
sub eax, ebp
push edi
sub esi, edi
push eax
push esi
lea ecx, [ebx + 0x360c]
push ebx
call fcn.0043e950
call fcn.004810f5
call fcn.004810f5
mov eax, dword [eax + 0xc]
xor edi, edi
push edi
push 0x93
push eax
call dword [0x48a544]
push eax
lea ecx, [ebx + 0x360c]
call fcn.004433e0
mov ecx, dword [ebx + 0x3628]
push 0xfffffffffffffff0
push ecx
call dword [0x48a6e4]
mov edx, dword [ebx + 0x3628]
or eax, 0x2000000
push eax
push 0xfffffffffffffff0
push edx
call dword [0x48a6e8]
mov eax, dword [ebx + 0x3628]
push eax
call fcn.004061a0
mov ecx, eax
call fcn.0040eab0
mov ecx, dword [ebx + 0x3628]
push edi
push ecx
call dword [0x48a59c]
fld dword [esp + 0x3c]
xor esi, esi
call fcn.00463230
sub eax, 0x14
sub esp, 0x10
mov edx, esp
mov ecx, 0x1a
push ebx
mov dword [edx], esi
mov dword [edx + 4], edi
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
call fcn.00437940
mov ecx, eax
call fcn.00437ae0
push edi
call fcn.00437940
mov ecx, eax
call fcn.0047ace4
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
sub eax, ebp
sub ecx, edx
sub eax, 0xc8
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x3628]
sub ecx, 0x14
push edx
push eax
mov dword [esp + 0x28], ecx
call dword [0x48a53c]
push 0x2c
call fcn.0047ae5b
mov ecx, dword [ebx + 0x3628]
mov ebp, eax
add esp, 4
lea edx, [esp + 0x24]
lea eax, [ebp + 4]
mov dword [ebp], ecx
push edx
push eax
call dword [0x48a5a0]
mov dword [ebp + 0x14], 0x15
mov ecx, dword [esp + 0x24]
mov dword [ebp + 0x18], ecx
mov edx, dword [esp + 0x28]
mov dword [ebp + 0x1c], edx
mov eax, dword [ebx + 0x64]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
sub eax, edx
add eax, ecx
mov dword [ebp + 0x20], eax
mov ecx, dword [ebx + 0x68]
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
sub ecx, esi
mov dword [ebp + 0x28], 2
add ecx, edx
mov dword [ebp + 0x24], ecx
mov edx, dword [ebx + 0x3f24]
mov eax, dword [ebx + 0x3f20]
mov esi, edx
mov dword [esp + 0x14], esi
inc esi
cmp esi, edi
jne 0x45890d
cmp eax, edi
je 0x4588fc
push eax
call fcn.0047ae84
add esp, 4
mov dword [ebx + 0x3f20], edi
mov dword [ebx + 0x3f28], edi
mov dword [ebx + 0x3f24], edi
jmp 0x458a22
cmp eax, edi
jne 0x45894e
lea edi, [esi*4]
push edi
call fcn.0047ae5b
mov edx, eax
mov ecx, edi
mov dword [ebx + 0x3f20], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0x3f28], esi
mov dword [ebx + 0x3f24], esi
jmp 0x458a22
mov ecx, dword [ebx + 0x3f28]
cmp esi, ecx
jg 0x458972
cmp esi, edx
jle 0x458967
mov ecx, esi
lea edi, [eax + edx*4]
sub ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebx + 0x3f24], esi
jmp 0x458a22
mov eax, dword [ebx + 0x3f2c]
cmp eax, edi
jne 0x45899f
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x458993
mov eax, 4
jmp 0x45899f
cmp eax, 0x400
jle 0x45899f
mov eax, 0x400
add eax, ecx
cmp esi, eax
mov dword [esp + 0x10], eax
jl 0x4589ad
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
lea ecx, [eax*4]
push ecx
call fcn.0047ae5b
mov ecx, dword [ebx + 0x3f24]
mov esi, dword [ebx + 0x3f20]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x1c], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
mov edx, dword [ebx + 0x3f24]
lea esi, [ecx + 1]
lea edi, [eax + edx*4]
mov ecx, esi
xor eax, eax
sub ecx, edx
rep stosd dword es:[edi], eax
mov edx, dword [ebx + 0x3f20]
push edx
call fcn.0047ae84
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
add esp, 8
mov dword [ebx + 0x3f20], eax
mov dword [ebx + 0x3f24], esi
mov dword [ebx + 0x3f28], ecx
mov edx, dword [ebx + 0x3f20]
mov eax, dword [esp + 0x14]
pop edi
pop esi
mov dword [edx + eax*4], ebp
pop ebp
mov eax, 1
pop ebx
add esp, 0x34
ret