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

Disassembly:
mov ecx, dword [esi + 0x18]
mov eax, dword [edi + 0x48]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax]
and ecx, edx
cmp ecx, 0x10300000
jne 0x54048e27
jmp 0x540b0498
mov eax, dword [esi + 0x18]
mov ecx, dword [edi + 0x48]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx]
and eax, edx
cmp eax, 0x20500000
jne 0x54048e4e
jmp 0x540b04e8
cmp edx, 0x10400000
jne 0x54048ddb
jmp 0x5404bf26
mov ecx, dword [esi + 0x18]
mov eax, dword [edi + 0x48]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax]
and ecx, edx
cmp ecx, 0x10100000
jne 0x54048e1a
jmp 0x540b0498
test byte [ebp + 0xc], 4
je 0x54048d6e
test byte [ebp + 0xc], 8
jne 0x54048db7
mov eax, dword [ebp + 0xc]
and eax, 0xc
jmp 0x54048db7
and eax, 0x40
or eax, ecx
test eax, 0xe000000
mov dword [ebx], eax
je 0x5404bf2d
cmp edx, 0x10100000
push 4
pop eax
je 0x54048e60
cmp edx, 0x10300000
je 0x54048d62
cmp edx, 0x10400000
je 0x54048db7
cmp edx, 0x10500000
je 0x54048db7
cmp edx, 0x10700000
jne 0x54048db9
or dword [ebx], eax
mov ecx, dword [edi + 4]
mov eax, dword [esi + 0x10]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 4]
test cx, 0x100
jne 0x540b0183
mov al, byte [ebp + 0xc]
test al, 1
jne 0x54047fd1
test al, 2
jne 0x5404bf0b
test al, 8
jne 0x540b03f1
test cx, 0x200
jne 0x5404bef5
cmp dword [ebp - 4], 0
jne 0x54064c30
test cl, 2
je 0x54064c30
cmp edx, 0x10100000
mov edx, 0xfff00000
je 0x54047fe2
cmp dword [ebp - 8], 0x10300000
je 0x54047eaa
cmp dword [ebp - 8], 0x10500000
je 0x540b0464
cmp dword [ebp - 8], 0x10600000
je 0x540b047f
cmp dword [ebp - 8], 0x10300000
je 0x54047ec8
cmp dword [ebp - 8], 0x10500000
jne 0x54064c30
jmp 0x540b05af
mov ecx, dword [ebp + 0xc]
shr ecx, 1
and ecx, eax
mov eax, dword [ebp + 0xc]
and eax, 4
add eax, eax
or ecx, eax
mov eax, dword [ebp + 0xc]
and eax, 0xfffffff3
or ecx, eax
or dword [ebx], ecx
jmp 0x54048db9
cmp edx, 0x10d00000
je 0x5404bf26
cmp edx, 0x10e00000
jne 0x54048df6
jmp 0x5404bf26
cmp edx, 0x10400000
jne 0x54048de3
jmp 0x5404bf26
cmp edx, 0x10e00000
je 0x5404bf39
jmp 0x54048d88
fldz
jmp 0x540b0233
cmp edx, 0x10100000
jne 0x540b015a
mov ecx, dword [edi]
and ecx, 0xe000000
or ecx, eax
mov dword [ebx], ecx
jmp 0x54048d88
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [eax + ecx*4]
mov ecx, dword [ecx + 0x30]
mov ebx, dword [eax + edx*4]
push edi
mov edi, dword [eax + ecx*4]
mov eax, dword [ebx + 4]
mov dword [ebp + 0x10], ecx
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 4]
test al, 1
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], edi
je 0x54064c30
test ax, 0x1000
jne 0x54064c30
mov eax, dword [edi]
mov ecx, eax
and ecx, 0x1f
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebx]
mov edx, ecx
and edx, 0x40
mov dword [ebp - 4], edx
mov edx, dword [ebp + 8]
mov edx, dword [edx]
and edx, 0xfff00000
cmp edx, 0x10000000
mov dword [ebp - 8], edx
jne 0x54048d76
or ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebx], ecx
mov dword [ebx + 0x30], eax
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0xc
cmp edx, 0x10300000
je 0x5404bf39
cmp edx, 0x10400000
je 0x5404bf39
cmp edx, 0x10d00000
jne 0x5404bf19
jmp 0x5404bf39
cmp dword [edi + 8], 0xffffffff
jne 0x54048dd0
mov eax, 0x10800000
xor ecx, ecx
cmp edx, eax
ja 0x540b031c
je 0x540b030f
cmp edx, 0x10100000
je 0x540b0305
cmp edx, 0x10300000
je 0x540b02e0
cmp edx, 0x10400000
je 0x540b02b2
cmp edx, 0x10500000
je 0x540b02a2
cmp edx, 0x10600000
je 0x540b0259
cmp edx, 0x10700000
jne 0x54064c30
cmp dword [ebp - 4], ecx
jne 0x540b024b
fld qword [edi + 0x20]
fldz
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x540b0209
push 0x540bbafc
fstp st(0)
push 0xfa3
jmp 0x540b021f
fld qword [edi + 0x20]
fucompp
fnstsw ax
test ah, 0x44
jp 0x540b024b
push 0x540bbae8
push 0xfa1
mov eax, dword [ebp + 8]
push dword [eax + 0x3c]
push esi
call fcn.54161d54
add esp, 0x10
jmp 0x5404bf26
push ecx
push ecx
fstp qword [esp]
push 0
push 0
push dword [esi + 0x78]
mov ecx, esi
call fcn.54061c36
jmp 0x54064c2d
fld qword [edi + 0x20]
call fcn.5400b7fe
fld1
fdivrp st(1)
jmp 0x540b0233
cmp dword [ebp - 4], ecx
fldz
jne 0x540b0271
fcom qword [edi + 0x20]
fnstsw ax
test ah, 0x44
jp 0x540b0271
fstp st(0)
jmp 0x54064c30
fcomp qword [edi + 0x20]
fnstsw ax
test ah, 0x41
jne 0x540b0287
push 0x540b06e0
push 0xfa2
jmp 0x540b021f
fld qword [edi + 0x20]
call fcn.5404e89c
fstp qword [ebp - 0x24]
fld qword [0x54014140]
call fcn.5404e89c
fdivr qword [ebp - 0x24]
jmp 0x540b0233
fld qword [0x54014140]
fld qword [edi + 0x20]
call fcn.54184d8b
jmp 0x540b0233
fld qword [edi + 0x20]
push ecx
push ecx
fstp qword [esp]
call fcn.54013315
test eax, eax
pop ecx
pop ecx
je 0x5404bf26
fld qword [edi + 0x20]
push ecx
push ecx
fstp qword [esp]
call fcn.5404413a
fsubr qword [edi + 0x20]
pop ecx
pop ecx
jmp 0x540b0233
cmp dword [ebp - 4], ecx
jne 0x540b02fb
fld qword [edi + 0x20]
fldz
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x540b0233
fstp st(0)
fld1
fdiv qword [edi + 0x20]
jmp 0x540b0233
fld qword [edi + 0x20]
fchs
jmp 0x540b0233
fld qword [edi + 0x20]
call fcn.54041009
jmp 0x540b0233
cmp edx, 0x10900000
je 0x540b03e4
cmp edx, 0x10a00000
je 0x540b03a7
cmp edx, 0x10b00000
je 0x540b036a
cmp edx, 0x10c00000
je 0x540b035d
cmp edx, 0x10d00000
je 0x5404bf26
cmp edx, 0x10e00000
je 0x5404bf26
jmp 0x54064c30
fld qword [edi + 0x20]
call fcn.54184d85
jmp 0x540b0233
cmp dword [ebp - 4], ecx
jne 0x540b039a
fld qword [0x5400a578]
fcomp qword [edi + 0x20]
fnstsw ax
test ah, 0x41
je 0x540b038b
fld1
fcomp qword [edi + 0x20]
fnstsw ax
test ah, 5
jp 0x540b039a
push 0x540b06c8
push 0xfa6
jmp 0x540b021f
fld qword [edi + 0x20]
call fcn.54184d61
jmp 0x540b0233
cmp dword [ebp - 4], ecx
jne 0x540b03d7
fld qword [0x5400a578]
fcomp qword [edi + 0x20]
fnstsw ax
test ah, 0x41
je 0x540b03c8
fld1
fcomp qword [edi + 0x20]
fnstsw ax
test ah, 5
jp 0x540b03d7
push 0x540b06b4
push 0xfa5
jmp 0x540b021f
fld qword [edi + 0x20]
call fcn.54184d7f
jmp 0x540b0233
fld qword [edi + 0x20]
call fcn.5404110f
jmp 0x540b0233
cmp edx, 0x10600000
je 0x540b0434
cmp edx, 0x10700000
jne 0x54048deb
xor edi, edi
cmp dword [ebp - 4], edi
jne 0x54064c30
mov eax, dword [ebp + 8]
push 0x540bbafc
push 0xfa3
push dword [eax + 0x3c]
push esi
call fcn.54161d54
fldz
pop ecx
pop ecx
fstp qword [esp]
push edi
push edi
jmp 0x540b023c
cmp dword [ebp - 4], 0
jne 0x54064c30
test al, 4
jne 0x54064c30
mov eax, dword [ebp + 8]
push 0x540b06e0
push 0xfa2
push dword [eax + 0x3c]
push esi
call fcn.54161d54
add esp, 0x10
jmp 0x54064c30
mov ecx, dword [esi + 0x18]
mov eax, dword [edi + 0x48]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax]
and ecx, edx
cmp ecx, 0x10600000
jne 0x54048e34
jmp 0x540b0498
mov ecx, dword [esi + 0x18]
mov eax, dword [edi + 0x48]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax]
and ecx, edx
cmp ecx, 0x10500000
jne 0x54048e41
and dword [ebp + 8], 0
cmp dword [eax + 0xc], 0
jbe 0x540b04c2
mov ecx, dword [eax + 0x10]
jmp 0x540b04aa
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
cmp dword [ecx], edx
je 0x540b04c2
inc dword [ebp + 8]
add ecx, 4
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jb 0x540b04a7
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jae 0x540b04de
mov eax, dword [eax + 8]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x30]
jmp 0x54064c2d
mov edx, 0xfff00000
jmp 0x54048e41
mov edi, dword [ecx + 0xc]
xor edx, edx
test edi, edi
jbe 0x540b0503
mov eax, dword [ecx + 0x10]
mov ebx, dword [eax]
cmp ebx, dword [ebp + 0x10]
je 0x540b0503
inc edx
add eax, 4
cmp edx, edi
jb 0x540b04f4
and dword [ebp - 4], 0
mov ecx, dword [ecx + 8]
mov eax, edi
shl edi, 2
mov dword [ebp - 0x1c], edi
mov edi, eax
imul edi, edi, 0xfffffffc
add eax, edx
lea ebx, [ecx + edx*4]
lea eax, [ecx + eax*4]
mov dword [ebp - 0xc], ebx
mov dword [ebp + 0xc], eax
mov edx, 0xfff00000
mov ebx, dword [ebx]
mov eax, dword [esi + 0x14]
mov eax, dword [eax + ebx*4]
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x14], ebx
mov ebx, dword [eax + 4]
mov ecx, dword [ecx + ebx*4]
test byte [ecx + 4], 2
je 0x540b058f
mov ecx, dword [eax + 0x48]
mov eax, dword [esi + 0x18]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax]
and ecx, edx
cmp ecx, 0x10700000
jne 0x540b058f
and dword [ebp + 8], 0
cmp dword [eax + 0xc], 0
jbe 0x540b057b
mov ecx, dword [eax + 0x10]
mov ebx, dword [ecx]
cmp ebx, dword [ebp - 0x14]
je 0x540b057b
inc dword [ebp + 8]
mov ebx, dword [eax + 0xc]
add ecx, 4
cmp dword [ebp + 8], ebx
jb 0x540b0566
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ebx, dword [ebp + 8]
cmp dword [ecx + ebx*4], eax
je 0x540b0646
mov ebx, dword [ebp - 0xc]
add ebx, dword [ebp - 0x1c]
inc dword [ebp - 4]
add dword [ebp + 0xc], edi
cmp dword [ebp - 4], 2
mov dword [ebp - 0xc], ebx
jb 0x540b052a
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x18]
jmp 0x54048e4e
mov ecx, dword [edi + 0x48]
mov eax, dword [esi + 0x18]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax]
and ecx, edx
cmp ecx, 0x20500000
jne 0x54064c30
mov ecx, dword [eax + 0xc]
and dword [ebp + 8], 0
test ecx, ecx
jbe 0x540b05ef
mov edi, dword [eax + 0x10]
mov dword [ebp + 0xc], edi
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
cmp edi, dword [ebp + 0x10]
je 0x540b05ef
inc dword [ebp + 8]
add dword [ebp + 0xc], 4
cmp dword [ebp + 8], ecx
jb 0x540b05d9
and dword [ebp + 0xc], 0
mov eax, dword [eax + 8]
mov edi, dword [esi + 0x14]
shl ecx, 2
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 8]
lea eax, [eax + ecx*4]
mov dword [ebp + 0x10], eax
mov eax, dword [eax]
mov eax, dword [edi + eax*4]
mov ecx, dword [eax + 4]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x10]
mov eax, dword [eax + ecx*4]
test byte [eax + 4], 2
je 0x540b0697
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
mov eax, dword [esi + 0x18]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax]
and ecx, edx
cmp ecx, 0x10600000
jne 0x540b0697
and dword [ebp + 8], 0
cmp dword [eax + 0xc], 0
jbe 0x540b067a
mov ecx, dword [eax + 0x10]
jmp 0x540b0660
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x30], eax
jmp 0x54064c30
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp + 0x10]
mov edi, dword [edi]
cmp dword [ecx], edi
je 0x540b067a
inc dword [ebp + 8]
add ecx, 4
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jb 0x540b065d
mov eax, dword [eax + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + ecx*4]
mov edi, dword [esi + 0x14]
mov eax, dword [edi + eax*4]
mov eax, dword [eax]
test al, 4
je 0x540b0697
test al, 8
jne 0x5404bf26
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x1c]
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 2
mov dword [ebp + 0x10], eax
jb 0x540b0608
jmp 0x54064c30