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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, edx
mov dword [esp + 0x54], ebx
push edi
mov edi, ecx
mov dword [esp + 0x20], edi
cmp esi, 0xa
jae 0x5e5ddf
mov eax, 0xffffffec
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
lea eax, [edi + ebx]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x40], eax
lea eax, [edx + 4]
mov dword [esp + 0xc], eax
movzx eax, word [ecx]
mov dword [esp + 0x18], eax
movzx eax, word [ecx + 2]
mov dword [esp + 0x10], eax
movzx eax, word [ecx + 4]
add ecx, 6
sub esi, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
sub esi, dword [esp + 0x10]
sub esi, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
sub esi, 6
add ecx, dword [esp + 0x18]
add eax, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], eax
lea eax, [ebx + 3]
shr eax, 2
lea ecx, [eax + edi]
lea ebx, [ecx + eax]
mov dword [esp + 0x7c], ecx
add eax, ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x1c], ebx
mov ebx, eax
mov dword [esp + 0x44], eax
movzx eax, byte [edx + 2]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], eax
cmp esi, dword [ebp + 0xc]
ja 0x5e5dd3
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x48]
mov edx, dword [esp + 0x38]
push eax
call fcn.005e5110
add esp, 4
cmp eax, 0xffffff88
ja 0x5e61d8
push dword [esp + 0x10]
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x84]
call fcn.005e5110
add esp, 4
cmp eax, 0xffffff88
ja 0x5e61d8
push dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x70]
call fcn.005e5110
add esp, 4
cmp eax, 0xffffff88
ja 0x5e61d8
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x5c]
mov edx, dword [esp + 0x24]
push esi
lea edx, [edx + eax]
call fcn.005e5110
add esp, 4
cmp eax, 0xffffff88
ja 0x5e61d8
lea ecx, [esp + 0x5c]
call fcn.005e1730
lea ecx, [esp + 0x6c]
mov esi, eax
call fcn.005e1730
lea ecx, [esp + 0x80]
or esi, eax
call fcn.005e1730
lea ecx, [esp + 0x48]
or esi, eax
call fcn.005e1730
or esi, eax
jne 0x5e6116
mov eax, dword [esp + 0x40]
add eax, 0xfffffff9
mov dword [esp + 0x2c], eax
cmp ebx, eax
jae 0x5e6112
mov ebx, dword [esp + 0x4c]
mov ecx, ebx
mov edi, dword [esp + 0x34]
and ecx, 0x1f
mov edx, dword [esp + 0x48]
neg edi
shl edx, cl
and edi, 0x1f
mov esi, dword [esp + 0x84]
mov ecx, edi
shr edx, cl
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x10], edi
movzx eax, byte [ecx + edx*2 + 1]
add ebx, eax
movzx eax, byte [ecx + edx*2]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x80]
mov edx, ebx
mov byte [ecx], al
inc ecx
mov dword [esp + 0x20], ecx
mov ecx, esi
and ecx, 0x1f
shl edx, cl
mov ecx, edi
shr edx, cl
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x6c]
movzx eax, byte [ecx + edx*2 + 1]
add esi, eax
movzx eax, byte [ecx + edx*2]
mov ecx, dword [esp + 0x14]
mov edx, edi
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x70]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x14], ecx
mov ecx, esi
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x10]
shr edx, cl
mov ecx, dword [esp + 0xc]
movzx eax, byte [ecx + edx*2 + 1]
add esi, eax
movzx eax, byte [ecx + edx*2]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x5c]
mov edx, esi
mov byte [ecx], al
inc ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], ecx
mov ecx, eax
and ecx, 0x1f
mov dword [esp + 0x18], eax
shl edx, cl
mov ecx, dword [esp + 0x10]
shr edx, cl
mov ecx, dword [esp + 0xc]
movzx eax, byte [ecx + edx*2 + 1]
add dword [esp + 0x18], eax
movzx eax, byte [ecx + edx*2]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
mov byte [ecx], al
inc ecx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x24]
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x10]
shr edx, cl
mov ecx, dword [esp + 0x24]
movzx eax, byte [eax + edx*2 + 1]
add ecx, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x20]
movzx eax, byte [eax + edx*2]
mov edx, dword [esp + 0x30]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x20], ecx
mov ecx, edx
and ecx, 0x1f
shl ebx, cl
mov ecx, dword [esp + 0x10]
shr ebx, cl
mov ecx, dword [esp + 0xc]
movzx eax, byte [ecx + ebx*2 + 1]
add edx, eax
movzx eax, byte [ecx + ebx*2]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x14], ecx
mov ecx, edx
and ecx, 0x1f
shl edi, cl
mov ecx, dword [esp + 0x10]
shr edi, cl
mov ecx, dword [esp + 0xc]
movzx eax, byte [ecx + edi*2 + 1]
add edx, eax
movzx eax, byte [ecx + edi*2]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x18]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x1c], ecx
mov ecx, edx
and ecx, 0x1f
shl esi, cl
mov ecx, dword [esp + 0x10]
shr esi, cl
mov ecx, dword [esp + 0xc]
movzx eax, byte [ecx + esi*2 + 1]
add edx, eax
movzx eax, byte [ecx + esi*2]
mov byte [ebx], al
lea ecx, [esp + 0x5c]
inc ebx
mov dword [esp + 0x60], edx
mov dword [esp + 0x28], ebx
call fcn.005e1730
lea ecx, [esp + 0x6c]
mov esi, eax
call fcn.005e1730
lea ecx, [esp + 0x80]
or esi, eax
call fcn.005e1730
lea ecx, [esp + 0x48]
or esi, eax
call fcn.005e1730
or esi, eax
mov eax, dword [esp + 0x2c]
je 0x5e5f25
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x7c]
cmp edi, eax
ja 0x5e5dd3
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x14], ecx
ja 0x5e5dd3
mov ecx, dword [esp + 0x44]
cmp dword [esp + 0x1c], ecx
ja 0x5e5dd3
push dword [esp + 0x34]
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x4c]
push esi
push eax
mov ecx, edi
call fcn.005e2760
mov edi, dword [esp + 0x40]
lea edx, [esp + 0x8c]
mov ecx, dword [esp + 0x20]
add esp, 0xc
push edi
push esi
push dword [esp + 0x44]
call fcn.005e2760
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x78]
add esp, 0xc
push edi
push esi
push dword [esp + 0x4c]
call fcn.005e2760
add esp, 0xc
lea edx, [esp + 0x5c]
mov ecx, ebx
push edi
push esi
push dword [esp + 0x48]
call fcn.005e2760
add esp, 0xc
lea ecx, [esp + 0x5c]
call fcn.005de660
lea ecx, [esp + 0x6c]
mov edx, eax
call fcn.005de660
lea ecx, [esp + 0x80]
and edx, eax
call fcn.005de660
lea ecx, [esp + 0x48]
and edx, eax
call fcn.005de660
test eax, edx
mov ecx, 0xffffffec
mov eax, dword [esp + 0x58]
cmove eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret