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

Disassembly:
sub esp, 0x60
mov eax, dword [0x100fd640]
xor eax, esp
mov dword [esp + 0x5c], eax
mov edx, dword [esp + 0x64]
fld qword [0x100ba770]
cmp dword [edx + 0xc], 0
push ebx
push ebp
mov ebp, dword [esp + 0x78]
push esi
push edi
mov dword [esp + 0x14], edx
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
mov dword [esp + 0x58], 0
jne 0x10053ee0
fld dword [0x100c9ea4]
fst dword [esp + 0x18]
fstp dword [esp + 0x1c]
fld dword [esp + 0x78]
fsub st(1)
fstp dword [esp + 0x78]
fld dword [esp + 0x7c]
fsub st(1)
fstp dword [esp + 0x7c]
jmp 0x10053eea
fldz
fst dword [esp + 0x18]
fstp dword [esp + 0x1c]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0xc]
mov esi, 0xfff00000
mov edi, 0x100000
cmp ecx, esi
jge 0x10053f03
mov dword [eax + 0xc], esi
jmp 0x10053f0a
cmp ecx, edi
jle 0x10053f0a
mov dword [eax + 0xc], edi
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x10]
cmp ecx, esi
jge 0x10053f19
mov dword [eax + 0x10], esi
jmp 0x10053f20
cmp ecx, edi
jle 0x10053f20
mov dword [eax + 0x10], edi
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x14]
cmp ecx, esi
jge 0x10053f2f
mov dword [eax + 0x14], esi
jmp 0x10053f36
cmp ecx, edi
jle 0x10053f36
mov dword [eax + 0x14], edi
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x18]
cmp ecx, esi
jge 0x10053f45
mov dword [eax + 0x18], esi
jmp 0x10053f4c
cmp ecx, edi
jle 0x10053f4c
mov dword [eax + 0x18], edi
mov eax, dword [edx + 8]
fild dword [eax + 0xc]
fsub st(1)
fstp dword [eax + 0x1c]
mov eax, dword [edx + 8]
fild dword [eax + 0x10]
fsub st(1)
fstp dword [eax + 0x20]
mov eax, dword [edx + 8]
fild dword [eax + 0x14]
fsub st(1)
fld qword [0x100ce9d8]
fsub st(1), st(0)
fxch st(1)
fstp dword [eax + 0x24]
mov eax, dword [edx + 8]
fild dword [eax + 0x18]
fsubrp st(2)
fsubp st(1)
fstp dword [eax + 0x28]
xor eax, eax
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x8c], eax
jle 0x1005454f
fld dword [esp + 0x7c]
lea edi, [eax + 6]
fld dword [esp + 0x78]
lea ebx, [eax + 4]
fld qword [0x100ce9d0]
lea esi, [eax + 2]
fld qword [0x100ce9c8]
mov ecx, dword [esp + 0x88]
movsx eax, byte [eax + ecx]
cmp eax, 4
ja case.default.0x10053fc8
jmp dword [eax*4 + 0x100545f4]
cmp esi, dword [esp + 0x84]
jg 0x100545d4
xor eax, eax
cmp byte [esp + 0x12], al
sete al
test byte [esp + 0x13], al
je 0x10054063
cmp dword [edx + 0x10], 1
fstp st(1)
fstp st(2)
fstp st(0)
fstp st(0)
jne 0x10054035
fld dword [esp + 0x38]
fld dword [esp + 0x18]
fucompp
fnstsw ax
test ah, 0x44
jp 0x1005401b
fld dword [esp + 0x3c]
fld dword [esp + 0x1c]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x10054035
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x58]
push edx
push eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x40]
call fcn.10053750
add esp, 8
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
push eax
call ecx
fld qword [0x100ce9d0]
fld dword [esp + 0x7c]
mov edx, dword [esp + 0x18]
fld dword [esp + 0x80]
add esp, 4
fld qword [0x100ce9c8]
fxch st(1)
fxch st(3)
fxch st(1)
fld dword [ebp]
add esi, 2
fadd st(3)
add ebx, 2
add edi, 2
add ebp, 8
fstp dword [esp + 0x38]
fld dword [ebp - 4]
fadd st(4)
fstp dword [esp + 0x3c]
fld dword [esp + 0x38]
fcom st(2)
fnstsw ax
fld dword [esp + 0x3c]
test ah, 5
jp 0x100540d8
fxch st(1)
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x100540ca
fxch st(1)
fcom st(3)
fnstsw ax
test ah, 5
jp 0x100540d8
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x100540d8
fxch st(1)
mov byte [esp + 0x13], 1
fstp dword [esp + 0x18]
mov byte [esp + 0x12], 0
fstp dword [esp + 0x1c]
jmp case.default.0x10053fc8
fstp st(0)
mov byte [esp + 0x12], 1
fstp st(0)
jmp case.default.0x10053fc8
fstp st(1)
mov byte [esp + 0x12], 1
fstp st(0)
jmp case.default.0x10053fc8
cmp esi, dword [esp + 0x84]
jg 0x100545d4
fld dword [ebp]
add esi, 2
fadd st(3)
add ebx, 2
add edi, 2
add ebp, 8
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fst dword [esp + 0x24]
fld dword [ebp - 4]
fadd st(5)
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fst dword [esp + 0x20]
fxch st(1)
fcom st(3)
fnstsw ax
test ah, 5
jp 0x100545c2
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x100545c2
fxch st(1)
fcom st(3)
fnstsw ax
test ah, 5
jp 0x100545cb
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x100545cb
cmp byte [esp + 0x12], 0
je 0x10054181
fxch st(1)
mov byte [esp + 0x13], 1
fst dword [esp + 0x18]
mov byte [esp + 0x12], 0
fstp dword [esp + 0x38]
fst dword [esp + 0x1c]
fstp dword [esp + 0x3c]
jmp case.default.0x10053fc8
mov eax, dword [esp + 0x14]
fstp st(1)
fstp st(0)
lea edx, [esp + 0x58]
fstp st(1)
push edx
fstp st(2)
push eax
fstp st(0)
lea eax, [esp + 0x48]
lea ecx, [esp + 0x40]
fstp st(0)
call fcn.10053750
fld dword [esp + 0x2c]
fstp dword [esp + 0x40]
add esp, 8
fld dword [esp + 0x20]
fstp dword [esp + 0x3c]
jmp 0x10054513
cmp ebx, dword [esp + 0x84]
jg 0x100545d4
fld dword [ebp]
add esi, 4
fadd st(3)
add ebx, 4
add edi, 4
add ebp, 0x10
fstp dword [esp + 0x40]
mov dword [esp + 0x30], esi
fld dword [ebp - 0xc]
mov dword [esp + 0x34], ebx
fadd st(4)
mov dword [esp + 0x28], edi
fstp dword [esp + 0x44]
fld dword [ebp - 8]
fadd st(3)
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fst dword [esp + 0x24]
fld dword [ebp - 4]
fadd st(5)
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
fst dword [esp + 0x20]
fxch st(1)
fcom st(3)
fnstsw ax
test ah, 5
jp 0x100545c2
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x100545c2
fxch st(1)
fcom st(3)
fnstsw ax
test ah, 5
jp 0x100545cb
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x100545cb
cmp byte [esp + 0x12], 0
je 0x10054275
fxch st(1)
mov byte [esp + 0x13], 1
fst dword [esp + 0x18]
mov byte [esp + 0x12], 0
fstp dword [esp + 0x38]
fst dword [esp + 0x1c]
fstp dword [esp + 0x3c]
jmp case.default.0x10053fc8
fstp st(1)
fstp st(0)
fstp st(3)
fstp st(1)
fld dword [esp + 0x40]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x100542dd
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x100542df
fld dword [esp + 0x44]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x100542df
fcompp
fnstsw ax
test ah, 0x41
jne 0x100542e3
mov ebx, dword [esp + 0x14]
lea edi, [esp + 0x58]
lea esi, [esp + 0x38]
call fcn.10052860
fld dword [esp + 0x24]
mov esi, dword [esp + 0x30]
fstp dword [esp + 0x38]
fld dword [esp + 0x20]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
fstp dword [esp + 0x3c]
jmp 0x10054513
fstp st(0)
fstp st(0)
fstp st(0)
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x58]
push ecx
push edx
lea eax, [esp + 0x50]
lea ecx, [esp + 0x40]
call fcn.10053750
fld dword [esp + 0x2c]
fstp dword [esp + 0x40]
add esp, 8
fld dword [esp + 0x20]
fstp dword [esp + 0x3c]
jmp 0x10054513
cmp edi, dword [esp + 0x84]
jg 0x100545d4
fld dword [ebp]
add edi, 6
fadd st(3)
add esi, 6
add ebx, 6
add ebp, 0x18
fstp dword [esp + 0x40]
mov dword [esp + 0x28], edi
fld dword [ebp - 0x14]
fadd st(4)
fstp dword [esp + 0x44]
fld dword [ebp - 0x10]
fadd st(3)
fstp dword [esp + 0x48]
fld dword [ebp - 0xc]
fadd st(4)
fstp dword [esp + 0x4c]
fld dword [ebp - 8]
fadd st(3)
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fst dword [esp + 0x24]
fld dword [ebp - 4]
fadd st(5)
fstp dword [esp + 0x54]
fld dword [esp + 0x54]
fst dword [esp + 0x20]
fxch st(1)
fcom st(3)
fnstsw ax
test ah, 5
jp 0x100545c2
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x100545c2
fxch st(1)
fcom st(3)
fnstsw ax
test ah, 5
jp 0x100545cb
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x100545cb
cmp byte [esp + 0x12], 0
je 0x100543d5
fxch st(1)
mov byte [esp + 0x13], 1
fst dword [esp + 0x18]
mov byte [esp + 0x12], 0
fstp dword [esp + 0x38]
fst dword [esp + 0x1c]
fstp dword [esp + 0x3c]
jmp case.default.0x10053fc8
fstp st(1)
fstp st(0)
fstp st(3)
fstp st(1)
fld dword [esp + 0x40]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x10054465
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x10054467
fld dword [esp + 0x44]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x10054465
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x10054467
fld dword [esp + 0x48]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x10054465
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x10054467
fld dword [esp + 0x4c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x10054467
fcompp
fnstsw ax
test ah, 0x41
jne 0x1005446b
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x5c]
lea edi, [esp + 0x3c]
call fcn.1007da87
fld dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
fstp dword [esp + 0x3c]
fld dword [esp + 0x24]
add esp, 4
fstp dword [esp + 0x3c]
jmp 0x10054513
fstp st(0)
fstp st(0)
fstp st(0)
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x58]
push ecx
push edx
lea eax, [esp + 0x58]
lea ecx, [esp + 0x40]
call fcn.10053750
fld dword [esp + 0x2c]
fstp dword [esp + 0x40]
add esp, 8
fld dword [esp + 0x20]
fstp dword [esp + 0x3c]
jmp 0x10054513
cmp byte [esp + 0x13], 0
je case.default.0x10053fc8
cmp byte [esp + 0x12], 0
jne case.default.0x10053fc8
fstp st(1)
mov byte [esp + 0x12], 0
fstp st(2)
fstp st(0)
fstp st(0)
fld dword [esp + 0x38]
fld dword [esp + 0x18]
fucompp
fnstsw ax
test ah, 0x44
jp 0x100544dc
fld dword [esp + 0x3c]
fld dword [esp + 0x1c]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x10054506
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x58]
push eax
push ecx
lea eax, [esp + 0x20]
lea ecx, [esp + 0x40]
call fcn.10053750
fld dword [esp + 0x20]
fstp dword [esp + 0x40]
add esp, 8
fld dword [esp + 0x1c]
fstp dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 4]
push eax
call edx
add esp, 4
fld qword [0x100ce9d0]
mov edx, dword [esp + 0x14]
fld dword [esp + 0x78]
fld dword [esp + 0x7c]
fld qword [0x100ce9c8]
fxch st(1)
fxch st(3)
fxch st(1)
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x8c]
jl 0x10053fb4
fstp st(1)
fstp st(2)
fstp st(0)
fstp st(0)
xor eax, eax
cmp byte [esp + 0x12], al
sete al
test byte [esp + 0x13], al
je 0x100545ad
cmp dword [edx + 0x10], 1
jne 0x100545a0
fld dword [esp + 0x38]
fld dword [esp + 0x18]
fucompp
fnstsw ax
test ah, 0x44
jp 0x10054586
fld dword [esp + 0x3c]
fld dword [esp + 0x1c]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x100545a0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x58]
push edx
push eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x40]
call fcn.10053750
add esp, 8
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
push eax
call ecx
add esp, 4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.100b4c22
add esp, 0x60
ret
fstp st(0)
fstp st(0)
jmp case.default.0x10053fc8
fstp st(1)
fstp st(0)
jmp case.default.0x10053fc8
mov ecx, dword [esp + 0x6c]
fstp st(1)
pop edi
fstp st(2)
pop esi
fstp st(0)
pop ebp
fstp st(0)
pop ebx
xor ecx, esp
xor al, al
call fcn.100b4c22
add esp, 0x60
ret