Function at 0x495910
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [esp + 0x2c]
push edi
push eax
mov ecx, esi
call dword [0x4ffe1c]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call dword [0x4ffe18]
mov edi, dword [0x4ffe14]
lea edx, [esp + 0x88]
push edx
mov ecx, esi
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call edi
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov ecx, esi
mov edx, dword [eax + 4]
lea eax, [esp + 0x88]
push eax
mov dword [esp + 0x38], edx
call edi
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], ecx
mov ecx, esi
mov edx, dword [eax + 0xc]
mov dword [esp + 0x3c], edx
call dword [0x5001f4]
fstp qword [esp + 0x10]
sub esp, 0x18
mov ecx, 6
lea esi, [esp + 0x48]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.004930a0
add esp, 0x18
mov dword [esp + 0x54], eax
test eax, eax
jne 0x495a00
call fcn.00492950
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x34], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 0x38], ecx
mov dword [esp + 0x54], eax
mov byte [eax + 4], 0
mov dword [eax + 0x3c], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
sub esp, 0x18
mov ecx, 6
lea esi, [esp + 0x50]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.004931b0
mov ebx, eax
add esp, 0x20
test ebx, ebx
jne 0x495a5d
call fcn.00492950
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov ebx, eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x30], edx
mov edx, dword [esp + 0x3c]
mov dword [ebx + 0x34], eax
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x38], ecx
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x48], eax
mov byte [ebx + 4], 2
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x4c], ecx
mov eax, dword [esp + 0x54]
mov cl, byte [eax + 7]
cmp cl, 1
jne 0x495ab7
cmp byte [ebx + 7], cl
jne 0x495ab7
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov edx, dword [ebp + 8]
push esi
push edi
push edx
call fcn.00495030
push eax
push esi
mov dword [ebx + 0x10], 0
push edi
mov dword [ebx + 8], eax
mov dword [ebx + 0x14], 0x3ff00000
call fcn.00498970
mov eax, dword [ebp + 8]
push eax
push 0x533cc0
call fcn.00492910
add esp, 0x20
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test cl, cl
jne 0x4968af
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
sub esp, 0x18
mov ecx, 6
lea esi, [esp + 0x50]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00499540
add esp, 0x20
call fcn.004993b0
cmp eax, 2
jl 0x49606e
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov eax, dword [ebp + 8]
push esi
push edi
push eax
call fcn.00495030
push eax
push esi
mov dword [ebx + 0x10], 0
push edi
mov dword [ebx + 8], eax
mov dword [ebx + 0x14], 0x3ff00000
call fcn.00498970
push ebx
mov byte [ebx + 7], 1
call fcn.004950b0
add esp, 0x1c
mov esi, eax
call fcn.00495080
mov dword [eax + 4], esi
call fcn.00499370
mov esi, eax
mov dword [esp + 0x20], esi
call fcn.00499370
mov edi, eax
mov dword [esp + 0x18], edi
call fcn.00499390
mov al, byte [esi + 4]
cmp al, 1
jne 0x495d2e
cmp byte [edi + 4], al
jne 0x495bef
mov eax, esi
mov ecx, edi
mov byte [ebx + 5], 0x16
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], ecx
mov edx, dword [eax + 0x2c]
mov ecx, dword [eax + 0x28]
push edx
mov edx, dword [eax + 0x24]
push ecx
mov ecx, dword [eax + 0x20]
push edx
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
push ecx
push edx
push eax
mov ecx, 6
sub esp, 0x18
lea esi, [esp + 0x60]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0049e6a0
add esp, 0x30
cmp eax, 0xffffffff
jne 0x495ba8
or byte [ebx + 6], 1
mov eax, dword [esp + 0x18]
lea esi, [esp + 0x30]
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x28]
push ecx
mov ecx, dword [eax + 0x24]
push edx
mov edx, dword [eax + 0x20]
push ecx
mov ecx, dword [eax + 0x1c]
push edx
mov edx, dword [eax + 0x18]
push ecx
push edx
sub esp, 0x18
mov ecx, 6
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0049e6a0
add esp, 0x30
cmp eax, 0xffffffff
jne 0x496036
mov al, byte [ebx + 6]
or al, 2
jmp 0x496033
cmp al, 1
jne 0x495d2e
cmp byte [edi + 4], 2
jne 0x495d2e
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov byte [ebx + 5], 0x17
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], ecx
mov edx, dword [eax + 0x2c]
mov ecx, dword [eax + 0x28]
push edx
mov edx, dword [eax + 0x24]
push ecx
mov ecx, dword [eax + 0x20]
push edx
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
push ecx
push edx
push eax
mov ecx, 6
sub esp, 0x18
lea esi, [esp + 0x60]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0049e6a0
add esp, 0x30
cmp eax, 0xffffffff
jne 0x495c4c
or byte [ebx + 6], 1
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x4c]
mov edx, dword [eax + 0x48]
push ecx
push edx
sub esp, 0x18
lea esi, [eax + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, 6
mov edi, esp
mov dword [esp + 0x3c], esi
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x30]
push eax
push ecx
mov ecx, 6
sub esp, 0x18
lea esi, [esp + 0x70]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0049e7d0
add esp, 0x40
cmp eax, 0xffffffff
jne 0x495c96
or byte [ebx + 6], 2
test byte [ebx + 6], 1
je 0x495caf
fld qword [esp + 0x10]
lea edx, [esp + 0x48]
push edx
sub esp, 8
fchs
fstp qword [esp]
jmp 0x495cbe
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x48]
push eax
push ecx
push edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x28]
push ecx
push edx
call fcn.0049e5d0
mov al, byte [ebx + 6]
add esp, 0x14
test al, 2
je 0x495ce8
mov eax, dword [esp + 0x18]
fld qword [eax + 0x48]
fsub qword [esp + 0x10]
fabs
jmp 0x495cf3
mov ecx, dword [esp + 0x18]
fld qword [esp + 0x10]
fadd qword [ecx + 0x48]
fstp qword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x58]
lea eax, [esp + 0x70]
mov esi, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
mov eax, dword [esp + 0x58]
push edx
sub esp, 0x18
mov ecx, 6
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x4c]
push ecx
jmp 0x495e68
cmp al, 2
jne 0x496036
cmp byte [edi + 4], 1
jne 0x495ebb
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov byte [ebx + 5], 0x17
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], ecx
mov edx, dword [eax + 0x2c]
mov ecx, dword [eax + 0x28]
push edx
mov edx, dword [eax + 0x24]
push ecx
mov ecx, dword [eax + 0x20]
push edx
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
push ecx
push edx
push eax
mov ecx, 6
sub esp, 0x18
lea esi, [esp + 0x60]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0049e6a0
add esp, 0x30
cmp eax, 0xffffffff
jne 0x495d8b
or byte [ebx + 6], 1
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x4c]
mov edx, dword [eax + 0x48]
push ecx
push edx
sub esp, 0x18
lea esi, [eax + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, 6
mov edi, esp
mov dword [esp + 0x4c], esi
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x30]
push eax
push ecx
mov ecx, 6
sub esp, 0x18
lea esi, [esp + 0x70]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0049e7d0
add esp, 0x40
cmp eax, 0xffffffff
jne 0x495dd5
or byte [ebx + 6], 2
test byte [ebx + 6], 1
je 0x495dee
fld qword [esp + 0x10]
lea edx, [esp + 0x48]
push edx
sub esp, 8
fchs
fstp qword [esp]
jmp 0x495dfd
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x48]
push eax
push ecx
push edx
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x28]
push ecx
push edx
call fcn.0049e5d0
mov al, byte [ebx + 6]
add esp, 0x14
test al, 2
je 0x495e27
mov eax, dword [esp + 0x20]
fld qword [eax + 0x48]
fsub qword [esp + 0x10]
fabs
jmp 0x495e32
mov ecx, dword [esp + 0x20]
fld qword [esp + 0x10]
fadd qword [ecx + 0x48]
fstp qword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x58]
lea eax, [esp + 0x70]
mov esi, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
mov eax, dword [esp + 0x58]
push edx
sub esp, 0x18
mov ecx, 6
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov edx, dword [eax + 0x24]
mov ecx, dword [eax + 0x20]
push edx
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
push ecx
push edx
push eax
call fcn.0049e9b0
add esp, 0x28
mov ecx, 6
lea esi, [esp + 0x70]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
sub esp, 0x18
mov ecx, 6
lea esi, [esp + 0x60]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0049e610
fcomp qword [0x502918]
add esp, 0x30
fnstsw ax
test ah, 1
je 0x496036
jmp 0x49602e
cmp al, 2
jne 0x496036
cmp byte [edi + 4], 2
jne 0x496036
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov byte [ebx + 5], 0x18
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], ecx
mov edx, dword [eax + 0x4c]
lea esi, [eax + 0x30]
mov eax, dword [eax + 0x48]
push edx
push eax
mov edx, dword [esp + 0x18]
sub esp, 0x18
mov ecx, 6
mov edi, esp
mov dword [esp + 0x4c], esi
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x34]
lea esi, [esp + 0x50]
push ecx
push edx
sub esp, 0x18
mov ecx, 6
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0049e7d0
add esp, 0x40
cmp eax, 0xffffffff
jne 0x495f25
or byte [ebx + 6], 1
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x4c]
mov edx, dword [eax + 0x48]
push ecx
push edx
sub esp, 0x18
lea esi, [eax + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, 6
mov edi, esp
mov dword [esp + 0x3c], esi
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x30]
push eax
push ecx
mov ecx, 6
sub esp, 0x18
lea esi, [esp + 0x70]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0049e7d0
add esp, 0x40
cmp eax, 0xffffffff
jne 0x495f6f
or byte [ebx + 6], 2
mov al, byte [ebx + 6]
test al, 1
je 0x495f85
mov edx, dword [esp + 0x20]
fld qword [edx + 0x48]
fsub qword [esp + 0x10]
fabs
jmp 0x495f90
mov ecx, dword [esp + 0x20]
fld qword [esp + 0x10]
fadd qword [ecx + 0x48]
fstp qword [esp + 0x20]
test al, 2
je 0x495fa7
mov edx, dword [esp + 0x18]
fld qword [edx + 0x48]
fsub qword [esp + 0x10]
fabs
jmp 0x495fb2
mov eax, dword [esp + 0x18]
fld qword [esp + 0x10]
fadd qword [eax + 0x48]
fstp qword [esp + 0x10]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x58]
lea edx, [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, 6
sub esp, 0x18
mov edi, esp
push edx
push eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x5c]
sub esp, 0x18
mov ecx, 6
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0049ea50
add esp, 0x30
mov ecx, 6
lea esi, [esp + 0x70]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
sub esp, 0x18
mov ecx, 6
lea esi, [esp + 0x60]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0049e610
fcomp qword [0x502918]
add esp, 0x30
fnstsw ax
test ah, 1
je 0x496036
mov al, byte [ebx + 6]
or al, 4
mov byte [ebx + 6], al
mov eax, dword [esp + 0x54]
push eax
mov byte [eax + 7], 1
mov dword [eax + 0x50], ebx
call fcn.004950b0
mov esi, eax
call fcn.00495080
mov ecx, dword [ebp + 8]
mov dword [eax + 4], esi
push ecx
push 0x533cc0
call fcn.00492910
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x496895
call fcn.00499370
mov dword [esp + 0x18], eax
call fcn.00499390
sub esp, 0x18
mov ecx, 6
lea esi, [esp + 0x48]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00499680
add esp, 0x18
call fcn.004993b0
test eax, eax
jle 0x496519
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov edx, dword [ebp + 8]
push esi
push edi
push edx
call fcn.00495030
push eax
push esi
mov dword [ebx + 0x10], 0
push edi
mov dword [ebx + 8], eax
mov dword [ebx + 0x14], 0x3ff00000
call fcn.00498970
push ebx
mov byte [ebx + 7], 1
call fcn.004950b0
add esp, 0x1c
mov esi, eax
call fcn.00495080
mov dword [eax + 4], esi
call fcn.00499370
mov esi, eax
mov dword [esp + 0x20], esi
call fcn.00499390
mov al, byte [esi + 4]
mov ecx, dword [esp + 0x18]
cmp al, 1
jne 0x49615f
cmp byte [ecx + 4], 1
jne 0x49615f
mov eax, esi
mov byte [ebx + 5], 0x1b
mov dword [ebx + 0x50], eax
mov eax, ecx
mov dword [ebx + 0x54], eax
lea esi, [esp + 0x30]
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x28]
push ecx
mov ecx, dword [eax + 0x24]
push edx
mov edx, dword [eax + 0x20]
push ecx
mov ecx, dword [eax + 0x1c]
push edx
mov edx, dword [eax + 0x18]
push ecx
push edx
sub esp, 0x18
mov ecx, 6
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0049e6a0
add esp, 0x30
cmp eax, 0xffffffff
jne 0x4964fc
mov al, byte [ebx + 6]
or al, 1
jmp 0x4964f9
cmp al, 1
jne 0x4962a8
cmp byte [ecx + 4], 2
jne 0x4962a8
mov eax, dword [esp + 0x20]
mov byte [ebx + 5], 0x1c
mov dword [ebx + 0x50], eax
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x54], eax
mov ecx, dword [eax + 0x4c]
mov edx, dword [eax + 0x48]
push ecx
push edx
sub esp, 0x18
lea esi, [eax + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, 6
mov edi, esp
mov dword [esp + 0x3c], esi
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x30]
push eax
push ecx
mov ecx, 6
sub esp, 0x18
lea esi, [esp + 0x70]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0049e7d0
add esp, 0x40
cmp eax, 0xffffffff
jne 0x4961c9
or byte [ebx + 6], 1
cmp byte [ebx + 6], 1
jne 0x49621b
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x58]
lea eax, [esp + 0x70]
push edx
fld qword [ecx + 0x48]
fsub qword [esp + 0x14]
push eax
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
sub esp, 8
mov edx, dword [eax + 0x2c]
sub esp, 0x18
fabs
fstp qword [esp + 0x18]
mov ecx, 6
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x28]
push edx
mov edx, dword [eax + 0x24]
push ecx
mov ecx, dword [eax + 0x20]
push edx
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
push ecx
push edx
push eax
jmp 0x496262
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x58]
fld qword [esp + 0x10]
fadd qword [eax + 0x48]
lea edx, [esp + 0x70]
push ecx
push edx
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
sub esp, 8
mov ecx, 6
fstp qword [esp]
mov edx, dword [eax + 0x28]
sub esp, 0x18
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x2c]
push ecx
mov ecx, dword [eax + 0x24]
push edx
mov edx, dword [eax + 0x20]
push ecx
mov ecx, dword [eax + 0x1c]
push edx
mov edx, dword [eax + 0x18]
push ecx
push edx
call fcn.0049e9b0
add esp, 0x40
mov ecx, 6
sub esp, 0x18
lea esi, [esp + 0x70]
mov edi, esp
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov ecx, 6
lea esi, [esp + 0x60]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0049e610
fcomp qword [0x502918]
add esp, 0x30
fnstsw ax
test ah, 1
je 0x4964fc
jmp 0x4964f4
cmp al, 2
jne 0x4964fc
cmp byte [ecx + 4], 1
jne 0x4963f1
mov eax, dword [esp + 0x18]
mov byte [ebx + 5], 0x1d
mov dword [ebx + 0x50], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x54], eax
mov ecx, dword [eax + 0x4c]
mov edx, dword [eax + 0x48]
push ecx
push edx
sub esp, 0x18
lea esi, [eax + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, 6
mov edi, esp
mov dword [esp + 0x4c], esi
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x30]
push eax
push ecx
mov ecx, 6
sub esp, 0x18
lea esi, [esp + 0x70]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0049e7d0
add esp, 0x40
cmp eax, 0xffffffff
jne 0x496312
or byte [ebx + 6], 1
cmp byte [ebx + 6], 1
jne 0x496364
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x58]
lea eax, [esp + 0x70]
push edx
fld qword [ecx + 0x48]
fsub qword [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x34]
sub esp, 8
mov edx, dword [eax + 0x2c]
sub esp, 0x18
fabs
fstp qword [esp + 0x18]
mov ecx, 6
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x28]
push edx
mov edx, dword [eax + 0x24]
push ecx
mov ecx, dword [eax + 0x20]
push edx
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
push ecx
push edx
push eax
jmp 0x4963ab
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x58]
fld qword [esp + 0x10]
fadd qword [eax + 0x48]
lea edx, [esp + 0x70]
push ecx
push edx
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
sub esp, 8
mov ecx, 6
fstp qword [esp]
mov edx, dword [eax + 0x28]
sub esp, 0x18
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x2c]
push ecx
mov ecx, dword [eax + 0x24]
push edx
mov edx, dword [eax + 0x20]
push ecx
mov ecx, dword [eax + 0x1c]
push edx
mov edx, dword [eax + 0x18]
push ecx
push edx
call fcn.0049e9b0
add esp, 0x40
mov ecx, 6
sub esp, 0x18
lea esi, [esp + 0x70]
mov edi, esp
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov ecx, 6
lea esi, [esp + 0x60]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0049e610
fcomp qword [0x502918]
add esp, 0x30
fnstsw ax
test ah, 1
je 0x4964fc
jmp 0x4964f4
cmp al, 2
jne 0x4964fc
cmp byte [ecx + 4], 2
jne 0x4964fc
mov eax, dword [esp + 0x20]
mov byte [ebx + 5], 0x1e
mov dword [ebx + 0x50], eax
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x54], eax
mov ecx, dword [eax + 0x4c]
mov edx, dword [eax + 0x48]
push ecx
push edx
sub esp, 0x18
lea esi, [eax + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, 6
mov edi, esp
mov dword [esp + 0x3c], esi
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x30]
push eax
push ecx
mov ecx, 6
sub esp, 0x18
lea esi, [esp + 0x70]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0049e7d0
add esp, 0x40
cmp eax, 0xffffffff
jne 0x49645b
or byte [ebx + 6], 1
mov al, byte [ebx + 6]
lea edx, [esp + 0x58]
cmp al, 1
lea eax, [esp + 0x70]
push edx
push eax
jne 0x49647b
mov ecx, dword [esp + 0x20]
fld qword [ecx + 0x48]
fsub qword [esp + 0x18]
fabs
jmp 0x496486
mov ecx, dword [esp + 0x20]
fld qword [esp + 0x18]
fadd qword [ecx + 0x48]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
sub esp, 8
mov ecx, 6
mov edx, dword [eax + 0x4c]
fstp qword [esp]
sub esp, 0x18
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x48]
push edx
push ecx
lea esi, [eax + 0x30]
sub esp, 0x18
mov ecx, 6
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0049ea50
add esp, 0x48
mov ecx, 6
sub esp, 0x18
lea esi, [esp + 0x70]
mov edi, esp
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov ecx, 6
lea esi, [esp + 0x60]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0049e610
fcomp qword [0x502918]
add esp, 0x30
fnstsw ax
test ah, 1
je 0x4964fc
mov al, byte [ebx + 6]
or al, 2
mov byte [ebx + 6], al
mov edx, dword [ebp + 8]
push edx
push 0x533cc0
call fcn.00492910
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
sub esp, 0x18
mov ecx, 6
lea esi, [esp + 0x50]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00499440
add esp, 0x20
call fcn.004993b0
test eax, eax
jle 0x496895
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov edx, dword [ebp + 8]
push esi
push edi
push edx
call fcn.00495030
push eax
push esi
mov dword [ebx + 0x10], 0
push edi
mov dword [ebx + 8], eax
mov dword [ebx + 0x14], 0x3ff00000
call fcn.00498970
push ebx
mov byte [ebx + 7], 1
call fcn.004950b0
add esp, 0x1c
mov esi, eax
call fcn.00495080
mov dword [eax + 4], esi
call fcn.00499370
mov edi, eax
call fcn.00499390
mov eax, dword [esp + 0x18]
mov al, byte [eax + 4]
cmp al, 1
jne 0x49663a
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x58]
lea edx, [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
mov byte [ebx + 5], 0x19
mov dword [ebx + 0x50], edi
mov dword [ebx + 0x54], eax
push ecx
mov ecx, dword [eax + 0x2c]
push edx
mov edx, dword [eax + 0x28]
push ecx
mov ecx, dword [eax + 0x24]
push edx
mov edx, dword [eax + 0x20]
push ecx
mov ecx, dword [eax + 0x1c]
push edx
mov edx, dword [eax + 0x18]
push ecx
push edx
sub esp, 0x18
lea esi, [edi + 0x30]
mov ecx, 6
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0049f050
add esp, 0x28
mov ecx, 6
lea esi, [esp + 0x88]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
sub esp, 0x18
mov ecx, 6
lea esi, [esp + 0x60]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0049e610
fcomp qword [0x502918]
add esp, 0x30
fnstsw ax
test ah, 0x41
jne 0x496878
mov al, byte [ebx + 6]
or al, 1
jmp 0x496875
cmp al, 2
jne 0x496878
lea ecx, [esp + 0x58]
mov eax, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
mov byte [ebx + 5], 0x1a
mov dword [ebx + 0x50], edi
mov dword [ebx + 0x54], eax
push ecx
mov ecx, dword [eax + 0x4c]
lea esi, [eax + 0x30]
mov eax, dword [eax + 0x48]
push ecx
push eax
lea edx, [edi + 0x30]
sub esp, 0x18
mov ecx, 6
mov edi, esp
mov dword [esp + 0x4c], esi
rep movsd dword es:[edi], dword [esi]
sub esp, 0x18
mov ecx, 6
mov esi, edx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x74], edx
call fcn.0049f280
add esp, 0x30
mov ecx, 6
lea esi, [esp + 0x88]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
sub esp, 0x18
mov ecx, 6
lea esi, [esp + 0x60]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0049e610
fcomp qword [0x502918]
add esp, 0x30
fnstsw ax
test ah, 1
jne 0x496878
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x58]
lea edx, [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
mov esi, dword [esp + 0x2c]
fld qword [edx + 0x48]
sub esp, 8
mov ecx, 6
fchs
fstp qword [esp]
sub esp, 0x18
mov edi, esp
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x74]
mov ecx, 6
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0049f280
add esp, 0x30
mov ecx, 6
lea esi, [esp + 0x88]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
sub esp, 0x18
mov ecx, 6
lea esi, [esp + 0x60]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0049e610
fcomp qword [0x502918]
add esp, 0x30
fnstsw ax
test ah, 1
je 0x49675f
mov al, byte [ebx + 6]
or al, 1
jmp 0x496875
fld qword [esp + 0x10]
fchs
fstp qword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x58]
lea ecx, [esp + 0x70]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov ecx, dword [eax + 0x4c]
mov edx, dword [eax + 0x48]
push ecx
push edx
sub esp, 0x18
mov ecx, 6
mov edi, esp
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x74]
mov ecx, 6
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0049f280
add esp, 0x30
mov ecx, 6
lea esi, [esp + 0x88]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
sub esp, 0x18
mov ecx, 6
lea esi, [esp + 0x60]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0049e610
fcomp qword [0x502918]
add esp, 0x30
fnstsw ax
test ah, 1
je 0x4967f0
mov al, byte [ebx + 6]
or al, 2
jmp 0x496875
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x58]
lea ecx, [esp + 0x70]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
mov esi, dword [esp + 0x2c]
fld qword [ecx + 0x48]
sub esp, 8
mov ecx, 6
fchs
fstp qword [esp]
sub esp, 0x18
mov edi, esp
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x74]
mov ecx, 6
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0049f280
add esp, 0x30
mov ecx, 6
lea esi, [esp + 0x88]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
sub esp, 0x18
mov ecx, 6
lea esi, [esp + 0x60]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0049e610
fcomp qword [0x502918]
add esp, 0x30
fnstsw ax
test ah, 1
je 0x496878
mov al, byte [ebx + 6]
or al, 3
mov byte [ebx + 6], al
mov edx, dword [ebp + 8]
push edx
push 0x533cc0
call fcn.00492910
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
push eax
push 0x533cc0
call fcn.00492910
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
mov byte [ebx + 7], 1
mov byte [ebx + 5], 0x14
mov dword [ebx + 0x50], eax
call fcn.004950b0
mov esi, eax
call fcn.00495080
mov edi, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x18]
push esi
push edi
push ecx
call fcn.00495030
push eax
push esi
mov dword [ebx + 0x10], 0
push edi
mov dword [ebx + 8], eax
mov dword [ebx + 0x14], 0x3ff00000
call fcn.00498970
mov edx, dword [ebp + 8]
push edx
push 0x533cc0
call fcn.00492910
add esp, 0x24
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret