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

Disassembly:
push 0xffffffffffffffff
push 0x68c2cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
mov eax, dword [esp + 0x13c]
mov dword [esp + 8], ecx
push ebx
push ebp
mov ecx, dword [eax + 0x30]
mov eax, 0x66666667
push esi
mov esi, dword [0x8186f4]
mov edx, dword [ecx + 0x38]
push edi
imul edx
sar edx, 2
mov eax, edx
xor edi, edi
shr eax, 0x1f
add edx, eax
mov eax, 0x10624dd3
mov ebp, edx
mul dword [ecx + 0x74]
shr edx, 6
xor ebx, ebx
lea eax, [edx + edx*4]
lea edx, [esp + 0x34]
push edx
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
lea eax, [esp + 0x30]
shl ecx, 3
mov dword [esp + 0x38], ecx
push eax
lea ecx, [esi + 0x14]
call fcn.004532a0
mov esi, dword [esi + 0x18]
mov eax, dword [esp + 0x2c]
cmp eax, esi
jne 0x4e008b
mov dword [esp + 0x10], ebx
jmp 0x4e00fc
add eax, 0x10
test eax, eax
mov dword [esp + 0x10], eax
je 0x4e00fc
mov ecx, eax
mov cl, byte [ecx + 4]
cmp cl, 0x18
jae 0x4e00fc
mov edx, dword [esp + 0x14c]
mov esi, 0x3e8
and ecx, 0xff
mov eax, dword [edx + 0x30]
xor edx, edx
mov eax, dword [eax + 0x74]
div esi
mov esi, dword [ecx*4 + 0x8186f8]
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esi + 0x14]
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x34]
push edx
call fcn.00453310
mov esi, dword [esi + 0x18]
mov edi, dword [esp + 0x30]
cmp edi, esi
jne 0x4e00e8
xor edi, edi
jmp 0x4e00fc
add edi, 0x10
test edi, edi
je 0x4e00fc
mov eax, 0x55e63b89
mul dword [edi + 0x14]
mov ebx, edx
shr ebx, 0x19
mov eax, dword [esp + 0x14c]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + 0x8c]
test edx, edx
je 0x4e02f2
mov esi, dword [eax + 0x90]
cmp esi, 1
je 0x4e02f2
cmp ebx, 2
je 0x4e02f2
cmp ebx, 3
jne 0x4e0146
mov cl, byte [edi + 0x34]
cmp cl, 4
je 0x4e02f2
cmp cl, 6
je 0x4e02f2
mov ecx, dword [eax + 0x38]
test ecx, ecx
je 0x4e016e
cmp edx, 2
jne 0x4e0156
cmp esi, edx
je 0x4e016e
cmp ebp, 0xb
je 0x4e016e
cmp ebp, 0xc
je 0x4e016e
cmp ebp, 0xd
je 0x4e016e
cmp ebp, 0xe
jne 0x4e02f2
mov edx, dword [eax + 0x74]
test edx, edx
ja 0x4e0181
cmp edx, 0x16972c30
jne 0x4e02f2
mov esi, dword [esp + 0x18]
xor ebx, ebx
mov ecx, dword [esi + 0xf8]
shl ecx, 5
lea ecx, [ecx + esi + 0xfc]
mov eax, dword [ecx]
xor ebp, ebp
cmp eax, ebp
je 0x4e01aa
mov edi, dword [esp + 0x14c]
cmp eax, edi
je 0x4e01b8
inc ebx
add ecx, 4
cmp ebx, 8
jl 0x4e0197
jmp 0x4e02f2
cmp ebx, 0xffffffff
je 0x4e02f2
cmp edx, 0x16972c30
je 0x4e02f2
mov ecx, dword [esi + ebx*4 + 0x21c]
mov al, byte [ecx + 0xa0]
test al, al
jne 0x4e01e5
mov edx, dword [ecx]
push 1
call dword [edx + 0x3c]
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x4e0215
cmp byte [eax + 0x40], 0xff
jne 0x4e0215
mov eax, dword [edi + 0x30]
mov edx, dword [0x8189b8]
mov ecx, dword [eax + 0x74]
push ecx
mov ecx, dword [edx + 0x3c]
call fcn.004a4b90
push eax
lea eax, [esp + 0x40]
push 0x6d3a54
push eax
jmp 0x4e0234
mov ecx, dword [edi + 0x30]
mov eax, dword [0x8189b8]
mov edx, dword [ecx + 0x74]
mov ecx, dword [eax + 0x3c]
push edx
call fcn.004a29e0
push eax
lea ecx, [esp + 0x40]
push 0x6d3a54
push ecx
call fcn.0067429f
lea edi, [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov dl, byte [esp + 0x17]
mov dword [esp + 0x20], ebp
not ecx
dec ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov ebp, ecx
push 1
push ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x24], dl
call fcn.00403350
test al, al
je 0x4e0294
mov edi, dword [esp + 0x20]
mov ecx, ebp
mov eax, ecx
lea esi, [esp + 0x3c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], ebp
mov byte [ecx + ebp], 0
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x148], 0
mov ecx, dword [esi + ebx*4 + 0x21c]
mov edx, dword [ecx]
call dword [edx + 0x78]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x144], 0xffffffff
test eax, eax
je 0x4e02e4
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4e02db
cmp al, 0xff
je 0x4e02db
dec al
mov byte [ecx], al
jmp 0x4e02e4
push ecx
call fcn.006713a0
add esp, 4
mov ebx, dword [esi + ebx*4 + 0x21c]
mov ecx, ebx
mov edx, dword [ebx]
call dword [edx + 0x58]
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x138
ret 4