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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ded40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x18]
cmp ecx, 0xffffffff
push edi
mov dword [esp + 0x28], ebx
je 0x59a4f8
mov dword [esi + 0x10], ecx
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x59a510
push eax
call sub.mfc42u.dll_operatordelete
mov ecx, dword [ebp + 0x10]
add esp, 4
mov dword [esi + 4], edi
cmp ecx, edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
jg 0x59a537
fld qword [0x5e2798]
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
fld qword [ebx + 0x298]
fcomp qword [ebp + 8]
fnstsw ax
test ah, 1
jne 0x59a564
fld qword [0x5e2798]
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea ecx, [esp + 0x80]
call fcn.004b6ca0
fild dword [ebp + 0x10]
sub esp, 8
mov dword [esp + 0xb0], edi
lea edi, [ebx + 0x2b8]
sub esp, 8
fstp qword [esp + 0x5c]
fld qword [ebp + 8]
fsub qword [ebx + 0x298]
lea ecx, [esp + 0x90]
fstp qword [esp + 8]
fld qword [esp + 0x5c]
fmul qword [edi]
fadd qword [ebx + 0x290]
fadd qword [0x5e2858]
fstp qword [esp]
push 0xbf847ae1
push 0x47ae147b
push 0xbf847ae1
push 0x47ae147b
call fcn.004b6d10
lea eax, [esp + 0x60]
lea ecx, [esp + 0x78]
add ebx, 0x2a8
push eax
push ecx
push ebx
push edi
lea ecx, [esp + 0x90]
call fcn.004b7060
sub esp, 8
lea ecx, [esp + 0x98]
fstp qword [esp]
call fcn.004b7040
sub esp, 8
fstp qword [esp]
call fcn.005994e0
add esp, 0x20
lea edx, [esp + 0x38]
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x80]
push edx
push eax
push edi
push ebx
call fcn.004b7060
sub esp, 8
lea ecx, [esp + 0x98]
fstp qword [esp]
call fcn.004b7040
sub esp, 8
fstp qword [esp]
call fcn.005994e0
mov ecx, dword [esp + 0x80]
mov eax, dword [ebp + 0x10]
add esp, 0x20
cmp ecx, eax
jl 0x59a656
mov ecx, eax
mov dword [esp + 0x60], ecx
cmp dword [esp + 0x38], eax
jl 0x59a660
mov dword [esp + 0x38], eax
xor esi, esi
mov dword [esp + 0x64], 0x5f07a0
mov dword [esp + 0x68], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], esi
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x38]
cmp eax, edx
mov byte [esp + 0xa8], 1
mov dword [esp + 0x10], eax
jg 0x59a787
mov eax, dword [esp + 0x78]
cmp eax, ecx
mov dword [esp + 0x2c], eax
jg 0x59a772
fild dword [esp + 0x10]
fstp qword [esp + 0x54]
fild dword [esp + 0x2c]
fld qword [esp + 0x54]
fmul qword [edi]
fld st(1)
fmul qword [ebx]
mov eax, dword [esp + 0x28]
faddp st(1)
fstp qword [esp + 0x3c]
fld qword [esp + 0x54]
fmul qword [eax + 0x2c0]
fxch st(1)
fmul qword [eax + 0x2b0]
faddp st(1)
fstp qword [esp + 0x44]
fld qword [esp + 0x3c]
fcomp qword [esp + 0x90]
fnstsw ax
test ah, 0x41
je 0x59a761
fld qword [esp + 0x3c]
fcomp qword [esp + 0x80]
fnstsw ax
test ah, 1
jne 0x59a761
fld qword [esp + 0x44]
fcomp qword [esp + 0x98]
fnstsw ax
test ah, 0x41
je 0x59a761
fld qword [esp + 0x44]
fcomp qword [esp + 0x88]
fnstsw ax
test ah, 1
jne 0x59a761
lea ecx, [esi + 1]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x6c]
call fcn.0054a8d0
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x3c]
shl esi, 4
mov ecx, dword [esp + 0x44]
add esi, eax
mov eax, dword [esp + 0x40]
mov dword [esi], edx
mov edx, dword [esp + 0x48]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, ecx
mov dword [esp + 0x2c], eax
jle 0x59a6ae
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
inc eax
cmp eax, edx
mov dword [esp + 0x10], eax
jle 0x59a696
mov eax, dword [esp + 0x28]
xor ebx, ebx
test esi, esi
fld qword [eax + 0x290]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0xc0c38800
jle 0x59a944
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], eax
jmp 0x59a7c9
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
fld qword [esp + 0x14]
fcomp qword [esp + 0x54]
fnstsw ax
test ah, 0x40
jne 0x59a944
mov eax, ecx
mov ecx, edx
xor edi, edi
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x54], eax
mov dword [esp + 0x2c], edi
mov edx, esi
fld qword [ecx]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x41
je 0x59a80f
inc edi
add ecx, 0x10
dec edx
jne 0x59a801
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x2c], edi
fld qword [esp + 0x14]
cmp edi, eax
jg 0x59a8c7
mov edx, dword [esp + 0x28]
fadd qword [edx + 0x290]
fstp qword [esp + 0x3c]
fild dword [esp + 0x2c]
fstp qword [esp + 0x2c]
fld qword [esp + 0x3c]
fmul qword [0x5f1230]
fdiv qword [esp + 0x2c]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x59a871
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
fstp st(0)
fld qword [esp + 0x3c]
fdiv qword [esp + 0x2c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jmp 0x59a8b1
fld qword [esp + 0x3c]
fdiv qword [esp + 0x2c]
fst qword [esp + 0x3c]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x59a8b1
fld qword [esp + 0x1c]
fmul qword [0x5f1230]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x59a8b1
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
fstp st(0)
fld qword [esp + 0x3c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x10]
inc ebx
add ecx, 0x10
cmp ebx, esi
mov dword [esp + 0x10], ecx
jl 0x59a7c5
jmp 0x59a944
mov ecx, dword [esp + 0x28]
fadd qword [ecx + 0x290]
fst qword [esp + 0x3c]
fmul qword [0x5f1230]
fdiv qword [esp + 0x4c]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x59a904
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
fstp st(0)
fld qword [esp + 0x3c]
fdiv qword [esp + 0x4c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
jmp 0x59a944
fld qword [esp + 0x3c]
fdiv qword [esp + 0x4c]
fst qword [esp + 0x4c]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x59a944
fld qword [esp + 0x1c]
fmul qword [0x5f1230]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x59a944
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
fstp st(0)
fld qword [esp + 0x4c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
fcomp qword [0x5e2798]
fnstsw ax
test ah, 0x40
je 0x59a9ae
mov dword [esp + 0x64], 0x5f07a0
mov eax, dword [esp + 0x68]
mov byte [esp + 0xa8], 2
test eax, eax
je 0x59a972
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x64], 0x5e262c
mov dword [esp + 0xa8], 0xffffffff
call fcn.0042bd50
fld qword [0x5e2798]
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x10], ebx
jle 0x59aa13
mov eax, dword [esp + 0x68]
fld qword [ebx + eax]
fcomp qword [esp + 0x1c]
lea edi, [ebx + eax]
fnstsw ax
test ah, 0x41
je 0x59aa03
mov ecx, dword [ebp + 0x18]
push 0xffffffffffffffff
mov esi, dword [ecx + 8]
lea edx, [esi + 1]
push edx
call fcn.0054a8d0
mov eax, dword [ebp + 0x18]
shl esi, 4
mov ecx, dword [eax + 4]
add esi, ecx
mov ecx, dword [edi]
mov dword [esi], ecx
mov edx, dword [edi + 4]
mov dword [esi + 4], edx
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0xc], ecx
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x10]
add ebx, 0x10
inc eax
cmp eax, esi
mov dword [esp + 0x10], eax
jl 0x59a9b8
mov edx, dword [esp + 0x28]
mov dword [esp + 0x64], 0x5f07a0
fld qword [esp + 0x1c]
fadd qword [edx + 0x290]
fstp qword [esp + 0x4c]
mov eax, dword [esp + 0x68]
mov byte [esp + 0xa8], 3
test eax, eax
je 0x59aa46
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x64], 0x5e262c
mov dword [esp + 0xa8], 0xffffffff
call fcn.0042bd50
mov ecx, dword [esp + 0xa0]
pop edi
fld qword [esp + 0x48]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14