Function at 0x102321ea
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.1001547c
push eax
call fcn.1015692e
test eax, eax
jne 0x10232532
push 0x14
pop esi
cmp dword [esp + 0x74], esi
jg 0x10232240
mov esi, dword [esp + 0x74]
cmp dword [esp + 0x7c], 1
jne 0x102322a9
mov ecx, dword [esp + 0x6c]
test ecx, ecx
jne 0x10232253
mov eax, ebp
jmp 0x10232258
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.102326c2
mov dword [esp + 0x30], eax
mov ebp, eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x10232286
xor ecx, ecx
jmp 0x1023228b
mov ecx, dword [eax - 4]
shr ecx, 1
push 0
push 0
push dword [esp + 0x80]
push ecx
push eax
call fcn.102326c2
mov ebx, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x70], ebx
jmp 0x102322b5
mov ebp, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x7c], ebp
test ebp, ebp
jne 0x102322bf
and dword [esp + 0x78], edi
jmp 0x102322c8
mov eax, dword [ebp - 4]
shr eax, 1
mov dword [esp + 0x78], eax
test ebx, ebx
jne 0x102322d0
xor ebp, ebp
jmp 0x102322d5
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 0x102322f5
push 7
call fcn.10089e37
cmp dword [esp + 0x74], edi
jle 0x10232381
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 0x1023237a
cmp edx, ebp
jb 0x1023237a
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x7c]
lea edx, [ebx + ebp*2]
mov ebp, dword [esp + 0x24]
cmp edx, eax
jae 0x1023237a
sub eax, ecx
sar eax, 1
push eax
push dword [esp + 0x2c]
push ecx
call fcn.1015692e
mov ebx, eax
test ebx, ebx
je 0x1023237a
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 fcn.1015692e
test eax, eax
je 0x102323ba
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
cmp ecx, eax
jb 0x1023233c
cmp edi, dword [esp + 0x74]
jge 0x10232381
inc edi
mov eax, edi
call fcn.1015692e
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 0x102324f2
mov ebx, dword [esp + 0x6c]
lea ebp, [edi - 1]
cmp esi, ebp
jge 0x102324a4
mov eax, dword [ecx + esi*8]
jmp 0x102324b1
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 fcn.1015692e
test eax, eax
jne 0x10232488
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 fcn.1015692e
test eax, eax
jne 0x10232488
cmp edi, esi
jl 0x10232440
add esi, 0x14
cmp esi, dword [esp + 0x74]
jl 0x10232421
mov esi, dword [esp + 0x74]
cmp esi, 0x1fffffff
jbe 0x10232430
push 7
call fcn.10089e37
mov eax, esi
shl eax, 3
push eax
lea eax, [esp + 0x14]
push eax
call fcn.102329ca
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 fcn.1015692e
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 fcn.1015692e
mov ecx, dword [esp + 0x10]
mov dword [ecx + edi*8 + 4], eax
mov ecx, dword [esp + 0x18]
inc edi
jmp 0x10232491
mov ecx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x18], ecx
cmp edi, dword [esp + 0x74]
jge 0x10232381
mov ebx, dword [esp + 0x70]
jmp 0x10232301
test ebx, ebx
jne 0x102324ac
xor eax, eax
jmp 0x102324b1
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 0x102324d4
push 0xe
call fcn.10089e37
mov ecx, dword [esp + 0x10]
cmp esi, ebp
jge 0x102324e5
mov eax, dword [ecx + esi*8 + 4]
inc eax
mov dword [esp + 0x2c], eax
inc esi
cmp esi, edi
jl 0x102323aa
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 0x1023250a
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 0x1023251b
push eax
call esi
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10232526
push eax
call esi
lea eax, [esp + 0x40]
push eax
call fcn.10015c3d
jmp 0x10232561
mov esi, dword [sym.imp.msvcr100.dll_free]
cmp dword [esp + 0x10], ebx
je 0x10232545
push dword [esp + 0x10]
call esi
pop ecx
cmp dword [esp + 0x14], ebx
je 0x10232552
push dword [esp + 0x14]
call esi
pop ecx
lea eax, [esp + 0x40]
push eax
call fcn.10015c3d
call fcn.100c06e3
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x58
ret 0x14