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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov ebx, dword [ecx + 0x14]
mov dword [ebp - 0x14], ecx
mov eax, dword [ecx + 0x1c]
lea ecx, [eax + 4]
test eax, eax
cmove ecx, eax
test ebx, ebx
je 0x4e6c15
lea eax, [ebx*4]
mov dword [ebp - 0x10], eax
xor esi, esi
mov edi, ecx
mov ecx, dword [ecx + esi]
call fcn.004e44b0
mov ecx, edi
add ebx, eax
or eax, 1
bsr eax, eax
lea edi, [eax + eax*8]
add edi, 0x49
shr edi, 6
add edi, ebx
add esi, 4
mov ebx, edi
cmp dword [ebp - 0x10], esi
jne 0x4e6bea
jmp 0x4e6c17
xor edi, edi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x2c]
add edi, ecx
lea edx, [eax + 4]
test eax, eax
cmove edx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x4e6c62
shl dword [ebp - 0x10], 2
xor esi, esi
mov ecx, dword [edx + esi]
mov ebx, edx
call fcn.004e2ee0
mov edx, ebx
add edi, eax
or eax, 1
bsr eax, eax
lea ebx, [eax + eax*8]
add ebx, 0x49
shr ebx, 6
add ebx, edi
add esi, 4
mov edi, ebx
cmp dword [ebp - 0x10], esi
jne 0x4e6c37
jmp 0x4e6c64
mov ebx, edi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x34]
mov eax, dword [eax + 0x3c]
add ebx, ecx
lea edx, [eax + 4]
test eax, eax
cmove edx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x4e6caf
shl dword [ebp - 0x10], 2
xor esi, esi
mov ecx, dword [edx + esi]
mov edi, edx
call fcn.004e4ed0
mov edx, edi
add ebx, eax
or eax, 1
bsr eax, eax
lea edi, [eax + eax*8]
add edi, 0x49
shr edi, 6
add edi, ebx
add esi, 4
mov ebx, edi
cmp dword [ebp - 0x10], esi
jne 0x4e6c84
jmp 0x4e6cb1
mov edi, ebx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x44]
mov eax, dword [eax + 0x4c]
add edi, ecx
lea ebx, [eax + 4]
test eax, eax
cmove ebx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x4e6cf8
shl dword [ebp - 0x10], 2
xor esi, esi
mov ecx, dword [ebx + esi]
call fcn.004e4a60
add edi, eax
or eax, 1
bsr eax, eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, edi
add esi, 4
mov edi, eax
cmp dword [ebp - 0x10], esi
jne 0x4e6cd1
jmp 0x4e6cfa
mov eax, edi
mov ecx, dword [ebp - 0x14]
mov edi, dword [ecx + 0x50]
test edi, edi
je 0x4e6d31
mov edx, dword [ecx + 0x58]
xor ecx, ecx
xor esi, esi
mov ebx, dword [edx + esi*4]
test ebx, ebx
js 0x4e6d23
or ebx, 1
bsr ebx, ebx
lea ebx, [ebx + ebx*8]
add ebx, 0x49
shr ebx, 6
jmp 0x4e6d28
mov ebx, 0xa
add ecx, ebx
inc esi
cmp edi, esi
jne 0x4e6d0b
jmp 0x4e6d33
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov ebx, dword [edx + 0x60]
add edi, eax
mov eax, dword [edx + 0x68]
add edi, ecx
add edi, ebx
lea esi, [eax + 4]
test eax, eax
cmove esi, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x4e6d7e
shl dword [ebp - 0x10], 2
xor ebx, ebx
mov ecx, dword [esi + ebx]
call fcn.004e5530
add edi, eax
or eax, 1
bsr eax, eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, edi
add ebx, 4
mov edi, eax
cmp dword [ebp - 0x10], ebx
jne 0x4e6d57
jmp 0x4e6d80
mov eax, edi
mov edi, dword [ebp - 0x14]
mov ecx, dword [edi + 8]
test cl, 0x1f
je 0x4e6e72
test cl, 1
je 0x4e6db6
mov esi, dword [edi + 0x6c]
movzx edx, byte [esi + 0xb]
test dl, dl
jns 0x4e6da2
mov edx, dword [esi + 4]
add eax, edx
or edx, 1
bsr edx, edx
lea edx, [edx + edx*8]
add edx, 0x49
shr edx, 6
add eax, edx
inc eax
test cl, 2
je 0x4e6e0e
mov esi, dword [edi + 0x70]
mov ebx, dword [esi + 4]
mov edx, dword [esi + 8]
add edx, edx
and edx, 2
test bl, 1
jne 0x4e6dd3
mov edi, dword [ebp - 0x14]
jmp 0x4e6df7
and ebx, 0xfffffffe
mov dword [ebp - 0x18], ebx
movzx ebx, byte [ebx + 0xf]
mov dword [ebp - 0x10], ebx
test bl, bl
js 0x4e6dec
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
jmp 0x4e6df5
mov edi, dword [ebp - 0x18]
mov ebx, dword [edi + 8]
mov edi, dword [ebp - 0x14]
add edx, ebx
mov dword [esi + 0xc], edx
add eax, edx
or edx, 1
bsr edx, edx
lea edx, [edx + edx*8]
add edx, 0x49
shr edx, 6
add eax, edx
inc eax
test cl, 4
je 0x4e6e28
mov edx, dword [edi + 0x74]
or edx, 1
bsr edx, edx
lea edx, [edx + edx*8]
add edx, 0x49
shr edx, 6
add eax, edx
inc eax
test cl, 8
je 0x4e6e4d
mov edx, dword [edi + 0x78]
test edx, edx
js 0x4e6e46
or edx, 1
bsr edx, edx
lea edx, [edx + edx*8]
add edx, 0x49
shr edx, 6
inc edx
jmp 0x4e6e4b
mov edx, 0xb
add eax, edx
test cl, 0x10
je 0x4e6e72
mov ecx, dword [edi + 0x7c]
test ecx, ecx
js 0x4e6e6b
or ecx, 1
bsr ecx, ecx
lea ecx, [ecx + ecx*8]
add ecx, 0x49
shr ecx, 6
inc ecx
jmp 0x4e6e70
mov ecx, 0xb
add eax, ecx
mov ecx, dword [edi + 4]
test cl, 1
je 0x4e6e8a
and ecx, 0xfffffffe
movzx edx, byte [ecx + 0xf]
test dl, dl
jns 0x4e6e88
mov edx, dword [ecx + 8]
add eax, edx
mov dword [edi + 0xc], eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret