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

Disassembly:
sub esp, 0x4c
push ebx
xor eax, eax
push ebp
push esi
push eax
push 1
mov ebp, eax
push eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x34], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x48], eax
mov ebx, eax
mov dword [esp + 0x40], eax
call fcn.1007b453
mov esi, eax
test esi, esi
js 0x101cd4f4
push edi
mov edi, dword [esp + 0x60]
mov ecx, dword [edi + 0x14]
lea eax, [esp + 0x1c]
push eax
call fcn.1002fb66
mov esi, eax
test esi, esi
js 0x101cd4f3
mov ecx, dword [edi + 0x14]
lea eax, [esp + 0x44]
push eax
call fcn.1001c9e1
mov esi, eax
test esi, esi
js 0x101cd4f3
mov eax, dword [esp + 0x44]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
lea ecx, [esp + 0x58]
push ecx
push dword [esp + 0x78]
mov ecx, dword [eax + 0x78]
call fcn.1001cd83
mov esi, eax
test esi, esi
js 0x101cd4f3
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x4c]
call fcn.10059b20
mov esi, eax
test esi, esi
js 0x101cd4f3
mov eax, dword [esp + 0x1c]
push 4
pop ecx
or word [eax + 0x1a], cx
cmp dword [esp + 0x24], 0xffffffff
jne 0x101cd3aa
mov esi, 0x800adeb9
jmp 0x101cd4ea
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x28]
call fcn.101c785d
mov esi, eax
test esi, esi
js 0x101cd4ea
xor ebp, ebp
mov dword [esp + 0x34], ebp
cmp dword [esp + 0x30], ebx
jbe 0x101cd4e1
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x24]
push eax
push ebp
push dword [esp + 0x3c]
call fcn.101c78cf
mov esi, eax
test esi, esi
js 0x101cd4e6
lea ecx, [esp + 0x14]
call fcn.1001b5e9
mov esi, eax
test esi, esi
js 0x101cd4e6
cmp dword [esp + 0x20], 4
je 0x101cd435
cmp dword [esp + 0x20], 2
je 0x101cd435
cmp dword [esp + 0x20], 8
je 0x101cd435
lea ebx, [esp + 0x14]
jmp 0x101cd490
mov ecx, dword [esp + 0x14]
and dword [esp + 0x60], 0
lea edx, [esp + 0x60]
call fcn.1000d14e
mov esi, eax
test esi, esi
js 0x101cd4e6
lea eax, [esp + 0x60]
push eax
push 0
push dword [esp + 0x28]
push edi
call fcn.1015692e
mov esi, eax
test esi, esi
js 0x101cd4e6
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x101cd7ba
lea edx, [esp + 0x38]
call fcn.101b7181
push dword [esp + 0x60]
mov esi, eax
call sub.OLEAUT32.dll_SysStringLen
test esi, esi
js 0x101cd4e6
lea ebx, [esp + 0x38]
cmp dword [esp + 0x68], 0
je 0x101cd547
push dword [ebx]
push dword [esp + 0x6c]
call dword [sym.imp.msvcr100.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x101cd547
lea eax, [esp + 0x14]
cmp ebx, eax
je 0x101cd4c3
push dword [ebx]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor ebx, ebx
push dword [esp + 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and dword [esp + 0x14], 0
inc ebp
mov dword [esp + 0x34], ebp
cmp ebp, dword [esp + 0x30]
jb 0x101cd3d6
mov esi, 0x80004005
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
call fcn.101b80a8
pop edi
push ebp
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call ebp
test ebx, ebx
je 0x101cd50d
lea eax, [esp + 0x10]
cmp ebx, eax
je 0x101cd50d
push dword [ebx]
call ebp
push dword [esp + 0x10]
call ebp
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x101cd521
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
call fcn.100f0cb7
mov dword [eax + 8], 1
push esi
lea eax, [esp + 0x40]
push eax
call fcn.1007b983
push esi
call fcn.1000b028
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x1c
cmp ebp, dword [esp + 0x30]
jae 0x101cd4e1
call fcn.100f0cb7
and dword [eax + 8], 0
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x28]
call fcn.10060005
mov esi, eax
test esi, esi
js 0x101cd4e6
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.100dca29
mov esi, eax
test esi, esi
js 0x101cd4e6
push edi
lea eax, [esp + 0x1c]
push eax
call fcn.1015692e
mov esi, eax
test esi, esi
js 0x101cd4e6
push dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
push dword [esp + 0x68]
call fcn.101ba5fa
mov ebp, eax
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x18]
push dword [esp + 0x6c]
call fcn.101cdfe2
mov esi, eax
test esi, esi
js 0x101cd4e6
mov ecx, dword [esp + 0x18]
push 1
lea eax, [esp + 0x40]
push eax
call fcn.101e53c9
mov esi, eax
test esi, esi
js 0x101cd4e6
push 0x9d37
lea eax, [esp + 0x44]
push eax
call fcn.10041cd2
mov esi, eax
test esi, esi
js 0x101cd4e6
mov ecx, dword [esp + 0x18]
push ebp
lea ecx, [ecx + 0xc]
call fcn.101f6528
mov edi, eax
test edi, edi
je 0x101cd65f
lea eax, [esp + 0x68]
push eax
lea ecx, [edi - 1]
push ecx
mov ecx, dword [esp + 0x20]
lea ecx, [ecx + 0xc]
call fcn.10041b42
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
push eax
call dword [edx + 0x24]
test eax, 0x10000
jne 0x101cd65f
mov ecx, dword [esp + 0x74]
push 0
movzx eax, cx
mov ecx, dword [esp + 0x1c]
push 1
push eax
push 0x1000adc8
push edi
call fcn.101e5c04
mov esi, eax
inc edi
test esi, esi
js 0x101cd4e6
inc ebp
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x18]
push 0
movzx eax, ax
push 1
push eax
push 0x1000adc8
push edi
call fcn.101e5c04
mov esi, eax
test esi, esi
js 0x101cd4e6
push dword [esp + 0x64]
mov ecx, dword [esp + 0x2c]
push dword [esp + 0x70]
push dword [esp + 0x18]
push dword [esp + 0x40]
push dword [esp + 0x3c]
push ebp
call fcn.101ba6e2
mov esi, eax
cmp esi, 0x800a0011
jne 0x101cd6e4
push dword [esp + 0x18]
call fcn.1015692e
mov esi, eax
or eax, 0x800a0000
neg esi
sbb esi, esi
and esi, eax
jne 0x101cd6e4
push dword [esp + 0x64]
mov ecx, dword [esp + 0x2c]
push dword [esp + 0x70]
push dword [esp + 0x18]
push dword [esp + 0x40]
push dword [esp + 0x3c]
push ebp
call fcn.101ba6e2
mov esi, eax
test esi, esi
js 0x101cd4e6
mov ecx, dword [esp + 0x74]
push 0
movzx eax, cx
mov ecx, dword [esp + 0x1c]
push 1
push eax
lea edx, [edi + 1]
push 0x1000adc8
push edx
call fcn.101e5c04
mov esi, eax
test esi, esi
js 0x101cd4e6
push dword [esp + 0x74]
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x50]
push eax
push 0
push 0
push edi
call fcn.1006b559
mov esi, eax
test esi, esi
js 0x101cd4e6
mov ecx, dword [esp + 0x18]
lea eax, [edi + 3]
cmp dword [ecx + 0x20], eax
jbe 0x101cd776
push eax
call fcn.101e5d0d
test eax, eax
jne 0x101cd772
mov ecx, dword [esp + 0x74]
push eax
movzx eax, cx
mov ecx, dword [esp + 0x1c]
push 1
push eax
push 0x1000adc8
lea eax, [edi + 3]
push eax
call fcn.101e5c04
mov esi, eax
test esi, esi
js 0x101cd4e6
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x78], 0
je 0x101cd7a3
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push ebp
call fcn.1015692e
mov esi, eax
test esi, esi
js 0x101cd4e6
mov ecx, dword [esp + 0x3c]
push 0xffffffffffffffff
lea eax, [edi + 1]
push eax
call fcn.1015692e
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x10]
test eax, eax
je 0x101cd4ea
mov dword [eax], edi
jmp 0x101cd4ea
push 0
call sub.OLEAUT32.dll_SysStringLen
mov esi, 0x8007000e
jmp 0x101cd4e6