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

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
push edi
push dword [esp + 0x78]
call fcn.1000d09b
push dword [esp + 0x7c]
movzx eax, ax
mov dword [esp + 0x28], eax
call fcn.1000d09b
push dword [esp + 0x68]
movzx eax, ax
mov dword [esp + 0x18], eax
call fcn.1000d09b
push dword [esp + 0x64]
movzx ebp, ax
lea eax, [esp + 0x34]
xor ebx, ebx
push eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x18], ebx
call sym.EXPSRV.dll___vbaInStr
mov edi, dword [sym.imp.oleaut32.dll_SysStringLen]
mov esi, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x64], eax
test bp, bp
je 0x1001872f
mov ebp, ebx
mov dword [esp + 0x18], ebx
jmp 0x10018767
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x70]
lea eax, [esp + 0x3c]
push eax
call fcn.100197d4
mov ebp, eax
test ebp, ebp
jns 0x1001875b
push esi
call edi
lea eax, [esp + 0x40]
push eax
push ebp
call fcn.1000c8ad
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
push dword [esp + 0x6c]
call fcn.1000d09b
test ax, ax
je 0x1001877f
mov dword [esp + 0x68], ebx
mov dword [esp + 0x1c], ebx
jmp 0x100187c3
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x74]
lea eax, [esp + 0x3c]
push eax
call fcn.100197d4
mov dword [esp + 0x68], eax
test eax, eax
jns 0x100187b3
push esi
call edi
push ebp
call edi
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x6c]
call fcn.1000c8ad
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x68], eax
push dword [esp + 0x70]
xor eax, eax
mov word [esp + 0x34], ax
call fcn.1000d09b
test ax, ax
je 0x100187e2
mov dword [esp + 0x70], SysReAllocString
jmp 0x10018831
lea eax, [esp + 0x40]
push eax
push 2
push dword [esp + 0x78]
lea eax, [esp + 0x3c]
push eax
call fcn.1000ef4f
mov dword [esp + 0x6c], eax
test eax, eax
jns 0x10018819
push esi
call edi
push ebp
call edi
push dword [esp + 0x68]
call edi
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x70]
call fcn.1000c8ad
movsx eax, word [esp + 0x38]
mov dword [esp + 0x70], eax
cmp eax, 0x80000000
jne 0x10018831
mov dword [esp + 0x70], SysReAllocString
push dword [esp + 0x74]
call fcn.1000d09b
test ax, ax
je 0x10018849
mov dword [esp + 0x6c], SysReAllocString
jmp 0x10018898
lea eax, [esp + 0x40]
push eax
push 2
push dword [esp + 0x7c]
lea eax, [esp + 0x3c]
push eax
call fcn.1000ef4f
mov dword [esp + 0x6c], eax
test eax, eax
jns 0x10018880
push esi
call edi
push ebp
call edi
push dword [esp + 0x68]
call edi
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x70]
call fcn.1000c8ad
movsx eax, word [esp + 0x38]
mov dword [esp + 0x6c], eax
cmp eax, 0x80000000
jne 0x10018898
mov dword [esp + 0x6c], SysReAllocString
cmp word [esp + 0x24], bx
je 0x100188b3
cmp word [esp + 0x14], bx
je 0x10018950
mov ecx, ebx
mov eax, ebx
jmp 0x1001896f
cmp word [esp + 0x14], bx
jne 0x10018950
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x80]
lea eax, [esp + 0x3c]
push eax
call fcn.100197d4
mov ebx, eax
test ebx, ebx
jns 0x100188f6
push esi
call edi
push ebp
call edi
push dword [esp + 0x68]
call edi
lea eax, [esp + 0x40]
push eax
push ebx
call fcn.1000c8ad
mov eax, dword [esp + 0x38]
mov dword [esp + 0x24], eax
xor eax, eax
mov word [esp + 0x30], ax
lea eax, [esp + 0x40]
push eax
push 3
push dword [esp + 0x84]
lea eax, [esp + 0x3c]
push eax
call fcn.1000ef4f
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x78], eax
test eax, eax
jns 0x10018946
push esi
call edi
push ebp
call edi
push dword [esp + 0x68]
call edi
push ebx
call edi
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x7c]
call fcn.1000c8ad
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
jmp 0x1001896f
push esi
call edi
push ebp
call edi
push dword [esp + 0x68]
call edi
push 5
call fcn.1000c0de
mov ebx, dword [esp + 0x74]
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x64], 0
jne 0x1001897e
lea edx, [esp + 0x10]
mov dword [esp + 0x64], edx
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x10018991
cmp word [esp + 0x28], si
jne 0x10018991
lea esi, [esp + 0x10]
mov edx, dword [esp + 0x1c]
test edx, edx
jne 0x1001899d
lea edx, [esp + 0x10]
push eax
mov eax, dword [0x10043900]
push ecx
push dword [esp + 0x74]
push dword [esp + 0x7c]
push edx
push esi
push dword [esp + 0x7c]
call dword [eax + 8]
push dword [esp + 0x2c]
mov esi, eax
call edi
push ebp
call edi
push dword [esp + 0x68]
call edi
push ebx
call edi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x1c