Function at 0x4a6b0c
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.004a6e40
test eax, eax
je 0x4a6b2c
jmp 0x4a6e2f
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x12c], 0
mov eax, dword [edx + 0xc]
shr eax, 9
cmp eax, 3
jl 0x4a6e36
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 0x4a6e36
mov eax, dword [esi + 4]
cmp eax, 0xe11ab1a1
jne 0x4a6e36
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.004a97d4
mov esi, dword [ebp + 0xc]
jmp 0x4a6c21
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.004a97d4
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 0x4a6c33
cmp dword [esi + 0x20], 0xffffffff
je 0x4a6c33
cmp dword [ebp - 8], 0x6d
jae 0x4a6bd9
mov edx, dword [esi + 0x1c]
xor ecx, ecx
cmp edx, 0xfffffffe
je 0x4a6c64
mov eax, edx
jmp 0x4a6c55
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.004a9804
cmp ecx, dword [esi + 0x28]
jae 0x4a6c64
cmp eax, 0xffffffff
je 0x4a6c64
cmp eax, 0xfffffffe
jne 0x4a6c41
or ecx, ecx
je 0x4a6ca3
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 0x4a6c8a
stosd dword es:[edi], eax
inc ecx
push dword [esi + 0x2c]
push eax
call fcn.004a9804
cmp ecx, dword [esi + 0x10]
jae 0x4a6c99
cmp eax, 0xffffffff
je 0x4a6c99
cmp eax, 0xfffffffe
jne 0x4a6c7f
or ecx, ecx
je 0x4a6ca3
mov dword [esi + 0xa8], ecx
mov edx, dword [esi + 0x18]
xor ecx, ecx
mov eax, edx
cmp ecx, dword [esi + 0x10]
jge 0x4a6cc8
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.004a9804
cmp eax, 0xfffffffe
jne 0x4a6caa
test ecx, ecx
je 0x4a6e2f
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.004a94b8
mov ebx, dword [esi + 0x44]
mov eax, dword [ebx]
mov dword [esi + 0xd8], eax
push dword [ebp + 0xc]
call fcn.004a8c2c
cmp dword [ebx + 4], 0
je 0x4a6da3
mov eax, dword [ebx + 4]
mov edx, 0x200
cmp eax, 0x1000
jae 0x4a6d24
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.004a9324
mov dword [esi + 0xe4], eax
push dword [ebp + 0xc]
call fcn.004a9300
cmp eax, 8
jb 0x4a6e36
mov esi, dword [ebp + 0xc]
mov dword [esi + 0xec], eax
push dword [ebp + 0xc]
call fcn.004a9824
push dword [ebp + 0xc]
call fcn.004a6ea8
push dword [ebp + 0xc]
call fcn.004a8ea8
mov esi, dword [ebp + 0xc]
test dword [esi + 0xb0], 0x100
jne 0x4a6e36
push dword [ebp + 0xc]
call fcn.004a7150
push dword [ebp + 0xc]
call fcn.004a6ee8
jmp 0x4a6e2f
cmp dword [ebx + 0x40], 0
je 0x4a6dc5
mov ebx, dword [ebp + 0xc]
mov dword [ebx + 8], 3
push dword [ebp + 0xc]
call fcn.0049d958
sub eax, 4
shl dword [eax], 1
mov dword [ebx + 0x48], eax
jmp 0x4a6e2f
cmp dword [ebx + 0x34], 0
je 0x4a6e2b
push 0
push dword [ebp + 0xc]
call fcn.0049b890
mov ebx, dword [ebp + 0xc]
test dword [ebx + 0xb0], 0x100
je 0x4a6de6
jmp 0x4a6e36
mov dword [ebx + 8], 2
mov eax, dword [ebx + 0xc8]
or eax, eax
je 0x4a6e2f
mov esi, dword [ebx + 0xd4]
mov dword [ebx + 0x48], esi
mov edi, dword [ebx + 0xd0]
mov ebx, eax
jmp 0x4a6e25
mov eax, dword [edi]
or eax, eax
je 0x4a6e1c
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 0x4a6e0a
jmp 0x4a6e2f
xor eax, eax
xor dword [eax], eax
xor eax, eax
pop edx
leave
ret 8
mov eax, 1
pop edx
leave
ret 8