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

Disassembly:
push 0x2c
mov eax, 0x59fbc2
call fcn.00580367
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
xor esi, esi
cmp eax, esi
je 0x54c9cd
movzx edi, byte [eax + 0x14]
mov dword [ebp - 0x20], edi
jmp 0x54c9d4
or dword [ebp - 0x20], 0xffffffff
mov edi, dword [ebp - 0x20]
cmp eax, esi
je 0x54c9e1
movzx ebx, byte [eax + 0x15]
mov dword [ebp - 0x1c], ebx
jmp 0x54c9e8
or dword [ebp - 0x1c], 0xffffffff
mov ebx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], esi
call fcn.004380c0
lea eax, [ebp - 0x38]
push eax
push 0x12
mov dword [ebp - 4], esi
call fcn.0043bf70
mov ecx, eax
call fcn.0043ac70
test eax, eax
jle 0x54ca4d
and dword [ebp - 0x28], 0
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
call fcn.0041c700
test eax, eax
je 0x54ca4d
push eax
call fcn.00494960
pop ecx
cmp dword [eax + 0x14], edi
jne 0x54ca39
cmp dword [eax + 0x18], ebx
jne 0x54ca39
xor esi, esi
mov dword [ebp - 0x18], eax
inc esi
lea ecx, [ebp - 0x2c]
call fcn.0041c720
test eax, eax
jne 0x54ca22
test esi, esi
jne 0x54caeb
call fcn.0043bf70
mov eax, dword [eax + 0x3c]
push 3
push ebx
push edi
mov ecx, eax
call fcn.00440b50
mov edi, eax
test edi, edi
je 0x54caeb
push 0xc
call fcn.0056cb85
pop ecx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x54ca89
push edi
mov ecx, eax
call fcn.0049ee10
mov esi, eax
jmp 0x54ca8b
xor esi, esi
mov byte [ebp - 4], 0
call fcn.0043bf70
mov ecx, dword [eax + 0x18]
push esi
call fcn.00466680
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
push 0x20
call fcn.0056cb85
pop ecx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x54cad4
movzx ecx, byte [edi + 0x15]
push esi
push ecx
movzx ecx, byte [edi + 0x14]
push ecx
mov ecx, eax
call fcn.00498100
mov esi, eax
jmp 0x54cad6
xor esi, esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x18], esi
call fcn.0043bf70
mov ecx, dword [eax + 0x28]
push esi
call fcn.0043a480
mov ecx, dword [ebp + 8]
xor edi, edi
push 0x94
mov dword [ebp - 0x14], edi
call fcn.00552843
mov esi, 0x4000
mov dword [ebp - 0x10], eax
test esi, eax
jne 0x54cb10
mov dword [ebp - 0x14], 1
push dword [ebp - 0x18]
call fcn.00494960
pop ecx
mov ecx, eax
lea eax, [ebp - 0x10]
push eax
mov ebx, 0x194
push ebx
push 2
mov dword [ebp - 0x18], ecx
call fcn.00498170
xor eax, eax
inc eax
test dword [ebp - 0x10], esi
jne 0x54cb39
mov edi, eax
cmp dword [ebp - 0x14], 0
jne 0x54cb64
test edi, edi
je 0x54ce96
mov esi, dword [ebp + 0xc]
mov dword [esi + 0x70], eax
cmp dword [ebp - 0x14], eax
jne 0x54cb79
mov ecx, dword [ebp + 8]
push 0x94
call fcn.00552843
mov dword [ebp - 0x10], eax
jmp 0x54cb88
cmp dword [ebp - 0x14], eax
jne 0x54cb47
cmp edi, eax
jne 0x54cb47
mov esi, dword [ebp + 0xc]
mov dword [esi + 0x70], 2
jmp 0x54cb52
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
push ebx
push 2
call fcn.00498170
test dword [ebp - 0x10], 0x100
push 9
pop edi
push 7
pop ebx
je 0x54cb9c
mov dword [esi + 4], edi
jmp 0x54cbaf
mov eax, dword [ebp - 0x10]
and al, bl
mov dword [esi + 4], ebx
cmp al, 4
jne 0x54cbaf
mov dword [ebp - 0x24], 1
cmp dword [ebp - 0x14], 1
jne 0x54cbc7
mov ecx, dword [ebp + 8]
push 0x88
call fcn.00552843
mov dword [ebp - 0x10], eax
jmp 0x54cbdd
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
push 0x188
push 2
call fcn.00498170
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
mov edx, eax
and edx, 0xf
cmp ecx, edi
jne 0x54cbf4
add edx, 4
mov dword [ebp - 0x28], edx
fild dword [ebp - 0x28]
jmp 0x54cbfb
inc edx
mov dword [ebp - 0x28], edx
fild dword [ebp - 0x28]
test edx, edx
jge 0x54cc05
fadd dword [0x5e2978]
fstp dword [esi + 0x1c]
cmp ecx, edi
je 0x54cc42
cmp dword [ebp - 0x24], 1
je 0x54cc42
mov edx, eax
shr edx, 4
push 3
pop ecx
and edx, ecx
add edx, ecx
mov dword [esi + 0x20], edx
mov edx, eax
shr edx, 8
and edx, ecx
add edx, ecx
mov dword [esi + 0x24], edx
mov edx, eax
shr edx, 0xc
and edx, 0xf
add edx, ecx
shr eax, 0x10
mov dword [esi + 0x28], edx
and eax, 0xf
jmp 0x54cc70
mov ecx, eax
shr ecx, 4
and ecx, ebx
add ecx, 5
mov dword [esi + 0x20], ecx
mov ecx, eax
shr ecx, 7
and ecx, ebx
add ecx, 5
mov dword [esi + 0x24], ecx
mov ecx, eax
shr ecx, 0xc
and ecx, 0xf
add ecx, 0xf
shr eax, 0x10
mov dword [esi + 0x28], ecx
and eax, 0x1f
add eax, 0xb
mov dword [esi + 0x2c], eax
call fcn.0043bf70
mov eax, dword [eax + 0x3c]
push 3
push dword [ebp - 0x1c]
mov ecx, eax
push dword [ebp - 0x20]
call fcn.00440b50
test eax, eax
je 0x54ccb3
lea ecx, [ebp - 0x10]
push ecx
push 0xe8
mov ecx, eax
call fcn.004761d0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
shr eax, 4
and eax, 1
mov dword [ecx + 0x98], eax
cmp dword [ebp - 0x14], 1
jne 0x54cccb
mov ecx, dword [ebp + 8]
push 0x90
call fcn.00552843
mov dword [ebp - 0x10], eax
jmp 0x54cce1
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
push 0x190
push 2
call fcn.00498170
mov eax, dword [ebp - 0x10]
shr eax, 0x13
and eax, 1
cmp dword [ebp - 0x14], 1
mov dword [esi + 0xbc], eax
jne 0x54cd05
mov ecx, dword [ebp + 8]
push 0x94
call fcn.00552843
mov dword [ebp - 0x10], eax
jmp 0x54cd1b
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
push 0x194
push 2
call fcn.00498170
mov eax, dword [ebp - 0x10]
mov ecx, eax
shr ecx, 0x14
and ecx, 1
inc ecx
and eax, ebx
mov dword [esi + 0x40], ecx
cmp dword [esi + 4], edi
jne 0x54cd72
dec eax
dec eax
je 0x54cd65
dec eax
je 0x54cd58
dec eax
je 0x54cd83
dec eax
je 0x54cd4b
dec eax
jne 0x54cdb8
fld dword [0x5a85a4]
push 0x5c32c0
jmp 0x54cda4
fld dword [str.UUU_]
push 0x5c3418
jmp 0x54cda4
fld dword [0x5a8470]
push 0x5c3280
jmp 0x54cda4
fld dword [0x5c3288]
push 0x5c328c
jmp 0x54cda4
sub eax, 0
je 0x54cd9d
dec eax
je 0x54cd90
dec eax
je 0x54cd65
dec eax
je 0x54cd58
dec eax
jne 0x54cdb8
fld dword [0x5c3414]
push 0x5c3410
jmp 0x54cda4
fld dword [0x5c3274]
push 0x5c3278
jmp 0x54cda4
fld1
push 0x5c3260
lea eax, [esi + 0x9c]
fstp dword [esi + 0x10]
push 0x20
push eax
call fcn.0057eed3
add esp, 0xc
or ebx, 0xffffffff
push 0x10
or edi, ebx
call fcn.0056cb85
pop ecx
mov dword [ebp + 8], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x54cde1
push 0xc0010071
mov ecx, eax
call fcn.00496480
mov dword [ebp + 8], eax
jmp 0x54cde5
and dword [ebp + 8], 0
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 0
call fcn.00496540
test eax, eax
je 0x54ce01
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0xc]
shr edi, 0x16
and edi, 1
call fcn.0043bf70
mov eax, dword [eax + 0x3c]
push 3
push dword [ebp - 0x1c]
mov ecx, eax
push dword [ebp - 0x20]
call fcn.00440b50
test eax, eax
je 0x54ce36
lea ecx, [ebp - 0x10]
push ecx
push 0xd4
mov ecx, eax
call fcn.004761d0
test eax, eax
je 0x54ce36
mov ebx, dword [ebp - 0x10]
and ebx, 0x1f
push ebx
call fcn.004059c0
pop ecx
test eax, eax
je 0x54ce65
push edi
call fcn.004059c0
pop ecx
test eax, eax
je 0x54ce65
xor eax, eax
add ebx, 4
inc eax
mov ecx, edi
mov dword [ebp - 0x24], ebx
fild dword [ebp - 0x24]
shl eax, cl
mov dword [ebp - 0x24], eax
fidiv dword [ebp - 0x24]
fstp dword [esi + 0x60]
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x54ce72
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
push pe_nt_image_headers32
push 2
call fcn.00498170
mov eax, dword [ebp - 0x10]
shr eax, 4
and eax, 1
add eax, 0x2000000
mov dword [esi + 0x78], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0043a440
call fcn.0058043f
ret