Function at 0x449c00
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, edx
mov dword [ebp - 0x138], ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x134], eax
mov eax, dword [eax]
mov dword [ebp - 0x124], esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x120], 1
push edi
test eax, eax
je 0x449c4f
cmp byte [eax], 0
mov dword [ebp - 0x12c], 1
jne 0x449c59
mov dword [ebp - 0x12c], 0
xor bl, bl
xor edi, edi
mov dword [ebp - 0x11c], edi
mov byte [ebp - 0x112], bl
mov byte [ebp - 0x111], bl
mov dword [ebp - 0x130], edi
test esi, esi
jne 0x449d0f
push str.HOME
call dword [sym.imp.MSVCR120.dll_getenv]
add esp, 4
mov byte [ebp - 0x110], bl
test eax, eax
je 0x449df2
push 0x104
lea ecx, [ebp - 0x110]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [ebp - 0x110], bl
je 0x449df2
lea eax, [ebp - 0x110]
push eax
call dword [0x4a1124]
mov edi, eax
add esp, 4
test edi, edi
je 0x449df2
push str._netrc
push 0x48b628
push edi
push str._s_s_s
call fcn.00448560
push edi
mov esi, eax
call dword [0x4a1134]
add esp, 0x14
test esi, esi
jne 0x449d0b
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00452da4
mov esp, ebp
pop ebp
ret
mov bl, 1
xor edi, edi
push 0x48f130
push esi
call dword [sym.imp.MSVCR120.dll_fopen]
add esp, 8
mov ecx, eax
mov dword [ebp - 0x128], ecx
test bl, bl
je 0x449d3a
push esi
call dword [0x4a1134]
mov ecx, dword [ebp - 0x128]
add esp, 4
test ecx, ecx
je 0x44a095
push ecx
lea eax, [ebp - 0x110]
push 0x100
push eax
call dword [sym.imp.MSVCR120.dll_fgets]
add esp, 0xc
test eax, eax
je 0x44a086
lea eax, [ebp - 0x118]
mov edx, 0x490e1c
push eax
lea ecx, [ebp - 0x110]
call fcn.0044f140
mov ebx, dword [ebp - 0x118]
add esp, 4
mov esi, eax
test esi, esi
je 0x44a071
mov eax, dword [ebp - 0x134]
mov edx, dword [ebp - 0x124]
mov ecx, dword [eax]
test ecx, ecx
je 0x449db0
cmp byte [ecx], 0
je 0x449db0
mov eax, dword [edx]
test eax, eax
je 0x449db0
cmp byte [eax], 0
jne 0x44a086
mov eax, edi
sub eax, 0
je 0x449f5c
dec eax
je 0x449ee4
dec eax
jne 0x449fe6
cmp byte [ebp - 0x112], al
je 0x449e35
cmp dword [ebp - 0x12c], eax
je 0x449e08
mov edx, esi
call fcn.0044a1c0
mov dword [ebp - 0x130], eax
mov byte [ebp - 0x112], 0
jmp 0x449fe6
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00452da4
mov esp, ebp
pop ebp
ret
push ecx
call dword [0x4a1134]
push esi
call dword [0x4a1124]
mov ecx, dword [ebp - 0x134]
add esp, 8
mov dword [ecx], eax
test eax, eax
je 0x44a07c
mov byte [ebp - 0x112], 0
jmp 0x449fe6
cmp byte [ebp - 0x111], 0
je 0x449e7e
cmp dword [ebp - 0x130], 0
jne 0x449e50
cmp dword [ebp - 0x12c], 0
jne 0x449e72
push dword [edx]
call dword [0x4a1134]
push esi
call dword [0x4a1124]
mov esi, dword [ebp - 0x124]
add esp, 8
mov dword [esi], eax
test eax, eax
je 0x44a07c
mov byte [ebp - 0x111], 0
jmp 0x449fe6
mov edx, esi
mov ecx, str.login
call fcn.0044a1c0
test eax, eax
je 0x449e9a
mov byte [ebp - 0x112], 1
jmp 0x449fe6
mov edx, esi
mov ecx, str.password
call fcn.0044a1c0
test eax, eax
je 0x449eb6
mov byte [ebp - 0x111], 1
jmp 0x449fe6
mov edx, esi
mov ecx, str.machine
call fcn.0044a1c0
test eax, eax
je 0x449fe6
mov edi, 1
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x11c], edi
jmp 0x449fe6
mov eax, dword [ebp - 0x138]
mov edi, eax
cmp byte [eax], 0
je 0x449f19
mov al, byte [esi]
test al, al
je 0x449f19
mov dl, byte [edi]
lea ecx, [edx - 0x61]
cmp cl, 0x19
ja 0x449f04
sub dl, 0x20
lea ecx, [eax - 0x61]
cmp cl, 0x19
ja 0x449f0e
sub al, 0x20
cmp dl, al
jne 0x449f19
inc edi
inc esi
cmp byte [edi], 0
jne 0x449ef1
mov dl, byte [edi]
lea eax, [edx - 0x61]
cmp al, 0x19
ja 0x449f25
sub dl, 0x20
mov cl, byte [esi]
lea eax, [ecx - 0x61]
cmp al, 0x19
ja 0x449f31
sub cl, 0x20
cmp dl, cl
jne 0x449f4f
mov edi, 2
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], edi
jmp 0x449fe6
xor edi, edi
mov dword [ebp - 0x11c], edi
jmp 0x449fe6
mov ebx, esi
mov edi, str.machine
mov cl, byte [ebx]
test cl, cl
je 0x449f8a
mov dl, byte [edi]
lea eax, [edx - 0x61]
cmp al, 0x19
ja 0x449f75
sub dl, 0x20
lea eax, [ecx - 0x61]
cmp al, 0x19
ja 0x449f7f
sub cl, 0x20
cmp dl, cl
jne 0x449f8a
inc edi
inc ebx
cmp byte [edi], 0
jne 0x449f63
mov dl, byte [edi]
lea eax, [edx - 0x61]
cmp al, 0x19
ja 0x449f96
sub dl, 0x20
mov cl, byte [ebx]
lea eax, [ecx - 0x61]
cmp al, 0x19
ja 0x449fa2
sub cl, 0x20
cmp dl, cl
jne 0x449fb3
mov edi, 1
mov dword [ebp - 0x11c], edi
jmp 0x449fe0
mov edx, esi
mov ecx, str.default
call fcn.0044a1c0
test eax, eax
je 0x449fda
mov edi, 2
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], edi
jmp 0x449fe0
mov edi, dword [ebp - 0x11c]
mov ebx, dword [ebp - 0x118]
cmp byte [ebx], 0
mov esi, ebx
je 0x44a013
lea ecx, [ecx]
movsx eax, byte [esi]
push eax
push 0x490e1c
call dword [sym.imp.MSVCR120.dll_strchr]
add esp, 8
test eax, eax
je 0x44a013
inc esi
cmp byte [esi], 0
jne 0x449ff0
xor esi, esi
jmp 0x449d82
cmp byte [esi], 0
je 0x44a00c
mov al, byte [esi + 1]
lea ebx, [esi + 1]
mov dword [ebp - 0x118], ebx
test al, al
je 0x449d82
lea esp, [esp]
movsx eax, al
push eax
push 0x490e1c
call dword [sym.imp.MSVCR120.dll_strchr]
add esp, 8
test eax, eax
jne 0x44a059
mov al, byte [ebx + 1]
inc ebx
mov dword [ebp - 0x118], ebx
test al, al
jne 0x44a030
jmp 0x449d82
cmp byte [ebx], 0
je 0x449d82
mov byte [ebx], 0
inc ebx
mov dword [ebp - 0x118], ebx
jmp 0x449d82
mov ecx, dword [ebp - 0x128]
jmp 0x449d42
mov dword [ebp - 0x120], 0xffffffff
push dword [ebp - 0x128]
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x120]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00452da4
mov esp, ebp
pop ebp
ret