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

Disassembly:
sub esp, 0x74
push ebx
mov ebx, dword [esp + 0x88]
cmp ebx, 0xa
jae 0x54864a
mov eax, 0xffffffec
pop ebx
add esp, 0x74
ret
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
push ebp
push esi
push edi
mov edi, dword [esp + 0x88]
mov esi, ebx
add eax, edi
mov edx, dword [esp + 0x98]
mov dword [esp + 0x30], eax
movzx eax, word [ecx]
mov dword [esp + 0x18], eax
movzx eax, word [ecx + 2]
lea ebp, [edx + 4]
mov dword [esp + 0x1c], eax
movzx eax, word [ecx + 4]
add ecx, 6
sub esi, eax
mov dword [esp + 0x20], eax
sub esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sub esi, eax
add eax, ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
sub esi, 6
add eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x8c]
add eax, 3
shr eax, 2
lea ecx, [eax + edi]
movzx edi, byte [edx + 2]
lea ebx, [ecx + eax]
mov dword [esp + 0x40], ecx
add eax, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], ebx
mov ebx, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x3c], edi
cmp esi, dword [esp + 0x94]
ja 0x548954
mov eax, dword [esp + 0x18]
push eax
push dword [esp + 0x38]
lea eax, [esp + 0x7c]
push eax
call fcn.00547c10
add esp, 0xc
cmp eax, 0xffffff88
ja 0x5489f9
push dword [esp + 0x1c]
lea eax, [esp + 0x68]
push dword [esp + 0x3c]
push eax
call fcn.00547c10
add esp, 0xc
cmp eax, 0xffffff88
ja 0x5489f9
push dword [esp + 0x20]
lea eax, [esp + 0x58]
push dword [esp + 0x28]
push eax
call fcn.00547c10
add esp, 0xc
cmp eax, 0xffffff88
ja 0x5489f9
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x24]
push esi
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00547c10
add esp, 0xc
cmp eax, 0xffffff88
ja 0x5489f9
lea eax, [esp + 0x44]
push eax
call fcn.005441c0
mov esi, eax
lea eax, [esp + 0x58]
push eax
call fcn.005441c0
or esi, eax
lea eax, [esp + 0x6c]
push eax
call fcn.005441c0
or esi, eax
lea eax, [esp + 0x80]
push eax
call fcn.005441c0
add esp, 0x10
or esi, eax
jne 0x548931
mov eax, dword [esp + 0x30]
add eax, 0xfffffff9
mov dword [esp + 0x38], eax
cmp ebx, eax
jae 0x548931
push edi
lea eax, [esp + 0x78]
push ebp
push eax
call fcn.005412d0
mov ecx, dword [esp + 0x94]
push edi
push ebp
mov byte [ecx], al
lea eax, [esp + 0x78]
inc ecx
push eax
mov dword [esp + 0xa0], ecx
call fcn.005412d0
mov ecx, dword [esp + 0x2c]
push edi
push ebp
mov byte [ecx], al
lea eax, [esp + 0x74]
inc ecx
push eax
mov dword [esp + 0x38], ecx
call fcn.005412d0
mov ecx, dword [esp + 0x34]
push edi
push ebp
mov byte [ecx], al
lea eax, [esp + 0x70]
inc ecx
push eax
mov dword [esp + 0x40], ecx
call fcn.005412d0
mov esi, dword [esp + 0xa8]
neg edi
mov edx, dword [esp + 0xa4]
mov ecx, esi
and ecx, 0x1f
mov byte [ebx], al
shl edx, cl
and edi, 0x1f
mov ecx, edi
shr edx, cl
mov ecx, dword [esp + 0xb8]
movzx eax, byte [ebp + edx*2 + 1]
add esi, eax
mov al, byte [ebp + edx*2]
mov edx, dword [esp + 0x94]
mov byte [ecx], al
inc ecx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xa8], esi
mov esi, dword [esp + 0x98]
mov ecx, esi
and ecx, 0x1f
shl edx, cl
mov ecx, edi
shr edx, cl
mov ecx, dword [esp + 0x44]
movzx eax, byte [ebp + edx*2 + 1]
add esi, eax
mov al, byte [ebp + edx*2]
mov edx, dword [esp + 0x84]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x98], esi
mov esi, dword [esp + 0x88]
mov ecx, esi
and ecx, 0x1f
shl edx, cl
mov ecx, edi
shr edx, cl
mov ecx, dword [esp + 0x40]
movzx eax, byte [ebp + edx*2 + 1]
add esi, eax
mov al, byte [ebp + edx*2]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x88], esi
mov esi, dword [esp + 0x78]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x74]
mov ecx, esi
and ecx, 0x1f
shl edx, cl
mov ecx, edi
shr edx, cl
movzx eax, byte [ebp + edx*2 + 1]
add esi, eax
mov al, byte [ebp + edx*2]
mov byte [ebx + 1], al
add ebx, 2
lea eax, [esp + 0x74]
mov dword [esp + 0x78], esi
push eax
call fcn.005441c0
mov esi, eax
lea eax, [esp + 0x88]
push eax
call fcn.005441c0
or esi, eax
lea eax, [esp + 0x9c]
push eax
call fcn.005441c0
or esi, eax
lea eax, [esp + 0xb0]
push eax
call fcn.005441c0
mov edi, dword [esp + 0x7c]
add esp, 0x40
or esi, eax
mov eax, dword [esp + 0x38]
je 0x5487b1
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
ja 0x548954
mov esi, dword [esp + 0x14]
cmp esi, dword [esp + 0x28]
ja 0x548954
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x10], edx
jbe 0x548961
pop edi
pop esi
pop ebp
mov eax, 0xffffffec
pop ebx
add esp, 0x74
ret
push edi
push ebp
push ecx
lea ecx, [esp + 0x80]
push ecx
push eax
call fcn.00544b90
push edi
push ebp
push dword [esp + 0x44]
lea eax, [esp + 0x84]
push eax
push esi
call fcn.00544b90
push edi
push ebp
push dword [esp + 0x5c]
lea eax, [esp + 0x88]
push eax
push dword [esp + 0x48]
call fcn.00544b90
push edi
push ebp
push dword [esp + 0x74]
lea eax, [esp + 0x8c]
push eax
push ebx
call fcn.00544b90
add esp, 0x50
lea eax, [esp + 0x44]
push eax
call fcn.00544090
mov edx, eax
lea eax, [esp + 0x58]
push eax
call fcn.00544090
and edx, eax
lea eax, [esp + 0x6c]
push eax
call fcn.00544090
and edx, eax
lea eax, [esp + 0x80]
push eax
call fcn.00544090
add esp, 0x10
mov ecx, 0xffffffec
test eax, edx
mov eax, dword [esp + 0x8c]
cmove eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret