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

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
xor esi, esi
mov ebx, ecx
lea ebp, [ebx + 0x74]
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x38], esi
mov dword [ebp], esi
call fcn.100cf046
mov edi, eax
test edi, edi
js 0x101e43a7
mov eax, dword [ebx + 0x78]
push 4
pop ecx
or word [eax + 0x1a], cx
mov ecx, dword [ebx + 0x78]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x4c]
call fcn.101c785d
mov edi, eax
test edi, edi
js 0x101e439f
cmp dword [esp + 0x18], esi
je 0x101e439f
push esi
push dword [esp + 0x1c]
lea ecx, [ebx + 0x60]
mov eax, dword [ecx]
call dword [eax]
mov edi, eax
test edi, edi
js 0x101e439f
mov ecx, dword [ebx + 0x78]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x4c]
call fcn.10060005
mov edi, eax
test edi, edi
js 0x101e439f
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], esi
cmp dword [esp + 0x18], esi
jbe 0x101e4351
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x24], eax
mov ecx, dword [ebp]
mov eax, dword [ebx + 0x6c]
lea eax, [eax + ecx*4]
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [ebx + 0x78]
push eax
push esi
push dword [esp + 0x60]
call fcn.101c78cf
mov edi, eax
test edi, edi
js 0x101e439f
mov edx, dword [esp + 0x2c]
test esi, esi
jne 0x101e4267
mov eax, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
cmp edx, 4
je 0x101e4276
cmp edx, 2
je 0x101e4276
cmp edx, 8
jne 0x101e4295
mov ecx, dword [ebp]
mov eax, dword [ebx + 0x6c]
lea eax, [eax + ecx*4]
push eax
push 0
push edx
push dword [ebx + 0x20]
call fcn.1015692e
mov edi, eax
test edi, edi
js 0x101e439f
mov ecx, dword [ebp]
mov eax, dword [ebx + 0x6c]
lea ecx, [eax + ecx*4]
call fcn.1001b5e9
mov edi, eax
test edi, edi
js 0x101e439f
cmp dword [esp + 0x1c], 0
jne 0x101e42fb
mov ecx, dword [ebx + 0x78]
lea eax, [esp + 0x14]
push eax
push esi
push dword [esp + 0x18]
call fcn.101c7a38
mov edi, eax
test edi, edi
js 0x101e439f
mov edx, dword [esp + 0x14]
movzx esi, word [edx + 0x30]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
and esi, 0x200
push eax
mov dword [esp + 0x40], esi
call dword [ecx + 0x50]
and dword [esp + 0x14], 0
test esi, esi
je 0x101e42fb
xor ecx, ecx
inc ecx
jmp 0x101e42fd
xor ecx, ecx
push dword [esp + 0x20]
mov esi, dword [ebp]
push dword [esp + 0x30]
lea eax, [esi + 1]
push ecx
push dword [esp + 0x3c]
mov dword [ebp], eax
push dword [esp + 0x44]
call fcn.1015692e
cmp dword [esp + 0x1c], 0
mov ecx, dword [ebx + 0x70]
mov dword [ecx + esi*4], eax
jne 0x101e4338
cmp dword [esp + 0x38], 0
je 0x101e4338
mov dword [esp + 0x1c], 1
mov esi, dword [esp + 0x20]
inc esi
mov dword [esp + 0x20], esi
cmp esi, dword [esp + 0x18]
jb 0x101e4216
mov esi, dword [esp + 0x3c]
jmp 0x101e4361
mov esi, dword [esp + 0x48]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x24], eax
mov ecx, dword [ebx + 0x78]
call fcn.101b80a8
cmp dword [esp + 0x1c], 0
jne 0x101e4389
mov eax, dword [esp + 0x24]
push 0
push eax
mov eax, dword [esp + 0x30]
push 1
push esi
push eax
call fcn.1015692e
mov edx, dword [ebx + 0x70]
mov dword [edx], eax
lea esi, [ebx + 0x60]
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x18]
push ebp
mov ecx, esi
call fcn.100288f4
jmp 0x101e43a7
mov ecx, dword [ebx + 0x78]
call fcn.101b80a8
cmp dword [esp + 0x14], 0
je 0x101e43bc
mov eax, dword [esp + 0x10]
push dword [esp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x101e43cf
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [esp + 0x10], 0
test edi, edi
jns 0x101e43df
and dword [ebp], 0
lea ecx, [ebx + 0x60]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 4