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

Disassembly:
sub esp, 0x98
push ebx
mov ebx, dword [esp + 0xac]
cmp ebx, 0xa
jae 0x4c7c4d
push 0xffffffffffffffec
pop eax
jmp 0x4c8caf
mov eax, dword [esp + 0xa4]
cmp eax, 6
jb 0x4c7c45
push ebp
push esi
mov esi, dword [esp + 0xb0]
push edi
mov edi, dword [esp + 0xac]
add eax, edi
mov dword [esp + 0x88], eax
add eax, 0xfffffffd
push esi
mov dword [esp + 0x20], eax
call fcn.004cad77
movzx ebp, ax
lea eax, [esi + 2]
push eax
mov dword [esp + 0xa8], ebp
call fcn.004cad77
movzx eax, ax
mov dword [esp + 0x18], eax
lea eax, [esi + 4]
push eax
call fcn.004cad77
movzx ecx, ax
lea eax, [esi + 6]
mov esi, dword [esp + 0xc8]
sub ebx, ecx
sub ebx, dword [esp + 0x1c]
mov dword [esp + 0x9c], eax
sub ebx, ebp
add eax, ebp
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xa0], eax
sub ebx, 6
add eax, dword [esp + 0x1c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xbc]
add eax, 3
mov dword [esp + 0xa4], ebx
shr eax, 2
push esi
lea ecx, [eax + edi]
lea edx, [ecx + eax]
mov dword [esp + 0x90], ecx
add eax, edx
mov dword [esp + 0x24], edx
mov ebp, ecx
mov dword [esp + 0x8c], eax
mov ebx, edx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], eax
call fcn.004c3bfe
shr eax, 0x10
add esp, 0x10
movzx eax, al
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x8c], 1
cmp dword [esp + 0x98], eax
ja 0x4c802e
mov eax, dword [esp + 0x88]
cmp dword [esp + 0x7c], eax
ja 0x4c802e
push dword [esp + 0xa0]
lea eax, [esp + 0x58]
push dword [esp + 0x94]
push eax
call fcn.004c72b3
add esp, 0xc
cmp eax, 0xffffff88
ja 0x4c8cac
push dword [esp + 0x10]
lea eax, [esp + 0x44]
push dword [esp + 0x98]
push eax
call fcn.004c72b3
add esp, 0xc
cmp eax, 0xffffff88
ja 0x4c8cac
push dword [esp + 0x9c]
lea eax, [esp + 0x30]
push dword [esp + 0x88]
push eax
call fcn.004c72b3
add esp, 0xc
cmp eax, 0xffffff88
ja 0x4c8cac
push dword [esp + 0x98]
mov eax, dword [esp + 0xa0]
add eax, dword [esp + 0x88]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.004c72b3
add esp, 0xc
cmp eax, 0xffffff88
ja 0x4c8cac
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x7c]
sub eax, ecx
cmp eax, 4
jb 0x4c8019
cmp ecx, dword [esp + 0x1c]
jae 0x4c8019
mov edx, dword [esp + 0x28]
neg edx
and edx, 0x1f
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
and ecx, 0x1f
shl eax, cl
mov ecx, edx
shr eax, cl
mov ecx, dword [esp + 0x44]
and ecx, 0x1f
movzx ebx, byte [esi + eax*2 + 4]
mov al, byte [esi + eax*2 + 5]
add ebx, dword [esp + 0x58]
mov byte [edi], al
inc edi
mov eax, dword [esp + 0x40]
shl eax, cl
mov ecx, edx
shr eax, cl
mov ecx, dword [esp + 0x30]
and ecx, 0x1f
mov dword [esp + 0xac], edi
movzx edi, byte [esi + eax*2 + 4]
mov al, byte [esi + eax*2 + 5]
mov byte [ebp], al
mov eax, dword [esp + 0x2c]
shl eax, cl
mov ecx, edx
shr eax, cl
mov ecx, dword [esp + 0xbc]
add edi, dword [esp + 0x44]
inc ebp
mov dword [esp + 0x18], ebp
movzx esi, byte [esi + eax*2 + 4]
mov al, byte [ecx + eax*2 + 5]
mov ecx, dword [esp + 0x20]
add esi, dword [esp + 0x30]
mov ebp, dword [esp + 0x68]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x20], ecx
mov eax, ebp
mov ecx, dword [esp + 0x6c]
and ecx, 0x1f
shl eax, cl
mov ecx, edx
shr eax, cl
mov ecx, dword [esp + 0xbc]
movzx edx, byte [ecx + eax*2 + 4]
mov al, byte [ecx + eax*2 + 5]
mov ecx, dword [esp + 0x24]
add edx, dword [esp + 0x6c]
mov byte [ecx], al
inc ecx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x24], ecx
mov ecx, ebx
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x10]
shr eax, cl
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x94], eax
movzx eax, byte [ecx + eax*2 + 4]
add eax, ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x94]
mov al, byte [ecx + eax*2 + 5]
mov ecx, dword [esp + 0xac]
mov byte [ecx], al
inc ecx
mov dword [esp + 0xac], ecx
mov ecx, edi
and ecx, 0x1f
shl ebx, cl
mov ecx, dword [esp + 0x10]
shr ebx, cl
mov ecx, dword [esp + 0xbc]
movzx eax, byte [ecx + ebx*2 + 4]
add eax, edi
mov dword [esp + 0x44], eax
mov al, byte [ecx + ebx*2 + 5]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x18], ecx
mov ecx, esi
and ecx, 0x1f
shl ebx, cl
mov ecx, dword [esp + 0x10]
shr ebx, cl
mov ecx, dword [esp + 0xbc]
movzx eax, byte [ecx + ebx*2 + 4]
add eax, esi
mov esi, ecx
mov dword [esp + 0x30], eax
mov ecx, edx
and ecx, 0x1f
shl ebp, cl
mov al, byte [esi + ebx*2 + 5]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
shr ebp, cl
mov byte [ebx], al
inc ebx
mov dword [esp + 0x20], ebx
movzx eax, byte [esi + ebp*2 + 4]
add eax, edx
mov dword [esp + 0x6c], eax
mov al, byte [esi + ebp*2 + 5]
mov byte [edi], al
lea eax, [esp + 0x54]
inc edi
push eax
mov dword [esp + 0x28], edi
call fcn.004c73d6
mov ebp, dword [esp + 0x90]
neg eax
sbb eax, eax
inc eax
and ebp, eax
lea eax, [esp + 0x44]
push eax
call fcn.004c73d6
neg eax
sbb eax, eax
inc eax
and ebp, eax
lea eax, [esp + 0x34]
push eax
call fcn.004c73d6
neg eax
sbb eax, eax
inc eax
and ebp, eax
lea eax, [esp + 0x74]
push eax
call fcn.004c73d6
mov edx, dword [esp + 0x20]
add esp, 0x10
neg eax
sbb eax, eax
inc eax
and ebp, eax
cmp edi, dword [esp + 0x1c]
mov edi, dword [esp + 0xac]
sbb eax, eax
mov dword [esp + 0x8c], ebp
test ebp, eax
mov ebp, dword [esp + 0x18]
jne 0x4c7e20
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
cmp edi, edx
ja 0x4c802e
cmp ebp, dword [esp + 0x14]
ja 0x4c802e
cmp ebx, ecx
jbe 0x4c8036
push 0xffffffffffffffec
pop eax
jmp 0x4c8cac
and dword [esp + 0x8c], 0
mov eax, edx
mov ebp, dword [esp + 0x58]
sub eax, edi
push 0x20
pop edi
cmp eax, 3
jle 0x4c819a
mov ebx, dword [esp + 0x5c]
add edx, 0xfffffffd
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0xac]
cmp ebp, edi
jbe 0x4c8081
mov ebx, 0x5306d0
mov dword [esp + 0x10], 3
mov dword [esp + 0x5c], ebx
jmp 0x4c8107
cmp ebx, dword [esp + 0x64]
jb 0x4c8098
lea eax, [esp + 0x54]
push eax
call fcn.004c73ee
pop ecx
mov dword [esp + 0x10], eax
jmp 0x4c80f8
mov ecx, dword [esp + 0x60]
cmp ebx, ecx
jne 0x4c80ad
cmp ebp, edi
sbb eax, eax
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x4c8107
and dword [esp + 0x10], 0
mov edx, ebp
shr edx, 3
mov eax, ebx
sub eax, edx
cmp eax, ecx
jae 0x4c80cb
mov edx, ebx
mov dword [esp + 0x10], 1
sub edx, ecx
imul eax, edx, 0xfffffff8
sub ebx, edx
push 4
push ebx
mov dword [esp + 0x64], ebx
add ebp, eax
lea eax, [esp + 0x9c]
push eax
mov dword [esp + 0x64], ebp
call fcn.004e4a90
mov eax, dword [esp + 0xa0]
add esp, 0xc
mov dword [esp + 0x54], eax
mov edx, dword [esp + 0xac]
mov ebp, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
cmp edx, dword [esp + 0x90]
sbb ecx, ecx
xor eax, eax
neg ecx
cmp dword [esp + 0x10], eax
sete al
test eax, ecx
je 0x4c820e
mov esi, dword [esp + 0x28]
mov ecx, ebp
mov edi, dword [esp + 0x54]
and ecx, 0x1f
neg esi
mov eax, edi
shl eax, cl
and esi, 0x1f
mov ecx, esi
shr eax, cl
mov ecx, dword [esp + 0xbc]
push 0x20
movzx edx, byte [ecx + eax*2 + 4]
mov al, byte [ecx + eax*2 + 5]
add edx, ebp
mov ecx, dword [esp + 0xb0]
mov byte [ecx], al
inc ecx
mov dword [esp + 0xb0], ecx
mov ecx, edx
and ecx, 0x1f
shl edi, cl
mov ecx, esi
mov esi, dword [esp + 0xc0]
shr edi, cl
movzx ebp, byte [esi + edi*2 + 4]
mov al, byte [esi + edi*2 + 5]
add ebp, edx
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x5c], ebp
pop edi
mov byte [edx], al
inc edx
mov dword [esp + 0xac], edx
jmp 0x4c8067
cmp ebp, edi
jbe 0x4c81a9
mov ebx, 0x5306d0
mov dword [esp + 0x5c], ebx
jmp 0x4c820e
mov ebx, dword [esp + 0x5c]
cmp ebx, dword [esp + 0x64]
jb 0x4c81c0
lea eax, [esp + 0x54]
push eax
call fcn.004c73ee
pop ecx
jmp 0x4c8206
mov ecx, dword [esp + 0x60]
cmp ebx, ecx
je 0x4c8212
mov edx, ebp
mov eax, ebx
shr edx, 3
sub eax, edx
cmp eax, ecx
jae 0x4c81d9
mov edx, ebx
sub edx, ecx
imul eax, edx, 0xfffffff8
sub ebx, edx
push 4
push ebx
mov dword [esp + 0x64], ebx
add ebp, eax
lea eax, [esp + 0x98]
push eax
mov dword [esp + 0x64], ebp
call fcn.004e4a90
mov eax, dword [esp + 0x9c]
add esp, 0xc
mov dword [esp + 0x54], eax
mov ebp, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0xac]
cmp ebp, edi
jbe 0x4c8233
mov ebx, 0x5306d0
mov dword [esp + 0x10], 3
mov dword [esp + 0x5c], ebx
jmp 0x4c82b5
cmp ebx, dword [esp + 0x64]
jb 0x4c824a
lea eax, [esp + 0x54]
push eax
call fcn.004c73ee
pop ecx
mov dword [esp + 0x10], eax
jmp 0x4c82a6
cmp ebx, ecx
jne 0x4c825b
cmp ebp, edi
sbb eax, eax
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x4c82b5
and dword [esp + 0x10], 0
mov edx, ebp
shr edx, 3
mov eax, ebx
sub eax, edx
cmp eax, ecx
jae 0x4c8279
mov edx, ebx
mov dword [esp + 0x10], 1
sub edx, ecx
imul eax, edx, 0xfffffff8
sub ebx, edx
push 4
push ebx
mov dword [esp + 0x64], ebx
add ebp, eax
lea eax, [esp + 0xa8]
push eax
mov dword [esp + 0x64], ebp
call fcn.004e4a90
mov eax, dword [esp + 0xac]
add esp, 0xc
mov dword [esp + 0x54], eax
mov edx, dword [esp + 0xac]
mov ebp, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
cmp edx, dword [esp + 0x80]
sbb ecx, ecx
xor eax, eax
neg ecx
cmp dword [esp + 0x10], eax
sete al
test eax, ecx
je 0x4c830c
mov edx, dword [esp + 0x54]
mov ecx, ebp
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x28]
neg ecx
and ecx, 0x1f
shr edx, cl
mov ecx, dword [esp + 0x60]
movzx eax, byte [esi + edx*2 + 4]
add ebp, eax
mov al, byte [esi + edx*2 + 5]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x58], ebp
mov byte [edx], al
inc edx
mov dword [esp + 0xac], edx
jmp 0x4c8219
mov ebx, dword [esp + 0x80]
xor ecx, ecx
and dword [esp + 0x1c], 0
sub ebx, edx
cmp edx, dword [esp + 0x80]
cmova ebx, ecx
test ebx, ebx
je 0x4c8379
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0xac]
neg eax
and eax, 0x1f
mov dword [esp + 0x84], eax
mov edx, dword [esp + 0x54]
mov ecx, ebp
and ecx, 0x1f
shl edx, cl
mov ecx, eax
shr edx, cl
movzx eax, byte [esi + edx*2 + 4]
add ebp, eax
mov al, byte [esi + edx*2 + 5]
mov byte [edi], al
inc edi
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov eax, dword [esp + 0x84]
jb 0x4c8341
push 0x20
mov dword [esp + 0x5c], ebp
pop edi
mov ecx, dword [esp + 0x14]
mov eax, ecx
mov edx, dword [esp + 0x18]
sub eax, edx
mov ebp, dword [esp + 0x44]
cmp eax, 3
jle 0x4c84be
lea ebx, [ecx - 3]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x48]
cmp ebp, edi
jbe 0x4c83b7
mov ebx, 0x5306d0
mov dword [esp + 0x10], 3
mov dword [esp + 0x48], ebx
jmp 0x4c843a
cmp ebx, dword [esp + 0x50]
jb 0x4c83ce
lea eax, [esp + 0x40]
push eax
call fcn.004c73ee
pop ecx
mov dword [esp + 0x10], eax
jmp 0x4c842e
mov ecx, dword [esp + 0x4c]
cmp ebx, ecx
jne 0x4c83e3
cmp ebp, edi
sbb eax, eax
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x4c843a
and dword [esp + 0x10], 0
mov edx, ebp
shr edx, 3
mov eax, ebx
sub eax, edx
cmp eax, ecx
jae 0x4c8401
mov edx, ebx
mov dword [esp + 0x10], 1
sub edx, ecx
imul eax, edx, 0xfffffff8
sub ebx, edx
push 4
push ebx
mov dword [esp + 0x50], ebx
add ebp, eax
lea eax, [esp + 0x8c]
push eax
mov dword [esp + 0x50], ebp
call fcn.004e4a90
mov eax, dword [esp + 0x90]
add esp, 0xc
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
cmp edx, dword [esp + 0x1c]
sbb ecx, ecx
xor eax, eax
neg ecx
cmp dword [esp + 0x10], eax
sete al
test eax, ecx
je 0x4c8532
mov esi, dword [esp + 0x28]
mov ecx, ebp
mov edi, dword [esp + 0x40]
and ecx, 0x1f
neg esi
mov eax, edi
shl eax, cl
and esi, 0x1f
mov ecx, esi
shr eax, cl
mov ecx, dword [esp + 0xbc]
push 0x20
movzx edx, byte [ecx + eax*2 + 4]
mov al, byte [ecx + eax*2 + 5]
add edx, ebp
mov ecx, dword [esp + 0x1c]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x1c], ecx
mov ecx, edx
and ecx, 0x1f
shl edi, cl
mov ecx, esi
mov esi, dword [esp + 0xc0]
shr edi, cl
movzx ebp, byte [esi + edi*2 + 4]
mov al, byte [esi + edi*2 + 5]
add ebp, edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x48], ebp
pop edi
mov byte [edx], al
inc edx
mov dword [esp + 0x18], edx
jmp 0x4c839d
cmp ebp, edi
jbe 0x4c84cd
mov ebx, 0x5306d0
mov dword [esp + 0x48], ebx
jmp 0x4c8532
mov ebx, dword [esp + 0x48]
cmp ebx, dword [esp + 0x50]
jb 0x4c84e4
lea eax, [esp + 0x40]
push eax
call fcn.004c73ee
pop ecx
jmp 0x4c852a
mov ecx, dword [esp + 0x4c]
cmp ebx, ecx
je 0x4c8536
mov edx, ebp
mov eax, ebx
shr edx, 3
sub eax, edx
cmp eax, ecx
jae 0x4c84fd
mov edx, ebx
sub edx, ecx
imul eax, edx, 0xfffffff8
sub ebx, edx
push 4
push ebx
mov dword [esp + 0x50], ebx
add ebp, eax
lea eax, [esp + 0xa4]
push eax
mov dword [esp + 0x50], ebp
call fcn.004e4a90
mov eax, dword [esp + 0xa8]
add esp, 0xc
mov dword [esp + 0x40], eax
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
cmp ebp, edi
jbe 0x4c8548
mov ebx, 0x5306d0
push 3
mov dword [esp + 0x4c], ebx
pop edx
jmp 0x4c85c7
cmp ebx, dword [esp + 0x50]
jb 0x4c855d
lea eax, [esp + 0x40]
push eax
call fcn.004c73ee
pop ecx
mov edx, eax
jmp 0x4c85bf
cmp ebx, ecx
jne 0x4c8570
cmp ebp, edi
sbb eax, eax
add eax, 2
mov dword [esp + 0x10], eax
mov edx, eax
jmp 0x4c85c7
and dword [esp + 0x10], 0
mov edx, ebp
shr edx, 3
mov eax, ebx
sub eax, edx
cmp eax, ecx
jae 0x4c858e
mov edx, ebx
mov dword [esp + 0x10], 1
sub edx, ecx
imul eax, edx, 0xfffffff8
sub ebx, edx
push 4
push ebx
mov dword [esp + 0x50], ebx
add ebp, eax
lea eax, [esp + 0xa0]
push eax
mov dword [esp + 0x50], ebp
call fcn.004e4a90
mov eax, dword [esp + 0xa4]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x14]
sbb ecx, ecx
xor eax, eax
neg ecx
test edx, edx
sete al
test eax, ecx
je 0x4c8613
mov edx, dword [esp + 0x40]
mov ecx, ebp
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x28]
neg ecx
and ecx, 0x1f
shr edx, cl
mov ecx, dword [esp + 0x18]
movzx eax, byte [esi + edx*2 + 4]
add ebp, eax
mov al, byte [esi + edx*2 + 5]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x18], ecx
jmp 0x4c8532
mov eax, dword [esp + 0x14]
xor edx, edx
mov ebx, dword [esp + 0x18]
sub eax, ebx
and dword [esp + 0x1c], 0
cmp ebx, dword [esp + 0x14]
cmova eax, edx
mov dword [esp + 0x80], eax
test eax, eax
je 0x4c867f
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x80]
neg eax
and eax, 0x1f
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x40]
mov ecx, ebp
and ecx, 0x1f
shl edx, cl
mov ecx, eax
shr edx, cl
movzx eax, byte [esi + edx*2 + 4]
add ebp, eax
mov al, byte [esi + edx*2 + 5]
mov byte [ebx], al
inc ebx
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, edi
mov eax, dword [esp + 0x14]
jb 0x4c864a
push 0x20
mov dword [esp + 0x48], ebp
pop edi
mov ecx, dword [esp + 0x7c]
mov eax, ecx
mov edx, dword [esp + 0x20]
sub eax, edx
mov ebp, dword [esp + 0x30]
cmp eax, 3
jle 0x4c87c4
lea ebx, [ecx - 3]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x34]
cmp ebp, edi
jbe 0x4c86bd
mov ebx, 0x5306d0
mov dword [esp + 0x10], 3
mov dword [esp + 0x34], ebx
jmp 0x4c8740
cmp ebx, dword [esp + 0x3c]
jb 0x4c86d4
lea eax, [esp + 0x2c]
push eax
call fcn.004c73ee
pop ecx
mov dword [esp + 0x10], eax
jmp 0x4c8734
mov ecx, dword [esp + 0x38]
cmp ebx, ecx
jne 0x4c86e9
cmp ebp, edi
sbb eax, eax
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x4c8740
and dword [esp + 0x10], 0
mov edx, ebp
shr edx, 3
mov eax, ebx
sub eax, edx
cmp eax, ecx
jae 0x4c8707
mov edx, ebx
mov dword [esp + 0x10], 1
sub edx, ecx
imul eax, edx, 0xfffffff8
sub ebx, edx
push 4
push ebx
mov dword [esp + 0x3c], ebx
add ebp, eax
lea eax, [esp + 0x88]
push eax
mov dword [esp + 0x3c], ebp
call fcn.004e4a90
mov eax, dword [esp + 0x8c]
add esp, 0xc
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
cmp edx, dword [esp + 0x1c]
sbb ecx, ecx
xor eax, eax
neg ecx
cmp dword [esp + 0x10], eax
sete al
test eax, ecx
je 0x4c8832
mov esi, dword [esp + 0x28]
mov ecx, ebp
mov edi, dword [esp + 0x2c]
and ecx, 0x1f
neg esi
mov eax, edi
shl eax, cl
and esi, 0x1f
mov ecx, esi
shr eax, cl
mov ecx, dword [esp + 0xbc]
push 0x20
movzx edx, byte [ecx + eax*2 + 4]
mov al, byte [ecx + eax*2 + 5]
add edx, ebp
mov ecx, dword [esp + 0x24]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x24], ecx
mov ecx, edx
and ecx, 0x1f
shl edi, cl
mov ecx, esi
mov esi, dword [esp + 0xc0]
shr edi, cl
movzx ebp, byte [esi + edi*2 + 4]
mov al, byte [esi + edi*2 + 5]
add ebp, edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x34], ebp
pop edi
mov byte [edx], al
inc edx
mov dword [esp + 0x20], edx
jmp 0x4c86a3
cmp ebp, edi
jbe 0x4c87d3
mov ebx, 0x5306d0
mov dword [esp + 0x34], ebx
jmp 0x4c8832
mov ebx, dword [esp + 0x34]
cmp ebx, dword [esp + 0x3c]
jb 0x4c87ea
lea eax, [esp + 0x2c]
push eax
call fcn.004c73ee
pop ecx
jmp 0x4c882a
mov ecx, dword [esp + 0x38]
cmp ebx, ecx
je 0x4c8836
mov edx, ebp
mov eax, ebx
shr edx, 3
sub eax, edx
cmp eax, ecx
jae 0x4c8803
mov edx, ebx
sub edx, ecx
imul eax, edx, 0xfffffff8
sub ebx, edx
push 4
push ebx
mov dword [esp + 0x3c], ebx
add ebp, eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x3c], ebp
call fcn.004e4a90
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x2c], eax
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
cmp ebp, edi
jbe 0x4c8848
mov ebx, 0x5306d0
push 3
mov dword [esp + 0x38], ebx
pop edx
jmp 0x4c88c7
cmp ebx, dword [esp + 0x3c]
jb 0x4c885d
lea eax, [esp + 0x2c]
push eax
call fcn.004c73ee
pop ecx
mov edx, eax
jmp 0x4c88bf
cmp ebx, ecx
jne 0x4c8870
cmp ebp, edi
sbb eax, eax
add eax, 2
mov dword [esp + 0x14], eax
mov edx, eax
jmp 0x4c88c7
and dword [esp + 0x14], 0
mov edx, ebp
shr edx, 3
mov eax, ebx
sub eax, edx
cmp eax, ecx
jae 0x4c888e
mov edx, ebx
mov dword [esp + 0x14], 1
sub edx, ecx
imul eax, edx, 0xfffffff8
sub ebx, edx
push 4
push ebx
mov dword [esp + 0x3c], ebx
add ebp, eax
lea eax, [esp + 0xac]
push eax
mov dword [esp + 0x3c], ebp
call fcn.004e4a90
mov eax, dword [esp + 0xb0]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x7c]
sbb ecx, ecx
xor eax, eax
neg ecx
test edx, edx
sete al
test eax, ecx
je 0x4c8913
mov edx, dword [esp + 0x2c]
mov ecx, ebp
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x28]
neg ecx
and ecx, 0x1f
shr edx, cl
mov ecx, dword [esp + 0x20]
movzx eax, byte [esi + edx*2 + 4]
add ebp, eax
mov al, byte [esi + edx*2 + 5]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x20], ecx
jmp 0x4c8832
mov eax, dword [esp + 0x7c]
xor edx, edx
mov ebx, dword [esp + 0x20]
sub eax, ebx
and dword [esp + 0x1c], 0
cmp ebx, dword [esp + 0x7c]
cmova eax, edx
mov dword [esp + 0x14], eax
test eax, eax
je 0x4c8979
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
neg eax
and eax, 0x1f
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x2c]
mov ecx, ebp
and ecx, 0x1f
shl edx, cl
mov ecx, eax
shr edx, cl
movzx eax, byte [esi + edx*2 + 4]
add ebp, eax
mov al, byte [esi + edx*2 + 5]
mov byte [ebx], al
inc ebx
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, edi
mov eax, dword [esp + 0x10]
jb 0x4c8944
push 0x20
mov dword [esp + 0x34], ebp
pop edi
mov ecx, dword [esp + 0x88]
mov eax, ecx
mov edx, dword [esp + 0x24]
sub eax, edx
mov ebp, dword [esp + 0x6c]
cmp eax, 3
jle 0x4c8ab8
lea ebx, [ecx - 3]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x70]
cmp ebp, edi
jbe 0x4c89b7
mov ebx, 0x5306d0
mov dword [esp + 0x10], 3
mov dword [esp + 0x70], ebx
jmp 0x4c8a34
cmp ebx, dword [esp + 0x78]
jb 0x4c89ce
lea eax, [esp + 0x68]
push eax
call fcn.004c73ee
pop ecx
mov dword [esp + 0x10], eax
jmp 0x4c8a28
mov ecx, dword [esp + 0x74]
cmp ebx, ecx
jne 0x4c89e3
cmp ebp, edi
sbb eax, eax
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x4c8a34
and dword [esp + 0x10], 0
mov edx, ebp
shr edx, 3
mov eax, ebx
sub eax, edx
cmp eax, ecx
jae 0x4c8a01
mov edx, ebx
mov dword [esp + 0x10], 1
sub edx, ecx
imul eax, edx, 0xfffffff8
sub ebx, edx
push 4
push ebx
mov dword [esp + 0x78], ebx
add ebp, eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x78], ebp
call fcn.004e4a90
mov eax, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0x68], eax
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
cmp edx, dword [esp + 0x14]
sbb ecx, ecx
xor eax, eax
neg ecx
cmp dword [esp + 0x10], eax
sete al
test eax, ecx
je 0x4c8b26
mov esi, dword [esp + 0x28]
mov ecx, ebp
mov edi, dword [esp + 0x68]
and ecx, 0x1f
neg esi
mov eax, edi
shl eax, cl
and esi, 0x1f
mov ecx, esi
shr eax, cl
mov ecx, dword [esp + 0xbc]
push 0x20
movzx edx, byte [ecx + eax*2 + 4]
mov al, byte [ecx + eax*2 + 5]
add edx, ebp
mov ecx, dword [esp + 0x28]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x28], ecx
mov ecx, edx
and ecx, 0x1f
shl edi, cl
mov ecx, esi
mov esi, dword [esp + 0xc0]
shr edi, cl
movzx ebp, byte [esi + edi*2 + 4]
mov al, byte [esi + edi*2 + 5]
add ebp, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x70], ebp
pop edi
mov byte [edx], al
inc edx
mov dword [esp + 0x24], edx
jmp 0x4c89a0
cmp ebp, edi
jbe 0x4c8ac7
mov ebx, 0x5306d0
mov dword [esp + 0x70], ebx
jmp 0x4c8b26
mov ebx, dword [esp + 0x70]
cmp ebx, dword [esp + 0x78]
jb 0x4c8ade
lea eax, [esp + 0x68]
push eax
call fcn.004c73ee
pop ecx
jmp 0x4c8b1e
mov ecx, dword [esp + 0x74]
cmp ebx, ecx
je 0x4c8b2a
mov edx, ebp
mov eax, ebx
shr edx, 3
sub eax, edx
cmp eax, ecx
jae 0x4c8af7
mov edx, ebx
sub edx, ecx
imul eax, edx, 0xfffffff8
sub ebx, edx
push 4
push ebx
mov dword [esp + 0x78], ebx
add ebp, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x78], ebp
call fcn.004e4a90
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x68], eax
mov ebp, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
cmp ebp, edi
jbe 0x4c8b3c
mov ebx, 0x5306d0
push 3
mov dword [esp + 0x74], ebx
pop edx
jmp 0x4c8bbb
cmp ebx, dword [esp + 0x78]
jb 0x4c8b51
lea eax, [esp + 0x68]
push eax
call fcn.004c73ee
pop ecx
mov edx, eax
jmp 0x4c8bb3
cmp ebx, ecx
jne 0x4c8b64
cmp ebp, edi
sbb eax, eax
add eax, 2
mov dword [esp + 0x14], eax
mov edx, eax
jmp 0x4c8bbb
and dword [esp + 0x14], 0
mov edx, ebp
shr edx, 3
mov eax, ebx
sub eax, edx
cmp eax, ecx
jae 0x4c8b82
mov edx, ebx
mov dword [esp + 0x14], 1
sub edx, ecx
imul eax, edx, 0xfffffff8
sub ebx, edx
push 4
push ebx
mov dword [esp + 0x78], ebx
add ebp, eax
lea eax, [esp + 0x84]
push eax
mov dword [esp + 0x78], ebp
call fcn.004e4a90
mov eax, dword [esp + 0x88]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov dword [esp + 0x68], eax
mov ebp, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x88]
sbb ecx, ecx
xor eax, eax
neg ecx
test edx, edx
sete al
test eax, ecx
je 0x4c8c0a
mov edx, dword [esp + 0x68]
mov ecx, ebp
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x28]
neg ecx
and ecx, 0x1f
shr edx, cl
mov ecx, dword [esp + 0x24]
movzx eax, byte [esi + edx*2 + 4]
add ebp, eax
mov al, byte [esi + edx*2 + 5]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x24], ecx
jmp 0x4c8b26
mov edi, dword [esp + 0x88]
xor ecx, ecx
mov ebx, dword [esp + 0x24]
sub edi, ebx
cmp ebx, dword [esp + 0x88]
cmova edi, ecx
test edi, edi
je 0x4c8c6c
mov eax, dword [esp + 0x28]
neg eax
and eax, 0x1f
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x68]
mov ecx, ebp
and ecx, 0x1f
shl edx, cl
mov ecx, eax
shr edx, cl
movzx eax, byte [esi + edx*2 + 4]
add ebp, eax
mov al, byte [esi + edx*2 + 5]
mov byte [ebx], al
inc ebx
mov eax, dword [esp + 0x8c]
inc eax
mov dword [esp + 0x8c], eax
cmp eax, edi
mov eax, dword [esp + 0x28]
jb 0x4c8c34
mov dword [esp + 0x6c], ebp
lea eax, [esp + 0x68]
push eax
call fcn.004c729a
mov edx, eax
lea eax, [esp + 0x30]
push eax
call fcn.004c729a
and edx, eax
lea eax, [esp + 0x48]
push eax
call fcn.004c729a
and edx, eax
lea eax, [esp + 0x60]
push eax
call fcn.004c729a
add esp, 0x10
test eax, edx
mov eax, dword [esp + 0xb0]
push 0xffffffffffffffec
pop ecx
cmove eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret