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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101fc6bb
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
xor al, al
cmp byte [ebp + 0xc], al
mov edi, ecx
je 0x1013de8e
mov ecx, dword [edi + 0xb8]
xor esi, esi
cmp ecx, esi
je 0x1013df89
mov eax, dword [ebp + 8]
cmp eax, esi
jne 0x1013dcb3
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
push 0x396
lea edx, [esp + 0x20]
push edx
call eax
mov dword [esp + 0xa0], esi
mov ecx, dword [edi + 4]
push ecx
xor ecx, ecx
mov edi, eax
call fcn.101cac50
add esp, 4
mov dword [esp + 0xa0], 0xffffffff
cmp dword [esp + 0x34], 8
jb 0x1013dc9b
mov edx, dword [esp + 0x20]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], si
mov al, 1
jmp 0x1013df89
cmp eax, 0xffffffff
je 0x1013dcac
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
push 0x20e
lea edx, [esp + 0x20]
push edx
call eax
mov dword [esp + 0xa0], 1
mov ecx, dword [edi + 4]
push eax
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.101ca7a0
mov byte [esp + 0xa0], 3
cmp dword [esp + 0x34], 8
jb 0x1013dcff
mov eax, dword [esp + 0x20]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, 7
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], esi
mov word [esp + 0x20], si
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], esi
mov word [esp + 0x58], si
mov byte [esp + 0xa0], 4
mov esi, dword [edi + 0xb8]
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
push 0x299
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call edx
mov ebx, eax
mov byte [esp + 0xa0], 5
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push 0x29d
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call edx
mov byte [esp + 0xa0], 6
mov esi, 8
cmp dword [ebx + 0x18], esi
jb 0x1013dd73
mov ebx, dword [ebx + 4]
jmp 0x1013dd76
add ebx, 4
cmp dword [eax + 0x18], esi
jb 0x1013dd80
mov eax, dword [eax + 4]
jmp 0x1013dd83
add eax, 4
push ebx
push eax
lea ecx, [esp + 0x5c]
call fcn.1019cb70
add esp, 8
mov byte [esp + 0xa0], 5
cmp dword [esp + 0x34], esi
jb 0x1013ddac
mov eax, dword [esp + 0x20]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ebx, ebx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
mov byte [esp + 0xa0], 4
cmp dword [esp + 0x50], esi
jb 0x1013ddda
mov ecx, dword [esp + 0x3c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea edx, [esp + 0x54]
push edx
mov ecx, 4
lea edx, [esp + 0x74]
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
call fcn.101ca810
cmp eax, 7
jne 0x1013de4b
mov byte [esp + 0xa0], 3
cmp dword [esp + 0x6c], esi
jb 0x1013de1e
mov eax, dword [esp + 0x58]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x70]
push ecx
call fcn.1014d800
mov al, 1
jmp 0x1013df89
mov byte [esp + 0xa0], 3
cmp dword [esp + 0x6c], esi
jb 0x1013de66
mov edx, dword [esp + 0x58]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
mov dword [esp + 0xa0], 0xffffffff
lea eax, [esp + 0x70]
push eax
call fcn.1014d800
jmp 0x1013de90
xor ebx, ebx
cmp dword [edi + 0xb0], ebx
je 0x1013df87
mov ecx, dword [edi + 0xd8]
mov edx, dword [ecx]
lea esi, [edi + 0xd4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], esi
test esi, esi
mov ebx, dword [edi + 0xd8]
lea eax, [edi + 0xd4]
je 0x1013dec6
cmp esi, eax
je 0x1013decc
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x18], ebx
je 0x1013df87
test esi, esi
jne 0x1013dee0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x18]
cmp eax, dword [esi + 4]
jne 0x1013deef
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x14], ebx
je 0x1013df0a
lea esi, [esp + 0x14]
call fcn.100ebda0
mov esi, dword [esp + 0x14]
jmp 0x1013deb2
cmp eax, dword [esi + 4]
jne 0x1013df19
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 0xc]
test esi, esi
je 0x1013df87
mov ecx, dword [edi + 0xb0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x44]
push 1
push 1
push ebx
call eax
push esi
mov ecx, edi
call fcn.1013dfb0
mov ecx, dword [edi + 4]
push esi
push 0
push 0x1101
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push edi
call fcn.1013db30
push 0
call fcn.100f7430
add esp, 4
cmp byte [ebp + 0x10], 0
je 0x1013df87
mov edi, dword [edi + 0xcc]
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0x811
push edi
call esi
push 0
push 0xb
push 0x815
push edi
call esi
xor al, al
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.101d19cc
mov esp, ebp
pop ebp
ret 0xc