Function at 0x401f80
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404e2a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
push str._DirectAddress.txt
lea eax, [ebp - 0x18]
push 0x408b58
push eax
mov dword [ebp - 4], 1
call sub.MFC42.DLL_operator
lea ecx, [ebp + 0xc]
push str.DirectAddress.txt
lea edx, [ebp - 0x14]
push ecx
push edx
mov byte [ebp - 4], 2
call sub.MFC42.DLL_operator
push 0x408b78
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_1
mov ecx, 0x13
xor eax, eax
lea edi, [ebp - 0x78]
push fcn.00404576
rep stosd dword es:[edi], eax
push fcn.00404594
push 0x13
lea eax, [ebp - 0x78]
push 4
push eax
mov byte [ebp - 4], 4
call fcn.00404854
push 0x408b78
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
xor edi, edi
call sub.MFC42.DLL_CString::CString_1
push 0x408b78
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push edx
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 8
call fcn.00402f80
add esp, 8
cmp eax, 0xc8
jne 0x402133
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
mov edx, dword [ebp - 0x14]
push ecx
push 0x408220
push edx
call dword [sym.imp.MSVCRT.dll_freopen]
mov ebx, dword [sym.imp.MSVCRT.dll_getchar]
add esp, 0xc
call ebx
cmp al, 0xff
mov byte [ebp - 0x28], al
je 0x40210a
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
push eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [ebp - 0x24]
push 0x40821c
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x4020de
inc edi
cmp edi, 3
jne 0x40208e
lea edx, [ebp - 0x20]
xor edi, edi
lea ecx, [ebp + esi*4 - 0x7c]
push edx
inc esi
call sub.MFC42.DLL_CString::operator_1
push 0x408b78
lea ecx, [ebp - 0x20]
call fcn.0040465a
jmp 0x40208e
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x20]
push eax
lea edx, [ebp - 0x2c]
push ecx
push edx
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.00404576
jmp 0x40208e
cmp edi, 3
je 0x402113
test edi, edi
jne 0x402133
lea eax, [ebp - 0x20]
lea ecx, [ebp + esi*4 - 0x7c]
push eax
inc esi
call sub.MFC42.DLL_CString::operator_1
jmp 0x402133
lea ecx, [ebp + 0xc]
push str.NetFx40.exe
lea edx, [ebp - 0x2c]
mov ebx, 7
push ecx
push edx
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00404576
test esi, esi
mov byte [ebp - 4], 0xd
jne 0x402213
push 0x408b5c
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_1
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x28], esp
push edx
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 0xd
call fcn.00402f80
add esp, 8
cmp eax, 0xc8
je 0x4021cf
mov esi, dword [ebp + 8]
push 0x408b78
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebp - 0x1c]
or al, 1
mov dword [ebp - 0x1c], eax
jmp 0x402325
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x24]
or al, 1
mov byte [ebp - 4], 6
mov dword [ebp - 0x1c], eax
call fcn.00404576
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00404576
push fcn.00404576
push 0x13
lea edx, [ebp - 0x78]
push 4
mov byte [ebp - 4], 4
push edx
jmp 0x40234e
push 0
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
mov ebx, dword [sym.imp.MSVCRT.dll_rand]
add esp, 8
test esi, esi
jle 0x40230e
call ebx
cdq
idiv esi
lea ecx, [ebp - 0x18]
lea edi, [ebp + edx*4 - 0x7c]
push edi
call sub.MFC42.DLL_CString::operator_1
lea eax, [ebp + esi*4 - 0x80]
mov ecx, edi
push eax
call sub.MFC42.DLL_CString::operator_1
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push edx
dec esi
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 0xd
call fcn.00402f80
add esp, 8
cmp eax, 0xc8
jne 0x40222b
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x24]
or al, 1
mov byte [ebp - 4], 6
mov dword [ebp - 0x1c], eax
call fcn.00404576
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00404576
push fcn.00404576
push 0x13
lea edx, [ebp - 0x78]
push 4
push edx
mov byte [ebp - 4], 4
call fcn.00404760
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
call fcn.00404576
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00404576
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00404576
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0
call fcn.00404576
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
push 0x408b78
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebp - 0x1c]
or al, 1
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.00404576
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00404576
push fcn.00404576
push 0x13
lea eax, [ebp - 0x78]
push 4
mov byte [ebp - 4], 4
push eax
call fcn.00404760
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
call fcn.00404576
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00404576
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00404576
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0
call fcn.00404576
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret