Function at 0x1000192b
Capabilities:
Create thread
Write file on windows

Disassembly:
mov eax, 0x1000422f
call fcn.10003de0
sub esp, 0x438
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x14], edi
mov esi, 0x10008430
mov dword [ebp - 4], 3
push esi
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
jne 0x10001973
mov ecx, dword [ebp + 8]
push esi
call sub.MFC42.DLL_CString::CString_1
push 1
pop ebx
mov dword [ebp - 0x14], ebx
jmp 0x10001b56
push edi
push edi
push edi
push edi
push 1
lea ecx, [ebp - 0x44]
pop ebx
push ebx
push str.Mozilla_4.0__compatible__MSIE_6.00__Windows_NT_5.2_
call fcn.10003a3a
lea eax, [ebp + 0xc]
push esi
push dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
je 0x100019b4
lea eax, [ebp + 0x14]
mov dword [ebp - 0x24], eax
push edi
lea eax, [ebp - 0x30]
push edi
push eax
push 0x10001b8b
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [ebp - 0x1c], eax
je 0x100019f2
push dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [ebp - 0x28]
test edi, edi
jne 0x10001a03
lea ecx, [ebp - 0x44]
call sub.MFC42.DLL_CInternetSession::Close
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp + 8]
push esi
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x14], ebx
jmp 0x10001b4a
push esi
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_1
push esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString_1
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CHttpFile::QueryInfoStatusCode
cmp dword [ebp - 0x20], 0xc8
jne 0x10001b0c
push esi
push dword [ebp + 0x18]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
je 0x10001ab7
push 0x10008078
push dword [ebp + 0x18]
call dword [sym.imp.MSVCRT.dll_fopen]
pop ecx
mov dword [ebp + 0x10], eax
test eax, eax
pop ecx
jne 0x10001a6a
mov ecx, dword [ebp + 8]
push esi
call sub.MFC42.DLL_CString::CString_1
jmp 0x10001b2f
mov esi, 0x400
mov eax, dword [edi]
lea ecx, [ebp - 0x444]
push esi
push ecx
mov ecx, edi
call dword [eax + 0x3c]
test eax, eax
mov dword [ebp - 0x1c], eax
jbe 0x10001a9a
push dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x444]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
cmp dword [ebp - 0x1c], esi
jae 0x10001a6f
push dword [ebp + 0x10]
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator
jmp 0x10001b0c
mov eax, dword [edi]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, edi
call dword [eax + 0x60]
test eax, eax
jne 0x10001acf
mov eax, dword [ebp - 0x18]
cmp dword [eax - 8], 0
jle 0x10001afc
lea eax, [ebp - 0x18]
push 0x10008074
push eax
lea eax, [ebp + 0x10]
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.10003a22
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
jmp 0x10001ab7
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::TrimLeft_1
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::TrimRight_1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x54]
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 4]
lea ecx, [ebp - 0x44]
call sub.MFC42.DLL_CInternetSession::Close
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CInternetSession::CInternetSession
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp + 0x18]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret