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

Disassembly:
sub esp, 0x48
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x13c]
xor ebp, ebp
cmp eax, ebp
je 0x54e075
mov edx, eax
cmp edx, ebp
mov dword [esp + 0x20], edx
je 0x54e075
push ebx
push edi
jmp 0x54da20
mov edx, dword [esp + 0x28]
lea ecx, [ecx]
test dword [edx + 4], 0x18000
je 0x54e058
mov eax, dword [esi + 0x14]
test eax, 0x800000
mov dword [esp + 0x24], 0x5368d4a5
mov dword [esp + 0x1c], 0x5368d4a5
mov dword [esp + 0x14], 0x5368d4a5
mov dword [esp + 0x20], 0xd368d4a5
mov dword [esp + 0x18], 0xd368d4a5
mov dword [esp + 0x10], 0xd368d4a5
jne 0x54dc34
mov eax, dword [edx + 0x18]
add eax, 4
mov dword [esp + 0x3c], eax
cmp dword [esi + 0x118], ebp
mov dword [esp + 0x30], ebp
jle 0x54df2f
mov eax, dword [esi + 0x11c]
push 4
add eax, ebp
push eax
mov ecx, esi
call fcn.0054e0e0
mov ecx, dword [esi + 0x11c]
mov ebx, dword [ecx + ebp + 0xc]
mov edi, dword [ecx + ebp + 0x20]
lea eax, [ecx + ebp]
mov ecx, dword [eax + 8]
test ecx, ecx
mov dword [esp + 0x2c], 0
jle 0x54dbc4
nop
lea esp, [esp]
mov ecx, dword [esp + 0x3c]
mov eax, dword [0x8b8f24]
mov edx, dword [eax]
push ecx
lea ecx, [esp + 0x50]
push ecx
push ebx
push eax
call dword [edx + 4]
fld dword [esp + 0x5c]
fcomp dword [esp + 0x24]
add esp, 0x10
fnstsw ax
test ah, 5
jp 0x54daf2
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x14], edx
jmp 0x54db09
fld dword [esp + 0x4c]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x54db09
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
fld dword [esp + 0x50]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 5
jp 0x54db22
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x1c], ecx
jmp 0x54db39
fld dword [esp + 0x50]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x54db39
mov edx, dword [esp + 0x50]
mov dword [esp + 0x18], edx
fld dword [esp + 0x54]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 5
jp 0x54db52
mov eax, dword [esp + 0x54]
mov dword [esp + 0x24], eax
jmp 0x54db69
fld dword [esp + 0x54]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x54db69
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [edi + 0xc]
push ecx
mov dword [edi], edx
mov dword [edi + 4], eax
mov eax, dword [0x8b8f24]
mov edx, dword [eax]
lea ecx, [ebx + 0xc]
push ecx
push eax
call dword [edx]
mov edx, dword [ebx + 0x20]
mov dword [edi + 0x20], edx
mov eax, dword [ebx + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esi + 0x11c]
mov edx, dword [ecx + ebp + 8]
add esp, 0x10
add ebx, 0x30
add edi, 0x40
inc eax
cmp eax, edx
mov dword [esp + 0x2c], eax
jl 0x54dac0
mov edx, dword [esi + 0x11c]
mov eax, dword [edx + ebp]
test al, 2
lea ecx, [edx + ebp]
push 0
je 0x54dbdd
call fcn.0055e320
jmp 0x54dbed
test al, 1
je 0x54dbe8
call fcn.0055da50
jmp 0x54dbed
call fcn.0055d900
test dword [esi + 0x14], 0x400000
je 0x54dc03
mov ecx, dword [esi + 0x11c]
add ecx, ebp
call fcn.0055eb30
mov eax, dword [esi + 0x11c]
push 4
add eax, ebp
push eax
mov ecx, esi
call fcn.0054e0f0
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x118]
inc eax
add ebp, 0x40
cmp eax, ecx
mov dword [esp + 0x30], eax
jl 0x54da85
jmp 0x54df29
test eax, 0x80010000
je 0x54dcd8
test eax, 0x10000
je 0x54dc5d
mov ecx, dword [0x8b8f28]
fld dword [ecx + 0xf0]
mov eax, dword [esi + 0x144]
fadd dword [eax + 8]
jmp 0x54dc76
test eax, eax
jns 0x54dc79
mov ecx, dword [0x8b8f28]
fld dword [ecx + 0xf0]
mov eax, dword [esi + 0x144]
fsubr dword [eax + 8]
fstp dword [eax + 8]
mov ecx, dword [esi + 0x144]
fld dword [ecx + 8]
fcomp dword [ecx + 4]
fnstsw ax
test ah, 0x41
jne 0x54dcae
mov eax, dword [ecx]
dec eax
je 0x54dcbe
dec eax
mov eax, dword [ecx + 4]
mov dword [ecx + 8], eax
je 0x54dcc8
mov ecx, dword [esi + 0x14]
and ecx, 0xfffeffff
or ecx, 0x80000000
mov dword [esi + 0x14], ecx
jmp 0x54dcc8
fld dword [ecx + 8]
fcomp dword [0x59e440]
fnstsw ax
test ah, 5
jp 0x54dcc8
mov dword [ecx + 8], ebp
and dword [esi + 0x14], 0x7ffeffff
mov eax, dword [esi + 0x144]
fld dword [eax + 8]
fdiv dword [eax + 4]
fstp dword [esp + 0x38]
cmp dword [esi + 0x118], ebp
mov dword [esp + 0x30], ebp
jle 0x54df2f
mov dword [esp + 0x34], ebp
lea esp, [esp]
mov ecx, dword [esi + 0x11c]
add ecx, ebp
push 4
push ecx
mov ecx, esi
call fcn.0054e0e0
mov edx, dword [esi + 0x11c]
mov ebx, dword [edx + ebp + 0xc]
mov edi, dword [edx + ebp + 0x20]
lea eax, [edx + ebp]
mov edx, dword [eax + 8]
xor ecx, ecx
cmp edx, ecx
mov dword [esp + 0x2c], ecx
jle 0x54deba
mov dword [esp + 0x3c], ecx
mov ebp, dword [ebx + 0x18]
mov edx, dword [esp + 0x28]
mov edx, dword [edx + 0x18]
mov eax, dword [0x8b8f24]
mov ecx, dword [eax]
and ebp, 0xff
imul ebp, ebp, 0x88
lea edx, [edx + ebp + 4]
push edx
lea edx, [esp + 0x44]
push edx
push ebx
push eax
call dword [ecx + 4]
mov eax, dword [esi + 0x14]
add esp, 0x10
test eax, 0x80010000
je 0x54ddb7
mov eax, dword [esi + 0x144]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x11c]
mov eax, dword [esp + 0x34]
mov eax, dword [edx + eax + 0xc]
mov ecx, dword [esp + 0x3c]
fld dword [eax + ecx]
add eax, ecx
fsub dword [esp + 0x40]
fmul dword [esp + 0x38]
fadd dword [esp + 0x40]
fstp dword [esp + 0x40]
fld dword [eax + 4]
fsub dword [esp + 0x44]
fmul dword [esp + 0x38]
fadd dword [esp + 0x44]
fstp dword [esp + 0x44]
fld dword [eax + 8]
fsub dword [esp + 0x48]
fmul dword [esp + 0x38]
fadd dword [esp + 0x48]
fstp dword [esp + 0x48]
fld dword [esp + 0x40]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x54ddd0
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x14], ecx
jmp 0x54dde7
fld dword [esp + 0x40]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x54dde7
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], edx
fld dword [esp + 0x44]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 5
jp 0x54de00
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
jmp 0x54de17
fld dword [esp + 0x44]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x54de17
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x18], ecx
fld dword [esp + 0x48]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 5
jp 0x54de30
mov edx, dword [esp + 0x48]
mov dword [esp + 0x24], edx
jmp 0x54de47
fld dword [esp + 0x48]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x54de47
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x40]
mov dword [edi], ecx
mov edx, dword [esp + 0x44]
mov dword [edi + 4], edx
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x28]
mov dword [edi + 8], eax
mov edx, dword [edx + 0x18]
mov eax, dword [0x8b8f24]
mov ecx, dword [eax]
lea edx, [edx + ebp + 4]
push edx
lea edx, [edi + 0xc]
push edx
lea edx, [ebx + 0x1c]
push edx
push eax
call dword [ecx]
mov eax, dword [ebx + 0x30]
mov dword [edi + 0x20], eax
mov ecx, dword [ebx + 0x34]
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x24], ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esi + 0x11c]
add ecx, 0x30
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x44]
mov ebp, dword [edx + ecx + 8]
add esp, 0x10
add ebx, 0x40
add edi, 0x40
inc eax
cmp eax, ebp
mov dword [esp + 0x2c], eax
jl 0x54dd28
mov ebp, ecx
mov edx, dword [esi + 0x11c]
mov eax, dword [edx + ebp]
test al, 2
lea ecx, [edx + ebp]
push 0
je 0x54ded3
call fcn.0055e320
jmp 0x54dee3
test al, 1
je 0x54dede
call fcn.0055da50
jmp 0x54dee3
call fcn.0055d900
test dword [esi + 0x14], 0x400000
je 0x54def9
mov ecx, dword [esi + 0x11c]
add ecx, ebp
call fcn.0055eb30
mov eax, dword [esi + 0x11c]
push 4
add eax, ebp
push eax
mov ecx, esi
call fcn.0054e0f0
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x118]
inc eax
add ebp, 0x40
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebp
jl 0x54dcf0
mov edx, dword [esp + 0x28]
xor ebp, ebp
fld dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
fadd dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0x24]
fmul dword [0x59e450]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x10]
fstp dword [esi + 0xdc]
mov dword [esi + 0x24], ecx
fld dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
fadd dword [esp + 0x1c]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x2c], ecx
mov ecx, dword [esp + 0x14]
fmul dword [0x59e450]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x1c]
fstp dword [esi + 0xe0]
mov dword [esi + 0x34], ecx
fld dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
fadd dword [esp + 0x24]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x3c], ecx
mov ecx, dword [esp + 0x1c]
fmul dword [0x59e450]
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x24]
fstp dword [esi + 0xe4]
mov dword [esi + 0x44], ecx
fld dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
fsub dword [esp + 0x14]
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x4c], ecx
mov ecx, dword [esp + 0x24]
fmul dword [0x59e450]
fld dword [esp + 0x18]
mov dword [esi + 0x50], eax
fsub dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov dword [esi + 0x54], ecx
mov ecx, dword [esp + 0x18]
fmul dword [0x59e450]
fld dword [esp + 0x20]
mov dword [esi + 0x58], eax
fsub dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov dword [esi + 0x5c], ecx
mov ecx, dword [esp + 0x14]
fmul dword [0x59e450]
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x18]
fld st(0)
mov dword [esi + 0x64], ecx
fmul st(1)
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x68], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x6c], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x74], ecx
mov dword [esi + 0x78], eax
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp dword [esi + 0x18]
fstp st(0)
fstp st(0)
fstp st(0)
mov edi, dword [edx + 4]
mov eax, dword [edx + 0x24]
and edi, 0xfffeffff
cmp eax, ebp
mov dword [edx + 4], edi
mov dword [esp + 0x28], eax
jne 0x54da19
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x48
ret