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

Disassembly:
mov eax, 0x58
call fcn.0052a370
mov eax, dword [0x656770]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x60]
push ebx
mov ebx, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x6c]
push esi
push edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x78]
xor esi, esi
xor edi, edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
test ebx, ebx
jns 0x54d219
mov ebx, 6
mov dword [esp + 0x88], ebx
fld qword [esp + 0x7c]
fldz
fcomp st(1)
fnstsw ax
test ah, 0x41
mov eax, dword [esp + 0x8c]
jne 0x54d23b
fchs
mov dword [esp + 0x18], 0x2d
jmp 0x54d255
test al, 2
je 0x54d249
mov dword [esp + 0x18], 0x2b
jmp 0x54d255
test al, 4
je 0x54d255
mov dword [esp + 0x18], 0x20
fld st(0)
call fcn.0052a2c0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
cmp ebx, 9
jle 0x54d275
mov ebx, 9
mov dword [esp + 0x88], ebx
fld1
mov eax, ebx
fld st(0)
fld qword [0x5f0bd0]
test ebx, ebx
je 0x54d28a
fmul st(1), st(0)
dec eax
jne 0x54d285
fld st(1)
call fcn.0052a2c0
mov ecx, eax
mov dword [esp + 0x34], ecx
fild dword [esp + 0x34]
mov dword [esp + 0x2c], eax
fstp qword [esp + 0x34]
fld qword [esp + 0x34]
fsubp st(2)
fld qword [0x5cc880]
fcom st(2)
fnstsw ax
fstp st(2)
test ah, 0x41
jp 0x54d2bf
inc ecx
mov dword [esp + 0x2c], ecx
mov eax, ebx
test ebx, ebx
je 0x54d2ca
fmul st(2), st(0)
dec eax
jne 0x54d2c5
fstp st(0)
fild dword [esp + 0x24]
fstp qword [esp + 0x24]
fld qword [esp + 0x24]
fsubp st(3)
fxch st(2)
fmulp st(1)
fld st(0)
call fcn.0052a2c0
mov ebx, eax
mov dword [esp + 0x24], ebx
fild dword [esp + 0x24]
fstp qword [esp + 0x24]
fsub qword [esp + 0x24]
fcompp
fnstsw ax
test ah, 1
jne 0x54d301
inc ebx
mov eax, dword [esp + 0x2c]
cmp ebx, eax
jl 0x54d30f
inc dword [esp + 0x1c]
sub ebx, eax
mov ebp, dword [esp + 0x1c]
mov eax, 0x66666667
imul ebp
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
inc esi
lea eax, [ecx + ecx*4]
add eax, eax
sub ebp, eax
mov al, byte [ebp + str.0123456789]
mov byte [esp + esi + 0x3b], al
mov ebp, ecx
test ebp, ebp
je 0x54d341
cmp esi, 0x14
jl 0x54d313
cmp esi, 0x14
jne 0x54d34d
mov esi, 0x13
jmp 0x54d353
jae 0x54d5a4
mov ebp, dword [esp + 0x88]
mov byte [esp + esi + 0x3c], 0
nop
mov eax, 0x66666667
imul ebx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
inc edi
lea eax, [ecx + ecx*4]
add eax, eax
sub ebx, eax
mov al, byte [ebx + str.0123456789]
mov byte [esp + edi + 0x4f], al
mov ebx, ecx
cmp edi, ebp
jl 0x54d360
mov ebp, dword [esp + 0x30]
cmp edi, 0x14
jne 0x54d399
mov edi, 0x13
jmp 0x54d39f
jae 0x54d5a4
mov ecx, dword [esp + 0x84]
xor eax, eax
cmp dword [esp + 0x18], eax
mov edx, 0
setne al
mov byte [esp + edi + 0x50], 0
sub ecx, eax
mov eax, dword [esp + 0x88]
sub ecx, esi
sub ecx, eax
sub eax, edi
sets dl
xor ebx, ebx
dec edx
and edx, eax
mov eax, dword [esp + 0x8c]
dec ecx
sets bl
mov dword [esp + 0x1c], edx
dec ebx
and ebx, ecx
test al, 1
je 0x54d3e8
neg ebx
test al, 0x10
je 0x54d462
test ebx, ebx
jle 0x54d486
mov eax, dword [esp + 0x18]
test eax, eax
je 0x54d434
push eax
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x2c]
push ebp
call fcn.0054d100
add esp, 0x14
test eax, eax
jne 0x54d42b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.005259c3
add esp, 0x58
ret
dec ebx
mov dword [esp + 0x18], 0
test ebx, ebx
jle 0x54d486
jmp 0x54d440
push 0x30
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x2c]
push ebp
call fcn.0054d100
add esp, 0x14
test eax, eax
je 0x54d416
dec ebx
test ebx, ebx
jg 0x54d440
jmp 0x54d486
test ebx, ebx
jle 0x54d486
push 0x20
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x2c]
push ebp
call fcn.0054d100
add esp, 0x14
test eax, eax
je 0x54d416
dec ebx
test ebx, ebx
jg 0x54d466
mov eax, dword [esp + 0x18]
test eax, eax
je 0x54d4ac
push eax
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x2c]
push ebp
call fcn.0054d100
add esp, 0x14
test eax, eax
je 0x54d416
test esi, esi
jle 0x54d4d8
movsx eax, byte [esp + esi + 0x3b]
dec esi
push eax
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x2c]
push ebp
call fcn.0054d100
add esp, 0x14
test eax, eax
je 0x54d416
test esi, esi
jg 0x54d4b0
cmp dword [esp + 0x88], 0
jg 0x54d4ec
test byte [esp + 0x8c], 8
je 0x54d537
mov esi, dword [esp + 0x20]
push 0x2e
push dword [esp + 0x18]
push dword [esp + 0x18]
push esi
push ebp
call fcn.0054d100
add esp, 0x14
test eax, eax
je 0x54d416
test edi, edi
jle 0x54d53b
movsx eax, byte [esp + edi + 0x4f]
dec edi
push eax
push dword [esp + 0x18]
push dword [esp + 0x18]
push esi
push ebp
call fcn.0054d100
add esp, 0x14
test eax, eax
je 0x54d416
test edi, edi
jg 0x54d510
jmp 0x54d53b
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x1c], 0
mov edi, dword [esp + 0x10]
jle 0x54d56c
push 0x30
push dword [esp + 0x18]
push edi
push esi
push ebp
call fcn.0054d100
add esp, 0x14
test eax, eax
je 0x54d416
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x1c], eax
test eax, eax
jg 0x54d546
test ebx, ebx
jns 0x54d58c
push 0x20
push dword [esp + 0x18]
push edi
push esi
push ebp
call fcn.0054d100
add esp, 0x14
test eax, eax
je 0x54d416
inc ebx
js 0x54d570
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.005259c3
add esp, 0x58
ret
call fcn.0052a0ed
int3