Function at 0x402e78
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp edx, 0x3e8
push ebx
push esi
push edi
mov esi, ecx
je 0x402eb4
cmp edx, 0x3eb
je 0x402ec2
cmp edx, 0x3ec
je 0x403101
cmp edx, 0x3ee
je 0x402ee3
cmp edx, 0xbd0
je 0x402ef1
jmp 0x403148
push 1
push esi
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x403148
push 0
push 0
push 0x188
push 0x3ea
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov ecx, eax
call fcn.00402d21
jmp 0x403148
push 1
push esi
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x403148
push 5
push esi
xor edi, edi
call dword [sym.imp.USER32.dll_ShowWindow]
xor ecx, ecx
mov ebx, 0x3ed
call fcn.00402588
mov ecx, 0x32
call fcn.004015a6
push eax
push edi
push 0x180
push ebx
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push edi
push eax
push 0x186
push ebx
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push edi
push edi
push 0x18b
push 0x3ea
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
test eax, eax
je 0x40305f
push 1
push 0x3eb
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push 0x3ec
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, 0x35
call fcn.004015a6
push eax
push 0x3e9
push esi
mov ebx, 0x3e8
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ecx, 0x2e
call fcn.004015a6
push eax
push ebx
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ecx, 0x2c
call fcn.004015a6
push eax
push 0x3eb
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ecx, 0x2d
call fcn.004015a6
push eax
push 0x3ec
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push edi
push 0x3ee
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x10]
push eax
push ebx
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
imul eax, eax, 3
cdq
and edx, 3
push 1
add eax, edx
sar eax, 2
add eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
push ebx
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 6
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
push edi
push edi
push edi
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push edi
push edi
push 0x186
push 0x3ea
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
jmp 0x403148
push 0
push 0x3e9
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x3ea
push esi
mov ebx, 0x3ee
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x10]
push eax
push ebx
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push 1
imul eax, eax, 3
cdq
and edx, 3
push ebx
add eax, edx
push esi
sar eax, 2
add edi, eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
push ebx
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 6
sub edi, dword [ebp - 0xc]
push edi
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x403148
xor edi, edi
push edi
push edi
push 0x18b
push 0x3ea
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
test eax, eax
je 0x403148
mov ebx, 0x3ea
push edi
push edi
push 0x188
push ebx
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov ecx, eax
call fcn.00402d21
push edi
push edi
push 0x18b
push ebx
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
test eax, eax
jne 0x40311f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8