Function at 0x4bd42a
Capabilities:
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov esi, 0x534418
push 0
push 0x46
push 0xc5
push 0x78
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
push 0x46
push 0xc5
push 0x79
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
push 0x20
push 0xc5
push 0x7a
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
push 0x20
push 0xc5
push 0x7b
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0x533afc
push 0
push 0xc
push 0x78
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0x533b60
push 0
push 0xc
push 0x79
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0x533a30
push 0
push 0xc
push 0x7a
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0x533a94
push 0
push 0xc
push 0x7b
push ebx
call sub.USER32.dll_SendDlgItemMessageA
cmp dword [0x52b4d0], 0
jne 0x4bd4db
cmp dword [0x52b4d4], 0
jne 0x4bd4db
cmp dword [0x537b60], 0xffffffff
je 0x4bd4fb
push 0
push 0x7a
push ebx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_EnableWindow
push 0
push 0x7b
push ebx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_EnableWindow
push dword [0x533f18]
push 0x80
push ebx
call sub.USER32.dll_CheckDlgButton
xor eax, eax
mov dword [0x5343c8], eax
push 0
lea edx, [esi + 0x153]
push edx
push 0x55ff50
call fcn.00461bcb
mov dword [0x535954], eax
push 0x52ffb0
push 0x64
push 0x535958
lea ecx, [esi + 0x16d]
push ecx
lea eax, [esi + 0x164]
push eax
lea edx, [esi + 0x15e]
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
cmp byte [0x535958], 0
je 0x4bd58a
lea ecx, [esi + 0x172]
push ecx
push 0x535958
call fcn.005185a0
add esp, 8
test eax, eax
je 0x4bd5e5
lea eax, [esi + 0x177]
push eax
push 0x535958
call fcn.005185a0
add esp, 8
test eax, eax
je 0x4bd5e5
push esi
mov esi, 0x535958
mov edi, 0x533c8c
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
cmp byte [0x535958], 0
jne 0x4bd5e5
push esi
mov esi, 0x535958
mov edi, 0x533c28
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
push 0
push ebx
call fcn.004dd998
push 0
push ebx
call fcn.004ddbc9
xor eax, eax
mov dword [0x5343c4], eax
xor edx, edx
mov dword [0x5343d8], edx
push 0
push 0x3c
push 0xc5
push 0x87
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
push 0x1e
push 0xc5
push 0x88
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0x533e20
push 0
push 0xc
push 0x87
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0x533e84
push 0
push 0xc
push 0x88
push ebx
call sub.USER32.dll_SendDlgItemMessageA
cmp dword [0x531afc], 0
je 0x4bd683
push 0
push 0x87
push ebx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_EnableWindow
push 0
push 0x88
push ebx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_EnableWindow
cmp dword [0x533eec], 0
je 0x4bd6a9
push 0
push 0x8a
push ebx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_EnableWindow
mov dword [0x533ef0], 1
push dword [0x533eec]
push 0x89
push ebx
call sub.USER32.dll_CheckDlgButton
push dword [0x533ef0]
push 0x8a
push ebx
call sub.USER32.dll_CheckDlgButton
mov ecx, dword [0x533ef4]
cmp ecx, 1
sbb eax, eax
neg eax
push eax
push 0x8d
push ebx
call sub.USER32.dll_CheckDlgButton
push dword [0x533ef4]
push 0x8e
push ebx
call sub.USER32.dll_CheckDlgButton
push dword [0x533ef8]
push 0x93
push ebx
call sub.USER32.dll_CheckDlgButton
push dword [0x533efc]
push 0x94
push ebx
call sub.USER32.dll_CheckDlgButton
push dword [0x533f04]
push 0x95
push ebx
call sub.USER32.dll_CheckDlgButton
push dword [0x533f00]
push 0x96
push ebx
call sub.USER32.dll_CheckDlgButton
push dword [0x533f08]
push 0x98
push ebx
call sub.USER32.dll_CheckDlgButton
push 0
push dword [0x533f10]
push 0x99
push ebx
call sub.USER32.dll_SetDlgItemInt
push 0
push dword [0x533f0c]
push 0x9c
push ebx
call sub.USER32.dll_SetDlgItemInt
push dword [0x533f14]
push 0x9e
push ebx
call sub.USER32.dll_CheckDlgButton
push ebx
call fcn.004bd3a3
mov edx, dword [0x534ccc]
mov dword [0x5341dc], edx
mov ecx, dword [0x534cd0]
mov dword [0x5341e0], ecx
push esi
mov esi, 0x5341e4
mov edi, 0x534cd4
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
push 0
movzx eax, word [0x533e1e]
push eax
push 0xa0
push ebx
call sub.USER32.dll_SetDlgItemInt
push 0
push 0xa
push 0xc5
push 0xa9
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
push 0x1e
push 0xc5
push 0xab
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
push 0xa
push 0xc5
push 0xad
push ebx
call sub.USER32.dll_SendDlgItemMessageA
movzx edx, word [0x52ec30]
mov dword [0x5343d0], edx
mov eax, dword [0x52ec24]
mov dword [0x5343cc], eax
push eax
push 0xa7
push ebx
call sub.USER32.dll_CheckDlgButton
push 0x52ec32
push 0
push 0xc
push 0xa9
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0x52ec96
push 0
push 0xc
push 0xab
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
movzx edx, word [0x52ec30]
push edx
push 0xad
push ebx
call sub.USER32.dll_SetDlgItemInt
push dword [0x52ec28]
push 0xae
push ebx
call sub.USER32.dll_CheckDlgButton
push dword [0x52ec2c]
push 0xaf
push ebx
call sub.USER32.dll_CheckDlgButton
mov ecx, dword [0x52ec2c]
mov dword [0x5343d4], ecx
push dword [0x52e370]
push 0xb6
push ebx
call sub.USER32.dll_CheckDlgButton
cmp byte [0x54d570], 0
jne 0x4bd8d4
push 0x64
push 0x54d570
lea eax, [esi + 0x17f]
push eax
call sub.KERNEL32.dll_GetEnvironmentVariableA
push 0x54d570
push 0
push 0xc
push 0xb8
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
movzx edx, word [0x52e364]
push edx
push 0xbe
push ebx
call sub.USER32.dll_SetDlgItemInt
push 0x54d5d4
push 0
push 0xc
push 0xba
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0x54d638
push 0
push 0xc
push 0xbc
push ebx
call sub.USER32.dll_SendDlgItemMessageA
cmp dword [0x52e368], 1
jne 0x4bd93d
push 1
push 0xc1
push ebx
call sub.USER32.dll_CheckDlgButton
jmp 0x4bd962
cmp dword [0x52e368], 2
jne 0x4bd955
push 1
push 0xc3
push ebx
call sub.USER32.dll_CheckDlgButton
jmp 0x4bd962
push 1
push 0xc0
push ebx
call sub.USER32.dll_CheckDlgButton
push dword [0x52e36c]
push 0xc2
push ebx
call sub.USER32.dll_CheckDlgButton
pop edi
pop esi
pop ebx
pop ebp
ret 4