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

Disassembly:
sub esp, 0x30
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov edi, ebx
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x58], ebx
jne 0x101a7009
cmp dword [esp + 0x4c], ebx
je 0x101a6fb3
cmp dword [esi + 0x5c], ebx
jne 0x101a7009
mov eax, dword [esp + 0x44]
mov ebp, ebx
cmp dword [0x10243614], ebx
je 0x101a6fda
cmp dword [eax], 2
jne 0x101a6fda
push 1
call fcn.101ce2b5
mov eax, dword [esp + 0x44]
xor ebp, ebp
mov dword [0x10243614], ebx
inc ebp
push ebx
push eax
push 4
mov dword [0x1023d0f4], 1
call fcn.101cd894
mov ecx, dword [0x10242018]
push eax
call fcn.101eb200
mov dword [0x1023d0f4], ebx
test ebp, ebp
je 0x101a7009
push ebx
call fcn.101ce2b5
mov eax, dword [0x10242018]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x101a7023
mov edi, 0x800a9d34
jmp 0x101a72d5
cmp dword [esp + 0x4c], ebx
je 0x101a725d
push dword [0x1023f5c0]
call fcn.10020be2
mov ebp, eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, esi
mov dword [esp + 0x44], ebp
call fcn.101a741c
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
jbe 0x101a724f
mov edx, ecx
sub edx, eax
mov al, byte [ecx + 0x1023dda4]
mov byte [esp + 0x4c], al
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], edx
mov byte [ecx + 0x1023dda4], bl
test ebp, ebp
je 0x101a7097
lea eax, [eax + 0x1023dda4]
push eax
call dword [sym.imp.msvcr100.dll__mbslen]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
pop ecx
jmp 0x101a709b
mov dword [esp + 0x2c], edx
mov ecx, dword [0x10242018]
push 0xffffffffffffffff
push ebx
lea eax, [eax + 0x1023dda4]
push ebx
push eax
push 4
mov dword [esp + 0x48], eax
call fcn.101ec5b1
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x101a7247
mov ecx, eax
imul ecx, ecx, 0x30
mov ebp, eax
mov eax, dword [0x10242018]
add ecx, dword [eax + 0x10]
push ecx
call fcn.101edc40
mov edx, eax
xor ecx, ecx
inc ecx
mov eax, ebp
inc eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x28]
jae 0x101a71d9
mov ecx, eax
imul ecx, ecx, 0x30
mov dword [esp + 0x38], ecx
mov eax, dword [0x10242018]
mov eax, dword [eax + 0x10]
add eax, ecx
push eax
call fcn.101edc40
push eax
mov dword [esp + 0x5c], eax
call dword [sym.imp.msvcr100.dll__mbslen]
pop ecx
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jb 0x101a71d5
cmp dword [esp + 0x3c], ebx
je 0x101a716a
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x58]
mov eax, ecx
mov edx, ebx
cmp byte [eax], dl
mov eax, dword [esp + 0x20]
je 0x101a716e
test eax, eax
je 0x101a716e
movzx eax, byte [ecx]
cmp byte [eax + 0x1023bae0], bl
je 0x101a7159
add edx, 2
add ecx, 2
jmp 0x101a715b
inc edx
inc ecx
mov eax, dword [esp + 0x20]
dec eax
mov dword [esp + 0x20], eax
cmp byte [ecx], bl
je 0x101a716e
jmp 0x101a7142
mov edx, dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x38]
push edx
push dword [esp + 0x64]
push 0x30001
push dword [0x1023f5c0]
call dword [sym.imp.kernel32.dll_CompareStringA]
cmp eax, 2
jne 0x101a71d5
push 0xffffffffffffffff
push dword [esp + 0x38]
push 0xffffffffffffffff
push dword [esp + 0x64]
push 0x30001
push dword [0x1023f5c0]
call dword [sym.imp.kernel32.dll_CompareStringA]
cmp eax, 2
jne 0x101a7241
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
inc eax
add ecx, 0x30
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], ecx
cmp eax, dword [esp + 0x28]
jb 0x101a7100
mov edx, dword [esp + 0x18]
mov cl, byte [esp + 0x4c]
mov eax, dword [esp + 0x24]
mov byte [eax + 0x1023dda4], cl
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x50], ebx
je 0x101a71fd
test ecx, ecx
jne 0x101a7201
test edx, edx
je 0x101a72e0
test ecx, ecx
je 0x101a724f
mov eax, dword [0x10242018]
imul ebp, ebp, 0x30
add ebp, dword [eax + 0x10]
push ebp
call fcn.101edc40
push dword [esp + 0x24]
mov ecx, esi
push dword [esp + 0x20]
push eax
call fcn.1015692e
mov edi, eax
test edi, edi
js 0x101a72d3
cmp dword [esi + 0x5c], ebx
je 0x101a72d1
mov ecx, esi
call fcn.100f0d07
jmp 0x101a72d1
mov dword [esp + 0x10], ebx
jmp 0x101a71d5
mov ebp, dword [esp + 0x44]
mov edx, ebx
jmp 0x101a71d9
cmp dword [esi + 0x5c], ebx
je 0x101a725d
mov ecx, esi
call fcn.101a667e
jmp 0x101a72dc
lea ebp, [esi + 0x5c]
push ebp
push dword [esi]
call fcn.101ee2e4
mov edi, eax
test edi, edi
js 0x101a72d3
push dword [esp + 0x28]
mov ecx, dword [ebp]
call fcn.101ee95b
lea eax, [esi + 0x60]
push 1
push eax
mov ecx, esi
call fcn.1015692e
mov edi, eax
test edi, edi
js 0x101a72d3
push dword [esi + 0x60]
mov ecx, dword [ebp]
push dword [esi + 0x64]
mov dword [esi + 0x80], 1
call fcn.101ee5bd
mov eax, dword [esp + 0x44]
mov dword [esi + 0x74], ebx
cmp dword [eax], 0xa
je 0x101a72c4
cmp dword [eax], 1
jne 0x101a72c7
add eax, 0xc
push eax
call fcn.1004c848
cmp eax, 6
jne 0x101a72c7
xor ebx, ebx
inc ebx
push 4
pop eax
mov dword [esi + 0x78], ebx
mov word [esi + 0x68], ax
test edi, edi
je 0x101a72dc
mov ecx, esi
call fcn.100f0d07
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x101a72ea
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0x18