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

Disassembly:
sub esp, 0x150
mov eax, dword [0x1023904c]
xor eax, esp
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x154]
push ebx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x15c]
mov ebx, ecx
mov ecx, dword [ebx + 0x84]
push ebp
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x164]
xor ebp, ebp
mov dword [eax], ebp
mov dword [esp + 0x34], ecx
mov ecx, dword [ebx + 0x5ec]
mov dword [esp + 0x4c], eax
xor eax, eax
push esi
push edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x40], ecx
mov dword [esp + 0x30], eax
test ecx, ecx
jne 0x10131c3f
push dword [esp + 0x10]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [esp + 0x14]
call esi
mov eax, ebp
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10001e57
add esp, 0x150
ret 0xc
mov edi, dword [sym.imp.OLEAUT32.dll_SysAllocStringLen]
lea esi, [eax*4]
mov eax, dword [ebx + 0x5fc]
push dword [esi + eax]
lea eax, [esp + 0x14]
xor ebp, ebp
push eax
mov dword [esp + 0x24], ebp
call edi
test eax, eax
je 0x10131c7a
mov eax, dword [ebx + 0x60c]
push dword [esi + eax]
lea eax, [esp + 0x18]
push eax
call edi
test eax, eax
jne 0x10131c95
push dword [esp + 0x10]
mov ebp, 0x8007000e
mov dword [esp + 0x20], ebp
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x10], 0
test ebp, ebp
js 0x1008b400
cmp dword [esp + 0x14], 0
je 0x10131eee
mov eax, dword [esp + 0x10]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10131cb1
sub eax, edx
push 1
sar eax, 1
push 0
lea esi, [eax + 1]
lea eax, [esp + 0x74]
push eax
lea edi, [esi + esi]
push edi
push 0
push 0x78
lea ecx, [esp + 0x60]
call fcn.1015692e
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x10131f2b
mov ebx, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
push 0
push 0
push edi
push eax
push esi
push dword [esp + 0x24]
push 0
push 0
call ebx
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10131d0d
push 1
sub ecx, edx
sar ecx, 1
push 0
lea esi, [ecx + 1]
lea eax, [esp + 0xec]
push eax
lea edi, [esi + esi]
push edi
push 0
push 0x78
lea ecx, [esp + 0x78]
call fcn.1015692e
mov eax, dword [esp + 0x64]
mov dword [esp + 0x24], eax
test eax, eax
je 0x10131f22
push 0
push 0
push edi
push eax
push esi
push dword [esp + 0x28]
push 0
push 0
call ebx
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x800]
mov edx, dword [ecx + 0x81c]
mov ebp, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x5c], edx
lea ecx, [ebp + 1]
lea ecx, [ecx]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x10131d7c
mov ebx, edx
sub ebp, ecx
lea ecx, [ebx + 1]
nop
mov al, byte [ebx]
inc ebx
test al, al
jne 0x10131d8c
mov edi, dword [esp + 0x2c]
sub ebx, ecx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x10131d9c
mov esi, dword [esp + 0x24]
sub edi, ecx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10131dac
sub esi, ecx
lea eax, [edi + 0xb]
add eax, esi
add eax, ebx
add eax, ebp
mov dword [esp + 0x18], eax
cmp eax, 0x400
jae 0x10131de5
mov eax, 0x10242338
mov ecx, 0x400
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 1
mov dword [esp + 0x18], ecx
jmp 0x10131e03
push eax
call fcn.1000ac41
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0
test eax, eax
je 0x10131f06
mov ecx, dword [esp + 0x18]
push dword [esp + 0x34]
push ecx
push eax
call dword [sym.imp.msvcr100.dll__mbscpy_s]
mov ecx, dword [esp + 0x2c]
push dword [esp + 0x68]
mov eax, dword [esp + 0x28]
mov byte [ecx + ebp], 0x20
inc ebp
sub eax, ebp
push eax
lea eax, [ecx + ebp]
push eax
call dword [sym.imp.msvcr100.dll__mbscpy_s]
push dword [esp + 0x44]
mov eax, dword [esp + 0x34]
add ebp, ebx
mov ebx, dword [esp + 0x3c]
mov dword [ebx + ebp], 0x22203d20
add ebp, 4
sub eax, ebp
push eax
lea eax, [ebx + ebp]
push eax
call dword [sym.imp.msvcr100.dll__mbscpy_s]
push dword [esp + 0x48]
mov eax, dword [esp + 0x40]
add ebp, edi
mov dword [ebx + ebp], 0x222c2022
add ebp, 4
sub eax, ebp
push eax
lea eax, [ebx + ebp]
push eax
call dword [sym.imp.msvcr100.dll__mbscpy_s]
add ebp, esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebx + ebp], 0x22
add esp, 0x30
inc ebp
mov byte [ebx + ebp], 0
push dword [esp + 0x10]
call esi
push dword [esp + 0x14]
mov dword [esp + 0x14], 0
call esi
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], 0
test eax, eax
je 0x10131ebb
push dword [esp + 0x58]
push 0
push ebp
push 0
push ebx
call eax
mov ebp, eax
jmp 0x10131ebf
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x54]
inc dword [edi]
cmp dword [esp + 0x28], 0
jne 0x10131ed2
push ebx
call fcn.1000ac28
lea ecx, [esp + 0x60]
call fcn.1000cead
lea ecx, [esp + 0x48]
call fcn.1000cead
mov ebx, dword [esp + 0x38]
mov edi, dword [sym.imp.OLEAUT32.dll_SysAllocStringLen]
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x40]
jae 0x1008b400
jmp 0x10131c45
lea ecx, [esp + 0x60]
mov ebp, 0x8007000e
call fcn.1000cead
lea ecx, [esp + 0x48]
call fcn.1000cead
jmp 0x1008b400
lea ecx, [esp + 0x60]
call fcn.1000cead
lea ecx, [esp + 0x48]
call fcn.1000cead
mov eax, 7
jmp 0x1008b414