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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x429c22
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 [0x433e74]
test al, al
je 0x41fe18
xor eax, eax
jmp 0x4210ec
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 0x4210e7
mov al, byte [esi + 0xc]
test al, al
jne 0x4210e7
mov al, byte [0x433e74]
test al, al
jne 0x4210e7
lea ecx, [esp + 0x3b]
push 1
push ecx
mov ecx, dword [esi + 4]
call fcn.00426ce0
test eax, eax
jle 0x4210e7
mov dl, byte [esp + 0x3b]
mov byte [esi + ebp + 0x10924], dl
inc ebp
cmp ebp, 4
jl 0x41fe36
cmp byte [esi + ebp + 0x10920], 0xd
jne 0x41fe36
cmp byte [esi + ebp + 0x10921], 0xa
jne 0x41fe36
cmp byte [esi + ebp + 0x10922], 0xd
jne 0x41fe36
cmp byte [esi + ebp + 0x10923], 0xa
jne 0x41fe36
cmp ebp, 0xffffffff
mov byte [esi + ebp + 0x10924], 0
je 0x4210e7
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 0x4210e7
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 [0x433e81]
test al, al
mov dword [esp + 0x40], ebx
je 0x41ff82
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 0x41ff6e
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.0041f890
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 0x420442
push str.usethisnow1
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jl 0x420003
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.usethisnow1
call sub.MFC42.DLL_CString::CString_2
push ebx
call fcn.0041fd60
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 0x43200c
lea ecx, [esp + 0x14]
mov byte [esp + 0x380], 2
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jl 0x420061
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 0x433b08
push eax
call edi
add esp, 8
test eax, eax
jne 0x4200e6
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 0x420112
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.0041fd60
add esp, 8
mov ecx, esi
push ebx
call fcn.0041f890
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
push 0x433b08
push eax
call edi
add esp, 8
test eax, eax
je 0x420428
push 0x432008
push 0x43352c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
push 0x432008
push 0x433528
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
push 0x43200c
push 0x433524
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
push 0x433520
push 0x43351c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
push 0x433520
push 0x433518
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
push 0x433520
push 0x433514
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
push 0x433520
push 0x433510
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 0x433504
push eax
mov byte [esp + 0x384], 5
call edi
add esp, 8
test eax, eax
jne 0x42021f
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 0x420282
lea edx, [esp + 0x1c]
push 7
push edx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push 0x43201c
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 0x420287
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 0x4202c8
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 0x42035d
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 0x42035d
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.00424720
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 0x4203ec
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 0x4203f3
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 0x42042f
mov edi, dword [esp + 0x384]
lea ecx, [esp + 0x10]
mov byte [esp + 0x37c], 1
call sub.MFC42.DLL_CString::CString
jmp 0x420449
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.0041bde0
mov eax, dword [esp + 0x388]
mov ecx, esi
push eax
push edi
push ebp
mov ebp, dword [esp + 0x4c]
push ebp
call fcn.0041f3a0
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 0x433b08
push 0x433b08
push 0x432838
push edx
push ebp
call fcn.0041ec80
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x44]
add esp, 0x24
test eax, eax
je 0x4204e5
lea eax, [esp + 0x68]
push 0x4332d0
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [esi + 0x4e]
lea ecx, [esp + 0x70]
push eax
push 0x4334f0
push ecx
push ebp
call fcn.0041ede0
add esp, 0x18
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x920]
test eax, eax
jne 0x420530
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 0x433b08
push 0x43201c
lea eax, [esp + 0x80]
push 0x43202c
push eax
push ebp
call fcn.0041ec80
add esp, 0x24
mov dword [esp + 0x28], eax
push ebx
mov ecx, esi
call fcn.0041f890
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 0x4205af
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.0041c080
test eax, eax
jne 0x4205af
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x420594
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 0x4210ec
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.00412fe0
mov dword [esp + 0x30], eax
lea eax, [esi + 0x90c]
lea ecx, [esi + 0x8f4]
push eax
push 2
push ecx
push 0x4334c4
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.00412fe0
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.00413250
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 0x420696
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 0x420696
mov edx, dword [esp + 0x388]
mov ecx, dword [esi + 0x8e4]
mov eax, dword [edx]
cmp eax, ecx
je 0x4206bb
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.00421700
cmp dword [esi + 0x1458c], ebx
je 0x4210ad
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 0x4206ea
mov ebx, eax
sub ecx, ebx
mov dword [esp + 0x1c], ecx
jmp 0x4206f2
mov dword [esp + 0x1c], 0
test ebx, ebx
jle 0x420761
mov al, byte [esi + 0xc]
test al, al
jne 0x420761
mov al, byte [0x433e74]
test al, al
jne 0x420761
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.00426ce0
mov edi, eax
cmp edi, 0xffffffff
je 0x42080f
test edi, edi
je 0x42080f
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x420744
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 0x4206f6
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 0x4208a9
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 + 0x20], ecx
mov dword [esp + 0x30], ecx
je 0x4208a9
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 0x42082c
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 0x42083c
mov ebp, 0x400
jmp 0x42083c
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x421092
mov ecx, eax
push ecx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
jmp 0x421092
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], 0
test eax, eax
je 0x4208a9
mov eax, ecx
sub eax, edx
test ecx, ecx
mov dword [esi + 0x900], eax
je 0x420854
cmp edi, ecx
jbe 0x420854
mov edi, ecx
mov eax, edi
xor edx, edx
div ebp
test edx, edx
je 0x42086a
sub edi, edx
add ebx, edx
cmp edi, ebp
jae 0x42086a
add ebx, edi
xor edi, edi
mov eax, ebx
xor edx, edx
div ebp
test edx, edx
je 0x42087a
mov eax, ebp
sub eax, edx
add ebx, eax
cmp ebx, ebp
jae 0x420884
cmp ecx, ebp
jb 0x420884
mov ebx, ebp
test ecx, ecx
je 0x420893
lea edx, [ebx + edi]
cmp edx, ecx
jbe 0x420893
sub ecx, edi
mov ebx, ecx
mov edx, dword [esp + 0x14]
mov eax, ebx
add edi, edx
and eax, 0xf
je 0x4208a9
mov ecx, 0x10
sub ecx, eax
add ebx, ecx
cmp edi, dword [esi + 0x8f4]
jne 0x4208b9
cmp ebx, dword [esi + 0x8f8]
je 0x42092e
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
lea edx, [esp + 0x88]
push 0x4334c4
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 0x432838
push eax
push ecx
push edx
call fcn.00412c70
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 0x433b08
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 0x420b31
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 0x4209cf
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 0x4209ed
push 0x5c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, edi
jl 0x420a20
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 0x420a7f
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 0x420b20
mov edx, dword [ebx]
cmp dword [edx - 8], edi
jle 0x420b1a
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 0x420af0
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 0x420af6
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 0x420b20
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 0x420dce
mov eax, dword [ebx]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x433b08
push eax
call edi
add esp, 8
test eax, eax
je 0x420ba4
mov eax, dword [esi + 0x14594]
push 0x433b08
add eax, 0x40
mov eax, dword [eax]
push eax
call edi
add esp, 8
test eax, eax
je 0x420ba4
mov ecx, dword [esi + 0x14594]
push 0x433458
add ecx, 0x40
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jge 0x420ba4
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 0x420dce
push 0x433b08
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 0x420d2c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
push 0x431bb0
push ebp
mov byte [esp + 0x384], 0x14
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x420c02
sub eax, esi
sub eax, 0x4e
cmp eax, 0xa
jge 0x420c02
push ebp
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_2
jmp 0x420c35
mov al, byte [ebp]
cmp al, 0x2f
je 0x420c1e
cmp al, 0x5c
je 0x420c1e
lea eax, [esi + 0xd]
push ebp
push eax
lea ecx, [esp + 0x20]
push str.http:___s__s
push ecx
jmp 0x420c2d
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 0x420c96
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x420c96
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 0x420c8d
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 0x433b08
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x420d13
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 0x420d13
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 0x420d09
lea edx, [esp + 0x5c]
mov ecx, str.CODD
mov eax, dword [edx]
mov edx, dword [ecx]
cmp eax, edx
jne 0x420d09
mov bl, 1
xor ecx, ecx
mov al, byte [esp + ecx + 0x60]
cmp al, 0xff
je 0x420cff
cmp al, 0xaa
jne 0x420d07
inc ecx
cmp ecx, 7
jl 0x420cf3
jmp 0x420d09
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 0x420dbd
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 0x420dbd
mov dl, byte [0x433e74]
test dl, dl
jne 0x420dbd
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 0x433434
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 0x431bb0
push eax
mov ebx, dword [edx - 8]
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x420e7f
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 0x420e7f
mov eax, dword [esp + 0x40]
cmp byte [eax + ebp], 0x2f
je 0x420e2d
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 0x420e0e
jmp 0x420e7f
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 [0x433e81]
test al, al
je 0x420efe
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 0x420eed
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.00426c70
cmp eax, 0xffffffff
jne 0x420f68
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x420f27
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, dword [esp + 0x44]
test eax, eax
je 0x420f39
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 0x4210ec
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
test ebp, ebp
jbe 0x42101e
mov al, byte [esi + 0xc]
test al, al
jne 0x42101e
mov al, byte [0x433e74]
test al, al
jne 0x42101e
cmp ebp, 0x2800
mov eax, 0x2800
ja 0x420f9f
mov eax, ebp
mov ecx, dword [esi + 4]
lea ebx, [esi + 0x10924]
push eax
push ebx
call fcn.00426ce0
mov edi, eax
cmp edi, 0xffffffff
je 0x421081
test edi, edi
je 0x421081
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x420fda
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.00426c70
mov edi, eax
cmp edi, 0xffffffff
je 0x420f39
mov eax, dword [esp + 0x44]
test eax, eax
je 0x421016
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 0x420f78
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x421030
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, dword [esp + 0x44]
test eax, eax
je 0x421042
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.004145f0
add esp, 0x14
lea ecx, [esp + 0x34]
mov byte [esp + 0x37c], 1
call sub.MFC42.DLL_CString::CString
jmp 0x4210c1
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 0x4210ec
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x4210c6
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
jmp 0x4210c6
cmp edi, 0xffffffff
jne 0x421113
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2733
mov dword [esp + 0x37c], 0xffffffff
lea ecx, [esp + 0x24]
je 0x421107
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 0x4210ec
lea ecx, [esp + 0x24]
mov dword [esp + 0x37c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 0x66
jmp 0x4210ec