Function at 0x424890
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470337
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x6d8
mov eax, dword [0x49706c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x688], ecx
mov dword [ebp - 0x654], 0
push 0x4845c3
lea ecx, [ebp - 0x4a8]
call fcn.00402df0
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
push 0x48cf3c
lea ecx, [ebp - 0x4c0]
call fcn.00402b70
mov dword [ebp - 0x678], eax
mov byte [ebp - 4], 2
push 0x200
lea eax, [ebp - 0x490]
push eax
push 0x48cf40
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x64c], eax
cmp dword [ebp - 0x64c], 0
je 0x424af0
cmp dword [ebp - 0x64c], 0x200
jae 0x424af0
lea ecx, [ebp - 0x490]
push ecx
lea ecx, [ebp - 0x4c0]
call fcn.00411260
push str.Site.txt
lea ecx, [ebp - 0x4c0]
call fcn.00411c30
push 0xb8
lea ecx, [ebp - 0x638]
call fcn.004025c0
push 1
lea ecx, [ebp - 0x638]
call fcn.00426310
mov dword [ebp - 0x67c], eax
mov byte [ebp - 4], 3
push 0x40
push 1
lea ecx, [ebp - 0x4c0]
call fcn.00402a40
push eax
lea ecx, [ebp - 0x638]
call fcn.004261b0
lea ecx, [ebp - 0x638]
call fcn.00426130
mov byte [ebp - 0x63a], al
movzx edx, byte [ebp - 0x63a]
test edx, edx
je 0x424ae1
push 0x29
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.00449a70
add esp, 0xc
push 0xa
push 0
push 0x28
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x638]
call fcn.00427230
lea ecx, [ebp - 0x638]
call fcn.00426100
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x4a8]
call fcn.00408560
lea ecx, [ebp - 0x4a8]
call fcn.00402a20
mov dword [ebp - 0x648], eax
cmp dword [ebp - 0x648], 0x24
jle 0x424ae1
mov dword [ebp - 0x640], 0
mov eax, dword [ebp - 0x640]
cmp eax, dword [ebp - 0x648]
jge 0x424ae1
mov ecx, dword [ebp - 0x640]
push ecx
lea ecx, [ebp - 0x4a8]
call fcn.0041eaa0
mov dword [ebp - 0x658], eax
mov edx, dword [ebp - 0x658]
movsx eax, byte [edx]
mov dword [ebp - 0x650], eax
cmp dword [ebp - 0x650], 0
jl 0x424aa8
cmp dword [ebp - 0x650], 0xff
jg 0x424aa8
mov ecx, dword [ebp - 0x640]
push ecx
lea ecx, [ebp - 0x4a8]
call fcn.0041eaa0
mov dword [ebp - 0x674], eax
mov edx, dword [ebp - 0x674]
movsx eax, byte [edx]
push eax
call fcn.0045268d
add esp, 4
test eax, eax
jne 0x424acd
push 1
mov ecx, dword [ebp - 0x640]
push ecx
lea ecx, [ebp - 0x4a8]
call fcn.004084d0
mov edx, dword [ebp - 0x648]
sub edx, 1
mov dword [ebp - 0x648], edx
jmp 0x424adc
mov eax, dword [ebp - 0x640]
add eax, 1
mov dword [ebp - 0x640], eax
jmp 0x424a2c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x638]
call fcn.00424dc0
lea ecx, [ebp - 0x4a8]
call fcn.00402c30
movzx ecx, al
test ecx, ecx
je 0x424d2c
lea edx, [ebp - 0x4d0]
push edx
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov dword [ebp - 0x670], eax
cmp dword [ebp - 0x670], 0
jne 0x424d2c
push 0x28
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x4d0]
push ecx
call dword [sym.imp.ole32.dll_StringFromGUID2]
mov dword [ebp - 0x66c], eax
cmp dword [ebp - 0x66c], 0
jle 0x424d2c
lea edx, [ebp - 0x90]
push edx
lea ecx, [ebp - 0x6a0]
call fcn.00402b70
mov dword [ebp - 0x680], eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x6a0]
push eax
lea ecx, [ebp - 0x6b8]
push ecx
call fcn.00404de0
add esp, 8
mov dword [ebp - 0x668], eax
mov edx, dword [ebp - 0x668]
push edx
lea ecx, [ebp - 0x4a8]
call fcn.00408580
lea ecx, [ebp - 0x6b8]
call fcn.00402d20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6a0]
call fcn.00402a90
push 0
push 0x48cf64
lea ecx, [ebp - 0x4a8]
call fcn.0041ea20
mov dword [ebp - 0x644], eax
cmp dword [ebp - 0x644], 0xffffffff
je 0x424c15
push 0xffffffffffffffff
mov eax, dword [ebp - 0x644]
add eax, 1
push eax
lea ecx, [ebp - 0x6d0]
push ecx
lea ecx, [ebp - 0x4a8]
call fcn.00408400
mov dword [ebp - 0x664], eax
mov edx, dword [ebp - 0x664]
push edx
lea ecx, [ebp - 0x4a8]
call fcn.00408580
lea ecx, [ebp - 0x6d0]
call fcn.00402d20
push 0
push 0x48cf68
lea ecx, [ebp - 0x4a8]
call fcn.0041ea20
mov dword [ebp - 0x644], eax
cmp dword [ebp - 0x644], 0xffffffff
je 0x424c74
mov eax, dword [ebp - 0x644]
push eax
push 0
lea ecx, [ebp - 0x6e8]
push ecx
lea ecx, [ebp - 0x4a8]
call fcn.00408400
mov dword [ebp - 0x660], eax
mov edx, dword [ebp - 0x660]
push edx
lea ecx, [ebp - 0x4a8]
call fcn.00408580
lea ecx, [ebp - 0x6e8]
call fcn.00402d20
push 0xb0
lea ecx, [ebp - 0x580]
call fcn.004025c0
push 1
lea ecx, [ebp - 0x580]
call fcn.00426030
mov dword [ebp - 0x684], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c0]
call fcn.00402a20
test eax, eax
je 0x424d1d
push 0x40
push 0x12
lea ecx, [ebp - 0x4c0]
call fcn.00402a40
push eax
lea ecx, [ebp - 0x580]
call fcn.00425fd0
lea ecx, [ebp - 0x580]
call fcn.00425f50
mov byte [ebp - 0x639], al
movzx eax, byte [ebp - 0x639]
test eax, eax
je 0x424d1d
lea ecx, [ebp - 0x4a8]
call fcn.00402c60
push eax
lea ecx, [ebp - 0x580]
push ecx
call fcn.00413440
add esp, 8
mov dword [ebp - 0x65c], eax
push 0x413770
mov ecx, dword [ebp - 0x65c]
call fcn.004132e0
lea ecx, [ebp - 0x580]
call fcn.00425f20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x580]
call fcn.00424df0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c0]
call fcn.00402a90
jmp 0x424d53
mov dword [ebp - 4], 0
jmp 0x424d63
lea edx, [ebp - 0x4a8]
push edx
mov ecx, dword [ebp + 8]
call fcn.00402d70
mov eax, dword [ebp - 0x654]
or eax, 1
mov dword [ebp - 0x654], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4a8]
call fcn.00402d20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00447455
mov esp, ebp
pop ebp
ret 4