Function at 0x408c96
Capabilities:
Check for time delay via gettickcount
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x30c
mov ax, word [ecx + 0x36]
and eax, 0xf
mov word [ebp - 0x2da], ax
lea eax, [ecx + 0x10]
mov dword [ebp - 0x2cc], eax
xor eax, eax
cmp word [ebp - 0x2da], 1
setne al
push dword [ebp - 0x2cc]
lea eax, [eax + eax*4 + 2]
mov dword [ebp - 0x2e4], eax
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x298]
push eax
push dword [ebp - 0x2e4]
call fcn.0040bab8
add esp, 0x10
mov dword [ebp - 0x2e8], eax
test eax, eax
je 0x408d22
push edi
mov ecx, ebx
push edi
push 0x190
push str.Limit_overflow
call fcn.0040b1ae
mov dword [ebp - 0x2e8], 1
pop eax
pop edx
jmp 0x40a913
push ecx
push 0x10200
push 8
push dword [0x452048]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x2b0], eax
pop esi
test eax, eax
je 0x40a909
cmp word [ebp - 0x2da], 1
mov edx, 3
mov eax, 0x14
mov dword [ebx + 0x80], 0
cmove eax, edx
mov dword [ebx + 0x50], 0
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x2f0], 0x200
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2e0], 0
cmp word [ebp - 0x2da], 1
je 0x408dac
mov dword [ebx + 0x50], 0
jmp 0x408dda
mov eax, dword [ebx + 0x50]
test eax, eax
je 0x408dda
push edx
push eax
push 0
push 0
call fcn.0040bdd0
add esp, 0x10
test eax, eax
je 0x408dda
sub esp, 0xc
push dword [ebx + 0x50]
call fcn.0040bf04
mov dword [ebx + 0x50], 0
add esp, 0x10
mov eax, dword [ebp - 0x2b0]
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x84], 0
lea edi, [eax + 0x100]
mov eax, dword [0x46dcc4]
mov esi, edi
mov dword [ebx + 0x5c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 0x2ec], eax
push eax
mov eax, 0x1ffe
sub eax, dword [ebp - 0x2c4]
push eax
push esi
push ebx
call dword [ebx + 8]
add esp, 0x10
test eax, eax
jg 0x408e90
cmp dword [ebp - 0x2c4], 0
jne 0x408f0f
cmp dword [ebp - 0x2f0], 0x200
jne 0x40a81a
sub esp, 0xc
push str.___.256s_r_n
push dword [ebp - 0x2cc]
push dword [ebx]
push 0x44027e
push 0x4644a0
call fcn.00403f0e
add esp, 0x14
push 4
push 0x42e890
push pe_nt_image_headers32
push 0xffff
push dword [ebx]
call dword [sym.imp.WS2_32.dll_setsockopt]
add esp, 0xc
jmp 0x40a81a
add esi, eax
mov eax, esi
mov byte [esi], 0
sub eax, edi
mov dword [ebp - 0x2c4], eax
cmp eax, 0x20
jg 0x408ebd
push eax
push eax
push 0x440290
push edi
call fcn.004034b9
add esp, 0x10
mov dword [ebx + 0x4c], eax
test eax, eax
je 0x408edd
jmp 0x408f0f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
sub eax, dword [ebp - 0x2ec]
div dword [ebp - 0x2c4]
cmp eax, 0x400
jbe 0x408ea4
jmp 0x408e3d
push eax
push eax
push 0x440295
push edi
call fcn.004034b9
add esp, 0x10
mov dword [ebx + 0x4c], eax
test eax, eax
jne 0x408f09
cmp dword [ebp - 0x2c4], 0x1ffd
jle 0x408e17
jmp 0x40946e
add eax, 3
mov dword [ebx + 0x4c], eax
mov ecx, dword [ebp - 0x2c4]
mov eax, edi
sub eax, dword [ebx + 0x4c]
push esi
push esi
lea eax, [ecx + eax - 4]
push 0x440298
mov dword [ebx + 0x68], eax
push edi
call fcn.004034dd
add esp, 0x10
mov dword [ebx + 0x6c], eax
test byte [0x46d97e], 1
je 0x408f84
cmp dword [0x47a7b8], 0
jle 0x408f84
push ecx
push ecx
push str.Accept_Encoding
push edi
call fcn.0040f8fb
add esp, 0x10
mov dword [ebp - 0x2a0], eax
test eax, eax
je 0x408f84
push edx
push edx
push 0x4402bf
push eax
call fcn.004034dd
add esp, 0x10
test eax, eax
mov eax, 8
cmove eax, dword [ebp - 0x2c8]
mov dword [ebp - 0x2c8], eax
mov eax, dword [ebp - 0x2c8]
mov dword [ebx + 0x34], eax
push eax
push eax
push 0x4402c4
push edi
call fcn.004034b9
add esp, 0x10
test eax, eax
je 0x408fb2
or dword [ebx + 0x34], 0x200
or dword [ebp - 0x2c8], 0x200
cmp dword [ebp - 0x2f0], 0x200
mov edx, str._Keep_Alive_r_n_.4000s
mov eax, str.__r_n_.4000s
cmovne eax, edx
sub esp, 0xc
push eax
push dword [ebp - 0x2cc]
push dword [ebx]
push edi
push 0x4644a0
call fcn.00403f0e
mov eax, dword [ebp - 0x2b0]
add esp, 0x1c
mov edx, 4
cmp byte [eax + 0x108], 0x3a
mov eax, 0xb
cmovne eax, edx
add eax, edi
push eax
lea eax, [ebx + 0x88]
push 0x4402cd
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp - 0x2b0]
lea edx, [ebx + 0x89]
mov eax, dword [eax + 0x100]
add esp, 0x10
cmp eax, 0x4e4e4f43
jne 0x409036
lea edx, [ebx + 0x8d]
jmp 0x40905c
cmp eax, 0x20544547
je 0x40905c
cmp eax, 0x54534f50
je 0x409072
cmp eax, 0x44414548
je 0x40907e
push edi
push edi
push 0x195
push str.Error._Unsupported_method.
jmp 0x40947b
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2b8], 4
jmp 0x409092
mov dword [ebp - 0x2d8], 0
jmp 0x409088
mov dword [ebp - 0x2d8], 1
mov dword [ebp - 0x2b8], 5
push esi
push esi
push 0x20
push edx
call fcn.004033de
add esp, 0x10
test eax, eax
je 0x4090a6
mov byte [eax], 0
cmp word [ebp - 0x2da], 1
jne 0x4090c8
mov eax, dword [ebp - 0x2c4]
mov dword [ebx + 0x40], edi
mov ecx, ebx
mov dword [ebx + 0x60], eax
call fcn.0040f956
jmp 0x40a71d
push ecx
push ecx
push 0xd
push edi
call fcn.004033de
add esp, 0x10
mov esi, eax
test eax, eax
je 0x409161
mov byte [eax], 0
mov eax, dword [0x46dcc0]
mov dword [ebp - 0x2d4], 0
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0
je 0x40915c
mov eax, dword [ebp - 0x2b4]
cmp byte [eax + 9], 0x2f
jne 0x40914c
add eax, 9
push edx
push edx
push eax
push edi
call fcn.004034dd
add esp, 0x10
mov dword [ebp - 0x2d4], eax
test eax, eax
je 0x40914c
push eax
push eax
mov eax, dword [ebp - 0x2b0]
push 0x4402ee
add eax, 0x105
push eax
call fcn.00403442
add esp, 0x10
cmp dword [ebp - 0x2d4], eax
jb 0x40920e
mov eax, dword [ebp - 0x2b4]
mov eax, dword [eax]
mov dword [ebp - 0x2b4], eax
jmp 0x4090f7
mov byte [esi], 0xd
jmp 0x40916b
mov dword [ebp - 0x2d4], 0
push ecx
push ecx
push 0x4402f1
push edi
call fcn.0040f8fb
add esp, 0x10
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 0x2a0], eax
test eax, eax
je 0x40923e
push edx
push edx
push 0xd
push eax
call fcn.004033de
add esp, 0x10
mov dword [ebp - 0x2b4], 0
mov esi, eax
test eax, eax
je 0x40923e
mov byte [eax], 0
push eax
push eax
push 0x3a
push dword [ebp - 0x2a0]
call fcn.004033de
add esp, 0x10
mov edx, eax
test eax, eax
je 0x4091ce
mov byte [eax], 0
mov eax, dword [0x46dcc0]
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0
je 0x409234
mov eax, dword [ebp - 0x2b4]
push ecx
push ecx
add eax, 9
push dword [ebp - 0x2a0]
push eax
mov dword [ebp - 0x2ac], edx
call fcn.0040341a
add esp, 0x10
mov edx, dword [ebp - 0x2ac]
test eax, eax
jne 0x40922a
jmp 0x409210
xor edx, edx
mov eax, dword [ebp - 0x2b4]
mov eax, dword [eax + 4]
mov dword [ebx + 0x5c], eax
mov eax, dword [ebp - 0x2b4]
mov dword [ebx + 0x84], eax
jmp 0x409234
mov eax, dword [ebp - 0x2b4]
mov eax, dword [eax]
jmp 0x4091d3
mov byte [esi], 0xd
test edx, edx
je 0x40923e
mov byte [edx], 0x3a
mov eax, dword [ebx + 0x5c]
cmp dword [eax + 3], 0x2f2f3a70
jne 0x409316
add eax, 7
push edx
push edx
push 0x3a
push eax
call fcn.004033de
add esp, 0x10
mov dword [ebp - 0x2ac], 0x50
mov esi, eax
test eax, eax
je 0x4092bb
sub esp, 0xc
lea eax, [eax + 1]
push eax
call fcn.0041244e
mov edx, dword [ebx + 0x5c]
mov ecx, 0x48
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0x2b0]
add eax, 0x2100
mov dword [ebp - 0x2b4], eax
call fcn.004087f8
mov eax, dword [ebp - 0x2b0]
sub esi, dword [ebx + 0x5c]
add esp, 0x10
mov byte [eax + esi + 0x2100], 0
mov eax, dword [ebp - 0x2b4]
mov dword [ebx + 0x5c], eax
push eax
push eax
mov eax, dword [ebx + 0x5c]
push dword [ebp - 0x2ac]
add eax, 7
push eax
call fcn.0040ee84
add esp, 0x10
mov esi, eax
test eax, eax
jg 0x4092e9
push eax
push eax
push 0x190
push 0x4402f6
jmp 0x409609
push ecx
push dword [ebp - 0x2c4]
push edi
push eax
call fcn.0040b3a7
pop edi
pop eax
push dword [ebp - 0x2b0]
push esi
mov ecx, ebx
call fcn.0040f2f8
push eax
push esi
call fcn.0040bf04
add esp, 0x10
jmp 0x40a8f1
sub esp, 0xc
push eax
call fcn.0042d5c4
mov edx, dword [ebx + 0x5c]
add esp, 0x10
mov dword [ebx + 0x60], eax
dec eax
add edx, eax
cmp byte [edx], 0x5c
jne 0x409336
mov dword [ebx + 0x60], eax
mov byte [edx], 0
mov eax, dword [ebp - 0x2c8]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 0x2b0]
cmp dword [eax + 0x100], 0x54534f50
jne 0x40935d
mov eax, dword [ebp - 0x2c8]
or eax, 1
mov dword [ebx + 0x34], eax
mov esi, dword [ebp - 0x2b8]
cmp dword [edi + esi + 3], 0x2f2f3a70
jne 0x40939e
lea eax, [edi + esi + 8]
push edx
push edx
push 0x2f
push eax
call fcn.004033de
add esp, 0x10
mov dword [ebp - 0x2a0], eax
test eax, eax
je 0x409392
sub eax, edi
mov dword [ebp - 0x2b8], eax
jmp 0x40939e
add dword [ebp - 0x2b8], 6
mov byte [edi + esi + 7], 0x20
cmp dword [ebp - 0x2d4], 0
je 0x4093cd
mov eax, dword [ebp - 0x2d4]
push esi
push esi
inc eax
push 0x2f
push eax
call fcn.004033de
add esp, 0x10
mov dword [ebp - 0x2a0], eax
test eax, eax
je 0x4093cd
sub eax, edi
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebx + 0x60]
mov esi, dword [ebx + 0x5c]
mov edx, eax
sub edx, dword [ebp - 0x2b8]
mov ecx, eax
sub edi, edx
mov dword [ebp - 0x2ac], edi
test edi, edi
je 0x4093f2
test esi, esi
je 0x4093f2
jecxz 0x4093f2
cld
rep movsb byte es:[edi], byte [esi]
add edx, dword [ebp - 0x2c4]
mov ecx, dword [ebp - 0x2ac]
mov dword [ebp - 0x2c4], edx
lea edi, [ecx + eax]
test byte [edi], 0xdf
je 0x40940f
inc edi
jmp 0x409407
mov byte [edi], 0
push ecx
push ecx
push str._nAUTHORIZATION
push dword [ebp - 0x2ac]
call fcn.004034dd
add esp, 0x10
mov dword [ebp - 0x2a0], eax
test eax, eax
jne 0x409442
mov eax, edi
sub eax, dword [ebp - 0x2ac]
cmp eax, 0x1c00
jle 0x409489
jmp 0x40946e
add eax, 8
push edx
push edx
push 0xa
push eax
call fcn.004033de
sub eax, dword [ebp - 0x2a0]
add esp, 0x10
cmp eax, 0x200
jbe 0x409431
push esi
mov ecx, ebx
push esi
push 0x64
push 0
call fcn.00411e02
pop edi
pop eax
push ecx
push ecx
push 0x190
push dword [0x433ca8]
mov ecx, ebx
call fcn.0040b1ae
pop eax
pop edx
jmp 0x40a81a
push eax
push eax
push 0x3f
push dword [ebp - 0x2ac]
call fcn.004033de
add esp, 0x10
test eax, eax
je 0x409529
lea edx, [eax + 1]
mov dword [ebx + 0x48], edx
mov byte [eax], 0
mov eax, dword [ebx + 0x48]
cmp byte [eax - 2], 0x2f
jne 0x409530
sub esp, 0xc
push dword [0x42e4c4]
call fcn.0042d5c4
add esp, 0x10
lea esi, [eax + 8]
mov eax, dword [ebp - 0x2c4]
add eax, esi
mov dword [ebp - 0x2d0], eax
cmp eax, 0x1ffd
jg 0x409530
mov edx, dword [ebp - 0x2c4]
add edx, dword [ebp - 0x2ac]
mov ecx, edx
sub ecx, dword [ebx + 0x48]
mov eax, dword [ebp - 0x2ac]
inc ecx
add eax, dword [ebp - 0x2d0]
call fcn.0040880f
mov eax, dword [ebx + 0x48]
cmp eax, edi
ja 0x40950a
add edi, esi
mov edx, dword [ebx + 0x4c]
cmp eax, edx
ja 0x409516
add edx, esi
mov dword [ebx + 0x4c], edx
add eax, esi
mov dword [ebx + 0x48], eax
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x2c4], eax
jmp 0x409530
mov dword [ebx + 0x48], 0x46d4ec
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x40953e
mov byte [eax], 0
add dword [ebx + 0x4c], 4
mov eax, dword [ebp - 0x2ac]
inc edi
mov dword [ebx + 0x50], 0
mov ecx, ebx
mov dword [ebx + 0x40], edi
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 0x2b0]
add eax, 0x8000
mov dword [ebx + 0x54], eax
call fcn.0040513c
mov eax, dword [ebp - 0x2ac]
add eax, dword [ebx + 0x60]
push edi
push edi
push str.___admin__
push eax
call fcn.0042d500
add esp, 0x10
test eax, eax
je 0x4095cb
test byte [0x46d97e], 4
je 0x409596
cmp dword [ebx + 4], fcn.00424353
jne 0x4095fc
push esi
push esi
push dword [ebp - 0x2cc]
push 0x10
call fcn.004128fd
add esp, 0x10
test eax, eax
jle 0x4095fc
sub esp, 0xc
mov ecx, ebx
push 0x10
call fcn.0040b4d8
add esp, 0xc
test eax, eax
jne 0x4095fc
mov ecx, ebx
call fcn.0040c52c
jmp 0x40a8f1
push eax
push eax
mov eax, dword [ebp - 0x2ac]
add eax, dword [ebx + 0x60]
push str.___wmail__
push eax
call fcn.0042d500
add esp, 0x10
test eax, eax
je 0x409657
mov eax, dword [0x46d980]
bt eax, 0xe
jae 0x409617
cmp dword [ebx + 4], fcn.00424353
je 0x409617
push ecx
push ecx
push 0x190
push dword [0x433d14]
mov ecx, ebx
call fcn.0040b1ae
pop eax
pop edx
jmp 0x40a8f1
bt eax, 0xd
jae 0x4095fc
push eax
push eax
push dword [ebp - 0x2cc]
push 8
call fcn.004128fd
add esp, 0x10
test eax, eax
jle 0x4095fc
sub esp, 0xc
mov ecx, ebx
push 8
call fcn.0040b4d8
add esp, 0xc
test eax, eax
jne 0x4095fc
sub esp, 0xc
mov ecx, ebx
push 0
call fcn.004285e0
jmp 0x4098dc
mov eax, dword [ebp - 0x2ac]
add eax, dword [ebx + 0x60]
push edi
push edi
push str.___ip2country__
push eax
call fcn.0042d500
add esp, 0x10
test eax, eax
je 0x40967d
test byte [0x46d982], 0x80
jne 0x409691
test byte [0x46d983], 2
jne 0x40969d
test byte [0x46d984], 0x18
jne 0x4096c5
jmp 0x4096d2
mov ecx, ebx
call fcn.004144e2
jmp 0x40a8f1
cmp dword [0x46d4c8], 0
jle 0x409686
mov eax, dword [ebp - 0x2ac]
add eax, dword [ebx + 0x60]
push esi
push esi
push str._dns_query
push eax
call fcn.004033fb
add esp, 0x10
test eax, eax
jne 0x409686
jmp 0x4096e4
cmp dword [ebx + 4], fcn.00424353
je 0x409804
cmp dword [ebp - 0x2b4], 0
jne 0x409832
jmp 0x4098e4
mov eax, dword [ebx + 0x48]
cmp eax, 0x46d4ec
je 0x409720
cmp dword [eax], 0x3d736e64
jne 0x409720
mov ecx, dword [ebp - 0x2b0]
add eax, 4
lea edx, [ecx + 0x2100]
push ecx
mov dword [ebx + 0x4c], edx
push ecx
push eax
push edx
call fcn.004265f9
add esp, 0x10
mov dword [ebp - 0x2a0], eax
sub eax, dword [ebx + 0x4c]
mov dword [ebx + 0x68], eax
cmp dword [ebx + 0x68], 0x10
jle 0x40946e
push eax
lea eax, [ebp - 0x2a0]
mov esi, 0x264
push 4
mov dword [ebx + 0x60], 0
push eax
mov dword [ebx + 0x50], 0
push dword [0x46d4c8]
mov dword [ebp - 0x2a0], ebx
call fcn.00403629
pop eax
cmp dword [ebx + 0x60], 0
jne 0x40979f
dec esi
jne 0x40978f
sub esp, 0xc
push str.___.256s_r_n
push dword [ebp - 0x2cc]
push dword [ebx]
push str.DOH_close_by_timeout
push 0x4644a0
call fcn.00403f0e
add esp, 0x14
push ebx
call fcn.0041f154
add esp, 0x10
jmp 0x40979f
sub esp, 0xc
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0xc
jmp 0x409759
mov edx, dword [ebx + 0x60]
test edx, edx
jle 0x4097f3
mov eax, dword [ebp - 0x2b0]
push edi
push edx
add eax, 0x2500
push str.HTTP_1.0_200_Ok_r_nContent_Length:__u_r_nConnection:_Keep_Alive_r_nContent_Type:_application_dns_message_r_n_r_n
mov dword [ebp - 0x2a0], eax
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
pop edx
pop ecx
mov ecx, ebx
push eax
push dword [ebp - 0x2a0]
call fcn.0042d768
push dword [ebx + 0x60]
mov ecx, ebx
push dword [ebx + 0x4c]
call fcn.0042d768
cmp dword [ebx + 0x6c], 0
pop esi
pop edi
jne 0x40a71d
jmp 0x40a8f1
push esi
push esi
push 0x190
push str.Resolving_error
jmp 0x409609
mov eax, dword [ebp - 0x2ac]
add eax, dword [ebx + 0x60]
push ecx
push ecx
push dword [0x42e070]
push eax
call fcn.0042d500
add esp, 0x10
test eax, eax
je 0x4096d2
mov ecx, ebx
call fcn.0042b29c
jmp 0x40a8f1
mov eax, dword [ebp - 0x2b4]
cmp byte [eax + 8], 0
je 0x4098e4
mov eax, dword [ebp - 0x2b0]
sub esp, 0xc
mov ecx, ebx
add eax, 0x9000
mov dword [ebp - 0x29c], eax
lea eax, [ebp - 0x29c]
push eax
call fcn.004078c4
mov dword [ebp - 0x2a0], eax
add esp, 0xc
test eax, eax
je 0x4098cc
push ebx
push dword [ebp - 0x29c]
push 0xff
push eax
call fcn.00411ea0
add esp, 0x10
test eax, eax
je 0x4098cc
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [ebp - 0x2b4]
push edx
push edx
push dword [ebp - 0x2a0]
movsx eax, byte [eax + 8]
add eax, dword [ecx + 4]
push eax
call fcn.00408a28
add esp, 0x10
test eax, eax
je 0x4098cc
test al, 0x20
jne 0x4098cc
and eax, 7
cmp eax, 5
je 0x4098cc
mov eax, dword [ebp - 0x2b4]
mov eax, dword [eax + 4]
mov dword [ebx + 0x5c], eax
jmp 0x4098e4
sub esp, 0xc
push dword [ebp - 0x2ac]
mov ecx, ebx
call fcn.00408afc
add esp, 0xc
jmp 0x40a8f1
sub esp, 0xc
push dword [ebp - 0x2ac]
call fcn.00408826
add esp, 0x10
mov edi, eax
test eax, eax
je 0x40946e
cmp byte [eax - 1], 0x5c
jne 0x409999
test byte [ebx + 0x34], 1
je 0x409981
sub esp, 0xc
push dword [0x42e4c4]
call fcn.0042d5c4
add esp, 0x10
lea esi, [eax + 8]
mov eax, dword [ebp - 0x2c4]
add eax, esi
cmp eax, 0x1ffd
jg 0x409981
mov edx, dword [ebp - 0x2c4]
add edx, dword [ebp - 0x2ac]
mov ecx, edx
add eax, dword [ebp - 0x2ac]
sub ecx, edi
inc ecx
call fcn.0040880f
mov eax, dword [ebx + 0x4c]
cmp eax, edi
jb 0x40995a
add eax, esi
mov dword [ebx + 0x4c], eax
mov eax, dword [ebx + 0x40]
cmp eax, edi
jb 0x409981
add eax, esi
mov edx, dword [ebx + 0x54]
mov dword [ebx + 0x40], eax
mov eax, dword [edx]
test eax, eax
je 0x409981
cmp eax, edi
jb 0x40997c
cmp eax, dword [ebx + 0x4c]
jae 0x40997c
add eax, esi
mov dword [edx], eax
add edx, 4
jmp 0x409969
push eax
push dword [0x42e4c4]
push 0x4403da
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x40999b
xor edi, edi
mov eax, dword [ebp - 0x2b4]
add eax, 9
cmp dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2f4], eax
mov eax, str.Undefined_default
cmovne eax, dword [ebp - 0x2f4]
mov dword [ebp - 0x2f8], eax
push eax
push eax
lea eax, [ebp - 0x268]
push eax
push dword [ebp - 0x2ac]
call fcn.0041695f
add esp, 0x10
mov esi, eax
cmp eax, 0xffffffff
je 0x409e5b
test edi, edi
je 0x409a3d
cmp byte [ebp - 0x23c], 0x2e
jne 0x409a23
cmp byte [ebp - 0x23b], 0x2f
jg 0x409a23
push eax
push eax
lea eax, [ebp - 0x268]
push eax
push esi
call fcn.00416a0d
add esp, 0x10
test eax, eax
jne 0x4099e9
sub esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
add esp, 0xc
jmp 0x409e6e
push eax
lea eax, [ebp - 0x23c]
push eax
push 0x4403da
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add dword [ebx + 0x40], eax
add esp, 0x10
sub esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
add esp, 0xc
test byte [ebp - 0x268], 2
je 0x409a60
test byte [0x46d97d], 0x10
jne 0x40a085
push eax
push eax
push dword [0x42e4c0]
push dword [ebp - 0x2ac]
call fcn.004034dd
add esp, 0x10
mov esi, eax
test eax, eax
jne 0x409ab8
cmp dword [ebp - 0x2d4], 0
jne 0x409a9c
test byte [0x46d97d], 0x20
je 0x409ab8
mov esi, dword [ebp - 0x268]
shr esi, 2
and esi, 1
jmp 0x409ab8
push edi
push edi
push dword [0x42e4c0]
push dword [ebp - 0x2f4]
call fcn.004034dd
add esp, 0x10
test eax, eax
je 0x409a85
mov esi, eax
test byte [ebp - 0x268], 0x10
je 0x409b00
mov eax, dword [ebp - 0x2ac]
mov dl, byte [eax]
test dl, dl
je 0x409ad8
cmp dl, 0x5c
jne 0x409ad5
mov byte [eax], 0x2f
inc eax
jmp 0x409ac7
lea esi, [eax + 2]
mov edi, dword [ebp - 0x2ac]
add edi, dword [ebx + 0x60]
mov word [eax], 0x2f
push eax
push edi
push str.HTTP_1.0_301__r_nLocation:__s_r_n_r_n
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
pop edx
pop ecx
push eax
push esi
jmp 0x409c1c
push edi
push edi
push 0x2e
push dword [ebp - 0x2ac]
call fcn.00403476
add esp, 0x10
mov dword [ebp - 0x2a0], eax
mov edx, eax
test eax, eax
je 0x409ce6
mov al, byte [eax + 1]
test al, al
je 0x40946e
mov edi, dword [edx]
cmp al, 0x60
jle 0x409b39
and edi, 0xffffdfff
cmp byte [edx + 2], 0x60
jle 0x409b45
and edi, 0xffdfffff
cmp byte [edx + 3], 0x60
jle 0x409b51
and edi, 0xdfffffff
cmp dword [ebp - 0x2c8], 0
je 0x409b7d
push ecx
push ecx
push edx
push dword [0x438f6c]
call fcn.004034dd
add esp, 0x10
test eax, eax
je 0x409b7d
and dword [ebx + 0x34], 0xfffffff7
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 0
mov edx, dword [str..HTM.GIF.JPG.JPE.TXT.CSS.CLA.JS]
mov eax, dword [ebp - 0x2c4]
mov eax, dword [edx + eax*4]
test eax, eax
je 0x409ba6
cmp eax, edi
je 0x409ba6
inc dword [ebp - 0x2c4]
jmp 0x409b8d
test esi, esi
jne 0x409c36
cmp edi, 0x4d54532e
sete dl
cmp edi, 0x5448532e
sete al
or dl, al
jne 0x409bdd
cmp edi, 0x5053412e
je 0x409bdd
cmp byte [0x46d978], 0
jns 0x409c36
cmp edi, 0x4d54482e
jne 0x409c36
cmp dword [ebp - 0x2d8], 0
je 0x409c2a
mov eax, dword [0x46d9a4]
mov edx, 0x194
cmp dword [ebx + 0x3c], eax
mov eax, 0xc8
cmove eax, edx
push dword [0x42e598]
push eax
push str.HTTP_1.0__u_Ok_r_nContent_Type:_text_html_r_n_s_r_n_r_n
push dword [ebp - 0x2ac]
call dword [sym.imp.USER32.dll_wsprintfA]
pop edi
pop edx
push eax
push dword [ebp - 0x2ac]
mov ecx, ebx
call fcn.0042d768
pop ecx
pop esi
jmp 0x40a83d
mov ecx, ebx
call fcn.0040752c
jmp 0x409cd2
mov eax, edi
and eax, 0xfbffffff
cmp eax, 0x5048502e
je 0x409c4c
cmp edi, 0x4d54502e
jne 0x409c52
or dword [ebx + 0x34], 4
jmp 0x409c75
test esi, esi
je 0x409cf4
cmp dword [ebp - 0x2c4], 3
jg 0x409c75
test byte [ebp - 0x268], 4
jne 0x409c75
test byte [0x46d979], 0x40
jne 0x409cf4
test byte [ebx + 0x34], 4
je 0x409c93
test byte [0x46d984], 2
je 0x409c93
mov eax, dword [0x46d994]
test eax, eax
je 0x409c93
sub esp, 0xc
push eax
jmp 0x409cc8
mov eax, dword [str..fcgi]
test eax, eax
jne 0x409ca5
mov ecx, ebx
call fcn.004087c4
jmp 0x409cd2
cmp byte [eax], 0
je 0x409c9c
push edx
push edx
push eax
push dword [ebp - 0x2ac]
call fcn.004034dd
add esp, 0x10
test eax, eax
je 0x409c9c
sub esp, 0xc
push dword [ebp - 0x2ac]
mov ecx, ebx
call fcn.0042a0f8
add esp, 0xc
mov ecx, ebx
call fcn.00408ac8
test eax, eax
jg 0x40a71d
jmp 0x40a83d
test esi, esi
jne 0x409c75
mov dword [ebp - 0x2c4], 9
push eax
push eax
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push 0x440442
push dword [ebx + 0x54]
call fcn.00405368
add esp, 0x10
mov edi, eax
test eax, eax
je 0x409d7b
mov eax, dword [ebp - 0x2b0]
sub esp, 0xc
lea esi, [eax + 0x2100]
movzx eax, word [ebp - 0x27c]
push eax
movzx eax, word [ebp - 0x27e]
push eax
movzx eax, word [ebp - 0x280]
push eax
push str._2.2u:_2.2u:_2.2u_GMT
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push esi
push edi
call fcn.004034dd
add esp, 0x10
test eax, eax
je 0x409d7b
push esi
mov ecx, ebx
push esi
push 0x3c
push str.HTTP_1.0_304__r_nContent_Length:_0_r_nConnection:_Keep_Alive_r_n_r_n
call fcn.0042d768
pop edi
pop eax
jmp 0x40a71d
mov eax, dword [ebp - 0x2c4]
cmp dword [ebp - 0x2c4], 8
mov eax, dword [eax*4 + 0x42e760]
mov dword [ebp - 0x2d0], eax
jle 0x40a066
mov edx, dword [0x46d8c8]
test edx, edx
je 0x40a066
mov eax, dword [ebp - 0x2a0]
test eax, eax
je 0x40a066
cmp byte [eax + 1], 0
je 0x40a066
mov ecx, dword [ebp - 0x2ac]
mov eax, dword [eax]
add ecx, 0x4000
mov dword [ebp - 0x2d0], ecx
mov ecx, dword [ebp - 0x2ac]
mov dword [ecx + 0x4000], eax
mov byte [ecx + 0x4004], 0
push ecx
push ecx
push dword [ebp - 0x2d0]
push edx
call fcn.004034dd
add esp, 0x10
test eax, eax
jne 0x409e15
mov eax, dword [ebp - 0x2c4]
mov eax, dword [eax*4 + 0x42e760]
mov dword [ebp - 0x2d0], eax
jmp 0x40a066
push edx
push edx
push 0x3b
push eax
call fcn.004033de
add esp, 0x10
test eax, eax
je 0x409dfd
lea edx, [eax + 1]
mov eax, dword [ebp - 0x2d0]
mov ecx, 0x40
call fcn.004087f8
push eax
push eax
push 0x3b
push dword [ebp - 0x2d0]
call fcn.004033de
add esp, 0x10
test eax, eax
je 0x40a066
mov byte [eax], 0
jmp 0x40a066
mov eax, dword [ebx + 0x50]
test eax, eax
jne 0x40a061
test edi, edi
je 0x409fde
test byte [0x46d97b], 0x20
jne 0x40a085
mov dword [edi], 0x2a
push eax
push eax
lea eax, [ebp - 0x268]
push eax
push dword [ebp - 0x2ac]
call fcn.0041695f
add esp, 0x10
mov esi, eax
cmp eax, 0xffffffff
je 0x409fdb
mov ecx, ebx
call fcn.0040c424
cmp word [ebp - 0x23c], 0x2e
jne 0x409ecf
push eax
push eax
lea eax, [ebp - 0x268]
push eax
push esi
call fcn.00416a0d
add esp, 0x10
test eax, eax
jne 0x409eaa
jmp 0x409fbf
test byte [ebp - 0x268], 2
je 0x409ee1
test byte [0x46d97d], 0x10
jne 0x409eb4
lea eax, [ebp - 0x288]
push edi
push edi
push eax
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test byte [ebp - 0x268], 0x10
movzx ecx, word [ebp - 0x282]
pop eax
mov eax, 0x4401b0
pop edx
mov edx, 0x44026d
cmove edx, eax
movzx eax, word [ebp - 0x27e]
movzx edi, word [ebp - 0x27c]
mov dword [ebp - 0x2b8], eax
movzx eax, word [ebp - 0x280]
push edi
mov dword [ebp - 0x2c0], eax
movzx eax, word [ebp - 0x286]
push dword [ebp - 0x2b8]
mov dword [ebp - 0x2c4], eax
movzx eax, word [ebp - 0x288]
push dword [ebp - 0x2c0]
push ecx
push dword [ebp - 0x2c4]
push eax
push edi
push dword [ebp - 0x2b8]
push dword [ebp - 0x2c0]
push ecx
push dword [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x23c]
push edx
mov dword [ebp - 0x2a0], edx
push eax
push dword [ebp - 0x248]
push dword [ebp - 0x248]
push edx
push eax
push edx
push eax
push edx
push eax
push str._tr__td__a_href__s_s___.64s_s__a___td__td__a_href__s_s_u___u__a___td__td__a_href__s_s_4.4u__2.2u__2.2u__2.2u:_2.2u:_2.2u___4.4u__2.2u__2.2u__2.2u:_2.2u:_2.2u__a___td___tr_
push dword [ebp - 0x2ac]
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, ebx
add esp, 0x58
push eax
push dword [ebp - 0x2ac]
call fcn.0042d768
pop ecx
pop edi
test eax, eax
jg 0x409eb4
sub esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0x2ac]
mov ecx, ebx
call fcn.0040c43e
jmp 0x40a2af
mov byte [edi], 0
push ecx
push ecx
push 0x2e
push dword [ebp - 0x2ac]
call fcn.004033de
add esp, 0x10
mov dword [ebp - 0x2a0], eax
test eax, eax
je 0x40a022
push edx
push edx
push 0x5c
push eax
call fcn.004033de
add esp, 0x10
mov dword [ebx + 0x50], eax
test eax, eax
je 0x40a022
mov byte [eax - 1], 0
test edi, edi
je 0x4099c3
mov byte [edi], 0
jmp 0x4099c3
test edi, edi
jne 0x40a085
push esi
push esi
push 0x5c
push dword [ebp - 0x2ac]
call fcn.00403476
add esp, 0x10
mov esi, eax
test eax, eax
je 0x40a085
mov eax, dword [ebx + 0x40]
push ecx
lea edi, [esi + 1]
push ecx
dec eax
push str..asi
push eax
mov dword [ebx + 0x50], eax
call dword [sym.imp.USER32.dll_wsprintfA]
add dword [ebx + 0x40], eax
add esp, 0x10
jmp 0x4099c3
mov byte [eax], 0
jmp 0x40a085
push esi
push esi
push 0
push dword [ebp - 0x2ac]
call fcn.004165ad
pop edi
pop edx
mov dword [ebp - 0x2b8], eax
test eax, eax
jns 0x40a1ec
mov eax, dword [0x46d9a4]
cmp dword [ebx + 0x3c], eax
je 0x40a1bc
sub esp, 0xc
push dword [ebp - 0x2ac]
call fcn.0042d5c4
add esp, 0x10
mov dword [ebp - 0x2b8], eax
cmp eax, 0x320
jle 0x40a0cb
mov dword [ebp - 0x2b8], 0x322
mov eax, dword [ebp - 0x2ac]
mov dword [eax + 0x320], 0x2e2e
mov esi, dword [ebp - 0x2ac]
add esi, dword [ebp - 0x2b8]
push ecx
push dword [ebp - 0x2f8]
push str.__s__r_nError._File_not_found._r_n
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [0x46d9a4]
add esp, 0x10
test eax, eax
je 0x40a1cf
push edx
push edx
push str..php
push eax
call fcn.004034dd
add esp, 0x10
test eax, eax
jne 0x40a14a
push edi
push edi
push str..pht
push dword [0x46d9a4]
call fcn.004034dd
add esp, 0x10
test eax, eax
jne 0x40a14a
mov eax, dword [ebp - 0x2ac]
mov edi, dword [ebx + 0x60]
sub esp, 0xc
push str.__r_n_.4000s
add edi, eax
push dword [ebp - 0x2cc]
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x48], edi
push dword [ebx]
jmp 0x40a17a
mov edi, dword [ebx + 0x60]
mov eax, dword [ebp - 0x2ac]
sub esp, 0xc
lea eax, [eax + edi - 4]
add edi, dword [ebp - 0x2ac]
mov dword [ebx + 0x48], eax
mov dword [eax], 0x3d727265
or dword [ebx + 0x34], 4
push str.__r_n_.4000s
push dword [ebp - 0x2cc]
push dword [ebx]
push edi
push 0x4644a0
call fcn.00403f0e
mov byte [esi], 0
mov esi, dword [0x46d9a4]
add esp, 0x20
mov edi, dword [ebp - 0x2b0]
mov dword [ebx + 0x3c], esi
test edi, edi
je 0x40a1a9
test esi, esi
je 0x40a1a9
cld
lodsb al, byte [esi]
stosb byte es:[edi], al
or al, al
jne 0x40a1a3
mov eax, dword [ebp - 0x2b0]
xor edi, edi
mov dword [ebp - 0x2ac], eax
jmp 0x4099c3
mov eax, dword [ebx + 0x50]
mov edi, dword [ebp - 0x2b8]
mov dword [ebp - 0x2ac], eax
mov byte [eax + edi], 0x28
mov edi, dword [ebp - 0x2ac]
add edi, dword [ebx + 0x60]
push esi
mov ecx, ebx
push esi
push 0x194
push edi
call fcn.0040b1ae
jmp 0x409c23
mov eax, dword [ebp - 0x248]
push ecx
push ecx
push str.Range
push dword [ebx + 0x54]
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x2bc], eax
call fcn.00405368
add esp, 0x10
mov dword [ebp - 0x2a0], eax
test eax, eax
je 0x40a23c
cmp byte [eax], 0x62
mov ecx, 6
mov edx, 0
cmove edx, ecx
cmp byte [eax + edx], 0x2d
mov dword [ebp - 0x2ac], edx
jne 0x40a255
mov dword [ebp - 0x2d4], 0
mov dword [ebp - 0x2f8], 0
jmp 0x40a37c
test byte [0x46d97f], 0x40
je 0x40a2bf
inc dword [0x46dd50]
mov ecx, dword [0x46d98c]
xor eax, eax
mov esi, dword [0x46d75c]
cmp ecx, eax
jle 0x40a2ba
mov edx, dword [esi + eax*4]
cmp edx, 1
jbe 0x40a2b7
cmp edx, ebx
je 0x40a2b7
mov edi, dword [ebx + 0x14]
cmp dword [edx + 0x14], edi
jne 0x40a2b7
call fcn.0040aaf3
mov ecx, ebx
push eax
push eax
push 0x190
push str.Only_one_stream_enabled
call fcn.0040b1ae
push edx
push dword [ebp - 0x2b8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
jmp 0x40a83d
inc eax
jmp 0x40a272
call fcn.0040aaf3
sub esp, 0xc
mov eax, dword [ebp - 0x2ac]
add eax, dword [ebp - 0x2a0]
push eax
call fcn.00412508
push 0
push edx
push eax
push dword [ebp - 0x2b8]
call fcn.0041378a
add esp, 0x18
mov dword [ebp - 0x2d4], eax
mov esi, eax
mov eax, dword [ebp - 0x2ac]
mov edi, edx
add eax, dword [ebp - 0x2a0]
push 0x2d
push eax
mov dword [ebp - 0x2f8], edx
call fcn.004033de
add esp, 0x10
test eax, eax
jne 0x40a337
mov eax, dword [ebp - 0x2c0]
sub dword [ebp - 0x2c0], esi
mov dword [ebp - 0x2fc], eax
mov eax, dword [ebp - 0x2bc]
sbb dword [ebp - 0x2bc], edi
mov dword [ebp - 0x300], eax
jmp 0x40a37c
sub esp, 0xc
inc eax
push eax
call fcn.00412508
add esp, 0x10
mov ecx, edx
mov dword [ebp - 0x2fc], eax
or ecx, eax
mov dword [ebp - 0x300], edx
je 0x40a311
cmp eax, dword [ebp - 0x2c0]
mov ecx, edx
sbb ecx, dword [ebp - 0x2bc]
jge 0x40a311
sub eax, esi
sbb edx, edi
add eax, 1
adc edx, 0
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 0x2bc], edx
mov eax, dword [ebp - 0x2c0]
mov dword [ebp - 0x2f4], eax
mov eax, dword [ebp - 0x2b0]
lea edi, [eax + 0x2500]
push eax
push edi
push dword [ebp - 0x2bc]
push dword [ebp - 0x2c0]
call fcn.0041373c
movzx eax, word [ebp - 0x27e]
mov edx, 0x194
movzx ecx, word [ebp - 0x280]
movzx esi, word [ebp - 0x27c]
mov dword [ebp - 0x304], eax
movzx eax, word [ebp - 0x288]
mov dword [ebp - 0x308], eax
movzx eax, word [ebp - 0x286]
mov dword [ebp - 0x314], eax
movzx eax, word [ebp - 0x282]
mov dword [ebp - 0x30c], eax
movzx eax, word [ebp - 0x284]
mov dword [ebp - 0x318], eax
pop eax
mov eax, dword [0x46d9a4]
cmp dword [ebx + 0x3c], eax
mov eax, 0xc8
push dword [0x42e598]
cmove eax, edx
mov edx, dword [ebp - 0x2b0]
push dword [ebp - 0x2d0]
push esi
push dword [ebp - 0x304]
add edx, 0x2100
push ecx
mov ecx, dword [ebp - 0x314]
push dword [ebp - 0x308]
mov dword [ebp - 0x2ac], edx
push dword [ecx*4 + 0x42e7fc]
push dword [ebp - 0x30c]
mov esi, dword [ebp - 0x318]
push dword [esi*4 + 0x42e830]
push edi
push eax
push str.HTTP_1.1__u_Ok_r_nContent_Length:__s_r_nLast_modified:__3.3s___u__3.3s__4.4u__2.2u:_2.2u:_2.2u_GMT_r_nContent_Type:__s_r_nConnection:_Keep_Alive_r_n_s_r_n_r_n
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov esi, eax
mov eax, dword [str.Server:_SHS]
add esp, 0x40
cmp byte [eax], 0
jne 0x40a478
sub esi, 2
cmp dword [ebp - 0x2c4], 8
je 0x40a534
push eax
push edi
push dword [ebp - 0x24c]
push dword [ebp - 0x248]
call fcn.0041373c
add esp, 0x10
cmp dword [ebp - 0x2d4], 0
je 0x40a564
mov eax, dword [ebp - 0x2b0]
lea ecx, [eax + 0x251e]
push eax
push ecx
push dword [ebp - 0x300]
push dword [ebp - 0x2fc]
mov dword [ebp - 0x2d0], ecx
call fcn.0041373c
mov eax, dword [ebp - 0x2b0]
add esp, 0xc
lea edx, [eax + 0x253c]
push edx
push dword [ebp - 0x2f8]
push dword [ebp - 0x2d4]
mov dword [ebp - 0x2c4], edx
call fcn.0041373c
mov eax, dword [ebp - 0x2b0]
mov ecx, dword [ebp - 0x2d0]
mov dword [esp], edi
mov edx, dword [ebp - 0x2c4]
lea eax, [eax + esi + 0x20fe]
push ecx
push edx
push str.Content_Range:_bytes__s__s__s_r_n_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea esi, [esi + eax - 2]
mov eax, dword [ebp - 0x2b0]
add esp, 0x20
mov byte [eax + 0x210b], 0x36
jmp 0x40a57a
push esi
mov esi, 9
push 0
push 8
push dword [ebp - 0x2b8]
call fcn.0040364f
add dword [ebp - 0x2c0], 0xfffffff8
mov dword [ebp - 0x2c8], 0
pop edi
adc dword [ebp - 0x2bc], 0xffffffff
jmp 0x40a57a
cmp dword [ebp - 0x2c8], 0
je 0x40a57a
mov eax, dword [0x438f68]
cmp dword [ebp - 0x248], eax
ja 0x40a583
and dword [ebx + 0x34], 0xfffffff7
jmp 0x40a663
mov ecx, ebx
call fcn.004250b6
test eax, eax
je 0x40a57a
movzx eax, word [ebp - 0x27e]
movzx esi, word [ebp - 0x27c]
mov edx, 0x194
push dword [0x42e598]
movzx ecx, word [ebp - 0x280]
push dword [ebp - 0x2d0]
movzx edi, word [ebp - 0x284]
mov dword [ebp - 0x2c4], eax
movzx eax, word [ebp - 0x288]
push esi
mov esi, str.Content_Encoding:_gzip_r_n_r_n
push dword [ebp - 0x2c4]
mov dword [ebp - 0x2d4], eax
movzx eax, word [ebp - 0x286]
push ecx
push dword [ebp - 0x2d4]
mov dword [ebp - 0x304], eax
movzx eax, word [ebp - 0x282]
mov ecx, dword [ebp - 0x304]
mov dword [ebp - 0x2f8], eax
mov eax, dword [0x46d9a4]
cmp dword [ebx + 0x3c], eax
mov eax, 0xc8
push dword [ecx*4 + 0x42e7fc]
cmove eax, edx
push dword [ebp - 0x2f8]
push dword [edi*4 + 0x42e830]
push eax
push str.HTTP_1.1__u_Ok_r_nLast_modified:__3.3s___u__3.3s__4.4u__2.2u:_2.2u:_2.2u_GMT_r_nContent_Type:__s_r_n_s_r_n
push dword [ebp - 0x2ac]
call dword [sym.imp.USER32.dll_wsprintfA]
mov edi, dword [ebp - 0x2b0]
mov ecx, 0x24
mov dword [ebx + 0x6c], 0
lea edi, [edi + eax + 0x2100]
test edi, edi
je 0x40a65d
test esi, esi
je 0x40a65d
jecxz 0x40a65d
cld
rep movsb byte es:[edi], byte [esi]
lea esi, [eax + 0x24]
add esp, 0x30
push eax
mov ecx, ebx
push eax
push esi
push dword [ebp - 0x2ac]
call fcn.0042d768
cmp dword [ebp - 0x2d8], 0
pop edx
pop ecx
jne 0x40a682
test eax, eax
jg 0x40a699
sub esp, 0xc
push dword [ebp - 0x2b8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
jmp 0x40a71d
test byte [ebx + 0x34], 8
je 0x40a6a6
mov dword [ebx + 4], 0x424c78
cmp dword [ebp - 0x2f4], 0x10000
mov eax, 0x10000
cmovbe eax, dword [ebp - 0x2f4]
mov dword [ebp - 0x2ac], eax
push esi
push dword [ebp - 0x2ac]
push dword [ebp - 0x2b0]
push dword [ebp - 0x2b8]
call fcn.00403603
mov esi, eax
pop edi
test eax, eax
jle 0x40a682
push eax
mov ecx, ebx
push eax
push esi
push dword [ebp - 0x2b0]
call fcn.0042d768
pop edx
pop ecx
test eax, eax
jle 0x40a682
mov edi, esi
sar edi, 0x1f
sub dword [ebp - 0x2c0], esi
sbb dword [ebp - 0x2bc], edi
xor eax, eax
cmp eax, dword [ebp - 0x2c0]
sbb eax, dword [ebp - 0x2bc]
jl 0x40a6c2
jmp 0x40a682
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x2ec]
add dword [ebp - 0x2e0], eax
cmp dword [ebx + 0x6c], 0
je 0x40a751
dec dword [ebp - 0x2f0]
je 0x40a751
cmp dword [0x46432c], 0
jne 0x40a75a
mov esi, dword [ebp - 0x310]
jmp 0x40a80b
and dword [ebx + 0x34], 0xfffffffd
jmp 0x40a81a
push eax
push dword [ebx]
push 0x7a120
push 0
call fcn.0040bdd0
add esp, 0x10
test eax, eax
jne 0x40a812
sub esp, 0xc
lea esi, [ebp - 0x278]
or dword [ebx + 0x34], 2
push esi
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x290]
sub esp, 0xc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [ebp - 0x290]
mov edx, dword [ebp - 0x28c]
sub eax, 0xfde04000
sbb edx, 0x14f373b
cmp edx, dword [0x430870]
jae 0x40a7c4
div dword [0x430870]
imul edx, edx, 0x33
shr edx, 9
mov dword [ebp - 0x290], eax
add eax, dword [0x464324]
add esp, 0x18
mov dword [ebp - 0x28c], edx
mov dword [ebx + 0x30], eax
mov word [ebx + 0x36], 0
jmp 0x40a81a
movzx eax, word [ebx + 0x36]
and eax, 1
cmp dword [eax*4 + 0x46d540], 0
je 0x40a81a
push edi
push dword [ebx]
push 0x493e0
push 0
call fcn.0040bdd0
add esp, 0x10
test eax, eax
jne 0x40a812
dec esi
test esi, esi
jg 0x40a7e4
jmp 0x40a81a
test eax, eax
jg 0x408d99
cmp word [ebp - 0x2da], 1
jne 0x40a83d
mov eax, dword [ebx + 0x50]
test eax, eax
je 0x40a8b9
sub esp, 0xc
push eax
call fcn.0040bf04
add esp, 0x10
jmp 0x40a8b9
mov ecx, ebx
call fcn.00425118
cmp dword [ebp - 0x2e0], 0
jne 0x40a85f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x2ec]
mov dword [ebp - 0x2e0], eax
cmp dword [ebp - 0x2b4], 0
mov eax, 0x4401b0
je 0x40a876
mov eax, dword [ebp - 0x2b4]
add eax, 9
push ecx
push ecx
push dword [ebp - 0x2e0]
push eax
push dword [ebx + 0x74]
push dword [ebx + 0x70]
push str.HTTP__in:_u_out:_u__s_Time:_u_r_n
push dword [ebp - 0x2b0]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push str.___.256s_r_n
push dword [ebp - 0x2cc]
push dword [ebx]
push dword [ebp - 0x2b0]
push 0x4644a0
call fcn.00403f0e
add esp, 0x20
mov ecx, dword [ebp - 0x298]
test ecx, ecx
je 0x40a8f1
mov edx, dword [ebp - 0x294]
test edx, edx
je 0x40a8f1
mov eax, dword [ebx + 0x74]
add eax, dword [ebx + 0x70]
add eax, 0x3ff
shr eax, 0xa
add dword [ecx + 4], eax
add dword [edx + 4], eax
imul edx, dword [ebp - 0x2e4], 0xc
mov edx, dword [edx + 0x46e128]
add dword [edx + 4], eax
push eax
push dword [ebp - 0x2b0]
push 0
push dword [0x452048]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edx
jmp 0x40a913
mov dword [ebp - 0x2e8], 0xffffffff
mov eax, dword [ebp - 0x2e8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret