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

Disassembly:
sub esp, 0x58
push ebx
push ebp
xor ebp, ebp
push esi
push edi
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
mov edi, ebp
mov ebx, ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x68], ebp
call fcn.10008aeb
push eax
call fcn.10034e6e
test eax, eax
jne 0x1001486f
push 0x14
pop esi
cmp dword [esp + 0x74], esi
jg 0x1001457d
mov esi, dword [esp + 0x74]
cmp dword [esp + 0x7c], 1
jne 0x100145e6
mov ecx, dword [esp + 0x6c]
test ecx, ecx
jne 0x10014590
mov eax, ebp
jmp 0x10014595
mov eax, dword [ecx - 4]
shr eax, 1
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x18]
push edx
push dword [esp + 0x80]
push eax
push ecx
call fcn.100149fd
mov dword [esp + 0x30], eax
mov ebp, eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x100145c3
xor ecx, ecx
jmp 0x100145c8
mov ecx, dword [eax - 4]
shr ecx, 1
push 0
push 0
push dword [esp + 0x80]
push ecx
push eax
call fcn.100149fd
mov ebx, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x70], ebx
jmp 0x100145f2
mov ebp, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x7c], ebp
test ebp, ebp
jne 0x100145fc
and dword [esp + 0x78], edi
jmp 0x10014605
mov eax, dword [ebp - 4]
shr eax, 1
mov dword [esp + 0x78], eax
test ebx, ebx
jne 0x1001460d
xor ebp, ebp
jmp 0x10014612
mov ebp, dword [ebx - 4]
shr ebp, 1
mov eax, esi
shl eax, 3
push eax
mov dword [esp + 0x28], ebp
call dword [sym.imp.msvcr100.dll_malloc]
pop ecx
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10014632
push 7
call fcn.1000c0de
cmp dword [esp + 0x74], edi
jle 0x100146be
mov ecx, edi
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
sub edx, ecx
lea ecx, [eax + ecx*2]
movzx eax, word [ebx]
mov dword [esp + 0x28], eax
mov eax, edx
sub eax, ebp
inc eax
lea eax, [ecx + eax*2]
mov dword [esp + 0x3c], eax
test ebp, ebp
je 0x100146b7
cmp edx, ebp
jb 0x100146b7
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x7c]
lea edx, [ebx + ebp*2]
mov ebp, dword [esp + 0x24]
cmp edx, eax
jae 0x100146b7
sub eax, ecx
sar eax, 1
push eax
push dword [esp + 0x2c]
push ecx
call sym.EXPSRV.dll___vbaInStr
mov ebx, eax
test ebx, ebx
je 0x100146b7
lea ecx, [ebp - 1]
push ecx
mov ecx, dword [esp + 0x74]
add ecx, 2
lea edx, [ebx + 2]
push ecx
push edx
mov dword [esp + 0x44], edx
call sym.EXPSRV.dll___vbaInStr
test eax, eax
je 0x100146f7
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
cmp ecx, eax
jb 0x10014679
cmp edi, dword [esp + 0x74]
jge 0x100146be
inc edi
mov eax, edi
call sym.EXPSRV.dll___vbaInStr
mov ecx, dword [esp + 0x10]
mov ebx, eax
mov eax, dword [ebx + 0xc]
xor esi, esi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
test edi, edi
jle 0x1001482f
mov ebx, dword [esp + 0x6c]
lea ebp, [edi - 1]
cmp esi, ebp
jge 0x100147e1
mov eax, dword [ecx + esi*8]
jmp 0x100147ee
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x7c]
lea eax, [ecx + edx*2]
sub ebx, eax
sar ebx, 1
lea eax, [ebx + edx]
push eax
push dword [esp + 0x20]
mov dword [esp + 0x30], eax
push dword [esp + 0x28]
push dword [esp + 0x20]
call sym.EXPSRV.dll___vbaInStr
test eax, eax
jne 0x100147c5
mov ecx, dword [esp + 0x18]
lea eax, [ebx + ebp]
add ecx, eax
lea ebx, [ecx - 1]
push ebx
push dword [esp + 0x20]
mov dword [esp + 0x20], ecx
push dword [esp + 0x28]
push dword [esp + 0x20]
call sym.EXPSRV.dll___vbaInStr
test eax, eax
jne 0x100147c5
cmp edi, esi
jl 0x1001477d
add esi, 0x14
cmp esi, dword [esp + 0x74]
jl 0x1001475e
mov esi, dword [esp + 0x74]
cmp esi, 0x1fffffff
jbe 0x1001476d
push 7
call fcn.1000c0de
mov eax, esi
shl eax, 3
push eax
lea eax, [esp + 0x14]
push eax
call fcn.10014cfd
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x2c]
push eax
push dword [esp + 0x24]
push dword [esp + 0x2c]
push dword [esp + 0x24]
call sym.EXPSRV.dll___vbaInStr
mov ecx, dword [esp + 0x10]
mov dword [ecx + edi*8], eax
lea eax, [esp + 0x1c]
push eax
push ebx
push dword [esp + 0x24]
push dword [esp + 0x2c]
push dword [esp + 0x24]
call sym.EXPSRV.dll___vbaInStr
mov ecx, dword [esp + 0x10]
mov dword [ecx + edi*8 + 4], eax
mov ecx, dword [esp + 0x18]
inc edi
jmp 0x100147ce
mov ecx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x18], ecx
cmp edi, dword [esp + 0x74]
jge 0x100146be
mov ebx, dword [esp + 0x70]
jmp 0x1001463e
test ebx, ebx
jne 0x100147e9
xor eax, eax
jmp 0x100147ee
mov eax, dword [ebx - 4]
shr eax, 1
mov ecx, dword [esp + 0x2c]
sub eax, ecx
push eax
lea eax, [ebx + ecx*2]
push eax
call dword [sym.imp.oleaut32.dll_SysReAllocStringLen]
mov ecx, dword [esp + 0x74]
mov dword [ecx + esi*4], eax
test eax, eax
jne 0x10014811
push 0xe
call fcn.1000c0de
mov ecx, dword [esp + 0x10]
cmp esi, ebp
jge 0x10014822
mov eax, dword [ecx + esi*8 + 4]
inc eax
mov dword [esp + 0x2c], eax
inc esi
cmp esi, edi
jl 0x100146e7
mov ebx, dword [esp + 0x70]
mov esi, dword [sym.imp.msvcr100.dll_free]
push ecx
call esi
cmp dword [esp + 0x18], 0
pop ecx
je 0x10014847
push dword [esp + 0x14]
call esi
pop ecx
mov eax, dword [esp + 0x30]
mov esi, dword [sym.imp.oleaut32.dll_SysStringLen]
test eax, eax
je 0x10014858
push eax
call esi
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10014863
push eax
call esi
lea eax, [esp + 0x40]
push eax
call fcn.10008b00
jmp 0x1001489e
mov esi, dword [sym.imp.msvcr100.dll_free]
cmp dword [esp + 0x10], ebx
je 0x10014882
push dword [esp + 0x10]
call esi
pop ecx
cmp dword [esp + 0x14], ebx
je 0x1001488f
push dword [esp + 0x14]
call esi
pop ecx
lea eax, [esp + 0x40]
push eax
call fcn.10008b00
call fcn.10008b2d
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x58
ret 0x14