Function at 0x442b78
Capabilities:
Check mutex on windows
Hide graphical window
Read .ini file
Set current directory

Disassembly:
mov ebx, 0x452114
push 0x104
push ebx
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov edi, ebx
test eax, eax
je 0x44347a
xor edx, edx
mov al, byte [ebx]
inc ebx
test al, al
je 0x442ba5
cmp al, 0x5c
jne 0x442b96
mov edx, ebx
jmp 0x442b96
test edx, edx
je 0x44347a
mov ebx, edx
mov byte [ebx], al
push edi
call sub.KERNEL32.DLL_SetCurrentDirectoryA
mov ecx, 0x4442a6
mov al, byte [ecx]
mov byte [ebx], al
inc ecx
inc ebx
test al, al
jne 0x442bbc
mov esi, 0x443ee7
push edi
push 0xfe
push 0x443eed
push esi
call sub.KERNEL32.DLL_GetPrivateProfileIntA
cmp eax, 0xff
jbe 0x442be5
mov al, 0xfe
mov byte [0x452264], al
push edi
push 0xfe
push 0x443ef1
push esi
call sub.KERNEL32.DLL_GetPrivateProfileIntA
cmp eax, 0xff
jbe 0x442c04
mov al, 0xfe
mov byte [0x452265], al
push edi
push 0xa
push 0x443ef5
push esi
call sub.KERNEL32.DLL_GetPrivateProfileIntA
cmp eax, 0xa
jbe 0x442c1e
mov al, 0xa
mov byte [0x452266], al
mov esi, 0x4442bb
push edi
push 0x20
push 0x452238
push 0
push 0x4442f1
push esi
call sub.KERNEL32.DLL_GetPrivateProfileStringA
push edi
push 0
push 0x4442c7
push esi
call sub.KERNEL32.DLL_GetPrivateProfileIntA
cmp eax, 3
jbe 0x442c52
mov al, 0
mov byte [0x452268], al
push edi
push 0x672
push 0x4442ca
push esi
call sub.KERNEL32.DLL_GetPrivateProfileIntA
cmp eax, 0x672
jae 0x442c73
mov ax, 0x672
cmp eax, 0xdac
jbe 0x442c7e
mov ax, 0xdac
mov word [0x45226a], ax
push edi
push 0
push 0x4442eb
push esi
call sub.KERNEL32.DLL_GetPrivateProfileIntA
cmp eax, 0xc8
jbe 0x442c9b
mov al, 0
mov byte [0x452269], al
mov ebx, 0x452218
push edi
push 0
push esi
push esi
call sub.KERNEL32.DLL_GetPrivateProfileIntA
mov byte [0x452262], al
push edi
push 0
push 0x4442be
push esi
call sub.KERNEL32.DLL_GetPrivateProfileIntA
mov byte [0x452263], al
push edi
push 0xc
push ebx
push 0
push 0x4442c4
push esi
call sub.KERNEL32.DLL_GetPrivateProfileStringA
cmp eax, 8
jne 0x442d14
lea ecx, [ebx + 0x14]
push ecx
push 0x4442dd
push ebx
call sub.MSVCR80.DLL_sscanf
add esp, 0xc
cmp eax, 1
jne 0x442d14
mov eax, dword [ebx + 0x14]
mov edx, eax
shr edx, 0x10
cmp al, ah
je 0x442d14
cmp al, dl
je 0x442d14
cmp al, dh
je 0x442d14
cmp ah, dl
je 0x442d14
cmp ah, dh
je 0x442d14
cmp dl, dh
jne 0x442d19
mov eax, 0x707b7a78
mov dword [0x45225e], eax
push edi
push 0x10
push ebx
push 0
push 0x4442c1
push esi
call sub.KERNEL32.DLL_GetPrivateProfileStringA
cmp eax, 0xc
lea ecx, [ebx + 0x14]
lea edx, [ebx + 0x18]
jne 0x442d8e
push edx
push ecx
push 0x4442b2
push ebx
call sub.MSVCR80.DLL_sscanf
add esp, 0x10
cmp eax, 2
jne 0x442d8e
mov ecx, 5
mov al, byte [ebx + ecx + 0x14]
mov edx, ecx
test al, al
je 0x442d6f
cmp al, byte [ecx + 0x4441de]
je 0x442d8e
cmp al, byte [ebx + edx + 0x13]
je 0x442d8e
dec edx
jne 0x442d66
dec ecx
jne 0x442d54
mov al, byte [ebx + 0x14]
cmp al, byte [0x4441de]
je 0x442d8e
mov eax, dword [ebx + 0x14]
mov dword [0x452258], eax
mov eax, dword [ebx + 0x18]
mov word [0x45225c], ax
push 0x444313
push 1
push 0
call sub.KERNEL32.DLL_CreateMutexA
mov dword [0x4520f0], eax
test eax, eax
je 0x44347a
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0xb7
je 0x443443
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
xchg edi, eax
mov eax, dword [0x4520ec]
push esp
push 0x44348c
push 0
push dword [eax + 0x4440c4]
push edi
call sub.USER32.DLL_CreateDialogParamA
test eax, eax
mov dword [0x4520f8], eax
xchg esi, eax
je 0x443443
push 0x35
push esi
call sub.USER32.DLL_GetDlgItem
test eax, eax
mov dword [0x4520fc], eax
xchg ebx, eax
je 0x443443
sub esp, 0x1c
mov dword [esp], 3
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [0x4520ec]
mov eax, dword [eax + 0x4440f4]
mov dword [esp + 0xc], eax
push esp
push 0
push 0x1307
push ebx
call sub.USER32.DLL_SendMessageA
mov eax, dword [0x4520ec]
mov eax, dword [eax + 0x444100]
mov dword [esp + 0xc], eax
push esp
push 1
push 0x1307
push ebx
call sub.USER32.DLL_SendMessageA
mov eax, dword [0x4520ec]
mov eax, dword [eax + 0x44410c]
mov dword [esp + 0xc], eax
push esp
push 2
push 0x1307
push ebx
call sub.USER32.DLL_SendMessageA
add esp, 0x1c
push 0
push 0
push 0x130c
push ebx
call sub.USER32.DLL_SendMessageA
push 0x452218
push ebx
call sub.USER32.DLL_GetClientRect
push 0x452218
push 0
push 0x1328
push ebx
call sub.USER32.DLL_SendMessageA
mov eax, dword [0x452220]
sub eax, dword [0x452218]
mov dword [0x452220], eax
mov eax, dword [0x452224]
sub eax, dword [0x45221c]
mov dword [0x452224], eax
mov eax, dword [0x4520ec]
push esp
push 0x443523
push ebx
push dword [eax + 0x4440d0]
push edi
call sub.USER32.DLL_CreateDialogParamA
test eax, eax
mov dword [0x452104], eax
je 0x443443
push 0x44
push dword [0x452224]
push dword [0x452220]
push dword [0x45221c]
push dword [0x452218]
push 0
push eax
call sub.USER32.DLL_SetWindowPos
push 5
push dword [0x452104]
call sub.USER32.DLL_ShowWindow
mov eax, dword [0x4520ec]
push esp
push 0x4436b1
push ebx
push dword [eax + 0x4440dc]
push edi
call sub.USER32.DLL_CreateDialogParamA
test eax, eax
mov dword [0x452108], eax
je 0x443443
push 0x44
push dword [0x452224]
push dword [0x452220]
push dword [0x45221c]
push dword [0x452218]
push 0
push eax
call sub.USER32.DLL_SetWindowPos
push 0
push dword [0x452108]
call sub.USER32.DLL_ShowWindow
mov eax, dword [0x4520ec]
push esp
push 0x4437ab
push ebx
push dword [eax + 0x4440e8]
push edi
call sub.USER32.DLL_CreateDialogParamA
test eax, eax
mov dword [0x45210c], eax
je 0x443443
push 0x44
push dword [0x452224]
push dword [0x452220]
push dword [0x45221c]
push dword [0x452218]
push 0
push eax
call sub.USER32.DLL_SetWindowPos
push 0
push dword [0x45210c]
call sub.USER32.DLL_ShowWindow
push 5
push esi
call sub.USER32.DLL_ShowWindow
sub esp, 0x1c
xor eax, eax
cmp al, byte [0x452267]
jne 0x4430ed
mov ecx, esp
push eax
push eax
push eax
push ecx
call sub.USER32.DLL_GetMessageA
test eax, eax
je 0x4430ed
cmp eax, 0xffffffff
je 0x4430ed
cmp dword [0x452100], 1
jne 0x4430cb
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
cmp edx, 0x100
jne 0x44309c
mov cx, 0xff00
cmp eax, 0x26
je 0x443033
xchg cl, ch
cmp eax, 0x25
je 0x443033
mov cl, 1
cmp eax, 0x27
je 0x443033
xchg cl, ch
cmp eax, 0x28
je 0x443033
call fcn.00443b49
jae 0x4430cb
jmp 0x442fbd
mov eax, dword [0x4520f4]
movsx edx, cl
movsx ecx, ch
shr eax, 1
adc edx, 0
and edx, 1
add eax, ecx
xor ecx, ecx
cmp eax, 3
jne 0x443051
mov eax, ecx
mov cl, 2
cmp eax, 0xffffffff
jne 0x44305a
mov eax, ecx
shl eax, 1
add eax, edx
xchg dword [0x4520f4], eax
add eax, 0x11
push eax
push dword [0x452108]
call sub.USER32.DLL_GetDlgItem
push 0
push eax
call sub.USER32.DLL_ShowWindow
mov eax, dword [0x4520f4]
add eax, 0x11
push eax
push dword [0x452108]
call sub.USER32.DLL_GetDlgItem
push 8
push eax
call sub.USER32.DLL_ShowWindow
jmp 0x442fbd
cmp edx, 0x207
jne 0x4430b0
mov al, 4
call fcn.00443b49
jmp 0x442fbd
cmp edx, 0x20b
jne 0x4430cb
shr eax, 0x11
and eax, 1
lea eax, [eax + 5]
call fcn.00443b49
jmp 0x442fbd
mov ecx, esp
push ecx
push esi
call sub.USER32.DLL_IsDialogMessage
test eax, eax
jne 0x442fbd
push esp
call sub.USER32.DLL_TranslateMessage
push esp
call sub.USER32.DLL_DispatchMessageA
jmp 0x442fbd
add esp, 0x1c
mov esi, dword [0x45210c]
push 0
push 0
push 0x147
push 0x1e
push esi
call sub.USER32.DLL_SendDlgItemMessageA
test eax, eax
js 0x44311b
cmp al, 1
ja 0x443117
mov al, 0xff
jb 0x44311d
mov al, 0xfe
jmp 0x44311d
sub al, 2
jmp 0x44311d
mov al, 0xfe
mov byte [0x452264], al
push 0
push 0
push 0x147
push 0x1f
push esi
call sub.USER32.DLL_SendDlgItemMessageA
test eax, eax
js 0x443147
cmp al, 1
ja 0x443143
mov al, 0xff
jb 0x443149
mov al, 0xfe
jmp 0x443149
sub al, 2
jmp 0x443149
mov al, 0xfe
mov byte [0x452265], al
push 0
push 0
push 0x400
push 0x20
push esi
call sub.USER32.DLL_SendDlgItemMessageA
cmp eax, 0xa
jbe 0x443166
mov al, 0xa
mov byte [0x452266], al
mov esi, dword [0x452104]
mov bl, 0
push 0x21
push esi
call sub.USER32.DLL_IsDlgButtonChecked
and al, 1
or bl, al
push 0x22
push esi
call sub.USER32.DLL_IsDlgButtonChecked
and al, 1
shl al, 1
or bl, al
push 0x23
push esi
call sub.USER32.DLL_IsDlgButtonChecked
and al, 1
shl al, 2
or bl, al
push 0x24
push esi
call sub.USER32.DLL_IsDlgButtonChecked
and al, 1
shl al, 3
or al, bl
mov byte [0x452262], al
mov bl, byte [0x452263]
and bl, 0xc7
push 0x29
push esi
call sub.USER32.DLL_IsDlgButtonChecked
and al, 1
xor al, 1
shl al, 3
or bl, al
push 0x2a
push esi
call sub.USER32.DLL_IsDlgButtonChecked
and al, 1
shl al, 4
or bl, al
push 0x2e
push esi
call sub.USER32.DLL_IsDlgButtonChecked
and al, 1
xor al, 1
shl al, 5
or bl, al
push 0x2f
push esi
call sub.USER32.DLL_IsDlgButtonChecked
and al, 1
xor al, 1
shl al, 6
or al, bl
mov byte [0x452263], al
push 0
push 0
push 0x147
push 0x2b
push esi
call sub.USER32.DLL_SendDlgItemMessageA
test eax, eax
jns 0x443217
mov al, 0
mov byte [0x452268], al
push 0
push 0
push 0x2d
push esi
call sub.USER32.DLL_GetDlgItemInt
cmp eax, 0x672
jae 0x443233
mov ax, 0x672
cmp eax, 0xdac
jbe 0x44323e
mov ax, 0xdac
mov word [0x45226a], ax
push 0
push 0
push 0x2c
push esi
call sub.USER32.DLL_GetDlgItemInt
cmp eax, 0xc8
jbe 0x443259
mov al, 0
mov byte [0x452269], al
mov esi, dword [0x452108]
push 0
push 0
push 0x147
push 0x30
push esi
call sub.USER32.DLL_SendDlgItemMessageA
test eax, eax
jle 0x443293
mov ecx, 0x452238
mov dword [0x452110], ecx
push ecx
push eax
push 0x148
push 0x30
push esi
call sub.USER32.DLL_SendDlgItemMessageA
cmp byte [0x452267], 0x32
jne 0x443443
mov edi, 0x452114
mov ebx, 0x452218
mov esi, 0x443ee7
movzx eax, byte [0x452264]
push eax
push 0x4442e8
push ebx
call sub.USER32.DLL_wsprintfA
add esp, 0xc
push edi
push ebx
push 0x443eed
push esi
call sub.KERNEL32.DLL_WritePrivateProfileStringA
movzx eax, byte [0x452265]
push eax
push 0x4442e8
push ebx
call sub.USER32.DLL_wsprintfA
add esp, 0xc
push edi
push ebx
push 0x443ef1
push esi
call sub.KERNEL32.DLL_WritePrivateProfileStringA
movzx eax, byte [0x452266]
push eax
push 0x4442e8
push ebx
call sub.USER32.DLL_wsprintfA
add esp, 0xc
push edi
push ebx
push 0x443ef5
push esi
call sub.KERNEL32.DLL_WritePrivateProfileStringA
mov esi, 0x4442bb
movzx eax, byte [0x452262]
push eax
push 0x4442e8
push ebx
call sub.USER32.DLL_wsprintfA
add esp, 0xc
push edi
push ebx
push esi
push esi
call sub.KERNEL32.DLL_WritePrivateProfileStringA
movzx eax, byte [0x452263]
push eax
push 0x4442e8
push ebx
call sub.USER32.DLL_wsprintfA
add esp, 0xc
push edi
push ebx
push 0x4442be
push esi
call sub.KERNEL32.DLL_WritePrivateProfileStringA
movzx eax, byte [0x452268]
push eax
push 0x4442e8
push ebx
call sub.USER32.DLL_wsprintfA
add esp, 0xc
push edi
push ebx
push 0x4442c7
push esi
call sub.KERNEL32.DLL_WritePrivateProfileStringA
movzx eax, word [0x45226a]
push eax
push 0x4442e8
push ebx
call sub.USER32.DLL_wsprintfA
add esp, 0xc
push edi
push ebx
push 0x4442ca
push esi
call sub.KERNEL32.DLL_WritePrivateProfileStringA
movzx eax, byte [0x452269]
push eax
push 0x4442e8
push ebx
call sub.USER32.DLL_wsprintfA
add esp, 0xc
push edi
push ebx
push 0x4442eb
push esi
call sub.KERNEL32.DLL_WritePrivateProfileStringA
push edi
push dword [0x452110]
push 0x4442f1
push esi
call sub.KERNEL32.DLL_WritePrivateProfileStringA
mov eax, dword [0x45225e]
push eax
push 0x4442dd
push ebx
call sub.USER32.DLL_wsprintfA
add esp, 0xc
push edi
push ebx
push 0x4442c4
push esi
call sub.KERNEL32.DLL_WritePrivateProfileStringA
mov ecx, dword [0x452258]
movzx eax, word [0x45225c]
push eax
push ecx
push 0x4442b2
push ebx
call sub.USER32.DLL_wsprintfA
add esp, 0x10
push edi
push ebx
push 0x4442c1
push esi
call sub.KERNEL32.DLL_WritePrivateProfileStringA
mov ecx, 0x444306
push ecx
push ecx
call sub.USER32.DLL_FindWindowA
test eax, eax
je 0x443443
push 0x444118
push eax
push 0x4a
push eax
call sub.USER32.DLL_SendMessageA
push dword [0x452104]
call fcn.0044347d
push dword [0x452108]
call fcn.0044347d
push dword [0x45210c]
call fcn.0044347d
push dword [0x4520f8]
call fcn.0044347d
push dword [0x4520f0]
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
ret