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

Disassembly:
sub esp, 0x12c
mov eax, dword [0x5df040]
xor eax, esp
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
push esi
mov esi, dword [esp + 0x134]
test eax, eax
jne 0x547556
lea eax, [esp + 0x2c]
push eax
call fcn.00547f50
add esp, 4
jmp 0x547579
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x2c], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x3c], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax + 0x28]
movq qword [esp + 0x4c], xmm0
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x13c]
push 5
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00547e80
add esp, 0xc
mov dword [esp + 0x5c], eax
test eax, eax
jne 0x5475b2
pop esi
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00423495
add esp, 0x12c
ret
push ebx
push ebp
push edi
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00546990
mov ebx, eax
mov ebp, edx
mov ecx, ebx
add esp, 8
and ecx, ebp
cmp ecx, 0xffffffff
je 0x54773b
push 0
push ebp
push ebx
push dword [esp + 0x74]
lea eax, [esp + 0x48]
mov dword [esp + 0x130], 1
push eax
call fcn.00547ea0
neg eax
sbb esi, esi
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x80]
lea eax, [esp + 0x54]
push eax
call fcn.00546c20
or edi, 0xffffffff
test eax, eax
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x8c]
lea eax, [esp + 0x60]
cmovne esi, edi
push eax
call fcn.00546c90
test eax, eax
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x98]
lea eax, [esp + 0x6c]
cmovne esi, edi
push eax
call fcn.00546da0
test eax, eax
lea eax, [esp + 0x54]
push eax
push dword [esp + 0xa4]
lea eax, [esp + 0x78]
cmovne esi, edi
push eax
call fcn.00546da0
add esp, 0x44
test eax, eax
lea eax, [esp + 0x18]
cmovne esi, edi
push eax
push dword [esp + 0x6c]
lea eax, [esp + 0x40]
push eax
call fcn.00546c20
test eax, eax
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x78]
lea eax, [esp + 0x4c]
cmovne esi, edi
push eax
call fcn.00546c20
test eax, eax
lea eax, [esp + 0x88]
push eax
push dword [esp + 0x84]
lea eax, [esp + 0x58]
cmovne esi, edi
push eax
call fcn.00546c90
test eax, eax
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x90]
lea eax, [esp + 0x64]
cmovne esi, edi
push eax
call fcn.00546c90
add esp, 0x30
test eax, eax
mov eax, dword [esp + 0x24]
cmovne esi, edi
cmp eax, dword [esp + 0x70]
jne 0x5476f5
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x74]
jne 0x5476f5
cmp dword [esp + 0x14], 0
jne 0x5476f5
cmp dword [esp + 0x18], 0
je 0x5476fa
mov esi, 0xffffff99
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0x6c]
lea eax, [esp + 0x40]
push eax
call fcn.00546c90
test eax, eax
lea eax, [esp + 0xbc]
push eax
push dword [esp + 0x78]
lea eax, [esp + 0x4c]
cmovne esi, edi
push eax
call fcn.00546c90
add esp, 0x18
mov dword [esp + 0x78], 0
jmp 0x547a48
mov ebp, dword [esp + 0x68]
mov eax, 0xffff
mov dword [esp + 0x10], eax
or ebx, 0xffffffff
xor eax, eax
mov dword [esp + 0x18], ebp
push 2
push eax
push eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x44]
push ebp
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], 0xffffffff
call fcn.00547ea0
add esp, 0x14
test eax, eax
je 0x547785
or ebx, 0xffffffff
or ebp, 0xffffffff
or esi, 0xffffffff
jmp 0x5478ee
lea eax, [esp + 0x38]
push ebp
push eax
call fcn.00547ef0
mov ecx, edx
mov dword [esp + 0x34], eax
add esp, 8
mov dword [esp + 0x30], ecx
test ecx, ecx
ja 0x5477b2
jb 0x5477aa
cmp eax, 0xffff
jae 0x5477b2
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
push 0x404
call fcn.0054def0
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x5477d3
or ebx, 0xffffffff
or ebp, 0xffffffff
or esi, 0xffffffff
jmp 0x5478ee
mov ecx, dword [esp + 0x14]
xor edi, edi
mov esi, 4
cmp edi, ecx
ja 0x5478d2
mov eax, dword [esp + 0x10]
jb 0x5477f4
cmp esi, eax
jae 0x5478d2
add esi, 0x400
adc edi, 0
cmp edi, ecx
jb 0x54780b
ja 0x547807
cmp esi, eax
jbe 0x54780b
mov esi, eax
mov edi, ecx
mov edx, dword [esp + 0x2c]
mov eax, edx
mov ecx, dword [esp + 0x30]
sub eax, esi
mov dword [esp + 0x34], eax
sbb ecx, edi
mov dword [esp + 0x24], ecx
test edi, edi
jb 0x547836
ja 0x54782f
cmp esi, 0x404
jbe 0x547836
mov ebx, 0x404
jmp 0x54783a
mov ebx, edx
sub ebx, eax
push 0
push ecx
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x48]
push eax
call fcn.00547ea0
add esp, 0x14
test eax, eax
jne 0x5478ce
push ebx
push ebp
push dword [esp + 0x20]
push dword [esp + 0x60]
call dword [esp + 0x4c]
add esp, 0x10
cmp eax, ebx
jne 0x5478ce
lea ecx, [ebx - 3]
test ecx, ecx
jle 0x5478b4
lea eax, [ebp + 3]
add eax, ecx
mov edx, ecx
lea eax, [eax - 1]
dec ecx
cmp byte [eax - 3], 0x50
jne 0x547891
cmp byte [edx + ebp], 0x4b
jne 0x547891
cmp byte [eax - 1], 5
jne 0x547891
cmp byte [eax], 6
je 0x547897
test ecx, ecx
jg 0x547874
jmp 0x5478b4
mov ebx, ecx
xor ecx, ecx
add ebx, dword [esp + 0x34]
mov eax, ebx
mov dword [esp + 0x20], ebx
adc ecx, dword [esp + 0x24]
and eax, ecx
mov dword [esp + 0x1c], ecx
cmp eax, 0xffffffff
jne 0x5478ce
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cmp edi, ecx
jb 0x5477f4
ja 0x5478ce
cmp esi, eax
jb 0x5477f4
mov ebx, dword [esp + 0x20]
push ebp
call fcn.0054d120
mov ebp, dword [esp + 0x20]
mov eax, ebx
and eax, ebp
add esp, 4
cmp eax, 0xffffffff
jne 0x5478ec
or esi, eax
jmp 0x5478ee
xor esi, esi
push 0
push ebp
push ebx
push dword [esp + 0x74]
lea eax, [esp + 0x48]
mov dword [esp + 0x130], 0
push eax
call fcn.00547ea0
or edi, 0xffffffff
test eax, eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x80]
lea eax, [esp + 0x54]
cmovne esi, edi
push eax
call fcn.00546c20
test eax, eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x8c]
lea eax, [esp + 0x60]
cmovne esi, edi
push eax
call fcn.00546da0
test eax, eax
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x98]
lea eax, [esp + 0x6c]
cmovne esi, edi
push eax
call fcn.00546da0
test eax, eax
lea eax, [esp + 0x48]
push eax
push dword [esp + 0xa4]
lea eax, [esp + 0x78]
cmovne esi, edi
push eax
call fcn.00546da0
add esp, 0x44
mov dword [esp + 0x74], 0
test eax, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x10]
cmovne esi, edi
push eax
push dword [esp + 0x6c]
lea eax, [esp + 0x40]
push eax
call fcn.00546da0
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x10]
cmovne esi, edi
xor ecx, ecx
cmp eax, dword [esp + 0x70]
jne 0x5479cb
cmp ecx, dword [esp + 0x74]
jne 0x5479cb
cmp dword [esp + 0x14], ecx
jne 0x5479cb
cmp dword [esp + 0x18], ecx
je 0x5479d0
mov esi, 0xffffff99
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x6c]
lea eax, [esp + 0x40]
push eax
call fcn.00546c20
test eax, eax
mov dword [esp + 0xb8], 0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xb4], eax
cmovne esi, edi
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x78]
lea eax, [esp + 0x4c]
push eax
call fcn.00546c20
test eax, eax
mov dword [esp + 0xcc], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc8], eax
cmovne esi, edi
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x84]
lea eax, [esp + 0x58]
push eax
call fcn.00546da0
add esp, 0x24
mov edx, dword [esp + 0xb0]
test eax, eax
mov eax, dword [esp + 0xb4]
mov ecx, edx
cmovne esi, edi
mov edi, dword [esp + 0xa8]
add ecx, edi
adc eax, dword [esp + 0xac]
cmp ebp, eax
jb 0x547ae8
ja 0x547a77
cmp ebx, ecx
jb 0x547ae8
test esi, esi
jne 0x547ae8
mov ecx, ebx
mov dword [esp + 0xa0], ebx
sub ecx, edx
mov dword [esp + 0xa4], ebp
mov eax, ebp
mov dword [esp + 0x118], esi
sbb eax, dword [esp + 0xb4]
sub ecx, edi
push 0x100
sbb eax, dword [esp + 0xb0]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x120], esi
call fcn.0054def0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x547ae4
mov ecx, 0x40
lea esi, [esp + 0x38]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push ebx
call fcn.00546f20
add esp, 4
mov eax, ebx
jmp 0x547af9
push dword [esp + 0x68]
push dword [esp + 0x58]
call dword [esp + 0x54]
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0x138]
pop edi
pop ebp
pop ebx
pop esi
xor ecx, esp
call fcn.00423495
add esp, 0x12c
ret