Function at 0x4dace1
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov edi, 0x56bf78
mov esi, dword [0x56c200]
push esi
call fcn.0041261f
test eax, eax
je 0x4db4fa
push esi
push 1
call fcn.00458a4e
push 0
push 0x46
push 0xc5
push 0x80
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
push 0x46
push 0xc5
push 0x81
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
push 0x20
push 0xc5
push 0x82
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
push 0x20
push 0xc5
push 0x83
push ebx
call sub.USER32.dll_SendDlgItemMessageA
lea eax, [esi + 0xd86]
push eax
push 0
push 0xc
push 0x80
push ebx
call sub.USER32.dll_SendDlgItemMessageA
lea edx, [esi + 0xdea]
push edx
push 0
push 0xc
push 0x81
push ebx
call sub.USER32.dll_SendDlgItemMessageA
lea ecx, [esi + 0xe4e]
push ecx
push 0
push 0xc
push 0x82
push ebx
call sub.USER32.dll_SendDlgItemMessageA
lea eax, [esi + 0xeb2]
push eax
push 0
push 0xc
push 0x83
push ebx
call sub.USER32.dll_SendDlgItemMessageA
mov edx, 1
cmp dword [0x56c224], 0
jne 0x4dadc2
dec edx
push edx
push 0x88
push ebx
call sub.USER32.dll_CheckDlgButton
xor ecx, ecx
mov dword [0x56bf1c], ecx
call fcn.00505c4c
push 0x581e7c
push 0x64
push 0x5881f4
lea eax, [edi + 0xf1]
push eax
lea edx, [edi + 0xe8]
push edx
lea ecx, [edi + 0xe2]
push ecx
call fcn.004ac8c9
cmp byte [0x5881f4], 0
je 0x4dae3a
lea eax, [edi + 0xf6]
push eax
push 0x5881f4
call fcn.0054e450
add esp, 8
test eax, eax
je 0x4dae9f
lea edx, [edi + 0xfb]
push edx
push 0x5881f4
call fcn.0054e450
add esp, 8
test eax, eax
je 0x4dae9f
lea ecx, [esi + 0x1814]
push esi
push edi
mov edi, ecx
mov esi, 0x5881f4
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 edi
pop esi
cmp byte [0x5881f4], 0
jne 0x4dae9f
lea eax, [esi + 0x1042]
push esi
push edi
mov edi, eax
mov esi, 0x5881f4
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 edi
pop esi
push 0
push ebx
call fcn.00505deb
push 0
push ebx
call fcn.0050608e
xor eax, eax
mov dword [0x56bf18], eax
xor edx, edx
mov dword [0x56bf2c], edx
push 0
push 0x3c
push 0xc5
push 0x8f
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
push 0x1e
push 0xc5
push 0x90
push ebx
call sub.USER32.dll_SendDlgItemMessageA
lea ecx, [esi + 0x44c]
push ecx
push 0
push 0xc
push 0x8f
push ebx
call sub.USER32.dll_SendDlgItemMessageA
add esi, 0x4b0
push esi
push 0
push 0xc
push 0x90
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push dword [0x56c200]
call fcn.004128db
test eax, eax
jne 0x4daf30
push dword [0x56c200]
call fcn.00412967
test eax, eax
je 0x4daf56
push 0
push 0x80
push ebx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_EnableWindow
push 0
push 0x81
push ebx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_EnableWindow
push dword [0x56c200]
call fcn.004130ef
test eax, eax
je 0x4daf8b
push 0
push 0x8f
push ebx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_EnableWindow
push 0
push 0x90
push ebx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_EnableWindow
cmp dword [0x56c208], 0
je 0x4dafb1
push 0
push 0x92
push ebx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_EnableWindow
mov dword [0x56c20c], 1
mov eax, 1
cmp dword [0x56c208], 0
jne 0x4dafc0
dec eax
push eax
push 0x91
push ebx
call sub.USER32.dll_CheckDlgButton
mov edx, 1
cmp dword [0x56c20c], 0
jne 0x4dafdb
dec edx
push edx
push 0x92
push ebx
call sub.USER32.dll_CheckDlgButton
mov ecx, 1
cmp dword [0x56c210], 0
je 0x4daff6
dec ecx
push ecx
push 0x95
push ebx
call sub.USER32.dll_CheckDlgButton
mov eax, 1
cmp dword [0x56c210], 0
jne 0x4db011
dec eax
push eax
push 0x96
push ebx
call sub.USER32.dll_CheckDlgButton
mov edx, 1
cmp dword [0x56c214], 0
jne 0x4db02c
dec edx
push edx
push 0x9b
push ebx
call sub.USER32.dll_CheckDlgButton
mov ecx, 1
cmp dword [0x56c218], 0
jne 0x4db047
dec ecx
push ecx
push 0x9c
push ebx
call sub.USER32.dll_CheckDlgButton
mov eax, 1
cmp dword [0x56c220], 0
jne 0x4db062
dec eax
push eax
push 0x9d
push ebx
call sub.USER32.dll_CheckDlgButton
mov edx, 1
cmp dword [0x56c21c], 0
jne 0x4db07d
dec edx
push edx
push 0x9e
push ebx
call sub.USER32.dll_CheckDlgButton
mov ecx, dword [0x56c228]
mov dword [0x56be84], ecx
mov eax, dword [0x56c22c]
mov dword [0x56be88], eax
mov edx, dword [0x56c230]
mov dword [0x56be8c], edx
mov ecx, dword [0x56c234]
mov dword [0x56be90], ecx
mov eax, dword [0x56c238]
mov dword [0x56be94], eax
mov edx, dword [0x56cdcc]
mov dword [0x56be98], edx
mov ecx, dword [0x56cdd0]
mov dword [0x56be9c], ecx
push edi
mov esi, 0x584560
mov edi, 0x5864bc
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 edi
mov eax, dword [0x56c24c]
mov dword [0x56bea0], eax
mov edx, dword [0x56c250]
mov dword [0x56bea4], edx
mov ecx, dword [0x56c244]
mov dword [0x56bea8], ecx
mov eax, dword [0x56c248]
mov dword [0x56beac], eax
mov edx, dword [0x56c254]
mov dword [0x56beb0], edx
mov ecx, dword [0x56c258]
mov dword [0x56beb4], ecx
mov eax, dword [0x56c25c]
mov dword [0x56beb8], eax
mov edx, dword [0x56c260]
mov dword [0x56bebc], edx
push 0
movzx ecx, word [0x56c204]
push ecx
push 0xa0
push ebx
call sub.USER32.dll_SetDlgItemInt
push 0
push 0xa
push 0xc5
push 0xb1
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
push 0x1e
push 0xc5
push 0xb3
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
push 0xa
push 0xc5
push 0xb5
push ebx
call sub.USER32.dll_SendDlgItemMessageA
movzx eax, word [0x56688c]
mov dword [0x56bf24], eax
mov eax, dword [0x56687c]
mov dword [0x56bf20], eax
mov edx, 1
test eax, eax
jne 0x4db1cd
dec edx
push edx
push 0xaf
push ebx
call sub.USER32.dll_CheckDlgButton
push 0x581d80
push 0
push 0xc
push 0xb1
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0x581de4
push 0
push 0xc
push 0xb3
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
movzx ecx, word [0x56688c]
push ecx
push 0xb5
push ebx
call sub.USER32.dll_SetDlgItemInt
mov eax, 1
cmp dword [0x566880], 0
jne 0x4db225
dec eax
push eax
push 0xb6
push ebx
call sub.USER32.dll_CheckDlgButton
mov edx, 1
cmp dword [0x566884], 0
jne 0x4db240
dec edx
push edx
push 0xb7
push ebx
call sub.USER32.dll_CheckDlgButton
mov ecx, dword [0x566884]
mov dword [0x56bf28], ecx
mov eax, 1
cmp dword [0x566888], 0
jne 0x4db267
dec eax
push eax
push 0xb8
push ebx
call sub.USER32.dll_CheckDlgButton
push 0
push 0
push 0x14b
push 0xbf
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
push 0x1119
call fcn.0042c771
push eax
push 0
push 0x143
push 0xbf
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
push 0x111a
call fcn.0042c771
push eax
push 0
push 0x143
push 0xbf
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
push 0x111b
call fcn.0042c771
push eax
push 0
push 0x143
push 0xbf
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
push 0x111c
call fcn.0042c771
push eax
push 0
push 0x143
push 0xbf
push ebx
call sub.USER32.dll_SendDlgItemMessageA
cmp dword [0x565dc4], 0
je 0x4db32b
cmp dword [0x565dc0], 0
je 0x4db32b
push 0
push 3
push 0x14e
push 0xbf
push ebx
call sub.USER32.dll_SendDlgItemMessageA
jmp 0x4db37d
cmp dword [0x565dc0], 0
je 0x4db34a
push 0
push 2
push 0x14e
push 0xbf
push ebx
call sub.USER32.dll_SendDlgItemMessageA
jmp 0x4db37d
cmp dword [0x565dc4], 0
je 0x4db369
push 0
push 1
push 0x14e
push 0xbf
push ebx
call sub.USER32.dll_SendDlgItemMessageA
jmp 0x4db37d
push 0
push 0
push 0x14e
push 0xbf
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
push 0
push 0x14b
push 0xc1
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
push 0x111d
call fcn.0042c771
push eax
push 0
push 0x143
push 0xc1
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
push 0x111e
call fcn.0042c771
push eax
push 0
push 0x143
push 0xc1
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
push 0x111f
call fcn.0042c771
push eax
push 0
push 0x143
push 0xc1
push ebx
call sub.USER32.dll_SendDlgItemMessageA
mov eax, dword [0x565dbc]
test eax, eax
jl 0x4db3fc
cmp eax, 2
jle 0x4db404
xor edx, edx
mov dword [0x565dbc], edx
push 0
push dword [0x565dbc]
push 0x14e
push 0xc1
push ebx
call sub.USER32.dll_SendDlgItemMessageA
cmp byte [0x5816dc], 0
jne 0x4db438
push 0x64
push 0x5816dc
lea ecx, [edi + 0x103]
push ecx
call sub.KERNEL32.dll_GetEnvironmentVariableA
push 0x5816dc
push 0
push 0xc
push 0xc3
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0
movzx eax, word [0x565db8]
push eax
push 0xc9
push ebx
call sub.USER32.dll_SetDlgItemInt
push 0x581740
push 0
push 0xc
push 0xc5
push ebx
call sub.USER32.dll_SendDlgItemMessageA
push 0x5817a4
push 0
push 0xc
push 0xc7
push ebx
call sub.USER32.dll_SendDlgItemMessageA
lea edx, [edi + 0x10e]
push edx
push 0
push 0xc
push 0xcb
push ebx
call sub.USER32.dll_SendDlgItemMessageA
mov esi, dword [0x565dcc]
test esi, esi
je 0x4db4fa
push dword [esi]
lea eax, [edi + 0x112]
push eax
push 0x585ce2
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0x7d000
push 0x7d000
push 1
push 0xcb
push ebx
call sub.USER32.dll_GetDlgItem
push eax
call fcn.00478480
push 0x585ce2
push 0
push 0xc2
push 0xcb
push ebx
call sub.USER32.dll_SendDlgItemMessageA
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x4db4a9
pop edi
pop esi
pop ebx
pop ebp
ret 4