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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x1030118]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0x418], 0x80004005
test edi, edi
jne 0x100a0cb
mov eax, dword [section..data]
cmp eax, section..data
je 0x100a0bc
test byte [eax + 0x1c], 1
je 0x100a0bc
push 0x1001e68
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010054b7
mov dword [ebp - 0x418], 0x80070057
jmp 0x100a3b3
cmp dword [ebx + 0x28], 0
je 0x100a102
mov eax, dword [section..data]
cmp eax, section..data
je 0x100a3b3
test byte [eax + 0x1c], 1
je 0x100a3b3
push 0x1001e68
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010054b7
jmp 0x100a3b3
mov esi, 0x104
push esi
lea ecx, [ebp - 0x20c]
lea eax, [ebx + 4]
push ecx
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x100a140
mov eax, dword [section..data]
cmp eax, section..data
je 0x100a3b3
test byte [eax + 0x1c], 1
je 0x100a3b3
push 0x1001e68
push 0xe
jmp 0x100a0f2
push dword [ebx]
lea eax, [ebp - 0x20c]
push eax
push edi
push 0x1001e78
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.01005835
add esp, 0x18
mov dword [ebp - 0x418], eax
test eax, eax
jge 0x100a197
mov eax, dword [section..data]
cmp eax, section..data
je 0x100a3aa
test byte [eax + 0x1c], 1
je 0x100a3aa
movzx ecx, word [ebp - 0x418]
push ecx
push 0x1001e68
push 0xf
jmp 0x100a2fb
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x100a1a0
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 2]
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], ecx
lea edx, [eax + 2]
mov si, word [eax]
inc eax
inc eax
test si, si
jne 0x100a1c1
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
lea esi, [eax + ecx + 0x78]
push esi
push 8
mov dword [ebp - 0x41c], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebx + 0x28], eax
test eax, eax
jne 0x100a227
mov eax, dword [section..data]
cmp eax, section..data
je 0x100a218
test byte [eax + 0x1c], 1
je 0x100a218
push 0x1001e68
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010054b7
mov dword [ebp - 0x418], 0x80004005
jmp 0x100a3b3
mov dword [eax], esi
mov eax, dword [ebx + 0x28]
mov dword [eax + 0x2c], 0x20000
mov edi, dword [ebx + 0x28]
mov ecx, dword [ebp + 0xc]
add edi, 0x18
lea esi, [ebx + 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x28]
mov edi, dword [ebp - 0x418]
mov dword [eax + 0x40], 0x20802
mov eax, dword [ebx + 0x28]
mov dword [eax + 0x3c], ecx
mov ecx, dword [ebx + 0x28]
push 0x78
pop eax
mov dword [ecx + 0x70], eax
mov edx, dword [ebx + 0x28]
lea ecx, [edi + 0x78]
mov dword [edx + 0x6c], ecx
mov esi, dword [ebx + 0x28]
add esi, eax
lea eax, [ebp - 0x20c]
push eax
push edi
push esi
call fcn.0100671e
mov dword [ebp - 0x418], eax
test eax, eax
jge 0x100a2b3
mov eax, dword [section..data]
cmp eax, section..data
je 0x100a3aa
test byte [eax + 0x1c], 1
je 0x100a3aa
movzx ecx, word [ebp - 0x418]
push ecx
push 0x1001e68
push 0x11
jmp 0x100a2fb
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x41c]
add edi, esi
push edi
call fcn.0100671e
mov dword [ebp - 0x418], eax
test eax, eax
jge 0x100a30b
mov eax, dword [section..data]
cmp eax, section..data
je 0x100a3aa
test byte [eax + 0x1c], 1
je 0x100a3aa
movzx ecx, word [ebp - 0x418]
push ecx
push 0x1001e68
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010062be
jmp 0x100a3aa
push dword [ebx + 0x28]
lea eax, [ebp - 0x20c]
push eax
lea esi, [ebx + 0x20]
push esi
call dword [sym.imp.ADVAPI32.dll_StartTraceW]
test eax, eax
je 0x100a360
mov eax, dword [section..data]
cmp eax, section..data
je 0x100a218
test byte [eax + 0x1c], 1
je 0x100a218
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1001e68
push 0x13
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010062be
jmp 0x100a218
push dword [esi + 4]
lea eax, [ebx + 4]
push dword [esi]
push eax
push 0xf
push 0
push 1
call dword [sym.imp.ADVAPI32.dll_EnableTrace]
test eax, eax
je 0x100a3a3
mov eax, dword [section..data]
cmp eax, section..data
je 0x100a218
test byte [eax + 0x1c], 1
je 0x100a218
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1001e68
push 0x14
jmp 0x100a34b
and dword [ebp - 0x418], 0
cmp dword [ebp - 0x418], 0
jge 0x100a3ce
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x100a3ce
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
and dword [ebx + 0x28], 0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x418]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0101bc5d
leave
ret 8