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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push edx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], 0x1b4
push ebx
call fcn.004a71f0
test eax, eax
je 0x4a6edc
jmp 0x4a71df
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x12c], 0
mov eax, dword [edx + 0xc]
shr eax, 9
cmp eax, 3
jl 0x4a71e6
mov dword [edx + 8], 1
inc eax
mov dword [edx + 0x10], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi]
cmp eax, 0xe011cfd0
jne 0x4a71e6
mov eax, dword [esi + 4]
cmp eax, 0xe11ab1a1
jne 0x4a71e6
mov eax, dword [esi + 0x2c]
mov dword [edx + 0x14], eax
mov eax, dword [esi + 0x30]
mov dword [edx + 0x18], eax
mov eax, dword [esi + 0x3c]
mov dword [edx + 0x1c], eax
mov eax, dword [esi + 0x44]
mov dword [edx + 0x20], eax
mov eax, dword [edx + 0x18]
inc eax
shl eax, 9
mov ebx, dword [eax + esi + 0x74]
mov dword [edx + 0x24], ebx
mov eax, dword [eax + esi + 0x78]
shr eax, 6
mov dword [edx + 0x28], eax
mov eax, dword [edx + 4]
mov dword [edx + 0x2c], eax
mov ebx, dword [edx + 0x14]
shl ebx, 2
add eax, ebx
mov dword [edx + 4], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 8], eax
mov edx, 0x6d
sub eax, edx
sbb ecx, ecx
and eax, ecx
add eax, edx
mov edx, dword [ebp + 0xc]
push edx
push 0x4c
push dword [edx + 0x2c]
push eax
call fcn.004a9b84
mov esi, dword [ebp + 0xc]
jmp 0x4a6fd1
mov eax, dword [esi + 0x20]
inc eax
shl eax, 9
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 8]
mov edx, 0x7f
sub eax, edx
sbb ecx, ecx
and eax, ecx
add eax, edx
mov edx, eax
mov eax, dword [esi + 0x2c]
add eax, dword [ebp - 4]
push esi
push dword [esi + 0x38]
push eax
push edx
call fcn.004a9b84
mov eax, 0x1fc
add eax, dword [esi + 0x38]
add eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esi + 0x20], eax
add dword [ebp - 4], 0x1fc
sub dword [ebp - 8], 0x7f
cmp dword [esi + 0x20], 0xfffffffe
je 0x4a6fe3
cmp dword [esi + 0x20], 0xffffffff
je 0x4a6fe3
cmp dword [ebp - 8], 0x6d
jae 0x4a6f89
mov edx, dword [esi + 0x1c]
xor ecx, ecx
cmp edx, 0xfffffffe
je 0x4a7014
mov eax, edx
jmp 0x4a7005
mov edx, eax
inc eax
shl eax, 9
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
inc ecx
push dword [esi + 0x2c]
push edx
call fcn.004a9bb4
cmp ecx, dword [esi + 0x28]
jae 0x4a7014
cmp eax, 0xffffffff
je 0x4a7014
cmp eax, 0xfffffffe
jne 0x4a6ff1
or ecx, ecx
je 0x4a7053
mov eax, edi
shl ecx, 2
sub eax, ecx
mov dword [esi + 0x30], eax
mov dword [esi + 0xac], edi
mov eax, dword [esi + 0x24]
xor ecx, ecx
jmp 0x4a703a
stosd dword es:[edi], eax
inc ecx
push dword [esi + 0x2c]
push eax
call fcn.004a9bb4
cmp ecx, dword [esi + 0x10]
jae 0x4a7049
cmp eax, 0xffffffff
je 0x4a7049
cmp eax, 0xfffffffe
jne 0x4a702f
or ecx, ecx
je 0x4a7053
mov dword [esi + 0xa8], ecx
mov edx, dword [esi + 0x18]
xor ecx, ecx
mov eax, edx
cmp ecx, dword [esi + 0x10]
jge 0x4a7078
mov edx, eax
inc eax
shl eax, 9
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
inc ecx
push dword [esi + 0x2c]
push edx
call fcn.004a9bb4
cmp eax, 0xfffffffe
jne 0x4a705a
test ecx, ecx
je 0x4a71df
mov dword [esi + 0x3c], ecx
mov dword [esi + 4], edi
mov eax, edi
shl ecx, 2
sub eax, ecx
mov dword [esi + 0x34], eax
mov dword [esi + 0x44], edi
add edi, 0x78
mov dword [esi + 4], edi
push esi
push dword [esi + 0x3c]
push eax
call fcn.004a9868
mov ebx, dword [esi + 0x44]
mov eax, dword [ebx]
mov dword [esi + 0xd8], eax
push dword [ebp + 0xc]
call fcn.004a8fdc
cmp dword [ebx + 4], 0
je 0x4a7153
mov eax, dword [ebx + 4]
mov edx, 0x200
cmp eax, 0x1000
jae 0x4a70d4
mov edx, 0x40
mov esi, dword [ebp + 0xc]
push dword [ebp + 0xc]
push dword [esi + 0xb4]
push edx
push 0x300
push 0
push dword [esi + 0xd8]
call fcn.004a96d4
mov dword [esi + 0xe4], eax
push dword [ebp + 0xc]
call fcn.004a96b0
cmp eax, 8
jb 0x4a71e6
mov esi, dword [ebp + 0xc]
mov dword [esi + 0xec], eax
push dword [ebp + 0xc]
call fcn.004a9bd4
push dword [ebp + 0xc]
call fcn.004a7258
push dword [ebp + 0xc]
call fcn.004a9258
mov esi, dword [ebp + 0xc]
test dword [esi + 0xb0], 0x100
jne 0x4a71e6
push dword [ebp + 0xc]
call fcn.004a7500
push dword [ebp + 0xc]
call fcn.004a7298
jmp 0x4a71df
cmp dword [ebx + 0x40], 0
je 0x4a7175
mov ebx, dword [ebp + 0xc]
mov dword [ebx + 8], 3
push dword [ebp + 0xc]
call fcn.0049dd08
sub eax, 4
shl dword [eax], 1
mov dword [ebx + 0x48], eax
jmp 0x4a71df
cmp dword [ebx + 0x34], 0
je 0x4a71db
push 0
push dword [ebp + 0xc]
call fcn.0049bc40
mov ebx, dword [ebp + 0xc]
test dword [ebx + 0xb0], 0x100
je 0x4a7196
jmp 0x4a71e6
mov dword [ebx + 8], 2
mov eax, dword [ebx + 0xc8]
or eax, eax
je 0x4a71df
mov esi, dword [ebx + 0xd4]
mov dword [ebx + 0x48], esi
mov edi, dword [ebx + 0xd0]
mov ebx, eax
jmp 0x4a71d5
mov eax, dword [edi]
or eax, eax
je 0x4a71cc
mov ecx, dword [eax - 4]
shr ecx, 1
push ecx
push eax
call sub.OLEAUT32.dll_SysReAllocStringLen
mov dword [esi], eax
add esi, 0xc
add edi, 4
dec ebx
or ebx, ebx
jne 0x4a71ba
jmp 0x4a71df
xor eax, eax
xor dword [eax], eax
xor eax, eax
pop edx
leave
ret 8
mov eax, 1
pop edx
leave
ret 8