Function at 0x10131050
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x101fca79
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xb4]
lea esi, [ebp + 4]
push esi
xor eax, eax
mov dword [esp + 0x1c], esi
call fcn.10031050
cmp dword [ebp + 0x1a4], 0
je 0x101315f8
cmp dword [ebp + 0x190], 0
je 0x101315f8
mov eax, dword [esi]
push 0x834
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
lea esi, [ebp + 0x20]
mov ebx, eax
call fcn.100c8360
mov ecx, dword [ebp + 0x24]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x460010ab
cmp eax, ecx
je 0x101310f8
mov edx, dword [ebp + 0x24]
push ecx
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp + 0x24]
push 0xffffff
push 0
push 0x111d
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push ecx
mov ecx, dword [ebp + 0x18c]
test ecx, ecx
mov eax, esp
mov dword [esp + 0x18], esp
mov dword [eax], ecx
je 0x10131127
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov dword [esp + 0xb0], 0
or ebx, 0xffffffff
mov dword [esp + 0xb0], ebx
mov edi, esi
call fcn.10132e30
push ecx
mov ecx, dword [ebp + 0x190]
test ecx, ecx
mov eax, esp
mov dword [esp + 0x18], esp
mov dword [eax], ecx
je 0x1013115c
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov dword [esp + 0xb0], 1
mov dword [esp + 0xb0], ebx
mov edi, esi
call fcn.10132ed0
push ebx
push 0
lea eax, [ebp + 0x220]
lea ecx, [ebp + 0x104]
call fcn.10007880
test esi, esi
je 0x10131195
lea eax, [ebp + 0xcc]
jmp 0x10131197
xor eax, eax
test esi, esi
mov dword [ebp + 0x78], eax
je 0x101311a6
lea edi, [ebp + 0xc4]
jmp 0x101311a8
xor edi, edi
call fcn.10020000
mov ecx, esi
mov dword [esi + 0x5c], eax
call fcn.10132f70
push 1
mov ecx, esi
call fcn.10132fe0
call fcn.1002c6c0
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x835
push edx
call edi
lea esi, [ebp + 0x120]
mov ebx, eax
call fcn.100c8360
mov ecx, dword [ebp + 0x1a4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea ebx, [ebp + 0x124]
call edx
push eax
lea esi, [esp + 0x18]
mov ecx, ebx
call fcn.10029020
or esi, 0xffffffff
mov dword [esp + 0xac], esi
mov eax, dword [ebx]
push 0xffffff
push 0
push 0x1001
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 0x190]
test ecx, ecx
je 0x10131308
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
push 0x297
lea eax, [esp + 0x20]
push eax
call edx
mov dword [esp + 0xac], 3
cmp dword [eax + 0x18], 8
jb 0x10131259
mov ecx, dword [eax + 4]
jmp 0x1013125c
lea ecx, [eax + 4]
push 0x12c
push 0
push ebx
xor edx, edx
call fcn.100c3a10
mov dword [esp + 0xac], esi
cmp dword [esp + 0x34], 8
jb 0x10131286
mov eax, dword [esp + 0x20]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp + 0x190]
xor eax, eax
mov dword [esp + 0x30], eax
mov word [esp + 0x20], ax
mov dword [esp + 0x34], 7
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
push 0x298
lea eax, [esp + 0x20]
push eax
call edx
mov dword [esp + 0xac], 4
cmp dword [eax + 0x18], 8
jb 0x101312c6
mov eax, dword [eax + 4]
jmp 0x101312c9
add eax, 4
push 0x12c
push 1
push ebx
xor edx, edx
mov ecx, eax
call fcn.100c3a10
mov dword [esp + 0xac], esi
cmp dword [esp + 0x34], 8
jb 0x101312f5
mov eax, dword [esp + 0x20]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], eax
mov word [esp + 0x20], ax
push 0x30
lea ecx, [esp + 0x58]
push 0
push ecx
call sub.MSVCR80.dll_memset
mov edx, dword [ebx]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
add esp, 0xc
xor eax, eax
push 0xfffffffffffffff0
push edx
mov dword [esp + 0x58], 0xb
mov dword [esp + 0x68], eax
mov dword [esp + 0x60], eax
call esi
mov ecx, eax
or ecx, 0x40
cmp eax, ecx
je 0x1013134d
mov eax, dword [ebx]
push ecx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [ebx]
push 0xffffffffffffffec
push ecx
call esi
mov edx, dword [ebx]
or eax, 0x64
push eax
push 0
push 0x1036
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
mov dword [esp + 0x14], esi
mov edi, edi
mov eax, dword [ebp + 0x198]
test eax, eax
je 0x101314fe
mov ecx, dword [ebp + 0x19c]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x101314fe
mov eax, dword [ebp + 0x198]
test eax, eax
mov dword [esp + 0x54], esi
je 0x101313ca
mov ecx, dword [ebp + 0x19c]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x101313d0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp + 0x198]
mov ecx, dword [esp + 0x14]
cmp dword [eax + ecx + 0x40], 8
lea eax, [eax + ecx + 0x28]
jb 0x101313ee
mov edx, dword [eax + 4]
mov dword [esp + 0x64], edx
jmp 0x101313f5
add eax, 4
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x198]
test eax, eax
mov edi, dword [ebp + 0x1a4]
je 0x10131422
mov ecx, dword [ebp + 0x19c]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x10131428
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp + 0x198]
add eax, dword [esp + 0x14]
mov edx, dword [edi]
add eax, 0xc
push eax
mov eax, dword [edx + 0x14]
mov ecx, edi
call eax
mov edx, dword [ebx]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x50]
push ecx
push 0
push 0x104d
push edx
mov dword [esp + 0x7c], eax
call edi
mov eax, dword [ebp + 0x198]
test eax, eax
je 0x10131481
mov ecx, dword [ebp + 0x19c]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x10131487
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp + 0x198]
mov ecx, dword [esp + 0x14]
cmp dword [eax + ecx + 0x24], 8
lea eax, [eax + ecx + 0xc]
jb 0x101314a1
mov eax, dword [eax + 4]
jmp 0x101314a4
add eax, 4
push 0
push eax
push 1
push 1
push esi
push ebx
call fcn.10029360
push 0x30
lea edx, [esp + 0x24]
push 0
push edx
mov dword [esp + 0x28], 0
call sub.MSVCR80.dll_memset
mov ecx, dword [ebx]
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
push esi
push 0x102b
push ecx
mov dword [esp + 0x38], 0x2000
mov dword [esp + 0x3c], 0xf000
call edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
add esi, 1
add dword [esp + 0x14], 0x60
jmp 0x10131370
mov ebx, dword [esp + 0x18]
mov edx, dword [ebx]
push 1
push edx
call edi
mov esi, dword [sym.imp.USER32.dll_SetFocus]
push eax
call esi
mov eax, dword [ebp + 0x24]
push eax
call esi
mov ecx, dword [ebx]
push 0x8a6
push ecx
lea esi, [ebp + 0x1bc]
call edi
mov ebx, eax
call fcn.1003ddf0
or dword [esi + 0x54], 4
push 0xe15b
lea ecx, [esp + 0x88]
call fcn.101aa870
add esp, 4
mov dword [esp + 0xac], 5
cmp dword [esp + 0x9c], 8
mov eax, dword [esp + 0x88]
jae 0x1013156a
lea eax, [esp + 0x88]
push eax
push esi
call fcn.10130a10
mov edx, dword [ebp + 0x1c0]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
call esi
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push 0x8a5
push ecx
call edi
push 0
push eax
call esi
call fcn.10191fb0
mov edi, eax
call fcn.10192680
mov esi, ebp
push eax
call fcn.101321c0
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
push eax
mov ecx, edi
call fcn.101922d0
mov dword [esp + 0xac], 0xffffffff
cmp dword [esp + 0x9c], 8
jb 0x101315dc
mov ecx, dword [esp + 0x88]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], eax
mov word [esp + 0x88], ax
xor eax, eax
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.101d19cc
add esp, 0x9c
ret 4