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

Disassembly:
sub esp, 0x98
push ebx
mov ebx, dword [esp + 0xac]
cmp ebx, 0xa
jae 0x4c7ebd
push 0xffffffffffffffec
pop eax
jmp 0x4c8f1f
mov eax, dword [esp + 0xa4]
cmp eax, 6
jb 0x4c7eb5
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.004cafe7
movzx ebp, ax
lea eax, [esi + 2]
push eax
mov dword [esp + 0xa8], ebp
call fcn.004cafe7
movzx eax, ax
mov dword [esp + 0x18], eax
lea eax, [esi + 4]
push eax
call fcn.004cafe7
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.004c3e6e
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 0x4c829e
mov eax, dword [esp + 0x88]
cmp dword [esp + 0x7c], eax
ja 0x4c829e
push dword [esp + 0xa0]
lea eax, [esp + 0x58]
push dword [esp + 0x94]
push eax
call fcn.004c7523
add esp, 0xc
cmp eax, 0xffffff88
ja 0x4c8f1c
push dword [esp + 0x10]
lea eax, [esp + 0x44]
push dword [esp + 0x98]
push eax
call fcn.004c7523
add esp, 0xc
cmp eax, 0xffffff88
ja 0x4c8f1c
push dword [esp + 0x9c]
lea eax, [esp + 0x30]
push dword [esp + 0x88]
push eax
call fcn.004c7523
add esp, 0xc
cmp eax, 0xffffff88
ja 0x4c8f1c
push dword [esp + 0x98]
mov eax, dword [esp + 0xa0]
add eax, dword [esp + 0x88]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.004c7523
add esp, 0xc
cmp eax, 0xffffff88
ja 0x4c8f1c
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x7c]
sub eax, ecx
cmp eax, 4
jb 0x4c8289
cmp ecx, dword [esp + 0x1c]
jae 0x4c8289
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.004c7646
mov ebp, dword [esp + 0x90]
neg eax
sbb eax, eax
inc eax
and ebp, eax
lea eax, [esp + 0x44]
push eax
call fcn.004c7646
neg eax
sbb eax, eax
inc eax
and ebp, eax
lea eax, [esp + 0x34]
push eax
call fcn.004c7646
neg eax
sbb eax, eax
inc eax
and ebp, eax
lea eax, [esp + 0x74]
push eax
call fcn.004c7646
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 0x4c8090
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
cmp edi, edx
ja 0x4c829e
cmp ebp, dword [esp + 0x14]
ja 0x4c829e
cmp ebx, ecx
jbe 0x4c82a6
push 0xffffffffffffffec
pop eax
jmp 0x4c8f1c
and dword [esp + 0x8c], 0
mov eax, edx
mov ebp, dword [esp + 0x58]
sub eax, edi
push 0x20
pop edi
cmp eax, 3
jle 0x4c840a
mov ebx, dword [esp + 0x5c]
add edx, 0xfffffffd
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0xac]
cmp ebp, edi
jbe 0x4c82f1
mov ebx, 0x530790
mov dword [esp + 0x10], 3
mov dword [esp + 0x5c], ebx
jmp 0x4c8377
cmp ebx, dword [esp + 0x64]
jb 0x4c8308
lea eax, [esp + 0x54]
push eax
call fcn.004c765e
pop ecx
mov dword [esp + 0x10], eax
jmp 0x4c8368
mov ecx, dword [esp + 0x60]
cmp ebx, ecx
jne 0x4c831d
cmp ebp, edi
sbb eax, eax
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x4c8377
and dword [esp + 0x10], 0
mov edx, ebp
shr edx, 3
mov eax, ebx
sub eax, edx
cmp eax, ecx
jae 0x4c833b
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.004e4d00
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 0x4c847e
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 0x4c82d7
cmp ebp, edi
jbe 0x4c8419
mov ebx, 0x530790
mov dword [esp + 0x5c], ebx
jmp 0x4c847e
mov ebx, dword [esp + 0x5c]
cmp ebx, dword [esp + 0x64]
jb 0x4c8430
lea eax, [esp + 0x54]
push eax
call fcn.004c765e
pop ecx
jmp 0x4c8476
mov ecx, dword [esp + 0x60]
cmp ebx, ecx
je 0x4c8482
mov edx, ebp
mov eax, ebx
shr edx, 3
sub eax, edx
cmp eax, ecx
jae 0x4c8449
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.004e4d00
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 0x4c84a3
mov ebx, 0x530790
mov dword [esp + 0x10], 3
mov dword [esp + 0x5c], ebx
jmp 0x4c8525
cmp ebx, dword [esp + 0x64]
jb 0x4c84ba
lea eax, [esp + 0x54]
push eax
call fcn.004c765e
pop ecx
mov dword [esp + 0x10], eax
jmp 0x4c8516
cmp ebx, ecx
jne 0x4c84cb
cmp ebp, edi
sbb eax, eax
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x4c8525
and dword [esp + 0x10], 0
mov edx, ebp
shr edx, 3
mov eax, ebx
sub eax, edx
cmp eax, ecx
jae 0x4c84e9
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.004e4d00
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 0x4c857c
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 0x4c8489
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 0x4c85e9
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 0x4c85b1
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 0x4c872e
lea ebx, [ecx - 3]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x48]
cmp ebp, edi
jbe 0x4c8627
mov ebx, 0x530790
mov dword [esp + 0x10], 3
mov dword [esp + 0x48], ebx
jmp 0x4c86aa
cmp ebx, dword [esp + 0x50]
jb 0x4c863e
lea eax, [esp + 0x40]
push eax
call fcn.004c765e
pop ecx
mov dword [esp + 0x10], eax
jmp 0x4c869e
mov ecx, dword [esp + 0x4c]
cmp ebx, ecx
jne 0x4c8653
cmp ebp, edi
sbb eax, eax
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x4c86aa
and dword [esp + 0x10], 0
mov edx, ebp
shr edx, 3
mov eax, ebx
sub eax, edx
cmp eax, ecx
jae 0x4c8671
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.004e4d00
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 0x4c87a2
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 0x4c860d
cmp ebp, edi
jbe 0x4c873d
mov ebx, 0x530790
mov dword [esp + 0x48], ebx
jmp 0x4c87a2
mov ebx, dword [esp + 0x48]
cmp ebx, dword [esp + 0x50]
jb 0x4c8754
lea eax, [esp + 0x40]
push eax
call fcn.004c765e
pop ecx
jmp 0x4c879a
mov ecx, dword [esp + 0x4c]
cmp ebx, ecx
je 0x4c87a6
mov edx, ebp
mov eax, ebx
shr edx, 3
sub eax, edx
cmp eax, ecx
jae 0x4c876d
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.004e4d00
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 0x4c87b8
mov ebx, 0x530790
push 3
mov dword [esp + 0x4c], ebx
pop edx
jmp 0x4c8837
cmp ebx, dword [esp + 0x50]
jb 0x4c87cd
lea eax, [esp + 0x40]
push eax
call fcn.004c765e
pop ecx
mov edx, eax
jmp 0x4c882f
cmp ebx, ecx
jne 0x4c87e0
cmp ebp, edi
sbb eax, eax
add eax, 2
mov dword [esp + 0x10], eax
mov edx, eax
jmp 0x4c8837
and dword [esp + 0x10], 0
mov edx, ebp
shr edx, 3
mov eax, ebx
sub eax, edx
cmp eax, ecx
jae 0x4c87fe
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.004e4d00
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 0x4c8883
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 0x4c87a2
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 0x4c88ef
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 0x4c88ba
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 0x4c8a34
lea ebx, [ecx - 3]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x34]
cmp ebp, edi
jbe 0x4c892d
mov ebx, 0x530790
mov dword [esp + 0x10], 3
mov dword [esp + 0x34], ebx
jmp 0x4c89b0
cmp ebx, dword [esp + 0x3c]
jb 0x4c8944
lea eax, [esp + 0x2c]
push eax
call fcn.004c765e
pop ecx
mov dword [esp + 0x10], eax
jmp 0x4c89a4
mov ecx, dword [esp + 0x38]
cmp ebx, ecx
jne 0x4c8959
cmp ebp, edi
sbb eax, eax
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x4c89b0
and dword [esp + 0x10], 0
mov edx, ebp
shr edx, 3
mov eax, ebx
sub eax, edx
cmp eax, ecx
jae 0x4c8977
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.004e4d00
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 0x4c8aa2
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 0x4c8913
cmp ebp, edi
jbe 0x4c8a43
mov ebx, 0x530790
mov dword [esp + 0x34], ebx
jmp 0x4c8aa2
mov ebx, dword [esp + 0x34]
cmp ebx, dword [esp + 0x3c]
jb 0x4c8a5a
lea eax, [esp + 0x2c]
push eax
call fcn.004c765e
pop ecx
jmp 0x4c8a9a
mov ecx, dword [esp + 0x38]
cmp ebx, ecx
je 0x4c8aa6
mov edx, ebp
mov eax, ebx
shr edx, 3
sub eax, edx
cmp eax, ecx
jae 0x4c8a73
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.004e4d00
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 0x4c8ab8
mov ebx, 0x530790
push 3
mov dword [esp + 0x38], ebx
pop edx
jmp 0x4c8b37
cmp ebx, dword [esp + 0x3c]
jb 0x4c8acd
lea eax, [esp + 0x2c]
push eax
call fcn.004c765e
pop ecx
mov edx, eax
jmp 0x4c8b2f
cmp ebx, ecx
jne 0x4c8ae0
cmp ebp, edi
sbb eax, eax
add eax, 2
mov dword [esp + 0x14], eax
mov edx, eax
jmp 0x4c8b37
and dword [esp + 0x14], 0
mov edx, ebp
shr edx, 3
mov eax, ebx
sub eax, edx
cmp eax, ecx
jae 0x4c8afe
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.004e4d00
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 0x4c8b83
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 0x4c8aa2
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 0x4c8be9
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 0x4c8bb4
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 0x4c8d28
lea ebx, [ecx - 3]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x70]
cmp ebp, edi
jbe 0x4c8c27
mov ebx, 0x530790
mov dword [esp + 0x10], 3
mov dword [esp + 0x70], ebx
jmp 0x4c8ca4
cmp ebx, dword [esp + 0x78]
jb 0x4c8c3e
lea eax, [esp + 0x68]
push eax
call fcn.004c765e
pop ecx
mov dword [esp + 0x10], eax
jmp 0x4c8c98
mov ecx, dword [esp + 0x74]
cmp ebx, ecx
jne 0x4c8c53
cmp ebp, edi
sbb eax, eax
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x4c8ca4
and dword [esp + 0x10], 0
mov edx, ebp
shr edx, 3
mov eax, ebx
sub eax, edx
cmp eax, ecx
jae 0x4c8c71
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.004e4d00
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 0x4c8d96
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 0x4c8c10
cmp ebp, edi
jbe 0x4c8d37
mov ebx, 0x530790
mov dword [esp + 0x70], ebx
jmp 0x4c8d96
mov ebx, dword [esp + 0x70]
cmp ebx, dword [esp + 0x78]
jb 0x4c8d4e
lea eax, [esp + 0x68]
push eax
call fcn.004c765e
pop ecx
jmp 0x4c8d8e
mov ecx, dword [esp + 0x74]
cmp ebx, ecx
je 0x4c8d9a
mov edx, ebp
mov eax, ebx
shr edx, 3
sub eax, edx
cmp eax, ecx
jae 0x4c8d67
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.004e4d00
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 0x4c8dac
mov ebx, 0x530790
push 3
mov dword [esp + 0x74], ebx
pop edx
jmp 0x4c8e2b
cmp ebx, dword [esp + 0x78]
jb 0x4c8dc1
lea eax, [esp + 0x68]
push eax
call fcn.004c765e
pop ecx
mov edx, eax
jmp 0x4c8e23
cmp ebx, ecx
jne 0x4c8dd4
cmp ebp, edi
sbb eax, eax
add eax, 2
mov dword [esp + 0x14], eax
mov edx, eax
jmp 0x4c8e2b
and dword [esp + 0x14], 0
mov edx, ebp
shr edx, 3
mov eax, ebx
sub eax, edx
cmp eax, ecx
jae 0x4c8df2
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.004e4d00
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 0x4c8e7a
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 0x4c8d96
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 0x4c8edc
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 0x4c8ea4
mov dword [esp + 0x6c], ebp
lea eax, [esp + 0x68]
push eax
call fcn.004c750a
mov edx, eax
lea eax, [esp + 0x30]
push eax
call fcn.004c750a
and edx, eax
lea eax, [esp + 0x48]
push eax
call fcn.004c750a
and edx, eax
lea eax, [esp + 0x60]
push eax
call fcn.004c750a
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