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

Disassembly:
sub esp, 0x128
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
push edi
mov edi, dword [esp + 0x138]
mov eax, ecx
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x128], ecx
mov dword [esp + 0x12c], ecx
mov ecx, dword [edi + 0x14]
inc dword [edi + 0x18]
mov ebp, dword [edi + 8]
mov dword [esp + 0x18], 0x3b000
mov dword [esp + 0x1c], 0x3fb000
mov dword [esp + 0x20], 0x3c3000
mov dword [esp + 0x24], 0x3000
mov dword [esp + 0x28], 0x3c00
mov dword [esp + 0x2c], 0x3f00
mov dword [esp + 0x30], 0x3f80
mov dword [esp + 0x34], 0x77c0
mov dword [esp + 0x38], 0xf7e0
mov dword [esp + 0x3c], 0x1b7f0
mov dword [esp + 0x40], 0x3b7f0
mov dword [esp + 0x44], 0x7b7f8
mov dword [esp + 0x48], 0xfb7f8
mov dword [esp + 0x4c], 0x1ffc78
mov dword [esp + 0x50], 0xc7818
mov dword [esp + 0x54], 0xffffc
mov dword [esp + 0x58], 0x7fff8
mov dword [esp + 0x5c], 0x3000
mov dword [esp + 0x60], 0x3000
mov dword [esp + 0x64], 0x3b000
mov dword [esp + 0x68], 0x3fb000
mov dword [esp + 0x6c], 0x3c3c00
mov dword [esp + 0x70], 0x3f00
mov dword [esp + 0x74], 0x3f80
mov dword [esp + 0x78], 0x77c0
mov dword [esp + 0x7c], 0xf7e0
mov dword [esp + 0x80], 0x1b7f0
mov dword [esp + 0x84], 0x3b7f0
mov dword [esp + 0x88], 0x7b7f8
mov dword [esp + 0x8c], 0xfb7f8
mov dword [esp + 0x90], 0x1ffc78
mov dword [esp + 0x94], 0xc7818
mov dword [esp + 0x98], 0xffffc
mov dword [esp + 0x9c], 0x7fff8
mov dword [esp + 0xa0], 0x38000
mov dword [esp + 0xa4], 0x3f8000
mov dword [esp + 0xa8], 0x3c0000
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0xc00
mov dword [esp + 0xb4], 0xf00
mov dword [esp + 0xb8], 0xf80
mov dword [esp + 0xbc], 0x47c0
mov dword [esp + 0xc0], 0xc7e0
mov dword [esp + 0xc4], 0x187f0
mov dword [esp + 0xc8], 0x387f0
mov dword [esp + 0xcc], 0x787f8
mov dword [esp + 0xd0], 0xf87f8
mov dword [esp + 0xd4], 0x1fcc78
mov dword [esp + 0xd8], 0xc4818
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0x38000
mov dword [esp + 0xf0], 0x3f8000
mov dword [esp + 0xf4], 0x3c0c00
mov dword [esp + 0xf8], 0xf00
mov dword [esp + 0xfc], 0xf80
mov dword [esp + 0x100], 0x47c0
mov dword [esp + 0x104], 0xc7e0
mov dword [esp + 0x108], 0x187f0
mov dword [esp + 0x10c], 0x387f0
mov dword [esp + 0x110], 0x787f8
mov dword [esp + 0x114], 0xf87f8
mov dword [esp + 0x118], 0x1fcc78
mov dword [esp + 0x11c], 0xc4818
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x10], ecx
xor ebx, ebx
test ebp, ebp
sete bl
lea ebx, [ebx*2 - 1]
add ebx, dword [edi + 0x10]
cmp ebx, 0xffffffe0
jl 0x4e9b24
mov ecx, dword [eax + 0xe54]
mov dword [esp + 0xc], ecx
cmp ebx, ecx
jge 0x4e9b24
xor edx, edx
lea ecx, [eax + 0x18]
push esi
cmp dword [ecx - 0x10], 1
jne 0x4e9aa1
cmp dword [ecx - 8], ebp
je 0x4e9aa1
mov esi, dword [ecx]
mov eax, esi
sub eax, ebx
jns 0x4e9a98
mov eax, ebx
sub eax, esi
cmp eax, 0x46
jb 0x4e9b1d
inc edx
add ecx, 0x24
cmp edx, 0x64
jb 0x4e9a81
xor ecx, ecx
test ebp, ebp
mov esi, dword [esp + 0x14]
setne al
movzx eax, al
push eax
mov eax, dword [esp + 0x14]
sub eax, ebx
shr eax, 4
add al, 0x32
movzx eax, al
push eax
mov eax, ebx
cdq
and edx, 7
add eax, edx
sar eax, 3
add al, 0x64
movzx eax, al
push 0x50
push eax
mov eax, ebx
cdq
push esi
and edx, 0x3f
add eax, edx
lea edx, [esp + 0xb8]
sar eax, 6
add eax, 0xa
push ebx
push 0x11
push eax
lea eax, [ecx + ecx*8]
lea eax, [edx + eax*8]
push eax
mov eax, ecx
shl eax, 4
add eax, ecx
lea ecx, [esp + 0x40]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x3c]
push eax
call fcn.004e9fe0
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebx
pop esi
jmp 0x4e9b2a
mov ecx, 1
jmp 0x4e9aac
mov dword [edi], 0
mov ecx, dword [esp + 0x130]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00502f8e
add esp, 0x128
ret 4