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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x56ed68
push eax
mov dword fs:[0], esp
sub esp, 0x54
push esi
mov esi, ecx
test esi, esi
je 0x54841f
mov eax, dword [esi + 0x20]
test eax, eax
je 0x54841f
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x54841f
push ebx
push ebp
lea ecx, [esp + 0x3c]
push edi
push ecx
push eax
call dword [0x571410]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x4c]
push 2
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
call dword [0x57145c]
mov edi, dword [esp + 0x28]
or ecx, 0xffffffff
sub ecx, eax
push 0xfffffffffffffffb
lea edx, [esp + 0x24]
add edi, ecx
push 0xfffffffffffffffc
push edx
mov dword [esp + 0x34], edi
call dword [0x571454]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esi + 0x70]
mov edi, dword [esp + 0x20]
push esi
lea ecx, [esp + 0x54]
sub ebx, ebp
call fcn.00513d04
mov eax, dword [esi + 0x44]
mov dword [esp + 0x6c], 0
test eax, eax
je 0x54836b
jmp 0x5482be
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov ebp, dword [eax + 8]
lea eax, [esi + 0x60]
push 1
mov edx, dword [ebp]
push eax
mov dword [esp + 0x18], ecx
lea eax, [esp + 0x58]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, ebp
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
lea edx, [eax + edi]
cmp edx, dword [esp + 0x28]
jle 0x548305
mov edx, dword [esp + 0x20]
cmp edi, edx
jne 0x5482ff
mov eax, dword [esp + 0x28]
sub eax, edx
jmp 0x548305
mov edi, edx
lea ebx, [ebx + ecx + 5]
mov ecx, dword [esi + 0x64]
lea edx, [eax + edi]
mov dword [esp + 0x30], edi
lea edi, [ebp + 0x2c]
lea eax, [ecx + ebx]
mov dword [esp + 0x14], edx
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
push eax
push edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], edx
call dword [0x571574]
test eax, eax
jne 0x548358
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [edi], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edi + 4], edx
mov edx, dword [ebp]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov ecx, ebp
call dword [edx + 0x34]
mov eax, dword [esp + 0x14]
lea edi, [eax + 4]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5482ba
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x64]
mov edx, dword [esp + 0x24]
mov edi, dword [ecx + 8]
lea ecx, [eax + 5]
mov eax, dword [esp + 0x2c]
sub eax, edx
cdq
idiv ecx
mov ebx, eax
mov eax, dword [edi + 0x38]
cdq
idiv ecx
sub eax, ebx
mov ebp, eax
test ebp, ebp
jle 0x548404
lea edi, [esi + 0x7c]
test edi, edi
je 0x5483a2
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x5483e7
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x30]
push edx
push eax
call dword [0x571410]
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
push 0xffffffffffffffff
push ecx
call dword [0x571454]
push 2
call dword [0x57145c]
mov edx, dword [esp + 0x38]
push 1
sub edx, eax
lea eax, [esp + 0x34]
push esi
dec edx
push eax
push 0x50000001
mov ecx, edi
mov dword [esp + 0x40], edx
call fcn.0054d3ec
mov eax, dword [esi + 0x64]
push 1
add eax, 5
mov ecx, esi
imul eax, ebp
push eax
push 0
push 1
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], ebx
call fcn.0054d698
lea ecx, [esp + 0x50]
mov dword [esi + 0x68], 1
mov dword [esp + 0x6c], 0xffffffff
call fcn.00513cfe
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret