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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x88
mov ebp, ecx
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
xor ebx, ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov ebx, dword [ebp + 0x9510]
cmp dword [ebx], 0x17
jge 0x4f488e
mov ebx, 1
mov dword [esp + 0x14], ebx
jmp 0x4f4894
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x7c], ebp
mov ebx, dword [ebp + 0x9410]
mov dword [esp + 0x84], ebx
movzx ebx, byte [ebx + 0x119]
and ebx, 0x3f
movzx ebx, byte [ebx + 0x5834a0]
mov dword [esp + 0x64], ebx
sar ebx, 4
mov dword [esp + 0x80], ebx
movsx eax, al
mov dword [esp + 0x58], eax
movsx edx, dl
mov dword [esp + 0x5c], edx
lea ebx, [eax + eax]
add ebx, ebx
add ebx, ebx
add ebx, eax
movzx edx, byte [edx + ebx + 0x57d092]
mov ebx, dword [edx*4 + 0x57d020]
mov edx, ebx
shr edx, 4
and edx, 0xf
mov ecx, dword [ebp + edx*4 + 0x9440]
mov edx, ebx
shr edx, 0xc
and edx, 0xf
mov ebp, dword [ebp + edx*4 + 0x9440]
movsx edx, byte [ecx + 0x117]
mov dword [esp + 0x68], edx
mov edx, ebx
and edx, 0xf
movzx ecx, byte [ecx + edx + 0x20]
mov edx, dword [esp + 0x68]
neg edx
and ecx, edx
movsx edx, cl
movsx ecx, byte [ebp + 0x117]
shr ebx, 8
and ebx, 0xf
movzx ebx, byte [ebp + ebx + 0x20]
mov ebp, ecx
neg ebp
and ebx, ebp
movsx edi, bl
lea ebx, [eax + eax]
add ebx, ebx
add ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x84]
lea esi, [ebx + ebp + 0x20]
mov eax, dword [esp + 0x68]
and eax, ecx
movsx ecx, al
add edx, edi
add edx, ecx
sar edx, cl
mov byte [ebp + ebx + 0x20], dl
mov dword [esp + 0xc], esi
mov ebp, dword [esp + 0x7c]
lea eax, [ebp + 0x9618]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
lea edx, [esp + 0x6c]
mov ecx, 0x10
mov esi, dword [esp + 0x58]
call fcn.004f534c
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x84]
movsx eax, byte [eax + ebx + 0x20]
test eax, eax
je 0x4f4a8f
jbe 0x4f4a4b
xor eax, eax
mov dword [esp + 0x68], eax
xor eax, eax
mov edx, dword [esp + 0x64]
and edx, 0xf
shl edx, 6
mov edi, dword [esp + 0x14]
shl edi, 5
add edi, ebp
add edi, edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x58], esi
mov dword [esp + 0x7c], ebp
mov edx, dword [esp + 0x68]
movzx ecx, byte [esp + eax + 0x6c]
add edx, ecx
movsx edx, dl
mov ecx, edx
and ecx, 0xf
movzx esi, byte [ecx + 0x57e348]
mov ecx, dword [esp + 0x7c]
mov ecx, dword [ecx + 0x9410]
movzx ecx, byte [ecx + 0x118]
add ecx, ecx
add ecx, ecx
sar esi, cl
and esi, 0xf
movsx ecx, word [edi + esi*2 + 0x1830]
movsx ebp, word [esp + eax*2 + 0x18]
imul ebp, ecx
mov ecx, dword [esp + 0x80]
shl ebp, cl
add ebp, 8
sar ebp, 4
mov word [esp + esi*2 + 0x38], bp
mov ecx, dword [esp + 0x84]
movsx ecx, byte [ecx + ebx + 0x20]
inc edx
inc eax
cmp eax, ecx
jb 0x4f49dd
mov esi, dword [esp + 0x58]
mov ebp, dword [esp + 0x7c]
lea eax, [esp + 0x38]
shl esi, 7
mov edx, dword [esp + 0x5c]
movsx edi, byte [edx + 0x57e368]
add edi, edi
add esi, edi
mov edx, dword [ebp + 0x92c0]
lea esi, [esi + edx + 0x140]
push esi
push eax
call dword [ebp + 0x9a18]
mov edx, dword [ebp + 0x9410]
mov byte [edx + ebx], 1
mov eax, dword [esp + 0x68]
add esp, 0x90
pop ebx
pop ebp
pop esi
pop edi
ret
shl esi, 7
mov eax, dword [esp + 0x5c]
movsx edi, byte [eax + 0x57e368]
add edi, edi
add esi, edi
mov eax, dword [ebp + 0x92c0]
xor edx, edx
mov dword [eax + esi + 0x140], edx
mov dword [eax + esi + 0x144], edx
mov dword [eax + esi + 0x150], edx
mov dword [eax + esi + 0x154], edx
mov dword [eax + esi + 0x160], edx
mov dword [eax + esi + 0x164], edx
mov dword [eax + esi + 0x170], edx
mov dword [eax + esi + 0x174], edx
mov ecx, dword [ebp + 0x9410]
mov byte [ecx + ebx], dl
mov eax, dword [esp + 0x60]
add esp, 0x88
pop ebx
pop ebp
pop esi
pop edi
ret