Function at 0x563e80
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, 0xffffffba
cmp dword [esp + 0x60], 5
jb 0x5644d1
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
movzx ebx, word [eax]
mov edx, eax
mov ecx, ebx
add cl, 0xff
mov ebp, 1
mov eax, 1
shl eax, cl
mov dword [esp + 0x44], ebx
test ebx, ebx
cmove eax, ebp
lea edx, [edx + eax*4 + 4]
movzx edi, byte [edi + esi - 1]
mov ebx, dword [edx + edi*8 + 4]
lea eax, [ebx + 0x8000]
mov ecx, eax
and eax, 0xffff0000
sub eax, ebx
shr ecx, 0x10
sar eax, cl
mov dword [esp + 0x34], edx
add eax, dword [edx + edi*8]
mov edx, dword [esp + 0x6c]
movzx ebx, word [edx]
mov ecx, ebx
add cl, 0xff
mov edi, 1
shl edi, cl
mov dword [esp + 0x40], ebx
test ebx, ebx
mov ecx, 1
cmove edi, ecx
lea edx, [edx + edi*4 + 4]
mov ecx, dword [esp + 0x70]
movzx ebx, byte [ecx + esi - 1]
mov ebp, dword [edx + ebx*8 + 4]
lea edi, [ebp + 0x8000]
mov ecx, edi
and edi, 0xffff0000
sub edi, ebp
shr ecx, 0x10
sar edi, cl
mov dword [esp + 0x30], edx
add edi, dword [edx + ebx*8]
mov ecx, dword [esp + 0x74]
movzx edx, word [ecx]
mov esi, ecx
mov ecx, edx
add cl, 0xff
mov ebx, 1
shl ebx, cl
mov dword [esp + 0x3c], edx
test edx, edx
mov ecx, 1
cmove ebx, ecx
lea edx, [esi + ebx*4 + 4]
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x80]
movzx ecx, byte [ecx + esi - 1]
mov dword [esp + 4], ecx
mov ebp, dword [edx + ecx*8 + 4]
lea ebx, [ebp + 0x8000]
mov ecx, ebx
and ebx, 0xffff0000
sub ebx, ebp
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
add ebp, esi
add ebp, 0xfffffffc
mov dword [esp], ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x64]
movzx eax, word [ebp + eax*2 + 4]
mov dword [esp + 0x10], eax
shr ecx, 0x10
sar ebx, cl
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x6c]
movzx eax, word [eax + edi*2 + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 4]
add ebx, dword [edx + eax*8]
movzx ecx, byte [eax + 0x6893bc]
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
movzx esi, word [eax + edx*8 - 4]
and esi, dword [ecx*4 + 0x68b108]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x74]
movzx eax, word [eax + ebx*2 + 4]
mov dword [esp + 0x18], eax
mov edi, ecx
shr edi, 3
mov eax, dword [esp + 0x5c]
mov dword [eax], esi
add edi, eax
mov ebp, edx
mov eax, dword [esp]
cmp edi, eax
cmova edi, eax
mov eax, ecx
and cl, 0xf8
shr esi, cl
and eax, 7
mov ecx, dword [esp + 0x68]
movzx ecx, byte [ecx + edx - 1]
movzx ebx, byte [ecx + 0x6892f4]
mov ecx, dword [esp + 0x7c]
movzx edx, word [ecx + edx*8 - 2]
and edx, dword [ebx*4 + 0x68b108]
mov ecx, eax
shl edx, cl
or edx, esi
add eax, ebx
mov esi, eax
shr esi, 3
mov dword [edi], edx
add esi, edi
mov ecx, dword [esp]
cmp esi, ecx
cmova esi, ecx
mov ebx, eax
and al, 0xf8
mov ecx, eax
shr edx, cl
and ebx, 7
cmp dword [esp + 0x84], 0
je 0x5640e2
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x70]
movzx ecx, byte [eax + ebp - 1]
cmp ecx, 0x18
mov edi, 0x18
cmovb edi, ecx
mov eax, dword [esp + 0x7c]
mov ebx, dword [eax + ebp*8 - 8]
sub ecx, edi
mov dword [esp + 4], ecx
je 0x5640fe
mov eax, edi
mov ebp, dword [esp + 4]
mov edi, dword [ebp*4 + 0x68b108]
and edi, ebx
mov ecx, dword [esp + 8]
shl edi, cl
or edi, edx
add ecx, ebp
mov ebp, ecx
shr ebp, 3
mov dword [esi], edi
add ebp, esi
cmp ebp, dword [esp]
cmova ebp, dword [esp]
mov esi, ecx
and esi, 7
and cl, 0xf8
shr edi, cl
mov edx, edi
mov edi, eax
mov eax, esi
mov esi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x564102
mov eax, dword [esp + 0x70]
movzx edi, byte [eax + ebp - 1]
mov eax, ebx
mov ebx, dword [edi*4 + 0x68b108]
mov ecx, dword [esp + 0x7c]
and ebx, dword [ecx + ebp*8 - 8]
jmp 0x56410f
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
shr ebx, cl
and ebx, dword [edi*4 + 0x68b108]
mov ecx, eax
shl ebx, cl
or ebx, edx
add eax, edi
mov edx, eax
shr edx, 3
mov dword [esi], ebx
add edx, esi
mov ecx, dword [esp]
cmp edx, ecx
cmova edx, ecx
mov ecx, eax
and cl, 0xf8
shr ebx, cl
and eax, 7
mov ecx, eax
cmp ebp, 2
jb 0x564418
add dword [esp + 0x28], 4
add dword [esp + 0x24], 4
add dword [esp + 0x20], 4
lea esi, [ebp - 2]
mov edi, dword [esp + 0x70]
mov ebp, ebx
mov ebx, ecx
jmp 0x5641b1
mov esi, dword [esp + 0x1c]
mov dword [esp + 8], ebp
mov ebp, dword [esi*4 + 0x68b108]
mov ebx, dword [esp + 4]
and ebp, dword [edi + ebx*8]
mov ecx, edx
shl ebp, cl
or ebp, dword [esp + 8]
add edx, esi
mov edi, dword [esp + 0x70]
mov esi, ebx
mov ebx, edx
shr edx, 3
mov dword [eax], ebp
add edx, eax
mov eax, dword [esp]
cmp edx, eax
cmova edx, eax
mov ecx, ebx
and cl, 0xf8
shr ebp, cl
add esi, 0xffffffff
and ebx, 7
cmp esi, dword [esp + 0x80]
jae 0x564414
mov dword [esp + 4], esi
movzx ecx, byte [edi + esi]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x68]
movzx eax, byte [eax + esi]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + ecx*8 + 4]
mov edi, dword [esp + 0x14]
add eax, edi
shr eax, 0x10
mov esi, dword [eax*4 + 0x68b108]
and esi, edi
mov ecx, ebx
shl esi, cl
or esi, ebp
add ebx, eax
mov ecx, eax
shr edi, cl
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + eax*8 + 4]
mov ebp, dword [esp + 0x10]
add eax, ebp
shr eax, 0x10
mov ecx, dword [eax*4 + 0x68b108]
and ecx, ebp
mov dword [esp + 0xc], ecx
mov ecx, ebx
shl dword [esp + 0xc], cl
or dword [esp + 0xc], esi
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 4]
movzx ecx, byte [ecx + esi]
mov dword [esp + 0x38], ecx
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
add edi, dword [esi + ecx*8]
mov ecx, dword [esp + 0x24]
movzx edi, word [ecx + edi*2]
mov dword [esp + 0x14], edi
mov ecx, eax
shr ebp, cl
add ebx, eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x34]
add ebp, dword [ecx + eax*8]
mov eax, dword [esp + 0x28]
movzx ebp, word [eax + ebp*2]
mov dword [esp + 0x10], ebp
mov ebp, ebx
shr ebp, 3
mov edi, dword [esp + 0xc]
mov dword [edx], edi
add ebp, edx
mov eax, dword [esp]
cmp ebp, eax
cmova ebp, eax
mov eax, ebx
and eax, 7
and bl, 0xf8
mov ecx, ebx
shr edi, cl
mov ebx, edi
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
mov edx, dword [edx + ecx*8 + 4]
mov edi, dword [esp + 0x18]
add edx, edi
shr edx, 0x10
mov esi, dword [edx*4 + 0x68b108]
and esi, edi
mov ecx, eax
shl esi, cl
or esi, ebx
mov ecx, edx
shr edi, cl
add eax, edx
mov ebx, dword [esp]
mov ecx, dword [esp + 0x38]
movzx edx, byte [ecx + 0x6893bc]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x2c]
add edi, dword [edx + ecx*8]
mov ecx, dword [esp + 0x20]
movzx edi, word [ecx + edi*2]
mov dword [esp + 0x18], edi
mov edx, eax
shr edx, 3
mov dword [ebp], esi
add edx, ebp
cmp edx, ebx
cmova edx, ebx
mov ebx, eax
and al, 0xf8
mov ecx, eax
shr esi, cl
and ebx, 7
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 4]
movzx eax, word [edi + eax*8 + 4]
mov ebp, dword [esp + 0xc]
and eax, dword [ebp*4 + 0x68b108]
mov ecx, ebx
shl eax, cl
or eax, esi
mov ecx, dword [esp + 8]
movzx esi, byte [ecx + 0x6892f4]
add ebx, ebp
add ebp, esi
cmp ebp, 0x19
jb 0x564342
mov edi, ebx
shr edi, 3
mov dword [edx], eax
add edi, edx
mov ecx, dword [esp]
cmp edi, ecx
cmova edi, ecx
mov edx, ebx
and edx, 7
and bl, 0xf8
mov ecx, ebx
shr eax, cl
mov ebx, edx
mov edx, edi
mov edi, dword [esp + 0x7c]
mov ecx, dword [esp + 4]
movzx ebp, word [edi + ecx*8 + 6]
and ebp, dword [esi*4 + 0x68b108]
mov ecx, ebx
shl ebp, cl
or ebp, eax
add ebx, esi
mov eax, ebx
shr eax, 3
add eax, edx
mov ecx, dword [esp]
cmp eax, ecx
cmova eax, ecx
mov dword [edx], ebp
mov edx, ebx
and edx, 7
and bl, 0xf8
mov ecx, ebx
shr ebp, cl
cmp dword [esp + 0x84], 0
je 0x564160
mov ebx, dword [esp + 0x1c]
cmp bl, 0x18
mov esi, 0x18
cmovb esi, ebx
mov ecx, dword [esp + 4]
mov edi, dword [edi + ecx*8]
sub ebx, esi
je 0x5643f0
mov ecx, edi
mov dword [esp + 0xc], edi
mov edi, ebp
mov dword [esp + 8], esi
mov ebp, dword [ebx*4 + 0x68b108]
and ebp, ecx
mov ecx, edx
shl ebp, cl
or ebp, edi
add ecx, ebx
mov edi, ecx
shr edi, 3
mov dword [eax], ebp
add edi, eax
cmp edi, dword [esp]
cmova edi, dword [esp]
mov edx, ecx
and edx, 7
and cl, 0xf8
shr ebp, cl
mov esi, dword [esp + 8]
mov eax, edi
mov ecx, ebx
mov ebx, ebp
mov ebp, dword [esp + 0xc]
jmp 0x5643f6
mov ecx, ebx
mov ebx, ebp
mov ebp, edi
shr ebp, cl
and ebp, dword [esi*4 + 0x68b108]
mov ecx, edx
shl ebp, cl
or ebp, ebx
add edx, esi
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 4]
jmp 0x564186
mov ecx, ebx
mov ebx, ebp
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x10]
and edi, dword [eax*4 + 0x68b108]
shl edi, cl
or edi, ebx
add ecx, eax
mov esi, ecx
shr esi, 3
mov dword [edx], edi
add esi, edx
mov ebp, dword [esp]
cmp esi, ebp
cmova esi, ebp
mov eax, ecx
and cl, 0xf8
shr edi, cl
and eax, 7
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x14]
and ebx, dword [edx*4 + 0x68b108]
mov ecx, eax
shl ebx, cl
or ebx, edi
add eax, edx
mov edi, eax
shr edi, 3
mov dword [esi], ebx
add edi, esi
cmp edi, ebp
cmova edi, ebp
mov edx, eax
and al, 0xf8
mov ecx, eax
shr ebx, cl
and edx, 7
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
and esi, dword [eax*4 + 0x68b108]
mov ecx, edx
shl esi, cl
or esi, ebx
add edx, eax
mov eax, edx
shr eax, 3
mov dword [edi], esi
add eax, edi
cmp eax, ebp
cmova eax, ebp
mov ebx, edx
and dl, 0xf8
mov ecx, edx
shr esi, cl
and ebx, 7
bts esi, ebx
add ebx, 1
mov dword [eax], esi
mov ecx, ebx
shr ecx, 3
add ecx, eax
cmp ebp, ecx
jbe 0x5644cc
xor eax, eax
test bl, 7
setne al
sub eax, dword [esp + 0x5c]
add eax, ecx
jne 0x5644d1
mov eax, 0xffffffba
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret