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

Disassembly:
push 0xffffffffffffffff
push 0x5f8cfb
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x24c]
mov dword fs:[0], eax
mov edx, dword [esp + 0x264]
mov ecx, dword [esp + 0x260]
test ecx, ecx
mov ebp, dword [esp + 0x25c]
je 0x533d1d
test edx, edx
je 0x533d1d
mov eax, dword [ebp + 0xc]
cmp eax, ecx
mov dword [esp + 0x2c], eax
jne 0x533c04
cmp dword [ebp + 0x10], edx
je 0x5346a6
fild dword [esp + 0x2c]
push 0
lea esi, [esp + 0x80]
mov dword [esp + 0x80], vtable.CxImage.0
fidiv dword [esp + 0x264]
fstp dword [esp + 0x64]
fild dword [ebp + 0x10]
fidiv dword [esp + 0x268]
fstp dword [esp + 0x58]
call fcn.00532db0
mov dword [esp + 0x254], 0
cmp dword [esp + 0x80], 0
jne 0x533c60
lea esi, [ebp + 0x30]
mov ecx, 0x62
lea edi, [esp + 0xac]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x40]
mov edi, dword [esp + 0x264]
mov ecx, dword [esp + 0x260]
push eax
movzx eax, word [ebp + 0x16]
push edi
push ecx
lea ebx, [esp + 0x88]
call fcn.00533150
mov eax, dword [ebp + 4]
test eax, eax
mov esi, dword [esp + 0x80]
je 0x533cd8
cmp dword [ebp + 0x28], 0
je 0x533cd8
lea edx, [eax + 0x28]
test edx, edx
je 0x533cd8
test esi, esi
je 0x533cdc
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x533cd8
lea ecx, [eax*4]
cmp ecx, 0x400
jb 0x533cc2
mov ecx, 0x400
push ecx
lea eax, [esi + 0x28]
push edx
push eax
call fcn.005d8ed0
add esp, 0xc
mov byte [esp + 0x225], 0
test esi, esi
jne 0x533d49
lea eax, [esp + 0xc0]
mov edx, eax
sub ebp, edx
add ebp, 0x44
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [eax + ebp], cl
add eax, 1
test cl, cl
jne 0x533cf0
mov dword [esp + 0x254], 0xffffffff
lea esi, [esp + 0x7c]
mov dword [esp + 0x7c], vtable.CxImage.0
call fcn.00532f30
call fcn.00532e80
xor al, al
mov ecx, dword [esp + 0x24c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.005d28b3
add esp, 0x244
ret 0xc
mov eax, dword [ebp + 0xc]
fld dword [esp + 0x60]
cmp eax, dword [esp + 0x260]
fld dword [esp + 0x54]
jle 0x5341d6
cmp dword [ebp + 0x10], edi
jle 0x5341d6
cmp word [ebp + 0x16], 0x18
jne 0x5341d6
mov eax, dword [esp + 0xb0]
fstp st(1)
mov dword [esp + 0x40], eax
fstp st(0)
mov eax, dword [esp + 0x260]
lea esi, [eax + eax*2]
mov dword [esp + 0x14], esi
add esi, 3
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005d2776
mov edi, eax
xor ecx, ecx
add esp, 4
mov eax, esi
mov edx, 4
mul edx
seto cl
mov dword [esp + 0x34], edi
neg ecx
or ecx, eax
push ecx
call fcn.005d2776
fld dword [esp + 0x64]
fmul qword [0x6408e0]
mov ebx, eax
add esp, 4
mov dword [esp + 0x28], ebx
fmul dword [esp + 0x54]
call fcn.005f4400
mov esi, dword [esp + 0x260]
lea esi, [esi + esi*2]
add esi, esi
add esi, esi
push esi
push 0
push edi
mov dword [esp + 0x48], eax
call fcn.005da970
add esp, 0xc
push esi
xor esi, esi
push esi
push ebx
call fcn.005da970
fld dword [esp + 0x60]
fld qword [0x639690]
add esp, 0xc
cmp dword [ebp + 0x10], esi
fsub st(1), st(0)
fxch st(1)
mov dword [esp + 0x38], esi
mov dword [esp + 0x48], esi
fstp dword [esp + 0x30]
jle 0x53417a
mov eax, dword [esp + 0xb0]
fld dword [esp + 0x30]
fld qword [0x6408e0]
mov dword [esp + 0x44], esi
fld dword [esp + 0x60]
mov dword [esp + 0x2c], eax
mov ebx, edi
mov eax, dword [esp + 0x44]
cdq
idiv dword [ebp + 0x10]
xor edi, edi
cmp dword [ebp + 0x148], edi
mov dword [ebp + 0x144], eax
jne 0x534174
mov esi, dword [ebp + 0x30]
fld st(0)
imul esi, dword [esp + 0x48]
fsub st(4)
fstp dword [esp + 0x1c]
fild dword [esp + 0x48]
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
add esi, dword [ebp + 0x34]
fcom st(3)
mov dword [esp + 0x30], edi
fnstsw ax
test ah, 5
jp 0x533f4a
cmp dword [ebp + 0xc], edi
fstp st(0)
mov dword [esp + 0x18], edi
jle 0x53415b
fld dword [esp + 0x1c]
fild dword [esp + 0x18]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x533eed
fstp st(0)
lea eax, [ebx + edi*4]
mov ecx, 3
movzx edx, byte [esi]
imul edx, edx, 0x3e8
add dword [eax], edx
add esi, 1
add eax, 4
sub ecx, 1
jne 0x533ed5
jmp 0x533f2f
fsub st(1)
fmul st(3)
call fcn.005f4400
mov ecx, 0x3e8
sub ecx, eax
mov dword [esp + 0x30], 3
movzx edx, byte [esi]
imul edx, ecx
add dword [ebx + edi*4], edx
movzx edx, byte [esi]
imul edx, eax
add dword [ebx + edi*4 + 0xc], edx
add esi, 1
add edi, 1
sub dword [esp + 0x30], 1
jne 0x533f05
fadd st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [ebp + 0xc]
mov dword [esp + 0x18], eax
jl 0x533eb6
fstp st(0)
jmp 0x53415b
fsub st(3)
fmul st(2)
call fcn.005f4400
cmp dword [ebp + 0xc], 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x18], 0
jle 0x5340e9
fld dword [esp + 0x1c]
mov ecx, 0x3e8
sub ecx, eax
mov dword [esp + 0x4c], ecx
fild dword [esp + 0x18]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x533fd1
mov ecx, dword [esp + 0x28]
fstp st(0)
mov edx, ebx
sub edx, ecx
lea eax, [ecx + edi*4]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], 3
movzx edx, byte [esi]
imul edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x1c]
add dword [ecx + eax], edx
movzx ecx, byte [esi]
imul ecx, dword [esp + 0x50]
add dword [eax], ecx
add esi, 1
add eax, 4
sub dword [esp + 0x24], 1
jne 0x533fa6
jmp 0x5340d3
fsub st(1)
fmul st(3)
call fcn.005f4400
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x28]
mov ebx, eax
mov eax, 0x3e8
sub eax, ebx
imul ecx, eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x34]
sub edx, eax
mov dword [esp + 0x1c], ecx
lea ecx, [eax + edi*4 + 0xc]
mov dword [esp + 0x64], edx
mov dword [esp + 0x24], 3
movzx edx, byte [esi]
imul edx, dword [esp + 0x1c]
mov eax, 0x10624dd3
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
add dword [ecx - 0xc], eax
mov eax, dword [ecx - 0xc]
cdq
idiv dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
add edx, 1
mov dword [esp + 0x40], edx
add edi, 1
add ecx, 4
add esi, 1
mov byte [edx - 1], al
movzx edx, byte [esi - 1]
imul edx, dword [esp + 0x50]
imul edx, dword [esp + 0x68]
mov eax, 0x10624dd3
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, eax
mov eax, dword [esp + 0x28]
add dword [eax + edi*4 - 4], edx
movzx edx, byte [esi - 1]
imul edx, dword [esp + 0x4c]
imul edx, ebx
mov eax, 0x10624dd3
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
add dword [ecx - 4], eax
movzx edx, byte [esi - 1]
imul edx, dword [esp + 0x50]
imul edx, ebx
mov eax, 0x10624dd3
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub dword [esp + 0x24], 1
mov edx, dword [esp + 0x64]
mov dword [edx + ecx - 4], eax
jne 0x53400c
add dword [esp + 0x30], 1
fadd st(1)
mov ebx, dword [esp + 0x34]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [ebp + 0xc]
mov dword [esp + 0x18], eax
jl 0x533f78
fstp st(0)
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x260]
jge 0x534117
mov ecx, dword [esp + 0x40]
lea edi, [ebx + edi*4]
mov esi, 3
mov eax, dword [edi]
cdq
idiv dword [esp + 0x3c]
add ecx, 1
add edi, 4
sub esi, 1
mov byte [ecx - 1], al
jne 0x534102
mov ecx, dword [esp + 0x28]
fld dword [esp + 0x54]
add dword [esp + 0x38], 1
faddp st(3)
mov eax, ebx
fxch st(2)
mov ebx, ecx
xor ecx, ecx
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
mov dword [eax], ecx
mov dword [eax + 4], ecx
fxch st(2)
mov dword [esp + 0x28], eax
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0xac]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
add dword [esp + 0x44], 0x64
add eax, 1
cmp eax, dword [ebp + 0x10]
mov dword [esp + 0x48], eax
jl 0x533e57
fstp st(1)
fstp st(0)
fstp st(0)
mov ecx, dword [esp + 0x38]
fstp st(0)
cmp ecx, dword [esp + 0x264]
jge 0x5341b7
mov ebx, dword [esp + 0x14]
xor ecx, ecx
test ebx, ebx
jle 0x5341b7
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x40]
jmp 0x5341a0
mov eax, dword [edi + ecx*4]
cdq
idiv dword [esp + 0x3c]
add ecx, 1
add esi, 1
cmp ecx, ebx
mov byte [esi - 1], al
jl 0x5341a0
jmp 0x5341bb
mov edi, dword [esp + 0x34]
push edi
call fcn.005d2367
mov edx, dword [esp + 0x2c]
add esp, 4
push edx
call fcn.005d2367
add esp, 4
jmp 0x534575
add eax, 0xffffffff
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x10]
sub eax, 1
test edi, edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], 0
jle 0x534571
mov esi, dword [esp + 0x24]
mov dword [esp + 0x38], 0
mov edi, eax
mov eax, dword [esp + 0x38]
cdq
idiv dword [esp + 0x264]
cmp dword [ebp + 0x148], 0
mov dword [ebp + 0x144], eax
jne 0x534571
fild dword [esp + 0x24]
fmul st(1)
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fld st(0)
call fcn.005f4400
mov dword [esp + 0x48], eax
add eax, 1
cmp edi, eax
mov dword [esp + 0x1c], edi
jl 0x53424c
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x260], 0
fisub dword [esp + 0x48]
mov dword [esp + 0x3c], 0
fstp dword [esp + 0x14]
jle 0x534558
fld dword [esp + 0x14]
fild dword [esp + 0x3c]
fmul st(3)
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fld st(0)
call fcn.005f4400
mov edi, dword [esp + 0x64]
mov ebx, eax
lea eax, [ebx + 1]
cmp edi, eax
mov dword [esp + 0x14], ebx
jl 0x534296
mov edi, eax
cmp dword [ebp + 0x28], 0
fisub dword [esp + 0x14]
fstp dword [esp + 0x30]
je 0x534331
mov esi, dword [esp + 0x48]
mov ecx, ebx
mov eax, ebp
call fcn.00530420
mov ecx, ebp
push eax
lea eax, [esp + 0x7c]
call fcn.005303c0
mov eax, dword [eax]
mov dword [esp + 0x40], eax
mov ecx, edi
mov eax, ebp
call fcn.00530420
mov ecx, ebp
push eax
lea eax, [esp + 0x70]
call fcn.005303c0
mov ecx, dword [eax]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x34], ecx
mov ecx, ebx
mov eax, ebp
call fcn.00530420
mov ecx, ebp
push eax
lea eax, [esp + 0x74]
call fcn.005303c0
mov edx, dword [eax]
mov ecx, edi
mov eax, ebp
mov dword [esp + 0x28], edx
call fcn.00530420
mov ecx, ebp
push eax
lea eax, [esp + 0x78]
call fcn.005303c0
mov eax, dword [eax]
mov bl, byte [esp + 0x41]
mov cl, byte [esp + 0x35]
mov dword [esp + 0x4c], eax
mov al, byte [esp + 0x4e]
mov dl, byte [esp + 0x4d]
jmp 0x5343b3
mov eax, dword [ebp + 0x30]
mov esi, dword [ebp + 0x34]
mov ecx, eax
imul eax, dword [esp + 0x1c]
imul ecx, dword [esp + 0x48]
lea edx, [ecx + esi]
lea ebx, [ebx + ebx*2]
lea ecx, [ebx + edx]
mov dword [esp + 0x14], ebx
movzx ebx, byte [ecx]
add ecx, 1
mov byte [esp + 0x40], bl
mov bl, byte [ecx]
movzx ecx, byte [ecx + 1]
lea edi, [edi + edi*2]
add edx, edi
add edx, 1
mov byte [esp + 0x42], cl
movzx ecx, byte [edx - 1]
add esi, eax
mov eax, dword [esp + 0x14]
add eax, esi
mov byte [esp + 0x34], cl
mov cl, byte [edx]
movzx edx, byte [edx + 1]
mov byte [esp + 0x36], dl
movzx edx, byte [eax]
add eax, 1
mov byte [esp + 0x28], dl
movzx edx, byte [eax]
movzx eax, byte [eax + 1]
mov byte [esp + 0x2a], al
lea eax, [esi + edi]
mov byte [esp + 0x29], dl
movzx edx, byte [eax]
add eax, 1
mov byte [esp + 0x4c], dl
mov dl, byte [eax]
add eax, 1
mov al, byte [eax]
movzx esi, byte [esp + 0x42]
fnstcw word [esp + 0x18]
movzx edi, byte [esp + 0x2a]
sub edi, esi
mov dword [esp + 0x14], edi
movzx edi, byte [esp + 0x29]
fild dword [esp + 0x14]
mov dword [esp + 0x20], esi
movzx esi, bl
fmul st(1)
sub edi, esi
fiadd dword [esp + 0x20]
mov dword [esp + 0x14], edi
movzx edi, byte [esp + 0x28]
mov dword [esp + 0x20], esi
movzx esi, byte [esp + 0x40]
fstp dword [esp + 0x44]
fild dword [esp + 0x14]
sub edi, esi
mov dword [esp + 0x14], edi
movzx eax, al
fmul st(1)
fiadd dword [esp + 0x20]
mov dword [esp + 0x20], esi
movzx esi, byte [esp + 0x36]
sub eax, esi
fstp dword [esp + 0x58]
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
movzx eax, cl
movzx ecx, dl
fmul st(1)
movzx edx, byte [esp + 0x4c]
fiadd dword [esp + 0x20]
mov dword [esp + 0x20], esi
sub ecx, eax
fstp dword [esp + 0x5c]
fild dword [esp + 0x14]
mov dword [esp + 0x14], ecx
fmul st(1)
fiadd dword [esp + 0x20]
mov dword [esp + 0x20], eax
movzx eax, byte [esp + 0x34]
sub edx, eax
fstp dword [esp + 0x68]
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fmul st(1)
fiadd dword [esp + 0x20]
mov dword [esp + 0x20], eax
movzx eax, word [esp + 0x18]
or eax, 0xc00
fstp dword [esp + 0x50]
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
fmul st(1)
fiadd dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x68]
fld dword [esp + 0x44]
fld st(0)
fsubp st(2)
fld dword [esp + 0x30]
fld st(0)
fmulp st(3)
fxch st(2)
faddp st(1)
fldcw word [esp + 0x14]
fistp dword [esp + 0x14]
mov cl, byte [esp + 0x14]
fldcw word [esp + 0x18]
fld dword [esp + 0x50]
fld dword [esp + 0x58]
fld st(0)
fsubp st(2)
fnstcw word [esp + 0x18]
fld st(2)
movzx eax, word [esp + 0x18]
fmulp st(2)
or eax, 0xc00
faddp st(1)
mov dword [esp + 0x58], eax
fldcw word [esp + 0x58]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x3c]
xor ebx, ebx
push esi
fistp dword [esp + 0x5c]
mov dl, byte [esp + 0x5c]
fldcw word [esp + 0x1c]
fld dword [esp + 0x24]
fld dword [esp + 0x60]
fld st(0)
fsubp st(2)
fnstcw word [esp + 0x1c]
fxch st(1)
movzx eax, word [esp + 0x1c]
fmulp st(2)
or eax, 0xc00
mov dword [esp + 0x60], eax
faddp st(1)
fldcw word [esp + 0x60]
fistp dword [esp + 0x60]
mov al, byte [esp + 0x60]
mov bh, al
movzx eax, cl
fldcw word [esp + 0x1c]
mov bl, dl
shl ebx, 8
or ebx, eax
mov ecx, ebx
lea eax, [esp + 0x80]
call fcn.005308a0
add edi, 1
cmp edi, dword [esp + 0x260]
mov dword [esp + 0x3c], edi
jl 0x53426e
mov edi, dword [esp + 0x2c]
fstp st(0)
add dword [esp + 0x38], 0x64
add esi, 1
cmp esi, dword [esp + 0x264]
mov dword [esp + 0x24], esi
jl 0x534205
fstp st(1)
fstp st(0)
cmp dword [ebp + 0x1bc], 0
je 0x534674
lea esi, [esp + 0x7c]
call fcn.0053c670
xor ebx, ebx
cmp dword [esp + 0x264], ebx
mov dword [esp + 0x2c], ebx
jle 0x534674
mov ecx, dword [esp + 0x238]
fld dword [esp + 0x54]
fld dword [esp + 0x60]
mov dword [esp + 0x38], ecx
fild dword [esp + 0x2c]
xor esi, esi
cmp dword [esp + 0x260], esi
mov dword [esp + 0x2c], esi
fmul st(2)
fstp dword [esp + 0x3c]
jle 0x534651
fld dword [esp + 0x3c]
call fcn.005f4400
mov edi, eax
fild dword [esp + 0x2c]
fmul st(1)
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
call fcn.005f4400
mov edx, dword [ebp + 0x1bc]
test edx, edx
je 0x534614
test edi, edi
jl 0x534614
cmp edi, dword [ebp + 0x10]
jge 0x534614
test eax, eax
jl 0x534614
mov ecx, dword [ebp + 0xc]
cmp eax, ecx
jge 0x534614
imul ecx, edi
add ecx, edx
mov al, byte [ecx + eax]
jmp 0x534616
xor al, al
cmp dword [esp + 0x238], 0
je 0x534641
test ebx, ebx
jl 0x534641
cmp ebx, dword [esp + 0x8c]
jge 0x534641
test esi, esi
jl 0x534641
cmp esi, dword [esp + 0x88]
jge 0x534641
mov edx, dword [esp + 0x38]
mov byte [edx + esi], al
add esi, 1
cmp esi, dword [esp + 0x260]
mov dword [esp + 0x2c], esi
jl 0x5345d9
mov eax, dword [esp + 0x88]
add dword [esp + 0x38], eax
add ebx, 1
cmp ebx, dword [esp + 0x264]
mov dword [esp + 0x2c], ebx
jl 0x5345b1
fstp st(0)
fstp st(0)
push 1
lea ecx, [esp + 0x80]
push ecx
mov ebx, ebp
call fcn.00533390
mov dword [esp + 0x254], 0xffffffff
lea esi, [esp + 0x7c]
mov dword [esp + 0x7c], vtable.CxImage.0
call fcn.00532f30
call fcn.00532e80
mov al, 1
jmp 0x533d1f