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

Disassembly:
mov ecx, dword [0x6c4e70]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x54852d
add esp, 0xffffff80
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x34]
mov dword [esp], ecx
call fcn.0053a3e0
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x40], ecx
lea edx, [0x560820]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00449500
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
xor ebx, ebx
jmp 0x547ff6
mov dword [eax], ebp
inc ebx
mov eax, dword [esp + 0x4c]
cmp ebx, ecx
jge 0x548024
mov ebp, dword [edx + ebx*4]
lea esi, [eax + ebx*8 + 4]
mov edi, dword [ebp + 8]
lea eax, [eax + ebx*8]
mov ebp, dword [ebp + 4]
mov dword [esi], edi
mov esi, dword [0x6c4f80]
test esi, esi
je 0x547fef
call fcn.00460f00
mov dword [edi], ebp
mov esi, dword [eax]
mov dword [edi + 4], esi
jmp 0x547fef
mov edx, dword [esp + 0x84]
mov ebx, dword [edx + 0x18]
test ebx, ebx
jne 0x54818f
cmp ecx, 1
je 0x54811c
jg 0x54804a
xor ecx, ecx
xor eax, eax
jmp 0x548185
mov dword [esp], eax
lea edx, [ecx - 1]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
lea edx, [0x58638b]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 2
call fcn.004be6c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409580
mov eax, dword [esp + 8]
lea ecx, [0x560820]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x4c]
lea eax, [edx + eax*8 - 8]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00409580
mov eax, dword [esp + 8]
lea ecx, [0x560820]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea eax, [0x590894]
mov dword [esp], eax
mov dword [esp + 4], 0x27
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004b0a30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
jmp 0x548185
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409580
mov eax, dword [esp + 8]
lea ecx, [0x560820]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
lea eax, [0x58d791]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004b0a30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, 0xb
jmp 0x5484c2
mov ebx, dword [edx + 0x14]
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
call fcn.00538390
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov ebx, dword [esp + 0x84]
mov ebp, dword [ebx + 0x18]
test ebp, ebp
jbe 0x548523
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x34], ecx
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409580
mov eax, dword [esp + 8]
lea ecx, [0x560820]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
lea eax, [0x58a3bb]
mov dword [esp], eax
mov dword [esp + 4], 0x14
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004b0a30
mov eax, dword [esp + 0x28]
cvtsi2ss xmm0, eax
mov eax, dword [esp + 0x34]
cvtsi2ss xmm1, eax
divss xmm0, xmm1
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
movss xmm1, dword [0x5bfcc8]
ucomiss xmm1, xmm0
ja 0x54841f
mov eax, dword [esp + 0x30]
cmp eax, 1
je 0x54837f
jle 0x5484b9
mov dword [esp + 0x20], edx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
lea edx, [eax - 1]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
lea edx, [0x58638b]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 2
call fcn.004be6c0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
lea edi, [esp + 0x68]
xor eax, eax
call fcn.004610ea
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.00409580
mov eax, dword [esp + 8]
lea ecx, [0x560820]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call fcn.00409580
mov eax, dword [esp + 8]
lea ecx, [0x560820]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x4c]
lea eax, [edx + eax*8 - 8]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00409580
mov eax, dword [esp + 8]
lea ecx, [0x560820]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
lea eax, [0x591740]
mov dword [esp], eax
mov dword [esp + 4], 0x2b
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.004b0a30
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x5484b9
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.00409580
mov eax, dword [esp + 8]
lea ecx, [0x560820]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x4c]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00409580
mov eax, dword [esp + 8]
lea ecx, [0x560820]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea eax, [0x58efb8]
mov dword [esp], eax
mov dword [esp + 4], 0x21
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004b0a30
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x5484b9
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.00409580
mov eax, dword [esp + 8]
lea ecx, [0x560820]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.00409580
mov eax, dword [esp + 8]
lea ecx, [0x560820]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea eax, [0x58aef5]
mov dword [esp], eax
mov dword [esp + 4], 0x16
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004b0a30
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, ecx
mov ecx, edx
mov edx, 0xc
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], edx
lea ebx, [0x5695c0]
mov dword [esp], ebx
call fcn.0040bd30
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 8], ecx
mov ecx, dword [0x6c4f80]
test ecx, ecx
jne 0x5484fd
mov ecx, dword [esp + 0x3c]
jmp 0x548508
call fcn.00460ef0
mov ecx, dword [esp + 0x3c]
mov dword [edi], ecx
mov dword [eax + 4], ecx
lea ecx, [0x5c0478]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
sub esp, 0xffffff80
ret
xor eax, eax
mov ecx, eax
call fcn.00460f60
nop
call fcn.0045faf0
jmp fcn.00547f90