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

Disassembly:
push 0xffffffffffffffff
push 0x101fca08
mov eax, dword fs:[0]
push eax
mov eax, 0x1100
call fcn.101d23d0
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x10f8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x1114]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1124]
xor ebx, ebx
push 0x7fe
lea eax, [esp + 0x912]
push ebx
push eax
mov byte [esp + 0x22], bl
mov word [esp + 0x918], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x7fe
lea ecx, [esp + 0x112]
push ebx
push ecx
mov word [esp + 0x118], bx
call sub.MSVCR80.dll_memset
mov edx, dword [ebp + 0x124]
add esp, 0xc
push ebx
push ebx
push 0x1004
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
lea eax, [ebp + 0x20]
mov dword [esp + 0x24], esi
call fcn.10132bb0
xor edi, edi
cmp esi, ebx
mov dword [ebp + 0x1a8], eax
mov dword [esp + 0x20], edi
jle 0x10131cd2
mov eax, dword [ebp + 0x124]
push 0xf000
push edi
push 0x102c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
shr eax, 0xc
sub eax, 1
je 0x10131cbd
push 0x30
lea ecx, [esp + 0x70]
push ebx
push ecx
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x74], ebx
call sub.MSVCR80.dll_memset
mov ecx, dword [ebp + 0x124]
add esp, 0xc
lea eax, [esp + 0x68]
push eax
push edi
push 0x1073
lea edx, [esp + 0x918]
mov esi, 0x400
push ecx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x30
lea edx, [esp + 0x70]
push ebx
push edx
mov dword [esp + 0x74], ebx
call sub.MSVCR80.dll_memset
mov edx, dword [ebp + 0x124]
add esp, 0xc
lea ecx, [esp + 0x68]
push ecx
push edi
push 0x1073
lea eax, [esp + 0x118]
push edx
mov dword [esp + 0x80], 1
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, 7
lea eax, [esp + 0x90c]
mov dword [esp + 0x108], edi
mov dword [esp + 0x104], ebx
mov word [esp + 0xf4], bx
lea edx, [eax + 2]
jmp 0x101317e0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x101317e0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x910]
push eax
lea esi, [esp + 0xf8]
call fcn.10007a00
mov dword [esp + 0x111c], ebx
lea eax, [esp + 0x10c]
mov dword [esp + 0xec], edi
mov dword [esp + 0xe8], ebx
mov word [esp + 0xd8], bx
lea edx, [eax + 2]
jmp 0x10131830
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10131830
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x110]
push ecx
lea esi, [esp + 0xdc]
call fcn.10007a00
mov byte [esp + 0x111c], 1
push 0x10232d4c
lea eax, [esp + 0xf4]
call fcn.1019c7e0
add esp, 4
push 0x10232d4c
lea eax, [esp + 0xf4]
call fcn.1019c850
add esp, 4
push 0x10232d4c
mov eax, esi
call fcn.1019c7e0
add esp, 4
push 0x10232d4c
mov eax, esi
call fcn.1019c850
add esp, 4
cmp dword [esp + 0x104], ebx
jne 0x1013198c
mov ecx, dword [ebp + 0x190]
cmp ecx, ebx
je 0x1013192c
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
push 0x392
lea eax, [esp + 0xa0]
push eax
call edx
mov byte [esp + 0x111c], 2
mov ecx, dword [ebp + 4]
push ecx
xor ecx, ecx
mov edi, eax
call fcn.101cac50
add esp, 4
mov byte [esp + 0x111c], 1
mov esi, 8
cmp dword [esp + 0xb4], esi
jb 0x1013190b
mov edx, dword [esp + 0xa0]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0xb4], 7
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], bx
mov edi, 7
jmp 0x10131931
mov esi, 8
mov byte [esp + 0x111c], bl
cmp dword [esp + 0xec], esi
jb 0x10131951
mov eax, dword [esp + 0xd8]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0xec], edi
mov dword [esp + 0xe8], ebx
mov word [esp + 0xd8], bx
mov dword [esp + 0x111c], 0xffffffff
cmp dword [esp + 0x108], esi
jb 0x10131ca7
mov ecx, dword [esp + 0xf4]
push ecx
jmp 0x10131c9f
cmp dword [esp + 0xe8], ebx
jne 0x10131a19
mov ecx, dword [ebp + 0x190]
cmp ecx, ebx
je 0x1013192c
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
push 0x393
lea eax, [esp + 0xbc]
push eax
call edx
mov byte [esp + 0x111c], 3
mov ecx, dword [ebp + 4]
push ecx
xor ecx, ecx
mov edi, eax
call fcn.101cac50
add esp, 4
mov byte [esp + 0x111c], 1
mov esi, 8
cmp dword [esp + 0xd0], esi
jb 0x101319f5
mov edx, dword [esp + 0xbc]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0xd0], 7
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], bx
mov edi, 7
jmp 0x10131931
push ebx
push 4
lea edx, [esp + 0xf8]
push edx
lea eax, [esp + 0xe0]
push eax
lea eax, [ebp + 0x20]
mov dword [esp + 0x28], ebx
mov byte [esp + 0x27], 1
lea esi, [esp + 0x27]
lea edi, [esp + 0x28]
call fcn.10132bb0
push eax
push ecx
mov ecx, dword [ebp + 0x190]
cmp ecx, ebx
mov eax, esp
mov dword [esp + 0x78], esp
mov dword [eax], ecx
je 0x10131a5f
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov byte [esp + 0x1134], 4
push ecx
mov ecx, dword [ebp + 0x18c]
cmp ecx, ebx
mov eax, esp
mov dword [esp + 0x80], esp
mov dword [eax], ecx
je 0x10131a83
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov byte [esp + 0x1138], 5
mov ecx, dword [ebp + 4]
push ecx
mov byte [esp + 0x113c], 1
mov edx, esi
mov ecx, edi
call fcn.100f6850
add esp, 0x20
cmp al, bl
je 0x10131b22
cmp byte [esp + 0x17], bl
je 0x10131ab2
mov byte [esp + 0x16], 1
mov byte [esp + 0x111c], bl
mov edi, 8
cmp dword [esp + 0xec], edi
jb 0x10131ad7
mov edx, dword [esp + 0xd8]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, 7
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], ebx
mov word [esp + 0xd8], bx
mov dword [esp + 0x111c], 0xffffffff
cmp dword [esp + 0x108], edi
jb 0x10131b16
mov eax, dword [esp + 0xf4]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x108], esi
jmp 0x10131cae
mov edi, 7
lea eax, [esp + 0x10c]
mov byte [esp + 0x16], 1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10131b47
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x110]
push ecx
lea esi, [esp + 0x30]
call fcn.10007a00
mov byte [esp + 0x111c], 6
lea eax, [esp + 0x90c]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10131b87
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x910]
push edx
lea esi, [esp + 0x4c]
call fcn.10007a00
mov byte [esp + 0x111c], 7
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x30]
push edx
mov eax, esi
push eax
lea eax, [ebp + 0x20]
call fcn.101348d0
mov byte [esp + 0x111c], 6
mov esi, 8
cmp dword [esp + 0x5c], esi
jb 0x10131bea
mov ecx, dword [esp + 0x48]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
mov byte [esp + 0x111c], 1
cmp dword [esp + 0x40], esi
jb 0x10131c12
mov edx, dword [esp + 0x2c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
push esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esp + 0x1c]
add esp, 4
push eax
mov dword [eax], ecx
mov edx, dword [esp + 0x20]
push edi
mov dword [eax + 4], edx
mov eax, dword [ebp + 4]
push 0x813
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [esp + 0x111c], bl
cmp dword [esp + 0xec], esi
jb 0x10131c6d
mov ecx, dword [esp + 0xd8]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0xec], edi
mov dword [esp + 0xe8], ebx
mov word [esp + 0xd8], bx
mov dword [esp + 0x111c], 0xffffffff
cmp dword [esp + 0x108], esi
jb 0x10131ca7
mov edx, dword [esp + 0xf4]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x108], edi
mov word [esp + 0xf4], bx
mov dword [esp + 0x104], ebx
mov edi, dword [esp + 0x20]
add edi, 1
cmp edi, dword [esp + 0x24]
mov dword [esp + 0x20], edi
jl 0x101316ee
mov eax, dword [ebp + 4]
push ebx
push ebx
push 0x811
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp + 4]
push ecx
push ecx
call fcn.10191fb0
add esp, 4
mov ecx, eax
call fcn.10192390
mov edx, dword [ebp + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_EndDialog]
cmp byte [esp + 0x16], bl
je 0x10131d16
push ebp
call fcn.10132380
xor eax, eax
mov ecx, dword [esp + 0x1114]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10f8]
xor ecx, esp
call fcn.101d19cc
add esp, 0x110c
ret 4