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

Disassembly:
push 0xffffffffffffffff
push 0x488938
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x78]
mov dword [esp + 0x70], 1
mov eax, dword [eax - 8]
cmp eax, 4
jg 0x5518b0
mov ecx, dword [esp + 0x7c]
mov ecx, dword [ecx - 8]
cmp ecx, 4
jg 0x5518b0
mov edx, dword [esp + 0x80]
test edx, edx
je 0x551783
test eax, eax
je 0x5518b0
test ecx, ecx
je 0x5518b0
mov edi, dword [ebp + 0x2f8]
test edi, edi
je 0x551783
mov bl, 2
mov esi, edi
mov edi, dword [edi]
lea ecx, [esp + 0x50]
lea edx, [esi + 0xc]
push edx
call fcn.005414c2
lea eax, [esi + 0x10]
lea ecx, [esp + 0x54]
push eax
mov byte [esp + 0x74], bl
call fcn.005414c2
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x58], ecx
mov edx, dword [esi + 0x18]
mov dword [esp + 0x5c], edx
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x60], eax
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x4c], 0x492918
test eax, eax
jne 0x551894
lea ecx, [esp + 0x54]
mov byte [esp + 0x70], 5
call fcn.00541342
lea ecx, [esp + 0x50]
mov byte [esp + 0x70], 1
call fcn.00541342
test edi, edi
jne 0x551715
lea ecx, [esp + 0x18]
call fcn.0054148c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 6
call fcn.0054148c
or ebx, 0xffffffff
xor esi, esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x14], 0x492918
lea edx, [esp + 0x78]
lea ecx, [esp + 0x18]
push edx
mov byte [esp + 0x74], 7
call fcn.005414b6
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x1c]
push eax
call fcn.005414b6
mov edi, dword [ebp + 0x2f8]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x80]
cmp edi, esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
je 0x55198e
mov bl, 9
mov esi, edi
mov ebp, edi
mov edi, dword [edi]
lea ecx, [esi + 0xc]
push ecx
lea ecx, [esp + 0x38]
call fcn.005414c2
lea edx, [esi + 0x10]
lea ecx, [esp + 0x38]
push edx
mov byte [esp + 0x74], 8
call fcn.005414c2
mov eax, dword [esi + 0x14]
mov dword [esp + 0x3c], eax
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x40], ecx
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x44], edx
mov eax, dword [esi + 0x20]
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], 0x492918
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
mov byte [esp + 0x70], bl
mov eax, dword [ecx - 8]
mov ecx, dword [edx - 8]
cmp eax, ecx
jle 0x5518e6
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 0xc
call fcn.00541342
lea ecx, [esp + 0x34]
mov byte [esp + 0x70], 7
call fcn.00541342
test edi, edi
jne 0x551809
mov ebp, dword [esp + 0x10]
or ebx, 0xffffffff
jmp 0x55198e
lea ecx, [esp + 0x54]
mov byte [esp + 0x70], 4
call fcn.00541342
lea ecx, [esp + 0x50]
mov byte [esp + 0x70], 1
call fcn.00541342
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 0
call fcn.00541342
lea ecx, [esp + 0x7c]
mov dword [esp + 0x70], 0xffffffff
call fcn.00541342
xor eax, eax
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 0x14
mov eax, dword [esp + 0x10]
test ebp, ebp
lea edi, [eax + 0x2f4]
jne 0x551904
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.00558db0
mov esi, eax
jmp 0x551930
mov edx, dword [ebp + 4]
push ebp
push edx
mov ecx, edi
call fcn.00558e70
mov esi, eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 8]
call fcn.00551a00
mov eax, dword [ebp + 4]
test eax, eax
je 0x55192a
mov dword [eax], esi
jmp 0x55192d
mov dword [edi + 4], esi
mov dword [ebp + 4], esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 0xa
call fcn.00541342
lea ecx, [esp + 0x34]
mov byte [esp + 0x70], 7
call fcn.00541342
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 0xb
call fcn.00541342
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 1
call fcn.00541342
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 0
call fcn.00541342
lea ecx, [esp + 0x7c]
mov dword [esp + 0x70], 0xffffffff
call fcn.00541342
mov eax, esi
jmp 0x5518d1
mov ecx, dword [ebp + 0x2fc]
lea esi, [ebp + 0x2f4]
push 0
push ecx
mov ecx, esi
call fcn.00558e70
mov edi, eax
lea edx, [esp + 0x14]
push edx
lea ecx, [edi + 8]
call fcn.00551a00
mov eax, dword [esi + 8]
test eax, eax
je 0x5519be
mov dword [eax], edi
jmp 0x5519c1
mov dword [esi + 4], edi
lea ecx, [esp + 0x14]
mov dword [esi + 8], edi
mov byte [esp + 0x70], 1
call fcn.0054bee0
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 0
call fcn.00541342
lea ecx, [esp + 0x7c]
mov dword [esp + 0x70], ebx
call fcn.00541342
mov eax, edi
jmp 0x5518d1