Function at 0x404440
Capabilities:
Hide graphical window
Read .ini file

Disassembly:
mov al, byte [0x411c62]
sub esp, 0x224
test al, 1
push ebx
push ebp
push esi
push edi
jne 0x404476
mov bl, al
mov eax, dword [esp + 0x238]
or bl, 1
push 0x403
push eax
mov byte [0x411c62], bl
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [0x412c38], eax
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
xor edi, edi
mov esi, 0x412d40
mov ebp, dword [esp + 0x23c]
cmp ebp, edi
jne 0x4044a0
mov ecx, dword [esi]
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [esi]
push 1
push edx
jmp 0x4044b0
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi]
push 0
push ecx
call ebx
add esi, 4
inc edi
cmp esi, 0x412d54
jl 0x404483
mov eax, dword [str.JCPRIWEL_01]
test eax, eax
je 0x40450d
mov edi, 0x40ede8
mov eax, dword [edi]
mov edx, dword [edi + 4]
push edx
mov ecx, dword [eax*4 + 0x412d40]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
mov eax, dword [edi]
cmp ebp, eax
jne 0x4044f5
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
jmp 0x404500
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push esi
call ebx
mov eax, dword [edi + 0x14]
add edi, 0xc
test eax, eax
jne 0x4044cc
lea eax, [ebp*8]
push 0x412b34
sub eax, ebp
push 0x100
lea edx, [eax + eax*2]
lea eax, [esp + 0x38]
push eax
push 0x4117d0
lea edi, [ebp + edx*2]
shl edi, 2
mov dword [esp + 0x20], edi
lea ecx, [edi + str.WELCOME]
push ecx
push str.TITLE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [0x412d54]
mov esi, dword [esp + 0x238]
push 0
push edx
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov esi, 0x412e44
lea ebp, [edi + 0x40eaac]
mov edi, str.UNVIS
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x4045a5
test cl, cl
je 0x4045a1
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x4045a5
add eax, 2
add edi, 2
test cl, cl
jne 0x404581
xor eax, eax
jmp 0x4045aa
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4045b6
push eax
mov eax, dword [esi]
push eax
call ebx
jmp 0x404635
cmp byte [ebp], 0x2d
jne 0x4045d2
mov ecx, dword [esi]
push 0
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
lea edx, [ebp + 1]
lea eax, [esp + 0x14]
push edx
push eax
jmp 0x4045e3
mov ecx, dword [esi]
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
lea edx, [esp + 0x14]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esi]
push 1
push eax
call ebx
push 0x412b34
lea ecx, [esp + 0x34]
push 0x100
push ecx
lea edx, [esp + 0x20]
push 0x4117d0
push edx
push str.BUTTON
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [0x412d54]
mov ecx, dword [esi]
push 0
push eax
push 0x30
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi]
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
add esi, 4
add ebp, 0x20
cmp esi, 0x412e50
jl 0x40457a
mov esi, dword [esp + 0x10]
mov edx, dword [0x412c38]
mov ecx, dword [esi + 0x40ea88]
push ecx
push edx
call ebx
mov eax, dword [esi + 0x40ea88]
test eax, eax
je 0x404823
mov ecx, dword [0x412c38]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [str.JCPInst]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x412b34
lea edx, [esp + 0x34]
push 0x100
push edx
push str.nothing
push eax
push 0x40f08c
call ebp
mov esi, str.nothing
lea eax, [esp + 0x30]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4046d3
test cl, cl
je 0x4046cf
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4046d3
add eax, 2
add esi, 2
test cl, cl
jne 0x4046ab
xor eax, eax
jmp 0x4046d8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4047a8
mov eax, dword [esp + 0x23c]
mov ecx, dword [str.JCPInst]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
push ecx
lea edx, [esp + 0x1c]
push str._s_02d
push edx
call edi
add esp, 0x10
lea eax, [esp + 0x30]
lea ecx, [esp + 0x14]
push 0x412b34
push 0x100
push eax
push str.nothing
push ecx
push 0x40f08c
call ebp
mov esi, str.nothing
lea eax, [esp + 0x30]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x404755
test cl, cl
je 0x404751
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x404755
add eax, 2
add esi, 2
test cl, cl
jne 0x40472d
xor eax, eax
jmp 0x40475a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4047a8
mov eax, dword [esp + 0x10]
push 0x412b34
lea ecx, [esp + 0x34]
push 0x100
lea esi, [eax + 0x40eb14]
push ecx
push str.nothing
push esi
push 0x40f08c
call ebp
lea edx, [esp + 0x30]
push str.nothing
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4047a8
push esi
lea eax, [esp + 0x34]
push str._s.bmp
push eax
call edi
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x130]
push 0x412a28
push ecx
call esi
lea edx, [esp + 0x30]
lea eax, [esp + 0x130]
push edx
push 0x104
push eax
call fcn.00406200
add esp, 0xc
lea ecx, [esp + 0x130]
push ecx
push 0x412e58
call esi
mov edi, dword [esp + 0x238]
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov eax, dword [0x412f5c]
test eax, eax
je 0x404812
push eax
call fcn.00407f87
add esp, 4
mov dword [0x412f5c], 0
push esi
call fcn.00405d80
add esp, 4
push esi
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x224
ret