Function at 0x41f9d0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x429782
push eax
mov dword fs:[0], esp
sub esp, 0x364
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov byte [esi + 0x8ec], 0
mov al, byte [0x433e54]
test al, al
je 0x41fa08
xor eax, eax
jmp 0x420cdc
mov edi, dword [esp + 0x38c]
mov eax, dword [edi]
mov dword [esp + 0x4c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x50], eax
mov byte [esp + 0x3b], 0
xor ebp, ebp
cmp ebp, 0x2800
jge 0x420cd7
mov al, byte [esi + 0xc]
test al, al
jne 0x420cd7
mov al, byte [0x433e54]
test al, al
jne 0x420cd7
lea ecx, [esp + 0x3b]
push 1
push ecx
mov ecx, dword [esi + 4]
call fcn.00426890
test eax, eax
jle 0x420cd7
mov dl, byte [esp + 0x3b]
mov byte [esi + ebp + 0x10924], dl
inc ebp
cmp ebp, 4
jl 0x41fa26
cmp byte [esi + ebp + 0x10920], 0xd
jne 0x41fa26
cmp byte [esi + ebp + 0x10921], 0xa
jne 0x41fa26
cmp byte [esi + ebp + 0x10922], 0xd
jne 0x41fa26
cmp byte [esi + ebp + 0x10923], 0xa
jne 0x41fa26
cmp ebp, 0xffffffff
mov byte [esi + ebp + 0x10924], 0
je 0x420cd7
mov al, byte [esi + 0x109a4]
lea ebx, [esi + 0x10924]
push str..360
push ebx
mov byte [esp + 0x37], al
mov byte [esi + 0x109a4], 0
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
jne 0x420cd7
mov cl, byte [esp + 0x2f]
mov dword [esp + 0x3c], eax
mov byte [esi + 0x109a4], cl
mov ecx, dword [edi]
add ecx, ebp
mov dword [esp + 0x44], eax
mov dword [edi], ecx
mov al, byte [0x433e61]
test al, al
mov dword [esp + 0x40], ebx
je 0x41fb72
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esi + 0x14594]
lea ecx, [esp + 0x28]
mov dword [esp + 0x37c], 0
mov eax, dword [edx + 0x20]
push eax
push str..debugin__d.dat
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x34]
push edx
call fcn.00401400
mov eax, dword [esp + 0x38]
push 0x431848
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 0x18
mov dword [esp + 0x3c], eax
test eax, eax
je 0x41fb5e
push eax
push ebp
push 1
push ebx
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
lea ecx, [esp + 0x28]
mov dword [esp + 0x37c], 0xffffffff
call sub.MFC42.DLL_CString::CString
push ebx
mov ecx, esi
call fcn.0041f480
mov dword [esp + 0x20], eax
lea eax, [esi + 0x4e]
push eax
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
mov dword [esp + 0x37c], 1
call sub.MFC42.DLL_CString::MakeLower
push str.usethisasmainurl
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], 0
call sub.MFC42.DLL_CString::Find_2
mov edi, eax
test edi, edi
jl 0x420032
push str.usethisnow1
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jl 0x41fbf3
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.usethisnow1
call sub.MFC42.DLL_CString::CString_2
push ebx
call fcn.0041f950
add esp, 8
mov dword [esp + 0x30], 1
add edi, 0x11
lea ecx, [esp + 0x10]
push edi
push ecx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Mid_1
push 0x431ff4
lea ecx, [esp + 0x14]
mov byte [esp + 0x380], 2
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jl 0x41fc51
lea edx, [esp + 0x1c]
push eax
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x380], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x37c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimLeft
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x433ae8
push eax
call edi
add esp, 8
test eax, eax
jne 0x41fcd6
mov ecx, 0x4b
lea edi, [esp + 0x248]
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x248]
push 0x12c
push ecx
mov edx, dword [eax + 0x6c]
push 2
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [esp + 0x248]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
jmp 0x41fd02
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
push str.usethisasmainurl
push ecx
call sub.MFC42.DLL_operator
push ebx
call fcn.0041f950
add esp, 8
mov ecx, esi
push ebx
call fcn.0041f480
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
push 0x433ae8
push eax
call edi
add esp, 8
test eax, eax
je 0x420018
push 0x431ff0
push 0x433514
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
push 0x431ff0
push 0x433510
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
push 0x431ff4
push 0x43350c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
push 0x433508
push 0x433504
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
push 0x433508
push 0x433500
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
push 0x433508
push 0x4334fc
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
push 0x433508
push 0x4334f8
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
lea edx, [esp + 0x18]
push 8
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x384], 4
call sub.MFC42.DLL_CString::Left
mov eax, dword [esp + 0x18]
push str.https:__
push eax
mov byte [esp + 0x384], 5
call edi
add esp, 8
test eax, eax
jne 0x41fe0f
lea ecx, [esp + 0x1c]
push 8
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x380], 6
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x37c], 5
lea ecx, [esp + 0x1c]
jmp 0x41fe72
lea edx, [esp + 0x1c]
push 7
push edx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push str.http:__
push eax
call edi
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
sete byte [esp + 0x2f]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x2f]
test al, al
je 0x41fe77
lea eax, [esp + 0x1c]
push 7
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x380], 7
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x37c], 5
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
push 0x2f
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_3
test eax, eax
jl 0x41feb8
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x380], 8
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x37c], 5
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x14]
lea ecx, [esp + 0x28]
push edx
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x388]
push 0x3a
mov byte [esp + 0x380], 9
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_3
mov edi, eax
test edi, edi
jl 0x41ff4d
lea edx, [esp + 0x34]
push edi
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x380], 0xa
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x34]
mov byte [esp + 0x37c], 9
call sub.MFC42.DLL_CString::CString
inc edi
lea eax, [esp + 0x34]
push edi
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid_1
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
lea ecx, [esp + 0x34]
mov edi, eax
call sub.MFC42.DLL_CString::CString
test edi, edi
je 0x41ff4d
mov dword [esp + 0x1c], edi
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call sub.MFC42.DLL_CString::CString_3
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
mov byte [esp + 0x388], 0xb
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esi + 0x14594]
mov byte [esp + 0x384], 9
call fcn.004242d0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x30]
test eax, eax
je 0x41ffdc
mov eax, dword [esp + 0x388]
mov edi, dword [esp + 0x384]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
mov dword [eax], edx
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x28]
push eax
lea ecx, [esi + 0x8d8]
mov dword [esi + 0x8dc], edx
call sub.MFC42.DLL_CString::operator_1
jmp 0x41ffe3
mov edi, dword [esp + 0x384]
lea ecx, [esp + 0x28]
mov byte [esp + 0x37c], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x37c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x37c], 2
call sub.MFC42.DLL_CString::CString
jmp 0x42001f
mov edi, dword [esp + 0x384]
lea ecx, [esp + 0x10]
mov byte [esp + 0x37c], 1
call sub.MFC42.DLL_CString::CString
jmp 0x420039
mov edi, dword [esp + 0x384]
mov ecx, dword [esp + 0x388]
mov eax, dword [edi]
mov edx, dword [ecx]
mov ecx, esi
push edx
push eax
push ebx
call fcn.0041bac0
mov eax, dword [esp + 0x388]
mov ecx, esi
push eax
push edi
push ebp
mov ebp, dword [esp + 0x4c]
push ebp
call fcn.0041ef90
lea ecx, [esp + 0x68]
push str._r_nHost:
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edx, dword [esp + 0x390]
mov eax, dword [edi]
mov ecx, dword [edx]
lea edx, [esp + 0x70]
push ecx
push eax
push 0x433ae8
push 0x433ae8
push 0x432820
push edx
push ebp
call fcn.0041e870
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x44]
add esp, 0x24
test eax, eax
je 0x4200d5
lea eax, [esp + 0x68]
push 0x4332b8
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [esi + 0x4e]
lea ecx, [esp + 0x70]
push eax
push str._HTTP_1.1
push ecx
push ebp
call fcn.0041e9d0
add esp, 0x18
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x920]
test eax, eax
jne 0x420120
lea edx, [esp + 0x68]
push str._r_nReferer:
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, dword [esp + 0x390]
mov eax, dword [edi]
mov edx, dword [ecx]
push edx
push eax
push 0x433ae8
push str.http:__
lea eax, [esp + 0x80]
push 0x432014
push eax
push ebp
call fcn.0041e870
add esp, 0x24
mov dword [esp + 0x28], eax
push ebx
mov ecx, esi
call fcn.0041f480
lea eax, [esi + 0x4e]
lea ecx, [esp + 0x24]
push eax
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::MakeLower
push str.nbpreregist.
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jl 0x42019f
mov ecx, dword [esp + 0x388]
mov edx, dword [ecx]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push edi
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
call fcn.0041bd60
test eax, eax
jne 0x42019f
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x420184
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea ecx, [esp + 0x24]
mov dword [esp + 0x37c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x420cdc
lea eax, [esp + 0x58]
xor ebx, ebx
push eax
lea ecx, [esp + 0x58]
push ebx
push ecx
push str.Content_Length:
push ebp
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], ebx
call fcn.00412d20
mov dword [esp + 0x30], eax
lea eax, [esi + 0x90c]
lea ecx, [esi + 0x8f4]
push eax
push 2
push ecx
push str.Range:_bytes
push ebp
mov dword [eax], ebx
mov dword [ecx], ebx
mov dword [esi + 0x8f8], ebx
mov dword [esi + 0x8fc], ebx
mov dword [esi + 0x900], ebx
mov dword [esi + 0x904], ebx
mov dword [esi + 0x908], ebx
call fcn.00412d20
lea edx, [esp + 0x170]
mov dword [esi + 0x8f8], eax
push 0xff
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x174]
push edx
push str.If_Modified_Since
rep stosd dword es:[edi], eax
push ebp
call fcn.00412f90
add esp, 0x38
lea edi, [esi + 0x910]
lea eax, [esp + 0x148]
mov ecx, edi
push eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, edi
call sub.MFC42.DLL_CString::TrimLeft
cmp dword [esi + 0x1458c], ebx
je 0x420286
mov ecx, dword [esp + 0x384]
mov eax, dword [ecx]
mov ecx, dword [esi + 0x8e0]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x420286
mov edx, dword [esp + 0x388]
mov ecx, dword [esi + 0x8e4]
mov eax, dword [edx]
cmp eax, ecx
je 0x4202ab
mov ecx, dword [esp + 0x388]
mov eax, dword [esp + 0x384]
mov edx, dword [ecx]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
call fcn.004212f0
cmp dword [esi + 0x1458c], ebx
je 0x420c9d
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov eax, 0x2800
mov dword [esp + 0x10], edx
sub eax, edx
mov ebx, ecx
cmp ecx, eax
jle 0x4202da
mov ebx, eax
sub ecx, ebx
mov dword [esp + 0x1c], ecx
jmp 0x4202e2
mov dword [esp + 0x1c], 0
test ebx, ebx
jle 0x420351
mov al, byte [esi + 0xc]
test al, al
jne 0x420351
mov al, byte [0x433e54]
test al, al
jne 0x420351
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
push ebx
lea ebp, [ecx + edx]
mov ecx, dword [esi + 4]
push ebp
call fcn.00426890
mov edi, eax
cmp edi, 0xffffffff
je 0x4203ff
test edi, edi
je 0x4203ff
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x420334
push eax
push edi
push 1
push ebp
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
mov eax, dword [esp + 0x38c]
mov edx, dword [esp + 0x10]
sub ebx, edi
add edx, edi
mov ebp, dword [eax]
mov dword [esp + 0x10], edx
add ebp, edi
test ebx, ebx
mov dword [eax], ebp
jg 0x4202e6
mov edx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov byte [edx + esi + 0x10924], 0
mov eax, dword [esi + 0x90c]
mov edi, dword [esi + 0x8f4]
mov ebx, dword [esi + 0x8f8]
test al, 3
mov ebp, pe_nt_image_headers32
je 0x420499
mov ecx, dword [esi + 0x14594]
lea eax, [esi + 0x4e]
push eax
lea eax, [esi + 0xd]
mov edx, dword [ecx + 0x44]
push eax
push edx
call fcn.00401260
xor ecx, ecx
add esp, 0xc
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], ecx
je 0x420499
mov edx, dword [esi + 0x14594]
lea ecx, [eax + 0x41]
push ecx
push eax
mov eax, dword [edx + 0x48]
push eax
call fcn.00401340
add esp, 0xc
test eax, eax
je 0x42041c
mov ebp, dword [eax + 0x584]
mov edx, dword [eax + 0x588]
mov ecx, dword [eax + 0x580]
mov dword [esp + 0x14], ebp
mov ebp, dword [eax + 0x154]
and edx, 0x7f
cmp ebp, 0x100
jge 0x42042c
mov ebp, 0x400
jmp 0x42042c
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x420c82
mov ecx, eax
push ecx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
jmp 0x420c82
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], 0
test eax, eax
je 0x420499
mov eax, ecx
sub eax, edx
test ecx, ecx
mov dword [esi + 0x900], eax
je 0x420444
cmp edi, ecx
jbe 0x420444
mov edi, ecx
mov eax, edi
xor edx, edx
div ebp
test edx, edx
je 0x42045a
sub edi, edx
add ebx, edx
cmp edi, ebp
jae 0x42045a
add ebx, edi
xor edi, edi
mov eax, ebx
xor edx, edx
div ebp
test edx, edx
je 0x42046a
mov eax, ebp
sub eax, edx
add ebx, eax
cmp ebx, ebp
jae 0x420474
cmp ecx, ebp
jb 0x420474
mov ebx, ebp
test ecx, ecx
je 0x420483
lea edx, [ebx + edi]
cmp edx, ecx
jbe 0x420483
sub ecx, edi
mov ebx, ecx
mov edx, dword [esp + 0x14]
mov eax, ebx
add edi, edx
and eax, 0xf
je 0x420499
mov ecx, 0x10
sub ecx, eax
add ebx, ecx
cmp edi, dword [esi + 0x8f4]
jne 0x4204a9
cmp ebx, dword [esi + 0x8f8]
je 0x42051e
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
lea edx, [esp + 0x88]
push str.Range:_bytes
push edx
call ebp
lea eax, [ebx + edi - 1]
lea ecx, [esp + 0xd0]
push eax
push edi
push str._u__u
push ecx
call ebp
mov ecx, dword [esp + 0x28]
push 0
lea edx, [esp + 0xe4]
push 3
push edx
mov edx, dword [esp + 0x64]
lea eax, [esp + 0xac]
push 0x432820
push eax
push ecx
push edx
call fcn.004129b0
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x44], eax
mov byte [eax + esi + 0x10924], 0
mov eax, dword [esi + 0x8f4]
sub eax, edi
add esp, 0x34
add eax, ecx
mov dword [esi + 0x8fc], eax
push str.index.htm
lea ecx, [esp + 0x38]
mov dword [esi + 0x904], edi
mov dword [esi + 0x908], ebx
call sub.MFC42.DLL_CString::CString_2
lea ebx, [esi + 0x8d0]
push 0x433ae8
mov ecx, ebx
mov byte [esp + 0x380], 0xc
call sub.MFC42.DLL_CString::operator_2
lea ebp, [esi + 0x4e]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 2
jbe 0x420721
push ebp
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
push 0x3f
lea ecx, [esp + 0x18]
mov byte [esp + 0x380], 0xd
call sub.MFC42.DLL_CString::Find_3
xor edi, edi
cmp eax, edi
jl 0x4205bf
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x380], 0xe
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x37c], 0xd
call sub.MFC42.DLL_CString::CString
push 0x2f
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, edi
jge 0x4205dd
push 0x5c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, edi
jl 0x420610
inc eax
lea edx, [esp + 0x20]
push eax
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x380], 0xf
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x37c], 0xd
call sub.MFC42.DLL_CString::CString
push 0x2e
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, edi
jl 0x42066f
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x380], 0x10
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x37c], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::MakeLower
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call sub.MFC42.DLL_CString::operator_1
cmp dword [esi + 0x920], edi
je 0x420710
mov edx, dword [ebx]
cmp dword [edx - 8], edi
jle 0x42070a
push ebx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x30]
mov byte [esp + 0x37c], 0x11
call sub.MFC42.DLL_CString::MakeLower
push str..swf.flv.wmv.asf.mp3.wma.doc.ppt.pdf
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x20]
push eax
mov byte [esp + 0x380], 0x12
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jl 0x4206e0
mov ecx, dword [esp + 0x40]
push str.User_Agent:_Mozilla
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
jne 0x4206e6
mov dword [esi + 0x920], edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x37c], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x37c], 0xd
call sub.MFC42.DLL_CString::CString
jmp 0x420710
mov dword [esi + 0x920], edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x37c], 0xc
call sub.MFC42.DLL_CString::CString
mov edx, dword [esi + 0x910]
mov eax, dword [edx - 8]
cmp eax, 5
jle 0x4209be
mov eax, dword [ebx]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x433ae8
push eax
call edi
add esp, 8
test eax, eax
je 0x420794
mov eax, dword [esi + 0x14594]
push 0x433ae8
add eax, 0x40
mov eax, dword [eax]
push eax
call edi
add esp, 8
test eax, eax
je 0x420794
mov ecx, dword [esi + 0x14594]
push 0x433440
add ecx, 0x40
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jge 0x420794
mov ebx, dword [ebx]
mov ecx, dword [esi + 0x14594]
push ebx
add ecx, 0x40
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jl 0x4209be
push 0x433ae8
lea ecx, [esp + 0x18]
xor bl, bl
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x18]
mov byte [esp + 0x37c], 0x13
test eax, eax
jne 0x42091c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
push 0x431ba0
push ebp
mov byte [esp + 0x384], 0x14
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x4207f2
sub eax, esi
sub eax, 0x4e
cmp eax, 0xa
jge 0x4207f2
push ebp
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_2
jmp 0x420825
mov al, byte [ebp]
cmp al, 0x2f
je 0x42080e
cmp al, 0x5c
je 0x42080e
lea eax, [esi + 0xd]
push ebp
push eax
lea ecx, [esp + 0x20]
push str.http:___s__s
push ecx
jmp 0x42081d
lea edx, [esi + 0xd]
push ebp
push edx
lea eax, [esp + 0x20]
push str.http:___s_s
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov edx, dword [esp + 0x18]
mov ebp, dword [sym.imp.WININET.dll_GetUrlCacheEntryInfoA]
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 0
push ecx
push 0
push edx
call ebp
test eax, eax
jne 0x420886
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x420886
mov eax, dword [esp + 0x30]
push eax
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x1c]
add esp, 4
lea ecx, [esp + 0x30]
mov edi, eax
push ecx
push edi
push edx
call ebp
test eax, eax
je 0x42087d
mov eax, dword [edi + 8]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42.DLL_CString::operator_2
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x14]
push 0x433ae8
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x420903
mov edx, dword [esp + 0x14]
push 0x4310a8
push edx
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x420903
push edi
push 0xb
lea eax, [esp + 0x64]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, 0xb
jne 0x4208f9
lea edx, [esp + 0x5c]
mov ecx, str.CODD
mov eax, dword [edx]
mov edx, dword [ecx]
cmp eax, edx
jne 0x4208f9
mov bl, 1
xor ecx, ecx
mov al, byte [esp + ecx + 0x60]
cmp al, 0xff
je 0x4208ef
cmp al, 0xaa
jne 0x4208f7
inc ecx
cmp ecx, 7
jl 0x4208e3
jmp 0x4208f9
xor bl, bl
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x37c], 0x13
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4209ad
lea ecx, [esp + 0x14]
mov byte [esi + 0x8ec], 1
push ecx
lea ecx, [esi + 0x8f0]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x13128]
mov eax, dword [edx - 8]
mov edx, eax
sub edx, ecx
test edx, edx
jle 0x4209ad
mov dl, byte [0x433e54]
test dl, dl
jne 0x4209ad
sub eax, ecx
add eax, 0x20
push eax
call sub.MFC42.DLL_operatornew
mov edi, eax
mov eax, dword [esi + 0x13128]
add esp, 4
add eax, 4
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid_1
mov edx, dword [eax]
push edx
push 0x43341c
push edi
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x14594]
push 2
push edi
push 0x401
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x14]
mov byte [esp + 0x37c], 0xc
call sub.MFC42.DLL_CString::CString
mov edx, dword [esi + 0x8d4]
lea eax, [esi + 0x4e]
push 0x431ba0
push eax
mov ebx, dword [edx - 8]
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x420a6f
mov ecx, ebx
lea edx, [esi + 0x4e]
sub ecx, esi
mov edi, edx
lea ebp, [ecx + eax - 0x4b]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, ebx
cmp ebp, ecx
jae 0x420a6f
mov eax, dword [esp + 0x40]
cmp byte [eax + ebp], 0x2f
je 0x420a1d
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
inc ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, ebx
cmp ebp, ecx
jb 0x4209fe
jmp 0x420a6f
mov edi, dword [esp + 0x40]
mov ecx, ebp
mov edx, ecx
mov eax, 0x24242424
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x40]
mov edx, dword [esi + 0x8d4]
mov eax, ebp
push edx
sub eax, ebx
push 0x431080
lea edi, [eax + ecx]
push edi
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [esp + 0x4c]
sub ebx, ebp
add esp, 0xc
mov dword [esp + 0x40], edi
mov byte [eax + ebp], 0x2f
mov eax, dword [esp + 0x10]
add eax, ebx
mov dword [esp + 0x10], eax
mov al, byte [0x433e61]
test al, al
je 0x420aee
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esi + 0x14594]
lea eax, [esp + 0x18]
mov byte [esp + 0x37c], 0x15
mov edx, dword [ecx + 0x20]
push edx
push str..debugout__d.dat
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00401400
mov edx, dword [esp + 0x28]
push 0x431848
push edx
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 0x18
mov dword [esp + 0x44], eax
test eax, eax
je 0x420add
mov ecx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x14]
push eax
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
lea ecx, [esp + 0x18]
mov byte [esp + 0x37c], 0xc
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
mov ecx, dword [esi + 8]
push edx
push eax
call fcn.00426820
cmp eax, 0xffffffff
jne 0x420b58
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x420b17
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, dword [esp + 0x44]
test eax, eax
je 0x420b29
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x37c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x37c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 4
jmp 0x420cdc
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
test ebp, ebp
jbe 0x420c0e
mov al, byte [esi + 0xc]
test al, al
jne 0x420c0e
mov al, byte [0x433e54]
test al, al
jne 0x420c0e
cmp ebp, 0x2800
mov eax, 0x2800
ja 0x420b8f
mov eax, ebp
mov ecx, dword [esi + 4]
lea ebx, [esi + 0x10924]
push eax
push ebx
call fcn.00426890
mov edi, eax
cmp edi, 0xffffffff
je 0x420c71
test edi, edi
je 0x420c71
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x420bca
mov ecx, eax
push ecx
push edi
push 1
push ebx
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
mov eax, dword [esp + 0x38c]
push edi
push ebx
sub ebp, edi
mov ecx, dword [eax]
add ecx, edi
mov dword [eax], ecx
mov ecx, dword [esi + 8]
call fcn.00426820
mov edi, eax
cmp edi, 0xffffffff
je 0x420b29
mov eax, dword [esp + 0x44]
test eax, eax
je 0x420c06
mov edx, eax
push edx
push edi
push 1
push ebx
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
test ebp, ebp
ja 0x420b68
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x420c20
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, dword [esp + 0x44]
test eax, eax
je 0x420c32
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, dword [esp + 0x38c]
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov eax, dword [eax]
mov ecx, eax
sub ecx, ebx
push ecx
push edx
push eax
mov eax, dword [esi + 0x14594]
mov ecx, dword [eax + 0xc]
push ecx
push 0
call fcn.00414330
add esp, 0x14
lea ecx, [esp + 0x34]
mov byte [esp + 0x37c], 1
call sub.MFC42.DLL_CString::CString
jmp 0x420cb1
lea ecx, [esp + 0x34]
mov byte [esp + 0x37c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x37c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 3
jmp 0x420cdc
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x420cb6
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
jmp 0x420cb6
cmp edi, 0xffffffff
jne 0x420d03
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2733
mov dword [esp + 0x37c], 0xffffffff
lea ecx, [esp + 0x24]
je 0x420cf7
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x374]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x370
ret 0xc
call sub.MFC42.DLL_CString::CString
mov eax, 0x65
jmp 0x420cdc
lea ecx, [esp + 0x24]
mov dword [esp + 0x37c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 0x66
jmp 0x420cdc