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

Disassembly:
sub esp, 0xa14
push ebx
push ebp
mov ebp, dword [esp + 0xa20]
push esi
push edi
mov edx, dword [ebp]
test dl, 2
mov dword [esp + 0x1c], edx
je 0x534362
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x53408b
push ebx
call fcn.0056b840
add esp, 4
test eax, eax
jne 0x534032
push ebx
call fcn.0056bc00
mov ecx, 0x10
mov esi, eax
lea edi, [esp + 0xa8]
add esp, 4
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x1c]
mov esi, edx
and esi, 0x2000
mov dword [esp + 0x28], esi
je 0x533ff1
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 0xa0]
test byte [eax + 3], 3
jne 0x533ff1
mov edx, dword [0x614720]
mov ecx, dword [edx + 0xbc]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 0x14]
mov edx, dword [0x614720]
mov ecx, dword [eax + 0xa0]
add edx, 0xbc
mov dword [ecx + 0xc], edx
mov edx, dword [ebp + 0x14]
mov ecx, dword [0x614720]
mov eax, dword [edx + 0xa0]
mov edx, dword [ecx + 0xbc]
add eax, 8
mov dword [edx + 4], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [0x614720]
mov ecx, dword [eax + 0xa0]
add ecx, 8
mov dword [edx + 0xbc], ecx
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xa0]
or byte [eax + 3], 2
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x24], 0
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x44], ecx
lea ebx, [eax + 0x4c]
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x264]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0x10]
test eax, eax
mov dword [esp + 0x4c], edx
jle 0x534890
add ecx, 8
mov dword [esp + 0x18], ecx
jmp 0x53412f
lea esi, [ebx + 0x10]
mov ecx, 0x10
lea edi, [esp + 0xa4]
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [ebx + 4]
test ebx, ebx
je 0x533f69
mov ecx, 0x10
lea esi, [esp + 0xa4]
lea edi, [esp + 0x1a4]
lea edx, [esp + 0x1a4]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x10]
lea eax, [esp + 0xa4]
push ecx
push edx
push eax
call fcn.0056cce0
mov ebx, dword [ebx + 4]
add esp, 0xc
test ebx, ebx
jne 0x53404e
jmp 0x533f69
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xcc], 0x3f800000
or eax, 0x20003
mov dword [esp + 0xb8], 0x3f800000
mov dword [esp + 0xa4], 0x3f800000
mov dword [esp + 0xb4], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xb0], eax
jmp 0x533f6d
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x4c]
cmp edx, 0x5348c0
jne 0x53425c
fld dword [ebx + 8]
fld dword [ebx + 0xc]
fld st(1)
fmul st(2)
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
fstp dword [esp + 0x38]
fld st(0)
fmul st(1)
fstp dword [esp + 0x3c]
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
fstp dword [esp + 0x40]
fld dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x10]
fmul st(2)
fstp dword [esp + 0x30]
fld st(0)
fmul st(2)
fstp dword [esp + 0x34]
fld dword [esp + 0x20]
fmul st(2)
fstp dword [esp + 0x98]
fld dword [esp + 0x20]
fmul st(1)
fstp st(2)
fstp st(0)
fld dword [esp + 0x20]
fmul dword [esp + 0x10]
fld dword [esp + 0x40]
fadd dword [esp + 0x3c]
fadd st(0), st(0)
fsubr dword [0x5b5af8]
fstp dword [esp + 0x54]
fld dword [esp + 0x34]
fadd st(1)
fadd st(0), st(0)
fstp dword [esp + 0x58]
fld dword [esp + 0x30]
fsub st(2)
fadd st(0), st(0)
fstp dword [esp + 0x5c]
fld dword [esp + 0x34]
fsub st(1)
fadd st(0), st(0)
fstp dword [esp + 0x64]
fstp st(0)
fld dword [esp + 0x40]
fadd dword [esp + 0x38]
fadd st(0), st(0)
fsubr dword [0x5b5af8]
fstp dword [esp + 0x68]
fld dword [esp + 0x98]
fadd dword [esp + 0x2c]
fadd st(0), st(0)
fstp dword [esp + 0x6c]
fadd dword [esp + 0x30]
fadd st(0), st(0)
fstp dword [esp + 0x74]
fld dword [esp + 0x2c]
fsub dword [esp + 0x98]
fadd st(0), st(0)
fstp dword [esp + 0x78]
fld dword [esp + 0x3c]
fadd dword [esp + 0x38]
fadd st(0), st(0)
fsubr dword [0x5b5af8]
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x60], 3
fstp dword [esp + 0x7c]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
jmp 0x534267
lea ecx, [esp + 0x54]
push ebx
push ecx
call edx
add esp, 8
lea edx, [esp + 0xa4]
lea eax, [esp + 0x54]
push edx
lea ecx, [esp + 0x168]
push eax
push ecx
call fcn.0056cce0
mov edx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [edx + 4]
test eax, eax
je 0x5342da
mov ecx, dword [esp + 0x1c]
test ch, 0x10
je 0x5342b9
lea edi, [eax + 0x10]
mov ecx, 0x10
lea esi, [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0x5342bd
push eax
call fcn.0056bb80
add esp, 4
jmp 0x5342da
test esi, esi
je 0x5342da
lea edi, [eax + 0x50]
mov ecx, 0x10
lea esi, [esp + 0x164]
rep movsd dword es:[edi], dword [esi]
mov cl, byte [eax + 3]
and cl, 0xfb
or cl, 8
mov byte [eax + 3], cl
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
and eax, 3
sub eax, 0
je 0x53430b
dec eax
je 0x534355
dec eax
jne 0x534320
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x14]
mov ecx, 0x10
lea esi, [esp + 0xa4]
add eax, 0x40
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x14], eax
lea esi, [esp + 0x164]
lea edi, [esp + 0xa4]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 4]
add ebx, edi
add esi, 0x10
inc eax
mov dword [esp + 0x18], esi
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x534127
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xa14
ret
mov esi, dword [esp + 0x14]
sub esi, 0x40
mov dword [esp + 0x14], esi
jmp 0x534312
test dl, 1
mov esi, 0x20003
je 0x53439b
mov eax, dword [ebp + 0x1c]
cmp eax, 0xffffffff
je 0x53439b
mov ecx, dword [ebp + 0x18]
shl eax, 6
add eax, dword [ecx + 8]
test dh, 0x20
mov dword [esp + 0x10], eax
je 0x534499
test dh, 0x40
je 0x534499
mov ecx, dword [ecx + 0x14]
jmp 0x534458
test dh, 0x40
je 0x53444a
mov ecx, dword [esp + 0x130]
lea eax, [esp + 0x124]
or ecx, esi
mov dword [esp + 0x14c], 0x3f800000
test dh, 0x20
mov dword [esp + 0x138], 0x3f800000
mov dword [esp + 0x124], 0x3f800000
mov dword [esp + 0x134], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x148], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x13c], 0
mov dword [esp + 0x15c], 0
mov dword [esp + 0x158], 0
mov dword [esp + 0x154], 0
mov dword [esp + 0x130], ecx
mov dword [esp + 0x10], eax
je 0x534499
jmp 0x534455
lea eax, [esp + 0xe4]
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x5345c3
mov ebx, dword [ecx + 4]
test ebx, ebx
je 0x5345c3
push ebx
call fcn.0056b840
add esp, 4
test eax, eax
jne 0x53456a
push ebx
call fcn.0056bc00
mov ecx, 0x10
mov esi, eax
lea edi, [esp + 0xe8]
add esp, 4
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x1c]
and edx, 0x2000
mov dword [esp + 0x44], edx
je 0x53451b
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 0xa0]
test byte [eax + 3], 3
jne 0x53451b
mov edx, dword [0x614720]
mov ecx, dword [edx + 0xbc]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 0x14]
mov edx, dword [0x614720]
mov ecx, dword [eax + 0xa0]
add edx, 0xbc
mov dword [ecx + 0xc], edx
mov edx, dword [ebp + 0x14]
mov ecx, dword [0x614720]
mov eax, dword [edx + 0xa0]
mov edx, dword [ecx + 0xbc]
add eax, 8
mov dword [edx + 4], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [0x614720]
mov ecx, dword [eax + 0xa0]
add ecx, 8
mov dword [edx + 0xbc], ecx
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xa0]
or byte [eax + 3], 2
mov eax, dword [ebp + 0x20]
mov esi, dword [ebp + 8]
mov dword [esp + 0x24], esi
mov dword [esp + 0x4c], 0
mov edx, dword [eax + 0x24]
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x94], edx
lea edi, [eax + 0x4c]
mov eax, dword [ebp + 4]
lea edx, [esp + 0x1a8]
mov dword [esp + 0x18], edx
mov edx, dword [ebp + 0x10]
test eax, eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x48], edi
jle 0x534890
add edx, 8
mov dword [esp + 0x20], edx
jmp 0x534660
lea esi, [ebx + 0x10]
mov ecx, 0x10
lea edi, [esp + 0xe4]
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [ebx + 4]
test ebx, ebx
je 0x534495
mov ecx, 0x10
lea esi, [esp + 0xe4]
lea edi, [esp + 0x1a4]
lea edx, [esp + 0x1a4]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x10]
lea eax, [esp + 0xe4]
push ecx
push edx
push eax
call fcn.0056cce0
mov ebx, dword [ebx + 4]
add esp, 0xc
test ebx, ebx
jne 0x534586
jmp 0x534495
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x10c], 0x3f800000
or eax, esi
mov dword [esp + 0xf8], 0x3f800000
mov dword [esp + 0xe4], 0x3f800000
mov dword [esp + 0xf4], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0xf0], eax
jmp 0x534499
mov ecx, dword [esp + 0x50]
cmp ecx, 0x5348c0
jne 0x53478d
fld dword [edi + 8]
fld dword [edi + 0xc]
fld st(1)
fmul st(2)
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ecx
fstp dword [esp + 0x2c]
fld st(0)
fmul st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
fstp dword [esp + 0x34]
fld dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x14]
fmul st(2)
fstp dword [esp + 0x3c]
fld st(0)
fmul st(2)
fstp dword [esp + 0x40]
fld dword [esp + 0x28]
fmul st(2)
fstp dword [esp + 0x98]
fld dword [esp + 0x28]
fmul st(1)
fstp st(2)
fstp st(0)
fld dword [esp + 0x28]
fmul dword [esp + 0x14]
fld dword [esp + 0x34]
fadd dword [esp + 0x30]
fadd st(0), st(0)
fsubr dword [0x5b5af8]
fstp dword [esp + 0x54]
fld dword [esp + 0x40]
fadd st(1)
fadd st(0), st(0)
fstp dword [esp + 0x58]
fld dword [esp + 0x3c]
fsub st(2)
fadd st(0), st(0)
fstp dword [esp + 0x5c]
fld dword [esp + 0x40]
fsub st(1)
fadd st(0), st(0)
fstp dword [esp + 0x64]
fstp st(0)
fld dword [esp + 0x34]
fadd dword [esp + 0x2c]
fadd st(0), st(0)
fsubr dword [0x5b5af8]
fstp dword [esp + 0x68]
fld dword [esp + 0x98]
fadd dword [esp + 0x38]
fadd st(0), st(0)
fstp dword [esp + 0x6c]
fadd dword [esp + 0x3c]
fadd st(0), st(0)
fstp dword [esp + 0x74]
fld dword [esp + 0x38]
fsub dword [esp + 0x98]
fadd st(0), st(0)
fstp dword [esp + 0x78]
fld dword [esp + 0x30]
fadd dword [esp + 0x2c]
fadd st(0), st(0)
fsubr dword [0x5b5af8]
mov edx, dword [edi + 0x18]
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x60], 3
fstp dword [esp + 0x7c]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
jmp 0x534798
lea edx, [esp + 0x54]
push edi
push edx
call ecx
add esp, 8
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x54]
push eax
push ecx
push esi
call fcn.0056cce0
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov ebx, dword [edx + 4]
test ebx, ebx
je 0x534834
mov eax, dword [esp + 0x1c]
test ah, 0x10
je 0x5347e8
lea edi, [ebx + 0x10]
mov ecx, 0x10
lea esi, [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x5347f2
push ebx
call fcn.0056bb80
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x28]
add esp, 4
jmp 0x534834
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x534834
jmp 0x5347fa
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x24]
test ah, 0x40
je 0x534816
lea eax, [esp + 0xe4]
lea ecx, [ebx + 0x50]
push eax
push esi
push ecx
call fcn.0056cce0
add esp, 0xc
jmp 0x534828
lea edi, [ebx + 0x50]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x24]
mov dl, byte [ebx + 3]
and dl, 0xfb
or dl, 8
mov byte [ebx + 3], dl
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
and eax, 3
sub eax, 0
je 0x534859
dec eax
je 0x5348a0
dec eax
jne 0x53485d
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
add eax, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x94]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
add edi, ecx
mov ecx, dword [ebp + 4]
add esi, 0x40
add ebx, 0x10
inc eax
cmp eax, ecx
mov dword [esp + 0x48], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x4c], eax
jl 0x53465c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xa14
ret
mov eax, dword [esp + 0x18]
sub eax, 4
mov dword [esp + 0x18], eax
mov edx, dword [eax]
mov dword [esp + 0x10], edx
jmp 0x53485d