Function at 0x49cc70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x124
mov eax, dword [0x5e0504]
mov edx, dword [0x5e04fc]
push ebx
push ebp
lea ebx, [eax + eax*2]
push esi
shl ebx, 4
push edi
xor esi, esi
add ebx, edx
mov edi, ecx
inc eax
mov dword [esp + 0x8c], esi
mov dword [0x5e0504], eax
mov ebp, dword [edi + 0x24]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov dword [esp + 0x5c], ebp
mov ebp, dword [edi + 0x28]
mov edx, dword [edi + 0xc]
mov dword [esp + 0x64], ebp
mov ebp, dword [edi + 0x2c]
mov dword [esp + 0x94], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x4c], ebp
mov ebp, dword [esp + 0x94]
mov dword [esp + 0xbc], ecx
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0xbc]
mov dword [esp + 0xb8], edx
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0xb8]
mov dword [esp + 0xc0], eax
mov edx, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0xc0]
mov dword [esp + 0xa0], ecx
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0xa0]
cmp ecx, dword [esp + 0x5c]
mov dword [esp + 0x34], ebp
mov ebp, ecx
mov dword [esp + 0x120], esi
mov dword [esp + 0x11c], esi
mov dword [esp + 0x88], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x90], 0xffffffff
mov dword [esp + 0x10], ebp
jge 0x49cfcd
jmp 0x49cd85
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x78]
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x7c]
push ecx
push ebp
push eax
mov ecx, ebp
call fcn.0049cb00
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x24]
add ebp, eax
add edx, ecx
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0xb0], esi
add ebp, edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x20]
add ebp, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x6c]
add edx, ebp
mov ebp, dword [esp + 0x3c]
sub ebp, eax
mov eax, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x44]
sub dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x48]
sub dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x6c]
sub dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x40]
fild qword [esp + 0xac]
mov dword [esp + 0x124], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x128], esi
mov dword [esp + 0x10c], ecx
fild qword [esp + 0x124]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x110], esi
fild qword [esp + 0x10c]
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xe0], esi
mov dword [esp + 0xcc], ecx
fild qword [esp + 0xdc]
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd8], esi
mov dword [esp + 0xf4], eax
fstp qword [esp + 0xc4]
fild qword [esp + 0xcc]
mov dword [esp + 0xf8], esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x30], eax
fstp qword [esp + 0xe4]
fild qword [esp + 0xd4]
fstp qword [esp + 0xec]
fild qword [esp + 0xf4]
fld st(3)
fmul st(4)
fld st(3)
fmul st(4)
mov dword [esp + 0x104], ebp
mov dword [esp + 0x108], esi
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fild qword [esp + 0x104]
fdivp st(1)
fsubp st(1)
call fcn.004fff44
mov edx, dword [esp + 0x24]
mov dword [esp + 0x118], esi
fstp st(0)
fstp st(0)
fstp st(0)
mov dword [esp + 0x114], edx
mov ebp, eax
fild qword [esp + 0x114]
fld qword [esp + 0xc4]
fmul qword [esp + 0xc4]
fld qword [esp + 0xe4]
fmul qword [esp + 0xe4]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x100], esi
faddp st(1)
fld qword [esp + 0xec]
fmul qword [esp + 0xec]
mov dword [esp + 0xfc], eax
faddp st(1)
fild qword [esp + 0xfc]
fdivp st(1)
fsubp st(1)
call fcn.004fff44
add ebp, eax
mov eax, dword [esp + 0x90]
cmp ebp, eax
jae 0x49cfa6
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x5c]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x49cd76
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x88]
mov ebp, dword [esp + 0x94]
cmp edx, dword [esp + 0x64]
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0xbc]
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0xb8]
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0xc0]
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0xa0]
mov dword [esp + 0x34], ebp
mov ebp, edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x124], 0xffffffff
mov dword [esp + 0x10], ebp
jge 0x49d29d
jmp 0x49d047
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
lea edx, [esp + 0x6c]
push edx
lea edx, [esp + 0x4c]
push edx
lea edx, [esp + 0x4c]
push edx
lea edx, [esp + 0x88]
push edx
lea edx, [esp + 0x90]
push edx
mov edx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x74]
push ebp
push edx
push eax
mov edx, ebp
call fcn.0049cb00
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x24]
add ebp, eax
add edx, ecx
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x100], esi
add ebp, edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x20]
add ebp, edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x28]
add ebp, edx
mov dword [esp + 0x118], esi
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x3c]
sub ebp, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0x30]
sub ebp, ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x48]
sub eax, ecx
mov ecx, dword [esp + 0x40]
sub ecx, ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 0xfc], eax
sub ebp, edx
fild qword [esp + 0xfc]
mov dword [esp + 0x114], ecx
mov dword [esp + 0x38], eax
fild qword [esp + 0x114]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x104], ebp
mov dword [esp + 0x108], esi
mov dword [esp + 0xf4], eax
fild qword [esp + 0x104]
mov dword [esp + 0xf8], esi
mov edx, dword [esp + 0x28]
fild qword [esp + 0xf4]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], esi
fstp qword [esp + 0xc4]
fild qword [esp + 0xd4]
mov eax, dword [esp + 0x30]
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd0], esi
mov dword [esp + 0x34], ebp
fstp qword [esp + 0xe4]
fild qword [esp + 0xcc]
mov dword [esp + 0xdc], eax
fstp qword [esp + 0xec]
mov dword [esp + 0xe0], esi
mov ecx, dword [esp + 0x3c]
fild qword [esp + 0xdc]
fld st(3)
fmul st(4)
fld st(3)
fmul st(4)
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], esi
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fild qword [esp + 0x10c]
fdivp st(1)
fsubp st(1)
call fcn.004fff44
mov edx, dword [esp + 0x24]
mov dword [esp + 0xb0], esi
fstp st(0)
fstp st(0)
fstp st(0)
mov dword [esp + 0xac], edx
mov ebp, eax
fild qword [esp + 0xac]
fld qword [esp + 0xc4]
fmul qword [esp + 0xc4]
fld qword [esp + 0xe4]
fmul qword [esp + 0xe4]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x130], esi
faddp st(1)
fld qword [esp + 0xec]
fmul qword [esp + 0xec]
mov dword [esp + 0x12c], eax
faddp st(1)
fild qword [esp + 0x12c]
fdivp st(1)
fsubp st(1)
call fcn.004fff44
add ebp, eax
mov eax, dword [esp + 0x124]
cmp ebp, eax
jae 0x49d276
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x124], ebp
mov dword [esp + 0x120], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x64]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x49d035
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x88]
mov ebp, dword [esp + 0x94]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0xbc]
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0xb8]
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0xc0]
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0xa0]
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x4c]
cmp eax, ebp
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0xac], 0xffffffff
mov dword [esp + 0x10], eax
jge 0x49d55f
jmp 0x49d314
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x88]
lea ebp, [esp + 0x6c]
push ebp
lea ebp, [esp + 0x4c]
push ebp
lea ebp, [esp + 0x4c]
push ebp
lea ebp, [esp + 0x88]
push ebp
lea ebp, [esp + 0x90]
push ebp
mov ebp, dword [esp + 0x78]
push eax
push ebp
mov ebp, dword [esp + 0x78]
push ebp
push eax
call fcn.0049cb00
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x24]
add ebp, eax
add edx, ecx
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x130], esi
add ebp, edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x20]
add ebp, edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x28]
add ebp, edx
mov dword [esp + 0x100], esi
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x3c]
sub ebp, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0x30]
sub ebp, ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x48]
sub eax, ecx
mov ecx, dword [esp + 0x40]
sub ecx, ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x12c], eax
sub ebp, edx
fild qword [esp + 0x12c]
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x38], eax
fild qword [esp + 0xfc]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x114], ebp
mov dword [esp + 0x118], esi
mov dword [esp + 0x104], eax
fild qword [esp + 0x114]
mov dword [esp + 0x108], esi
mov edx, dword [esp + 0x28]
fild qword [esp + 0x104]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xf8], esi
fstp qword [esp + 0xc4]
fild qword [esp + 0xf4]
mov eax, dword [esp + 0x30]
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd8], esi
mov dword [esp + 0x34], ebp
fstp qword [esp + 0xe4]
fild qword [esp + 0xd4]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], esi
fstp qword [esp + 0xec]
fild qword [esp + 0xcc]
fld st(3)
fmul st(4)
fld st(3)
fmul st(4)
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xe0], esi
faddp st(1)
fld st(2)
fmul st(3)
mov dword [esp + 0xdc], ecx
faddp st(1)
fild qword [esp + 0xdc]
fdivp st(1)
fsubp st(1)
call fcn.004fff44
mov edx, dword [esp + 0x24]
mov dword [esp + 0x110], esi
fstp st(0)
fstp st(0)
fstp st(0)
mov dword [esp + 0x10c], edx
mov ebp, eax
fild qword [esp + 0x10c]
fld qword [esp + 0xc4]
fmul qword [esp + 0xc4]
fld qword [esp + 0xe4]
fmul qword [esp + 0xe4]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], esi
faddp st(1)
fld qword [esp + 0xec]
fmul qword [esp + 0xec]
mov dword [esp + 0x14], eax
faddp st(1)
fild qword [esp + 0x14]
fdivp st(1)
fsubp st(1)
call fcn.004fff44
add ebp, eax
mov eax, dword [esp + 0xac]
cmp ebp, eax
jae 0x49d538
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xac], ebp
mov dword [esp + 0x11c], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x4c]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x49d305
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x88]
mov ebp, dword [esp + 0x90]
mov dword [esp + 0x10], esi
cmp dword [esp + 0x124], ebp
mov dword [esp + 0x60], ebp
jae 0x49d58a
mov ebp, dword [esp + 0x124]
mov dword [esp + 0x10], 1
mov dword [esp + 0x60], ebp
mov ebp, dword [esp + 0x60]
cmp dword [esp + 0xac], ebp
jae 0x49d59f
mov dword [esp + 0x10], 2
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x60], ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 0xa4], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x9c], ebp
mov ebp, dword [esp + 0x10]
sub ebp, esi
mov dword [esp + 0xa8], edx
mov dword [esp + 0xb4], eax
je 0x49d63b
dec ebp
je 0x49d60e
dec ebp
jne 0x49d66a
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x54], ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x50], ebp
mov ebp, dword [esp + 0x11c]
mov dword [esp + 0x58], ebp
inc ebp
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ebp
jmp 0x49d66a
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x54], ebp
mov ebp, dword [esp + 0x120]
mov dword [esp + 0x50], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0x120]
inc ebp
mov dword [esp + 0x70], ebp
jmp 0x49d666
mov ebp, dword [esp + 0x8c]
mov dword [esp + 0x70], edx
mov dword [esp + 0x54], ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x50], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0x8c]
inc ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x74], eax
lea ebp, [esp + 0x58]
push ebp
lea ebp, [esp + 0x54]
push ebp
lea ebp, [esp + 0x5c]
push ebp
lea ebp, [esp + 0xc0]
push ebp
lea ebp, [esp + 0xb8]
push ebp
lea ebp, [esp + 0xac]
push ebp
mov ebp, dword [esp + 0x70]
push ebp
mov ebp, dword [esp + 0x6c]
push ebp
mov ebp, dword [esp + 0x74]
push ebp
push eax
call fcn.0049c800
lea edx, [esp + 0x9c]
lea eax, [esp + 0xa4]
push edx
lea ecx, [esp + 0x64]
push eax
lea edx, [esp + 0x7c]
push ecx
lea eax, [esp + 0x7c]
push edx
mov edx, dword [esp + 0xac]
lea ecx, [esp + 0x78]
push eax
mov eax, dword [esp + 0xb8]
push ecx
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x90]
push eax
push ecx
mov ecx, dword [esp + 0x8c]
push edx
mov edx, dword [esp + 0x98]
call fcn.0049c800
lea eax, [esp + 0x28]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x64]
lea ecx, [esp + 0x38]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0xcc]
push eax
push ecx
mov ecx, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0xcc]
call fcn.0049cb00
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x24]
sub eax, ebp
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xbc]
sub eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xb8]
sub eax, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xc0]
sub eax, edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x18], esi
sub eax, edx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
fild qword [esp + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
fild qword [esp + 0x14]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], esi
fild qword [esp + 0x14]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], esi
fild qword [esp + 0x14]
fld st(3)
fmul st(4)
fld st(3)
fmul st(4)
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], esi
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fild qword [esp + 0x14]
fdivp st(1)
fsubp st(1)
call fcn.004fff44
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov dword [edi], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0xc], edx
mov edx, dword [esp + 0x98]
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x28]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [edi + 0x18], edx
mov edx, dword [esp + 0x54]
fstp st(0)
mov dword [edi + 0x14], ecx
mov ecx, dword [esp + 0xb4]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x50]
mov dword [edi + 0x24], edx
mov edx, dword [esp + 0x38]
fstp st(0)
fstp st(0)
mov dword [edi + 0x20], ecx
mov ecx, dword [esp + 0x58]
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], esi
fild qword [esp + 0x14]
mov dword [edi + 0x2c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
fild qword [esp + 0x14]
mov dword [edi + 4], ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], esi
fild qword [esp + 0x14]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], esi
fild qword [esp + 0x14]
fld st(3)
fmul st(4)
fld st(3)
fmul st(4)
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x18], esi
faddp st(1)
fld st(2)
fmul st(3)
mov dword [esp + 0x14], edi
faddp st(1)
fild qword [esp + 0x14]
fdivp st(1)
fsubp st(1)
call fcn.004fff44
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [ebx], eax
mov eax, dword [esp + 0x40]
mov dword [ebx + 4], edi
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], ecx
mov edx, dword [esp + 0x68]
mov dword [ebx + 0x18], edx
mov eax, dword [esp + 0x70]
mov dword [ebx + 0x1c], eax
mov ecx, dword [esp + 0x74]
mov dword [ebx + 0x20], ecx
mov edx, dword [esp + 0x60]
mov dword [ebx + 0x24], edx
mov eax, dword [esp + 0xa4]
mov dword [ebx + 0x28], eax
mov ecx, dword [esp + 0x9c]
mov dword [ebx + 0x2c], ecx
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0xb4]
mov ebp, dword [esp + 0xa8]
mov edi, dword [esp + 0x98]
mov ecx, dword [esp + 0x50]
sub edx, eax
mov eax, dword [esp + 0x54]
sub edx, ebp
sub edx, edi
fstp st(0)
add edx, ecx
fstp st(0)
add edx, eax
fstp st(0)
je 0x49d937
mov esi, 2
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0xa4]
sub eax, ecx
mov ecx, dword [esp + 0x60]
sub eax, ebp
sub eax, edi
add eax, edx
add eax, ecx
je 0x49d962
inc esi
cmp esi, 3
ja case.default.0x49d96b
jmp dword [esi*4 + 0x49db50]
mov eax, dword [0x5e0500]
mov ecx, dword [0x5e04f8]
mov edx, dword [eax + ecx*4]
mov dword [eax + 4], edx
mov edx, dword [0x5e04f8]
dec edx
mov dword [0x5e04f8], edx
je case.default.0x49d96b
mov ecx, dword [0x5e0500]
mov eax, 2
cmp edx, eax
mov esi, 1
mov ebx, dword [ecx + 4]
mov edi, dword [ebx]
jb 0x49d9e0
cmp eax, edx
jae 0x49d9c2
mov ebp, dword [ecx + eax*4]
mov edx, dword [ecx + eax*4 + 4]
mov ebp, dword [ebp]
cmp ebp, dword [edx]
jae 0x49d9c2
inc eax
mov edx, dword [ecx + eax*4]
cmp edi, dword [edx]
jae 0x49d9e0
mov dword [ecx + esi*4], edx
mov edx, dword [0x5e04f8]
mov ecx, dword [0x5e0500]
mov esi, eax
shl eax, 1
cmp eax, edx
jbe 0x49d9af
mov dword [ecx + esi*4], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov eax, dword [0x5e0500]
mov esi, 1
mov dword [eax + 4], ebx
mov ecx, dword [0x5e0500]
mov edx, dword [0x5e04f8]
mov eax, 2
mov ebx, dword [ecx + 4]
cmp edx, eax
mov edi, dword [ebx]
jb 0x49da46
cmp eax, edx
jae 0x49da28
mov edx, dword [ecx + eax*4]
mov ebp, dword [ecx + eax*4 + 4]
mov edx, dword [edx]
cmp edx, dword [ebp]
jae 0x49da28
inc eax
mov edx, dword [ecx + eax*4]
cmp edi, dword [edx]
jae 0x49da46
mov dword [ecx + esi*4], edx
mov edx, dword [0x5e04f8]
mov ecx, dword [0x5e0500]
mov esi, eax
shl eax, 1
cmp eax, edx
jbe 0x49da15
mov dword [ecx + esi*4], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov ecx, dword [0x5e0500]
mov edx, dword [0x5e04f8]
mov eax, 2
mov esi, 1
mov ebx, dword [ecx + 4]
cmp edx, eax
mov edi, dword [ebx]
jb 0x49daa4
cmp eax, edx
jae 0x49da86
mov edx, dword [ecx + eax*4]
mov ebp, dword [ecx + eax*4 + 4]
mov edx, dword [edx]
cmp edx, dword [ebp]
jae 0x49da86
inc eax
mov edx, dword [ecx + eax*4]
cmp edi, dword [edx]
jae 0x49daa4
mov dword [ecx + esi*4], edx
mov edx, dword [0x5e04f8]
mov ecx, dword [0x5e0500]
mov esi, eax
shl eax, 1
cmp eax, edx
jbe 0x49da73
mov dword [ecx + esi*4], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov ecx, dword [0x5e0500]
mov edx, dword [0x5e04f8]
mov esi, 1
mov edi, dword [ecx + 4]
mov eax, dword [edi]
mov dword [esp + 0x8c], eax
mov eax, 2
cmp edx, eax
jb 0x49db10
cmp eax, edx
jae 0x49daeb
mov edx, dword [ecx + eax*4]
mov ebp, dword [ecx + eax*4 + 4]
mov edx, dword [edx]
cmp edx, dword [ebp]
jae 0x49daeb
inc eax
mov edx, dword [ecx + eax*4]
mov ebp, dword [esp + 0x8c]
cmp ebp, dword [edx]
jae 0x49db10
mov dword [ecx + esi*4], edx
mov edx, dword [0x5e04f8]
mov ecx, dword [0x5e0500]
mov esi, eax
shl eax, 1
cmp eax, edx
jbe 0x49dad8
mov dword [ecx + esi*4], edi
mov eax, dword [0x5e04f8]
mov edi, dword [ebx]
inc eax
mov dword [0x5e04f8], eax
mov edx, eax
shr eax, 1
je 0x49db3c
mov esi, dword [0x5e0500]
mov ecx, dword [esi + eax*4]
cmp dword [ecx], edi
jae 0x49db42
mov dword [esi + edx*4], ecx
mov edx, eax
shr eax, 1
jne 0x49db26
mov esi, dword [0x5e0500]
mov dword [esi + edx*4], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret