Function at 0x481ce4
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push 0
push 0x46
push 0xc5
push 0x76
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
push 0x46
push 0xc5
push 0x77
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
push 0x20
push 0xc5
push 0x78
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
push 0x20
push 0xc5
push 0x79
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0x4d17b4
push 0
push 0xc
push 0x76
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0x4d1818
push 0
push 0xc
push 0x77
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0x4d16e8
push 0
push 0xc
push 0x78
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0x4d174c
push 0
push 0xc
push 0x79
push ebx
call sub.USER32.dll_SendDlgItemMessageA
cmp dword [0x4d4908], 0
jne 0x481d8e
cmp dword [0x4d490c], 0
jne 0x481d8e
cmp dword [0x4d4900], 0xffffffff
je 0x481dae
push 0
push 0x78
push ebx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_EnableWindow
push 0
push 0x79
push ebx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_EnableWindow
mov eax, dword [0x4d1bd4]
push eax
push 0x7e
push ebx
call sub.USER32.dll_CheckDlgButton
xor edx, edx
mov dword [0x4e7ac0], edx
push ebx
call fcn.004a067c
xor ecx, ecx
mov dword [0x4e7abc], ecx
push 0
push 0x3c
push 0xc5
push 0x83
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
push 0x1e
push 0xc5
push 0x84
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0x4d1ad6
push 0
push 0xc
push 0x83
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0x4d1b3a
push 0
push 0xc
push 0x84
push ebx
call sub.USER32.dll_SendDlgItemMessageA
cmp dword [0x4d037c], 0
je 0x481e51
push 0
push 0x83
push ebx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_EnableWindow
push 0
push 0x84
push ebx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_EnableWindow
cmp dword [0x4d1ba8], 0
je 0x481e77
push 0
push 0x86
push ebx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_EnableWindow
mov dword [0x4d1bac], 1
mov eax, dword [0x4d1ba8]
push eax
push 0x85
push ebx
call sub.USER32.dll_CheckDlgButton
mov edx, dword [0x4d1bac]
push edx
push 0x86
push ebx
call sub.USER32.dll_CheckDlgButton
mov ecx, dword [0x4d1bb0]
cmp ecx, 1
sbb eax, eax
neg eax
push eax
push 0x89
push ebx
call sub.USER32.dll_CheckDlgButton
mov edx, dword [0x4d1bb0]
push edx
push 0x8a
push ebx
call sub.USER32.dll_CheckDlgButton
mov ecx, dword [0x4d1bb4]
push ecx
push 0x8c
push ebx
call sub.USER32.dll_CheckDlgButton
mov eax, dword [0x4d1bb8]
push eax
push 0x8d
push ebx
call sub.USER32.dll_CheckDlgButton
mov edx, dword [0x4d1bc0]
push edx
push 0x8e
push ebx
call sub.USER32.dll_CheckDlgButton
mov ecx, dword [0x4d1bbc]
push ecx
push 0x8f
push ebx
call sub.USER32.dll_CheckDlgButton
mov eax, dword [0x4d1bc4]
push eax
push 0x91
push ebx
call sub.USER32.dll_CheckDlgButton
push 0
mov edx, dword [0x4d1bc8]
push edx
push 0x92
push ebx
call sub.USER32.dll_SetDlgItemInt
push 0
mov ecx, dword [0x4d1bcc]
push ecx
push 0x95
push ebx
call sub.USER32.dll_SetDlgItemInt
mov eax, dword [0x4d1bd0]
push eax
push 0x98
push ebx
call sub.USER32.dll_CheckDlgButton
push 0
movzx edx, word [0x4d1bd8]
push edx
push 0x99
push ebx
call sub.USER32.dll_SetDlgItemInt
push ebx
call fcn.00480e2c
push 0
push 0xa
push 0xc5
push 0x9d
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
push 0x1e
push 0xc5
push 0x9f
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
push 0xa
push 0xc5
push 0xa1
push ebx
call sub.USER32.dll_SendDlgItemMessageA
movzx ecx, word [0x4ce570]
mov dword [0x4e7ac8], ecx
mov eax, dword [0x4ce564]
mov dword [0x4e7ac4], eax
push eax
push 0x9b
push ebx
call sub.USER32.dll_CheckDlgButton
push 0x4ce572
push 0
push 0xc
push 0x9d
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0x4ce5d6
push 0
push 0xc
push 0x9f
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
movzx edx, word [0x4ce570]
push edx
push 0xa1
push ebx
call sub.USER32.dll_SetDlgItemInt
mov ecx, dword [0x4ce568]
push ecx
push 0xa2
push ebx
call sub.USER32.dll_CheckDlgButton
mov eax, dword [0x4ce56c]
push eax
push 0xa3
push ebx
call sub.USER32.dll_CheckDlgButton
mov edx, dword [0x4ce56c]
mov dword [0x4e7acc], edx
mov ecx, dword [0x4cdf84]
push ecx
push 0xa6
push ebx
call sub.USER32.dll_CheckDlgButton
cmp byte [0x4e0360], 0
jne 0x482068
push 0x64
push 0x4e0360
push str.SOCKS_HOST
call sub.KERNEL32.dll_GetEnvironmentVariableA
push 0x4e0360
push 0
push 0xc
push 0xa8
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
movzx eax, word [0x4cdf78]
push eax
push 0xae
push ebx
call sub.USER32.dll_SetDlgItemInt
push 0x4e03c4
push 0
push 0xc
push 0xaa
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0x4e0428
push 0
push 0xc
push 0xac
push ebx
call sub.USER32.dll_SendDlgItemMessageA
mov edx, dword [0x4cdf7c]
cmp edx, 1
sbb ecx, ecx
neg ecx
push ecx
push 0xb0
push ebx
call sub.USER32.dll_CheckDlgButton
mov eax, dword [0x4cdf7c]
push eax
push 0xb1
push ebx
call sub.USER32.dll_CheckDlgButton
mov edx, dword [0x4cdf80]
push edx
push 0xb2
push ebx
call sub.USER32.dll_CheckDlgButton
pop ebx
pop ebp
ret 4