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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x120
mov esi, edx
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ecx
xor ecx, ecx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], ecx
mov ecx, dword [esi + 0x9510]
cmp dword [ecx], 0x17
jge 0x4f4c24
mov ecx, 1
mov dword [esp + 0xd4], ecx
jmp 0x4f4c2d
xor ecx, ecx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0x11c], esi
mov ebp, dword [esi + 0x9410]
mov dword [esp + 0x118], ebp
movzx ecx, byte [ebp + 0x119]
and ecx, 0x3f
movzx ecx, byte [ecx + 0x5834a0]
mov dword [esp + 0xd8], ecx
sar ecx, 4
mov dword [esp + 0x110], ecx
movsx eax, al
mov dword [esp + 0x114], eax
movzx eax, byte [eax + eax*8 + 0x57d092]
mov edi, dword [eax*4 + 0x57d020]
mov eax, edi
shr eax, 4
and eax, 0xf
mov edx, dword [esi + eax*4 + 0x9440]
mov eax, edi
shr eax, 0xc
and eax, 0xf
mov esi, dword [esi + eax*4 + 0x9440]
movsx eax, byte [edx + 0x117]
mov dword [esp + 0xe8], eax
mov eax, edi
and eax, 0xf
movzx eax, byte [edx + eax + 0x20]
mov ebx, dword [esp + 0xe8]
neg ebx
and eax, ebx
movsx eax, al
movsx ecx, byte [esi + 0x117]
shr edi, 8
and edi, 0xf
movzx edx, byte [esi + edi + 0x20]
mov ebx, ecx
neg ebx
and edx, ebx
movsx esi, dl
mov edx, dword [esp + 0x114]
lea edx, [edx + edx]
add edx, edx
mov dword [esp + 0xdc], edx
lea ebx, [edx + ebp + 0x20]
mov edx, dword [esp + 0xe8]
and edx, ecx
movsx ecx, dl
add eax, esi
add eax, ecx
sar eax, cl
mov edx, dword [esp + 0x114]
mov byte [ebp + edx*4 + 0x20], al
mov esi, dword [esp + 0x11c]
lea eax, [esi + 0x9618]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
lea eax, [esp + 0xf0]
lea edx, [esp + 0x94]
mov ecx, 0x10
call fcn.004f534c
mov dword [esp + 0xe4], eax
mov eax, ebp
mov ecx, dword [esp + 0x114]
movsx ebx, byte [eax + ecx*4 + 0x20]
mov dword [esp + 0xe8], ebx
test ebx, ebx
jbe 0x4f4dfc
xor eax, eax
xor ebx, ebx
mov ecx, dword [esp + 0xd8]
and ecx, 0xf
shl ecx, 8
mov edx, dword [esp + 0xd4]
shl edx, 7
add edx, esi
add edx, ecx
movzx ecx, byte [esp + ebx + 0x94]
add ecx, ecx
add ecx, ecx
add eax, ecx
movsx eax, al
mov ecx, dword [esi + 0x9410]
movsx ebp, byte [ecx + 0x118]
add ebp, ebp
add ebp, ebp
add ebp, ebp
mov ecx, eax
and ecx, 0x3f
movsx ebp, byte [ecx + ebp*8 + 0x57e160]
movsx ecx, word [edx + ebp*2 + 0x1cb0]
movsx edi, word [esp + ebx*2 + 0xf0]
imul edi, ecx
mov ecx, dword [esp + 0x110]
shl edi, cl
add edi, 0x20
sar edi, 6
mov word [esp + ebp*2 + 0x14], di
add eax, 4
movsx eax, al
mov ebp, dword [esp + 0x114]
mov ecx, dword [esp + 0x118]
movsx ecx, byte [ecx + ebp*4 + 0x20]
inc ebx
cmp ebx, ecx
jb 0x4f4d86
mov dword [esp + 0x11c], esi
mov eax, dword [esp + 0x114]
movzx eax, byte [eax + eax*8 + 0x57d093]
mov ebp, dword [eax*4 + 0x57d020]
mov eax, ebp
shr eax, 4
and eax, 0xf
mov ecx, dword [esi + eax*4 + 0x9440]
mov eax, ebp
shr eax, 0xc
and eax, 0xf
mov edi, dword [esi + eax*4 + 0x9440]
movsx eax, byte [ecx + 0x117]
mov dword [esp + 0xec], eax
mov eax, ebp
and eax, 0xf
movzx eax, byte [ecx + eax + 0x20]
mov ebx, dword [esp + 0xec]
neg ebx
and eax, ebx
movsx eax, al
movsx edx, byte [edi + 0x117]
shr ebp, 8
and ebp, 0xf
movzx ecx, byte [edi + ebp + 0x20]
mov ebx, edx
neg ebx
and ecx, ebx
movsx ebp, cl
mov ebx, dword [esi + 0x9410]
mov ecx, dword [esp + 0xdc]
lea esi, [ecx + ebx + 0x21]
mov ecx, dword [esp + 0xec]
and ecx, edx
movsx ecx, cl
add eax, ebp
add eax, ecx
sar eax, cl
mov edx, dword [esp + 0x114]
mov byte [ebx + edx*4 + 0x21], al
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xf0]
lea edx, [esp + 0xa4]
mov ecx, 0x10
mov esi, dword [esp + 0x11c]
call fcn.004f534c
or dword [esp + 0xe4], eax
mov eax, dword [esp + 0x114]
movsx ecx, byte [ebx + eax*4 + 0x21]
or dword [esp + 0xe8], ecx
test ecx, ecx
jbe 0x4f4f95
mov eax, 1
xor ebp, ebp
mov ecx, dword [esp + 0xd8]
and ecx, 0xf
shl ecx, 8
mov edx, dword [esp + 0xd4]
shl edx, 7
add edx, esi
add edx, ecx
mov dword [esp + 0x118], ebx
movzx ecx, byte [esp + ebp + 0xa4]
add ecx, ecx
add ecx, ecx
add eax, ecx
movsx eax, al
mov ecx, dword [esi + 0x9410]
movsx ebx, byte [ecx + 0x118]
add ebx, ebx
add ebx, ebx
add ebx, ebx
mov ecx, eax
and ecx, 0x3f
movsx ebx, byte [ecx + ebx*8 + 0x57e160]
movsx ecx, word [edx + ebx*2 + 0x1cb0]
movsx edi, word [esp + ebp*2 + 0xf0]
imul edi, ecx
mov ecx, dword [esp + 0x110]
shl edi, cl
add edi, 0x20
sar edi, 6
mov word [esp + ebx*2 + 0x14], di
add eax, 4
movsx eax, al
mov ebx, dword [esp + 0x114]
mov ecx, dword [esp + 0x118]
movsx ecx, byte [ecx + ebx*4 + 0x21]
inc ebp
cmp ebp, ecx
jb 0x4f4f1f
mov dword [esp + 0x11c], esi
mov eax, dword [esp + 0x114]
movzx eax, byte [eax + eax*8 + 0x57d094]
mov ebp, dword [eax*4 + 0x57d020]
mov eax, ebp
shr eax, 4
and eax, 0xf
mov ecx, dword [esi + eax*4 + 0x9440]
mov eax, ebp
shr eax, 0xc
and eax, 0xf
mov edi, dword [esi + eax*4 + 0x9440]
movsx eax, byte [ecx + 0x117]
mov dword [esp + 0xec], eax
mov eax, ebp
and eax, 0xf
movzx eax, byte [ecx + eax + 0x20]
mov ebx, dword [esp + 0xec]
neg ebx
and eax, ebx
movsx eax, al
movsx edx, byte [edi + 0x117]
shr ebp, 8
and ebp, 0xf
movzx ecx, byte [edi + ebp + 0x20]
mov ebx, edx
neg ebx
and ecx, ebx
movsx ebp, cl
mov ebx, dword [esi + 0x9410]
mov ecx, dword [esp + 0xdc]
lea esi, [ecx + ebx + 0x22]
mov ecx, dword [esp + 0xec]
and ecx, edx
movsx ecx, cl
add eax, ebp
add eax, ecx
sar eax, cl
mov edx, dword [esp + 0x114]
mov byte [ebx + edx*4 + 0x22], al
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xf0]
lea edx, [esp + 0xb4]
mov ecx, 0x10
mov esi, dword [esp + 0x11c]
call fcn.004f534c
or dword [esp + 0xe4], eax
mov eax, dword [esp + 0x114]
movsx ecx, byte [ebx + eax*4 + 0x22]
or dword [esp + 0xe8], ecx
test ecx, ecx
jbe 0x4f512e
mov eax, 2
xor ebp, ebp
mov ecx, dword [esp + 0xd8]
and ecx, 0xf
shl ecx, 8
mov edx, dword [esp + 0xd4]
shl edx, 7
add edx, esi
add edx, ecx
mov dword [esp + 0x118], ebx
movzx ecx, byte [esp + ebp + 0xb4]
add ecx, ecx
add ecx, ecx
add eax, ecx
movsx eax, al
mov ecx, dword [esi + 0x9410]
movsx ebx, byte [ecx + 0x118]
add ebx, ebx
add ebx, ebx
add ebx, ebx
mov ecx, eax
and ecx, 0x3f
movsx ebx, byte [ecx + ebx*8 + 0x57e160]
movsx ecx, word [edx + ebx*2 + 0x1cb0]
movsx edi, word [esp + ebp*2 + 0xf0]
imul edi, ecx
mov ecx, dword [esp + 0x110]
shl edi, cl
add edi, 0x20
sar edi, 6
mov word [esp + ebx*2 + 0x14], di
add eax, 4
movsx eax, al
mov ebx, dword [esp + 0x114]
mov ecx, dword [esp + 0x118]
movsx ecx, byte [ecx + ebx*4 + 0x22]
inc ebp
cmp ebp, ecx
jb 0x4f50b8
mov dword [esp + 0x11c], esi
mov eax, dword [esp + 0x114]
movzx eax, byte [eax + eax*8 + 0x57d095]
mov ebp, dword [eax*4 + 0x57d020]
mov eax, ebp
shr eax, 4
and eax, 0xf
mov ecx, dword [esi + eax*4 + 0x9440]
mov eax, ebp
shr eax, 0xc
and eax, 0xf
mov edi, dword [esi + eax*4 + 0x9440]
movsx eax, byte [ecx + 0x117]
mov dword [esp + 0xec], eax
mov eax, ebp
and eax, 0xf
movzx eax, byte [ecx + eax + 0x20]
mov ebx, dword [esp + 0xec]
neg ebx
and eax, ebx
movsx eax, al
movsx edx, byte [edi + 0x117]
shr ebp, 8
and ebp, 0xf
movzx ecx, byte [edi + ebp + 0x20]
mov ebx, edx
neg ebx
and ecx, ebx
movsx ebp, cl
mov ebx, dword [esi + 0x9410]
mov ecx, dword [esp + 0xdc]
lea esi, [ecx + ebx + 0x23]
mov ecx, dword [esp + 0xec]
and ecx, edx
movsx ecx, cl
add eax, ebp
add eax, ecx
sar eax, cl
mov edx, dword [esp + 0x114]
mov byte [ebx + edx*4 + 0x23], al
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xf0]
lea edx, [esp + 0xc4]
mov ecx, 0x10
mov esi, dword [esp + 0x11c]
call fcn.004f534c
or dword [esp + 0xe4], eax
mov eax, dword [esp + 0x114]
movsx ecx, byte [ebx + eax*4 + 0x23]
or dword [esp + 0xe8], ecx
test ecx, ecx
jbe 0x4f52d7
mov eax, 3
xor ebp, ebp
mov ecx, dword [esp + 0xd8]
and ecx, 0xf
shl ecx, 8
mov edi, dword [esp + 0xd4]
shl edi, 7
add edi, esi
add edi, ecx
mov dword [esp + 0xd4], edi
mov dword [esp + 0x11c], esi
mov edx, edi
movzx ecx, byte [esp + ebp + 0xc4]
add ecx, ecx
add ecx, ecx
add eax, ecx
movsx eax, al
mov ecx, dword [esp + 0x11c]
mov ecx, dword [ecx + 0x9410]
movsx esi, byte [ecx + 0x118]
add esi, esi
add esi, esi
add esi, esi
mov ecx, eax
and ecx, 0x3f
movsx esi, byte [ecx + esi*8 + 0x57e160]
movsx ecx, word [edx + esi*2 + 0x1cb0]
movsx edi, word [esp + ebp*2 + 0xf0]
imul edi, ecx
mov ecx, dword [esp + 0x110]
shl edi, cl
add edi, 0x20
sar edi, 6
mov word [esp + esi*2 + 0x14], di
add eax, 4
movsx eax, al
mov ecx, dword [esp + 0x114]
movsx ecx, byte [ebx + ecx*4 + 0x23]
inc ebp
cmp ebp, ecx
jb 0x4f525a
mov esi, dword [esp + 0x11c]
lea ebp, [esp + 0x14]
mov eax, dword [esp + 0x114]
shl eax, 7
mov ecx, dword [esi + 0x92c0]
lea ebx, [eax + ecx + 0x140]
push ebx
push ebp
call dword [esi + 0x9a1c]
mov ecx, dword [esp + 0xf0]
test ecx, ecx
mov edx, 0
setne dl
mov eax, dword [esi + 0x9410]
mov edi, dword [esp + 0x11c]
mov byte [eax + edi*4 + 3], dl
mov ebx, dword [esi + 0x9410]
mov byte [ebx + edi*4 + 2], dl
mov ebp, dword [esi + 0x9410]
mov byte [ebp + edi*4 + 1], dl
mov esi, dword [esi + 0x9410]
mov byte [esi + edi*4], dl
mov eax, dword [esp + 0xec]
add esp, 0x128
pop ebx
pop ebp
pop esi
pop edi
ret