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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d8cf3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4a4
mov dword [esp + 4], ecx
xor eax, eax
mov ecx, dword [ebp + 0x18]
push ebx
push esi
cmp ecx, eax
push edi
jle 0x535126
mov dword [esp + 0x30], 0x5f0800
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
mov ebx, dword [ebp + 0x1c]
xor esi, esi
mov dword [esp + 0x4b8], eax
cmp dword [ebx + 8], eax
jle 0x5348da
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0x80]
push esi
push eax
mov ecx, ebx
call fcn.00544900
fld qword [edi + 0x28]
mov ecx, eax
fcomp qword [ecx + 0x38]
fnstsw ax
test ah, 0x41
jne 0x5347a9
fld qword [edi + 0x28]
jmp 0x5347ac
fld qword [ecx + 0x38]
fld qword [edi + 0x38]
fld qword [ecx + 0x48]
fcompp
fnstsw ax
test ah, 0x41
jne 0x5347c0
fld qword [edi + 0x38]
jmp 0x5347c3
fld qword [ecx + 0x48]
fxch st(1)
fadd qword [0x5f0780]
fcomp st(1)
fnstsw ax
test ah, 0x41
fstp st(0)
jne 0x5347dd
mov byte [esp + 0xf], 0
jmp 0x534828
fld qword [edi + 0x30]
fld qword [ecx + 0x40]
fcompp
fnstsw ax
test ah, 1
je 0x5347f1
fld qword [edi + 0x30]
jmp 0x5347f4
fld qword [ecx + 0x40]
fld qword [edi + 0x40]
fld qword [ecx + 0x50]
fcompp
fnstsw ax
test ah, 0x41
jne 0x534808
fld qword [edi + 0x40]
jmp 0x53480b
fld qword [ecx + 0x50]
fxch st(1)
fadd qword [0x5f0780]
mov byte [esp + 0xf], 0
fcomp st(1)
fnstsw ax
test ah, 0x41
fstp st(0)
je 0x534828
mov byte [esp + 0xf], 1
lea ecx, [esp + 0xb8]
call fcn.0042bd50
mov al, byte [esp + 0xf]
test al, al
je 0x5348c0
lea ecx, [esp + 0x3f0]
push esi
push ecx
mov ecx, ebx
call fcn.00544900
mov edi, eax
lea edx, [esp + 0x450]
push esi
push edx
mov ecx, ebx
mov byte [esp + 0x4c0], 1
call fcn.00544900
lea ecx, [esp + 0x30]
mov byte [esp + 0x4b8], 2
push ecx
movsx ecx, word [edi + 0xe]
lea edx, [ecx + ecx*4]
lea edx, [edx + edx*8]
lea edx, [ecx + edx*2]
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx + 0x24]
lea edx, [edi + edx*8]
push edx
push eax
call fcn.005336e0
lea ecx, [esp + 0x488]
mov byte [esp + 0x4b8], 1
call fcn.0042bd50
lea ecx, [esp + 0x428]
mov byte [esp + 0x4b8], 0
call fcn.0042bd50
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx + 8]
inc esi
cmp esi, eax
jl 0x534785
mov eax, dword [esp + 0x38]
xor esi, esi
cmp eax, esi
jne 0x5348fa
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], 0x5f0800
test eax, eax
mov dword [esp + 0x4b8], 3
je 0x535126
jmp 0x53511d
cmp eax, esi
mov dword [esp + 0x14], esi
jle 0x5349a8
lea ecx, [esp + 0x60]
call fcn.004b6ca0
mov eax, dword [esp + 0x34]
mov byte [esp + 0x4b8], 4
fld qword [esi + eax]
fstp qword [esp + 0x60]
fld qword [esi + eax + 8]
lea eax, [esi + eax + 0x10]
fstp qword [esp + 0x68]
mov ecx, dword [eax]
fld qword [ecx + 0x48]
fadd qword [esp + 0x60]
mov ecx, edi
fstp qword [esp + 0x70]
mov edx, dword [eax]
lea eax, [esp + 0x60]
push eax
fld qword [edx + 0x50]
fadd qword [esp + 0x6c]
fstp qword [esp + 0x7c]
call fcn.00521190
test al, al
jne 0x53497f
mov ebx, dword [edi]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x64]
call fcn.004b6ed0
push eax
mov ecx, edi
call dword [ebx + 4]
cmp eax, 0xffffffff
je 0x53497f
mov edx, dword [esp + 0x34]
mov dword [esi + edx + 0x10], 0
lea ecx, [esp + 0x60]
mov byte [esp + 0x4b8], 0
call fcn.0042bd50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
inc eax
add esi, 0x18
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x534906
mov eax, dword [esp + 0x10]
xor ebx, ebx
xor esi, esi
mov ecx, dword [eax + 0xc]
test ecx, ecx
jle 0x5349ef
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
mov eax, dword [edx + esi*4]
push eax
push edi
call fcn.005a7250
add esp, 8
cmp ebx, eax
jg 0x5349e5
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
mov eax, dword [edx + esi*4]
push eax
push edi
call fcn.005a7250
add esp, 8
mov ebx, eax
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, dword [ecx + 0xc]
jl 0x5349b7
lea ecx, [esp + 0xe0]
call fcn.005a7170
push ebx
lea ecx, [esp + 0xe4]
mov byte [esp + 0x4bc], 5
call fcn.005a7280
lea ecx, [esp + 0x238]
mov esi, eax
call fcn.005a1b10
push esi
lea ecx, [esp + 0x23c]
mov byte [esp + 0x4bc], 6
call fcn.00594540
mov esi, dword [ebp + 0x24]
xor edi, edi
mov eax, dword [esi + 4]
mov dword [esi + 0x10], 8
cmp eax, edi
je 0x534a5f
mov edx, dword [esi + 8]
push edx
push eax
call fcn.00545e10
mov eax, dword [esi + 4]
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esi + 4], edi
mov eax, dword [esp + 0x10]
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
mov dword [esp + 0x5c], edi
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x14], edi
cmp ecx, edi
jle 0x5350da
xor ebx, ebx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [ecx + 8]
mov ecx, dword [ebp + 0xc]
mov edi, dword [edx + eax*4]
fld qword [edi + 0x50]
fld qword [ecx + 0x50]
fxch st(1)
fcomp st(1)
fnstsw ax
test ah, 1
fstp st(0)
je 0x535059
fld qword [edi + 0x48]
mov edx, ecx
fld qword [edx + 0x48]
fxch st(1)
fcomp st(1)
fnstsw ax
test ah, 1
fstp st(0)
je 0x535059
mov ecx, dword [ebp + 0x20]
mov eax, dword [edi + 0xd8]
mov edx, dword [ecx + 4]
cmp dword [edx + eax*4], ebx
jle 0x535059
fld qword [edi + 0x50]
fcomp qword [ebp + 0x10]
fnstsw ax
test ah, 1
jne 0x535059
mov al, byte [edi + 0xd0]
test al, al
jne 0x535059
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x238]
push eax
push edi
push ecx
lea ecx, [esp + 0xec]
call fcn.005a8780
test eax, eax
je 0x535059
push ebx
lea ecx, [esp + 0x23c]
call fcn.005a1cc0
cmp eax, 1
je 0x534b5c
mov eax, dword [esp + 0x3e0]
xor esi, esi
cmp eax, ebx
jle 0x535059
mov edx, dword [esp + 0x3dc]
mov ecx, dword [edx + esi*4]
cmp ecx, ebx
je 0x534b4b
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x3e0]
inc esi
cmp esi, eax
jl 0x534b37
jmp 0x535059
xor eax, eax
mov dword [esp + 0x44], 0x5f0848
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x4b8], 7
cmp ecx, ebx
mov dword [esp + 0x18], ebx
jle 0x534bf7
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x58]
mov eax, dword [edx + ecx + 0x10]
test eax, eax
je 0x534bc3
mov ecx, dword [esp + 0x10]
push eax
push edi
call fcn.005a14d0
mov esi, eax
test esi, esi
je 0x534bf3
mov eax, dword [esp + 0x4c]
push esi
push eax
lea ecx, [esp + 0x4c]
call fcn.0040c9d0
add ebx, dword [esi + 0x18]
jmp 0x534bd3
mov ecx, dword [esp + 0x4c]
push 0
push ecx
lea ecx, [esp + 0x4c]
call fcn.0040c9d0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x38]
inc eax
add edx, 0x18
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x58], edx
jl 0x534b8e
test ebx, ebx
jne 0x534c29
mov eax, dword [esp + 0x48]
mov dword [esp + 0x44], 0x5f0848
test eax, eax
mov byte [esp + 0x4b8], 8
je 0x534c14
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov byte [esp + 0x4b8], 6
mov dword [esp + 0x44], 0x5e262c
jmp 0x535057
mov edx, dword [esp + 0x3dc]
lea ecx, [esp + 0x118]
mov eax, dword [edx]
add ebx, dword [eax + 0x18]
call fcn.005a50e0
push ebx
lea ecx, [esp + 0x11c]
mov byte [esp + 0x4bc], 9
call fcn.00594540
mov ecx, dword [esp + 0x4c]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x18], eax
jle 0x534cc2
xor esi, esi
mov ecx, dword [esp + 0x48]
mov ebx, dword [ecx + eax*4]
test ebx, ebx
je 0x534cb2
mov eax, dword [esp + 0x34]
push ebx
sub esp, 8
mov ecx, dword [esi + eax + 0x10]
sub esp, 8
fld qword [esi + eax + 8]
fadd qword [ecx + 0xa8]
mov edx, ecx
fsub qword [ecx + 0x30]
lea ecx, [esp + 0x12c]
fstp qword [esp + 8]
fld qword [edx + 0xa0]
fadd qword [esi + eax]
fsub qword [edx + 0x28]
fstp qword [esp]
call fcn.005a41e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c]
inc eax
add esi, 0x18
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x534c66
mov edx, dword [esp + 0x3dc]
lea ecx, [esp + 0x118]
mov eax, dword [edx]
push eax
call fcn.005a5320
mov ecx, dword [esp + 0x3dc]
mov edx, dword [ecx]
lea ecx, [esp + 0x60]
add edx, 0x38
push edx
call fcn.004b6cb0
fld qword [esp + 0x60]
fsub qword [0x5e2640]
xor esi, esi
lea eax, [esp + 0x60]
push esi
push eax
lea ecx, [esp + 0x120]
mov byte [esp + 0x4c0], 0xa
fstp qword [esp + 0x68]
fld qword [esp + 0x70]
fsub qword [0x5e2640]
fstp qword [esp + 0x70]
fld qword [esp + 0x78]
fadd qword [0x5e2640]
fstp qword [esp + 0x78]
fld qword [esp + 0x80]
fadd qword [0x5e2640]
fstp qword [esp + 0x80]
call fcn.005a5270
lea ecx, [esp + 0x118]
call fcn.005945b0
mov dword [esp + 0x1c], 0x5f07b8
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 0x1d8]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c0], 0xb
call fcn.0046d900
mov edx, dword [esp + 0x1d8]
mov ecx, dword [esp + 0x1d4]
mov eax, dword [esp + 0x20]
cmp edx, esi
je 0x534daa
mov ebx, dword [ecx]
add ecx, 4
mov dword [eax], ebx
add eax, 4
dec edx
jne 0x534d9d
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x534f99
mov edx, dword [ebp + 0x18]
dec edx
cmp eax, esi
mov dword [ebp + 0x18], edx
jle 0x534f99
mov ebx, dword [ebp + 0x20]
mov edx, dword [edi + 0xd8]
mov eax, dword [ebx + 4]
cmp dword [eax + edx*4], 0
je 0x534f99
lea ecx, [esp + 0xb8]
call fcn.004b6ca0
push 4
lea ecx, [esp + 0x84]
mov byte [esp + 0x4bc], 0xc
call fcn.00527630
lea ecx, [edi + 0x28]
mov eax, 1
push ecx
lea ecx, [esp + 0xbc]
mov word [esp + 0x96], ax
mov word [esp + 0x94], ax
mov word [esp + 0x90], 4
mov dword [esp + 0xdc], edi
call fcn.004b6d90
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
sub esp, 8
mov ecx, dword [eax + edx*4 - 4]
sub esp, 8
mov eax, dword [ecx + 0x14]
lea ecx, [esp + 0xc8]
fld qword [eax + 8]
fsub qword [edi + 0xa8]
fstp qword [esp + 8]
fld qword [eax]
fsub qword [edi + 0xa0]
fstp qword [esp]
call fcn.004b6fc0
mov ecx, dword [ebp + 8]
fld qword [ecx + 0x18]
fcomp qword [esp + 0xd0]
fnstsw ax
test ah, 1
jne 0x534f85
fld qword [ecx + 8]
fcomp qword [esp + 0xc0]
fnstsw ax
test ah, 0x41
je 0x534f85
mov ebx, dword [ebp + 0x24]
push 0xffffffffffffffff
mov ecx, ebx
mov esi, dword [ebx + 8]
lea edx, [esi + 1]
push edx
call fcn.005442f0
mov edx, dword [ebx + 4]
lea ecx, [esi + esi*2]
lea eax, [esp + 0x80]
shl ecx, 5
push eax
add ecx, edx
call fcn.00530160
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x10]
inc ecx
lea eax, [esp + 0x80]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x30]
push ecx
push edx
push eax
mov ecx, esi
call fcn.005336e0
mov ebx, dword [ebp + 0x20]
mov ecx, dword [edi + 0xd8]
mov edx, dword [ebx + 4]
lea eax, [edx + ecx*4]
mov ecx, dword [edx + ecx*4]
dec ecx
mov dword [eax], ecx
mov eax, dword [edi + 0xd8]
mov ecx, dword [ebx + 4]
cmp dword [ecx + eax*4], 0
je 0x534f63
push edi
push edi
mov ecx, esi
call fcn.005a14d0
test eax, eax
je 0x534f63
mov ecx, dword [esp + 0x38]
lea ebx, [esp + 0x1c]
push ebx
push eax
lea edx, [ecx + ecx*2 - 3]
mov ecx, dword [esp + 0x3c]
sub esp, 8
lea ecx, [ecx + edx*8]
sub esp, 8
mov edx, dword [ecx + 0x10]
mov esi, edx
fld qword [edx + 0xa8]
fadd qword [ecx + 8]
fsub qword [edx + 0x30]
fstp qword [esp + 8]
fld qword [esi + 0xa0]
fadd qword [ecx]
fsub qword [esi + 0x28]
fstp qword [esp]
call fcn.00533f90
mov ebx, dword [ebp + 0x20]
add esp, 0x18
lea ecx, [esp + 0xb8]
mov byte [esp + 0x4b8], 0xb
call fcn.0042bd50
mov eax, dword [esp + 0x24]
test eax, eax
jg 0x534dc8
jmp 0x534f99
lea ecx, [esp + 0xb8]
mov byte [esp + 0x4b8], 0xb
call fcn.0042bd50
mov eax, dword [esp + 0x24]
xor esi, esi
test eax, eax
jle 0x534fbd
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + esi*4]
test ecx, ecx
je 0x534fb4
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x24]
inc esi
cmp esi, eax
jl 0x534fa3
mov ecx, dword [esp + 0x3dc]
mov ecx, dword [ecx]
test ecx, ecx
je 0x534fd0
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x1c], 0x5f07b8
test eax, eax
je 0x535073
mov eax, dword [esp + 0x20]
mov byte [esp + 0x4b8], 0xf
test eax, eax
je 0x534ffc
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x5e262c
lea ecx, [esp + 0x60]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x4b8], 9
call fcn.0042bd50
lea ecx, [esp + 0x118]
mov byte [esp + 0x4b8], 7
call fcn.005a5180
mov dword [esp + 0x44], 0x5f0848
mov eax, dword [esp + 0x48]
mov byte [esp + 0x4b8], 0x10
test eax, eax
je 0x53504b
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov byte [esp + 0x4b8], 6
mov dword [esp + 0x44], esi
xor ebx, ebx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc eax
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x14], eax
cmp eax, edx
jl 0x534a7e
jmp 0x5350da
mov eax, dword [esp + 0x20]
mov byte [esp + 0x4b8], 0xd
test eax, eax
je 0x53508c
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0x60]
mov dword [esp + 0x1c], 0x5e262c
mov byte [esp + 0x4b8], 9
call fcn.0042bd50
lea ecx, [esp + 0x118]
mov byte [esp + 0x4b8], 7
call fcn.005a5180
mov dword [esp + 0x44], 0x5f0848
mov eax, dword [esp + 0x48]
mov byte [esp + 0x4b8], 0xe
test eax, eax
je 0x5350da
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0x238]
mov byte [esp + 0x4b8], 5
call fcn.005a1b70
lea ecx, [esp + 0xe0]
mov byte [esp + 0x4b8], 0
call fcn.005a71c0
mov dword [esp + 0x30], 0x5f0800
mov eax, dword [esp + 0x34]
mov dword [esp + 0x4b8], 0x11
test eax, eax
je 0x535126
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov ecx, dword [esp + 0x4b0]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x20