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

Disassembly:
sub esp, 0x6c
push ebx
mov ebx, dword [esp + 0x80]
cmp ebx, 0xa
jae 0x548a7a
mov eax, 0xffffffec
pop ebx
add esp, 0x6c
ret
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x84]
push ebp
movzx ebp, word [ecx]
push esi
mov esi, dword [esp + 0x7c]
add eax, esi
mov dword [esp + 0x28], eax
movzx eax, word [ecx + 2]
mov dword [esp + 0x14], eax
movzx eax, word [ecx + 4]
add ecx, 6
sub ebx, eax
mov dword [esp + 0x30], eax
sub ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x80]
sub ebx, ebp
sub ebx, 6
mov dword [esp + 0x2c], ebp
add eax, 3
mov dword [esp + 0x1c], ebx
shr eax, 2
lea ebx, [ecx + ebp]
mov dword [esp + 0x18], ebx
push edi
lea edi, [edx + 4]
lea ebx, [eax + esi]
lea esi, [ebx + eax]
mov dword [esp + 0x38], ebx
add eax, esi
mov dword [esp + 0x14], ebx
movzx ebx, byte [edx + 2]
mov ebp, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], esi
mov dword [esp + 0x10], esi
cmp eax, dword [esp + 0x8c]
ja 0x548ce3
push dword [esp + 0x30]
lea eax, [esp + 0x70]
push ecx
push eax
call fcn.00547c10
add esp, 0xc
cmp eax, 0xffffff88
ja 0x548d7f
push dword [esp + 0x18]
lea eax, [esp + 0x60]
push dword [esp + 0x20]
push eax
call fcn.00547c10
add esp, 0xc
cmp eax, 0xffffff88
ja 0x548d7f
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x18]
mov esi, dword [esp + 0x34]
push esi
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00547c10
add esp, 0xc
cmp eax, 0xffffff88
ja 0x548d7f
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x18]
push dword [esp + 0x20]
add eax, esi
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00547c10
add esp, 0xc
cmp eax, 0xffffff88
ja 0x548d7f
lea eax, [esp + 0x3c]
push eax
call fcn.005441c0
mov esi, eax
lea eax, [esp + 0x50]
push eax
call fcn.005441c0
or esi, eax
lea eax, [esp + 0x64]
push eax
call fcn.005441c0
or esi, eax
lea eax, [esp + 0x78]
push eax
call fcn.005441c0
add esp, 0x10
or esi, eax
jne 0x548cc0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff9
mov dword [esp + 0x8c], eax
cmp ebp, eax
jae 0x548cc0
mov esi, dword [esp + 0x80]
lea eax, [esp + 0x6c]
push ebx
push edi
push eax
push esi
call fcn.00544f70
push ebx
add esi, eax
lea eax, [esp + 0x70]
push edi
push eax
push dword [esp + 0x30]
call fcn.00544f70
add dword [esp + 0x34], eax
lea eax, [esp + 0x6c]
push ebx
push edi
push eax
push dword [esp + 0x3c]
call fcn.00544f70
add dword [esp + 0x40], eax
lea eax, [esp + 0x6c]
push ebx
push edi
push eax
push ebp
call fcn.00544f70
add esp, 0x40
add ebp, eax
lea eax, [esp + 0x6c]
push ebx
push edi
push eax
push esi
call fcn.00544f70
add esi, eax
lea eax, [esp + 0x6c]
push ebx
push edi
push eax
mov dword [esp + 0x9c], esi
mov esi, dword [esp + 0x30]
push esi
call fcn.00544f70
add esi, eax
lea eax, [esp + 0x6c]
push ebx
push edi
push eax
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x3c]
push esi
call fcn.00544f70
push ebx
add esi, eax
lea eax, [esp + 0x70]
push edi
push eax
push ebp
mov dword [esp + 0x50], esi
call fcn.00544f70
add esp, 0x40
add ebp, eax
lea eax, [esp + 0x3c]
push eax
call fcn.005441c0
mov esi, eax
lea eax, [esp + 0x50]
push eax
call fcn.005441c0
or esi, eax
lea eax, [esp + 0x64]
push eax
call fcn.005441c0
or esi, eax
lea eax, [esp + 0x78]
push eax
call fcn.005441c0
add esp, 0x10
or esi, eax
mov eax, dword [esp + 0x8c]
je 0x548bd2
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
ja 0x548ce3
mov esi, dword [esp + 0x14]
cmp esi, dword [esp + 0x24]
ja 0x548ce3
mov edx, dword [esp + 0x28]
cmp dword [esp + 0x10], edx
jbe 0x548cf0
pop edi
pop esi
pop ebp
mov eax, 0xffffffec
pop ebx
add esp, 0x6c
ret
push ebx
push edi
push ecx
lea ecx, [esp + 0x78]
push ecx
push eax
call fcn.00544d90
push ebx
push edi
push dword [esp + 0x40]
lea eax, [esp + 0x7c]
push eax
push esi
call fcn.00544d90
push ebx
push edi
push dword [esp + 0x58]
lea eax, [esp + 0x80]
push eax
push dword [esp + 0x48]
call fcn.00544d90
push ebx
push edi
push dword [esp + 0x70]
lea eax, [esp + 0x84]
push eax
push ebp
call fcn.00544d90
add esp, 0x50
lea eax, [esp + 0x3c]
push eax
call fcn.00544090
mov edx, eax
lea eax, [esp + 0x50]
push eax
call fcn.00544090
and edx, eax
lea eax, [esp + 0x64]
push eax
call fcn.00544090
and edx, eax
lea eax, [esp + 0x78]
push eax
call fcn.00544090
add esp, 0x10
mov ecx, 0xffffffec
test eax, edx
mov eax, dword [esp + 0x84]
cmove eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret