Function at 0x1012f740
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x101fcb87
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0xc4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0xdc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xec]
cmp byte [ebp + 0x168], 0
jne 0x1012f8f8
mov edi, dword [ebp + 0x124]
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x18], edi
je 0x1012f7a7
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
mov dword [esp + 0xe4], ebx
cmp edi, ebx
je 0x1012f8e0
push 0xffffffffffffffff
mov esi, 7
lea eax, [ebp + 0x148]
push ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.10007880
mov byte [esp + 0xe4], 1
lea eax, [esp + 0x1c]
push eax
call fcn.1012f2f0
lea ecx, [esp + 0x70]
push ecx
call fcn.1012fbf0
mov byte [esp + 0xe4], 2
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push ebx
lea eax, [esp + 0x40]
mov word [ecx + 4], bx
call fcn.10007880
mov byte [esp + 0x100], 3
mov eax, dword [edi]
lea edx, [esp + 0x8c]
add eax, 0x20
push edx
mov byte [esp + 0x104], 2
mov eax, dword [eax]
mov ecx, edi
call eax
test al, al
je 0x1012f8a5
cmp dword [esp + 0xa0], ebx
je 0x1012f8a5
lea ecx, [esp + 0x8c]
push ecx
lea esi, [esp + 0x58]
call fcn.100076d0
mov byte [esp + 0xe4], 4
mov edx, esi
push edx
call fcn.1012f2f0
mov eax, esi
lea ecx, [esp + 0x1c]
call fcn.10026ea0
test al, al
je 0x1012f88f
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 0x12c]
lea eax, [esp + 0x78]
call fcn.10007880
mov byte [esp + 0xe4], 2
lea ecx, [esp + 0x54]
call fcn.10001dd0
mov esi, 7
mov byte [esp + 0xe4], 1
lea eax, [esp + 0x70]
push eax
call fcn.1003a5f0
mov byte [esp + 0xe4], 0
cmp dword [esp + 0x34], 8
jb 0x1012f8d3
mov ecx, dword [esp + 0x20]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
mov dword [esp + 0xe4], 0xffffffff
cmp edi, ebx
je 0x1012f8f8
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea esi, [ebp + 4]
push esi
xor eax, eax
call fcn.10031050
mov ecx, dword [esi]
push 0x834
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [ebp + 0x20]
lea esi, [ebp + 0x20]
mov ebx, eax
mov eax, dword [edx + 8]
push esi
mov ecx, esi
call eax
lea edi, [esi + 8]
call fcn.1000de10
test eax, eax
mov edi, dword [sym.imp.USER32.dll_SetWindowLongW]
je 0x1012f946
mov eax, dword [esi + 0x14]
push eax
push 0xfffffffffffffffc
push ebx
call edi
test eax, eax
je 0x1012f946
mov dword [esi + 0x20], eax
mov dword [esi + 4], ebx
mov ecx, dword [ebp + 0x24]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x460010a9
cmp eax, ecx
je 0x1012f967
mov edx, dword [ebp + 0x24]
push ecx
push 0xfffffffffffffff0
push edx
call edi
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 + 0x120]
test ecx, ecx
mov eax, esp
mov dword [esp + 0x18], esp
mov dword [eax], ecx
je 0x1012f996
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov dword [esp + 0xe8], 5
or ebx, 0xffffffff
mov dword [esp + 0xe8], ebx
mov edi, esi
call fcn.10132e30
push ecx
mov ecx, dword [ebp + 0x128]
test ecx, ecx
mov eax, esp
mov dword [esp + 0x18], esp
mov dword [eax], ecx
je 0x1012f9cb
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov dword [esp + 0xe8], 6
mov dword [esp + 0xe8], ebx
mov edi, esi
call fcn.10132ed0
test esi, esi
je 0x1012f9f0
lea eax, [ebp + 0xcc]
jmp 0x1012f9f2
xor eax, eax
push ebx
mov dword [ebp + 0x78], eax
push 0
lea eax, [ebp + 0x1f8]
lea ecx, [ebp + 0x104]
call fcn.10007880
mov ecx, esi
call fcn.10132f70
test esi, esi
je 0x1012fa1c
lea edi, [ebp + 0xc4]
jmp 0x1012fa1e
xor edi, edi
call fcn.10020000
push 1
mov ecx, esi
mov dword [esi + 0x5c], eax
call fcn.10132fe0
cmp byte [ebp + 0x168], 0
jne 0x1012fa42
mov ecx, dword [ebp + 0x24]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
call fcn.1002c6c0
mov edx, dword [ebp + 4]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x831
push edx
call ebx
cmp dword [ebp + 0x144], 8
mov esi, eax
jb 0x1012fa6b
mov eax, dword [ebp + 0x130]
jmp 0x1012fa71
lea eax, [ebp + 0x130]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
push esi
call edi
cmp byte [ebp + 0x168], 0
je 0x1012faab
push esi
call dword [sym.imp.USER32.dll_SetFocus]
push 0xffffffffffffffff
push 0
push 0xb1
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xb7
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp + 0x160], 8
jb 0x1012fabc
mov esi, dword [ebp + 0x14c]
jmp 0x1012fac2
lea esi, [ebp + 0x14c]
mov eax, dword [ebp + 4]
push 0x832
push eax
call ebx
push esi
push eax
call edi
cmp dword [ebp + 0x18c], 0
je 0x1012faf8
cmp dword [ebp + 0x190], 8
jb 0x1012faeb
mov eax, dword [ebp + 0x17c]
jmp 0x1012faf1
lea eax, [ebp + 0x17c]
mov ecx, dword [ebp + 4]
push eax
push ecx
call edi
mov edx, dword [ebp + 4]
push 0x8a6
push edx
lea esi, [ebp + 0x194]
call ebx
mov ebx, eax
call fcn.1003ddf0
or dword [esi + 0x54], 4
push 0xe15b
lea ecx, [esp + 0x3c]
call fcn.101aa870
add esp, 4
mov dword [esp + 0xe4], 7
cmp dword [esp + 0x50], 8
mov eax, dword [esp + 0x3c]
jae 0x1012fb3f
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.10130a10
mov eax, dword [ebp + 0x198]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
mov ecx, dword [ebp + 4]
lea ebx, [ebp + 4]
push 0x8a5
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call esi
call fcn.10191fb0
mov edi, eax
call fcn.10192680
mov esi, ebp
push eax
call fcn.101306b0
mov edx, dword [ebx]
push edx
mov ecx, edi
call fcn.101922d0
mov dword [esp + 0xe4], 0xffffffff
cmp dword [esp + 0x50], 8
jb 0x1012fbab
mov eax, dword [esp + 0x3c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], eax
mov word [esp + 0x3c], ax
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.101d19cc
add esp, 0xd4
ret 4