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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d8e7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
push ebx
push esi
push edi
xor edi, edi
xor eax, eax
mov dword [esp + 0x18], 0x5e2984
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov dword [esp + 0x148], edi
mov ecx, dword [ebx + 8]
cmp ecx, edi
jle 0x5364b1
lea eax, [esp + 0xe0]
push esi
push eax
mov ecx, ebx
call fcn.00544900
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x40]
mov eax, edx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x20]
push eax
mov dword [esp + 0x10], ecx
push ecx
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x154], 1
call fcn.0040c860
lea ecx, [esp + 0x118]
mov byte [esp + 0x148], 0
call fcn.0042bd50
lea eax, [esp + 0x80]
push esi
push eax
mov ecx, ebx
call fcn.00544900
mov edx, dword [eax + 0x54]
mov ecx, dword [eax + 0x50]
mov eax, edx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x20]
push eax
mov dword [esp + 0x30], ecx
push ecx
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x154], 2
call fcn.0040c860
lea ecx, [esp + 0xb8]
mov byte [esp + 0x148], 0
call fcn.0042bd50
mov eax, dword [ebx + 8]
inc esi
cmp esi, eax
jl 0x536407
mov eax, dword [esp + 0x1c]
xor edi, edi
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc], eax
lea esi, [ecx - 1]
cmp esi, edi
jle 0x536561
lea ebx, [esi - 1]
xor esi, esi
cmp edi, ebx
mov dword [esp + 0x2c], ebx
mov edx, edi
jg 0x53650a
mov eax, dword [esp + 0xc]
lea ecx, [eax + edi*8]
fld qword [ecx]
fcomp qword [ecx + 8]
fnstsw ax
test ah, 0x41
jne 0x536502
mov ebx, dword [ecx + 8]
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [ecx], ebx
mov ebx, dword [ecx + 0xc]
mov dword [ecx + 4], ebx
mov ebx, dword [esp + 0x2c]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], esi
mov esi, edx
inc edx
add ecx, 8
cmp edx, ebx
jle 0x5364da
lea ebx, [edi + 1]
xor edi, edi
cmp esi, ebx
mov dword [esp + 0x2c], ebx
mov edx, esi
jl 0x536550
mov ecx, dword [esp + 0xc]
lea ecx, [ecx + esi*8]
fld qword [ecx - 8]
fcomp qword [ecx]
fnstsw ax
test ah, 0x41
jne 0x536548
mov ebx, dword [ecx - 8]
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
mov dword [ecx], ebx
mov ebx, dword [ecx - 4]
mov dword [ecx + 4], ebx
mov ebx, dword [esp + 0x2c]
mov dword [ecx - 8], eax
mov dword [ecx - 4], edi
mov edi, edx
dec edx
sub ecx, 8
cmp edx, ebx
jge 0x536520
cmp edi, esi
jl 0x5364c4
mov eax, dword [esp + 0x1c]
mov ebx, dword [ebp + 0x10]
xor edi, edi
mov dword [esp + 0x4c], 0x5e2984
mov dword [esp + 0x50], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], edi
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, eax
mov byte [esp + 0x148], 3
push ecx
push edx
push edi
lea ecx, [esp + 0x58]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
call fcn.0040c860
mov edx, dword [esp + 0x20]
mov esi, 1
cmp edx, esi
jle 0x536600
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
fld qword [eax + esi*8]
fsub qword [edx + edi*8 - 8]
lea ecx, [eax + esi*8]
lea edx, [edx + edi*8 - 8]
fabs
fcomp qword [0x5e2790]
fnstsw ax
test ah, 0x41
mov eax, dword [ecx]
jne 0x5365ef
mov ecx, dword [ecx + 4]
mov dword [esp + 0xc], eax
mov edx, ecx
mov dword [esp + 0x10], ecx
push edx
push eax
push edi
lea ecx, [esp + 0x58]
call fcn.0040c860
jmp 0x5365f7
mov dword [edx], eax
mov ecx, dword [ecx + 4]
mov dword [edx + 4], ecx
mov edx, dword [esp + 0x20]
inc esi
cmp esi, edx
jl 0x5365a9
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x1c]
mov esi, ecx
test ecx, ecx
mov dword [esp + 0xc], esi
jne 0x536634
test edi, edi
je 0x536625
push edi
call sub.mfc42u.dll_operatordelete
add esp, 4
xor edi, edi
mov dword [esp + 0x1c], edi
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
jmp 0x536735
test edi, edi
jne 0x536666
lea edx, [ecx*8]
push edx
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
push esi
push eax
call fcn.0049df10
mov edi, dword [esp + 0x1c]
mov eax, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
jmp 0x536735
mov ebx, dword [esp + 0x24]
cmp ecx, ebx
jg 0x53668d
cmp ecx, edx
jle 0x536682
sub ecx, edx
lea eax, [edi + edx*8]
push ecx
push eax
call fcn.0049df10
mov edi, dword [esp + 0x1c]
mov eax, esi
mov dword [esp + 0x20], eax
jmp 0x536732
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x5366b8
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x5366ac
mov eax, 4
jmp 0x5366b8
cmp eax, 0x400
jle 0x5366b8
mov eax, 0x400
add eax, ebx
cmp ecx, eax
mov dword [esp + 0x2c], eax
jl 0x5366c6
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x2c]
lea edx, [ecx*8]
push edx
call sub.mfc42u.dll_operatornew
mov ebx, eax
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edi, ebx
lea ecx, [eax*8]
add esp, 4
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
mov ecx, esi
sub ecx, eax
lea edx, [ebx + eax*8]
push ecx
push edx
call fcn.0049df10
mov eax, dword [esp + 0x1c]
push eax
call sub.mfc42u.dll_operatordelete
mov ecx, dword [esp + 0x30]
mov edi, ebx
mov eax, esi
add esp, 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov ebx, dword [ebp + 0x10]
lea ecx, [eax*8]
xor eax, eax
mov edx, ecx
xor esi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 8]
xor edi, edi
cmp eax, edi
jle 0x536831
lea eax, [esp + 0x80]
push esi
push eax
mov ecx, ebx
call fcn.00544900
add eax, 0x38
lea ecx, [esp + 0x60]
push eax
mov byte [esp + 0x14c], 4
call fcn.004b6cb0
lea ecx, [esp + 0xb8]
mov byte [esp + 0x148], 6
call fcn.0042bd50
mov eax, dword [esp + 0x54]
mov ecx, 1
cmp eax, ecx
jle 0x536814
mov edx, dword [esp + 0x50]
fld qword [esp + 0x68]
fld qword [edx + ecx*8 - 8]
fcompp
fnstsw ax
test ah, 1
je 0x5367bc
fld qword [esp + 0x68]
jmp 0x5367c0
fld qword [edx + ecx*8 - 8]
fld qword [esp + 0x78]
fld qword [edx + ecx*8]
fcompp
fnstsw ax
test ah, 0x41
jne 0x5367d6
fld qword [esp + 0x78]
jmp 0x5367d9
fld qword [edx + ecx*8]
fcomp st(1)
fnstsw ax
test ah, 0x41
fstp st(0)
jne 0x53680b
mov edx, dword [esp + 0x1c]
fld qword [edx + ecx*8 - 8]
fld qword [esp + 0x70]
fcompp
fnstsw ax
test ah, 1
je 0x5367ff
fld qword [edx + ecx*8 - 8]
jmp 0x536803
fld qword [esp + 0x70]
fstp qword [edx + ecx*8 - 8]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
inc ecx
cmp ecx, eax
jl 0x5367a5
lea ecx, [esp + 0x60]
mov byte [esp + 0x148], 3
call fcn.0042bd50
mov eax, dword [ebx + 8]
inc esi
cmp esi, eax
jl 0x53675b
mov ebx, 0x5e2984
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edi
mov ecx, dword [esp + 0x50]
mov byte [esp + 0x148], 7
mov edx, dword [ecx]
mov dword [esp + 0xc], edx
mov eax, dword [ecx + 4]
mov ecx, eax
mov dword [esp + 0x10], eax
push ecx
push edx
push edi
lea ecx, [esp + 0x44]
call fcn.0040c860
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
mov edx, dword [eax + 4]
mov eax, edx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push edx
lea ecx, [esp + 0x44]
call fcn.0040c860
mov eax, dword [esp + 0x54]
mov esi, 1
cmp eax, esi
jle 0x536981
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
fld qword [eax + esi*8]
fcomp qword [edx + edi*8 - 8]
lea ecx, [eax + esi*8]
lea edx, [edx + edi*8 - 8]
fld qword [edx]
fnstsw ax
test ah, 0x41
jne 0x536921
fadd qword [0x5e2640]
fcomp qword [ecx]
fnstsw ax
test ah, 0x41
jne 0x5368e6
mov eax, dword [ecx]
mov dword [edx], eax
mov ecx, dword [ecx + 4]
mov dword [edx + 4], ecx
jmp 0x536972
mov edx, dword [esp + 0x50]
fld qword [edx + esi*8]
fstp qword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
push edi
lea ecx, [esp + 0x44]
call fcn.0040c860
mov edx, dword [esp + 0x1c]
fld qword [edx + esi*8]
mov edx, dword [esp + 0x40]
fstp qword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
push edx
jmp 0x536969
fsub qword [0x5e2640]
fcomp qword [ecx]
fnstsw ax
test ah, 0x41
jne 0x536972
mov eax, dword [esp + 0x50]
fld qword [eax + esi*8]
fstp qword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
push edx
push edi
lea ecx, [esp + 0x44]
call fcn.0040c860
mov eax, dword [esp + 0x1c]
fld qword [eax + esi*8]
mov eax, dword [esp + 0x40]
fstp qword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
push edx
push eax
lea ecx, [esp + 0x44]
call fcn.0040c860
mov eax, dword [esp + 0x54]
inc esi
cmp esi, eax
jl 0x5368a5
xor edi, edi
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov edi, dword [ebp + 0x14]
xor esi, esi
fld qword [ecx + edx*8 - 8]
mov ecx, dword [edi + 8]
fstp qword [esp + 0xc]
test ecx, ecx
jle 0x536a15
mov ebx, dword [edi + 4]
mov edx, ebx
fld qword [edx]
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 0x41
je 0x5369bb
add esi, 2
add edx, 0x10
cmp esi, ecx
jl 0x5369a2
jmp 0x536a10
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [ebx + esi*8 + 8]
mov dword [ecx + edx*8 - 8], eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [ebx + esi*8 + 0xc]
mov dword [ecx + edx*8 - 4], eax
mov eax, dword [edi + 8]
cmp esi, eax
jge 0x536a10
mov eax, dword [edi + 4]
push 0xffffffffffffffff
lea ecx, [esp + 0x3c]
fld qword [eax + esi*8]
mov eax, dword [esp + 0x44]
fstp qword [esp + 0x10]
mov ebx, eax
inc eax
push eax
call fcn.004e5b10
fld qword [esp + 0xc]
mov ecx, dword [esp + 0x3c]
inc esi
fstp qword [ecx + ebx*8]
cmp esi, dword [edi + 8]
jl 0x5369e2
mov ebx, 0x5e2984
mov edx, dword [esp + 0x40]
push 0xffffffffffffffff
push edx
mov ecx, edi
call fcn.004e5b10
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov edi, dword [edi + 4]
test ecx, ecx
je 0x536a49
mov edx, dword [eax]
add eax, 8
mov dword [edi], edx
mov edx, dword [eax - 4]
mov dword [edi + 4], edx
add edi, 8
dec ecx
jne 0x536a32
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], ebx
test eax, eax
mov byte [esp + 0x148], 8
je 0x536a62
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x5e262c
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x50]
mov byte [esp + 0x148], 9
test eax, eax
je 0x536a88
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x4c], esi
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x148], 0xa
test eax, eax
je 0x536aac
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov ecx, dword [esp + 0x140]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10