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.0040ba21
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.0040b170
mov dword [ebp - 0x2e8], 1
pop eax
pop edx
jmp 0x40a8da
push ecx
push 0x10200
push 8
push dword [0x451048]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x2b0], eax
pop esi
test eax, eax
je 0x40a8d0
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.0040bd38
add esp, 0x10
test eax, eax
je 0x408dda
sub esp, 0xc
push dword [ebx + 0x50]
call fcn.0040be6c
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 [0x46ccc4]
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 0x40a7e1
sub esp, 0xc
push str.___.256s_r_n
push dword [ebp - 0x2cc]
push dword [ebx]
push 0x43f27e
push 0x4634a0
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 0x40a7e1
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 0x43f290
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 0x43f295
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 0x43f298
mov dword [ebx + 0x68], eax
push edi
call fcn.004034dd
add esp, 0x10
mov dword [ebx + 0x6c], eax
test byte [0x46c97e], 1
je 0x408f84
cmp dword [0x4797b8], 0
jle 0x408f84
push ecx
push ecx
push str.Accept_Encoding
push edi
call fcn.0040f867
add esp, 0x10
mov dword [ebp - 0x2a0], eax
test eax, eax
je 0x408f84
push edx
push edx
push 0x43f2bf
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 0x43f2c4
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 0x4634a0
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 0x43f2cd
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.0040f8c2
jmp 0x40a6e4
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 [0x46ccc0]
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 0x43f2ee
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 0x43f2f1
push edi
call fcn.0040f867
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 [0x46ccc0]
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.004123ba
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.0040edf0
add esp, 0x10
mov esi, eax
test eax, eax
jg 0x4092e9
push eax
push eax
push 0x190
push 0x43f2f6
jmp 0x409609
push ecx
push dword [ebp - 0x2c4]
push edi
push eax
call fcn.0040b369
pop edi
pop eax
push dword [ebp - 0x2b0]
push esi
mov ecx, ebx
call fcn.0040f264
push eax
push esi
call fcn.0040be6c
add esp, 0x10
jmp 0x40a8b8
sub esp, 0xc
push eax
call fcn.0042d208
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.00411d6e
pop edi
pop eax
push ecx
push ecx
push 0x190
push dword [0x433c88]
mov ecx, ebx
call fcn.0040b170
pop eax
pop edx
jmp 0x40a7e1
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.0042d208
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], 0x46c4ec
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.0042d144
add esp, 0x10
test eax, eax
je 0x4095cb
test byte [0x46c97e], 4
je 0x409596
cmp dword [ebx + 4], fcn.004241b3
jne 0x4095fc
push esi
push esi
push dword [ebp - 0x2cc]
push 0x10
call fcn.00412869
add esp, 0x10
test eax, eax
jle 0x4095fc
sub esp, 0xc
mov ecx, ebx
push 0x10
call fcn.0040b49a
add esp, 0xc
test eax, eax
jne 0x4095fc
mov ecx, ebx
call fcn.0040c494
jmp 0x40a8b8
push eax
push eax
mov eax, dword [ebp - 0x2ac]
add eax, dword [ebx + 0x60]
push str.___wmail__
push eax
call fcn.0042d144
add esp, 0x10
test eax, eax
je 0x409657
mov eax, dword [0x46c980]
bt eax, 0xe
jae 0x409617
cmp dword [ebx + 4], fcn.004241b3
je 0x409617
push ecx
push ecx
push 0x190
push dword [0x433cf4]
mov ecx, ebx
call fcn.0040b170
pop eax
pop edx
jmp 0x40a8b8
bt eax, 0xd
jae 0x4095fc
push eax
push eax
push dword [ebp - 0x2cc]
push 8
call fcn.00412869
add esp, 0x10
test eax, eax
jle 0x4095fc
sub esp, 0xc
mov ecx, ebx
push 8
call fcn.0040b49a
add esp, 0xc
test eax, eax
jne 0x4095fc
sub esp, 0xc
mov ecx, ebx
push 0
call fcn.00428440
jmp 0x4098a3
mov eax, dword [ebp - 0x2ac]
add eax, dword [ebx + 0x60]
push edi
push edi
push str.___ip2country__
push eax
call fcn.0042d144
add esp, 0x10
test eax, eax
je 0x40967d
test byte [0x46c982], 0x80
jne 0x409691
test byte [0x46c983], 2
jne 0x40969d
test byte [0x46c984], 0x18
jne 0x4096c5
jmp 0x4096d2
mov ecx, ebx
call fcn.0041444e
jmp 0x40a8b8
cmp dword [0x46c4c8], 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.004241b3
je 0x4097cb
cmp dword [ebp - 0x2b4], 0
jne 0x4097f9
jmp 0x4098ab
mov eax, dword [ebx + 0x48]
cmp eax, 0x46c4ec
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.00426459
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]
push 4
mov dword [ebx + 0x60], 0
push eax
mov dword [ebx + 0x50], 0
push dword [0x46c4c8]
mov dword [ebp - 0x2a0], ebx
call fcn.00403629
pop eax
mov edx, dword [ebx + 0x60]
test edx, edx
jne 0x40976b
sub esp, 0xc
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0xc
jmp 0x409754
jle 0x4097ba
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.0042d3ac
push dword [ebx + 0x60]
mov ecx, ebx
push dword [ebx + 0x4c]
call fcn.0042d3ac
cmp dword [ebx + 0x6c], 0
pop esi
pop edi
jne 0x40a6e4
jmp 0x40a8b8
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.0042d144
add esp, 0x10
test eax, eax
je 0x4096d2
mov ecx, ebx
call fcn.0042b0fc
jmp 0x40a8b8
mov eax, dword [ebp - 0x2b4]
cmp byte [eax + 8], 0
je 0x4098ab
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 0x409893
push ebx
push dword [ebp - 0x29c]
push 0xff
push eax
call fcn.00411e0c
add esp, 0x10
test eax, eax
je 0x409893
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 0x409893
test al, 0x20
jne 0x409893
and eax, 7
cmp eax, 5
je 0x409893
mov eax, dword [ebp - 0x2b4]
mov eax, dword [eax + 4]
mov dword [ebx + 0x5c], eax
jmp 0x4098ab
sub esp, 0xc
push dword [ebp - 0x2ac]
mov ecx, ebx
call fcn.00408afc
add esp, 0xc
jmp 0x40a8b8
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 0x409960
test byte [ebx + 0x34], 1
je 0x409948
sub esp, 0xc
push dword [0x42e4c4]
call fcn.0042d208
add esp, 0x10
lea esi, [eax + 8]
mov eax, dword [ebp - 0x2c4]
add eax, esi
cmp eax, 0x1ffd
jg 0x409948
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 0x409921
add eax, esi
mov dword [ebx + 0x4c], eax
mov eax, dword [ebx + 0x40]
cmp eax, edi
jb 0x409948
add eax, esi
mov edx, dword [ebx + 0x54]
mov dword [ebx + 0x40], eax
mov eax, dword [edx]
test eax, eax
je 0x409948
cmp eax, edi
jb 0x409943
cmp eax, dword [ebx + 0x4c]
jae 0x409943
add eax, esi
mov dword [edx], eax
add edx, 4
jmp 0x409930
push eax
push dword [0x42e4c4]
push 0x43f3c5
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x409962
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.004168cb
add esp, 0x10
mov esi, eax
cmp eax, 0xffffffff
je 0x409e22
test edi, edi
je 0x409a04
cmp byte [ebp - 0x23c], 0x2e
jne 0x4099ea
cmp byte [ebp - 0x23b], 0x2f
jg 0x4099ea
push eax
push eax
lea eax, [ebp - 0x268]
push eax
push esi
call fcn.00416979
add esp, 0x10
test eax, eax
jne 0x4099b0
sub esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
add esp, 0xc
jmp 0x409e35
push eax
lea eax, [ebp - 0x23c]
push eax
push 0x43f3c5
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 0x409a27
test byte [0x46c97d], 0x10
jne 0x40a04c
push eax
push eax
push dword [0x42e4c0]
push dword [ebp - 0x2ac]
call fcn.004034dd
add esp, 0x10
mov esi, eax
test eax, eax
jne 0x409a7f
cmp dword [ebp - 0x2d4], 0
jne 0x409a63
test byte [0x46c97d], 0x20
je 0x409a7f
mov esi, dword [ebp - 0x268]
shr esi, 2
and esi, 1
jmp 0x409a7f
push edi
push edi
push dword [0x42e4c0]
push dword [ebp - 0x2f4]
call fcn.004034dd
add esp, 0x10
test eax, eax
je 0x409a4c
mov esi, eax
test byte [ebp - 0x268], 0x10
je 0x409ac7
mov eax, dword [ebp - 0x2ac]
mov dl, byte [eax]
test dl, dl
je 0x409a9f
cmp dl, 0x5c
jne 0x409a9c
mov byte [eax], 0x2f
inc eax
jmp 0x409a8e
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 0x409be3
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 0x409cad
mov al, byte [eax + 1]
test al, al
je 0x40946e
mov edi, dword [edx]
cmp al, 0x60
jle 0x409b00
and edi, 0xffffdfff
cmp byte [edx + 2], 0x60
jle 0x409b0c
and edi, 0xffdfffff
cmp byte [edx + 3], 0x60
jle 0x409b18
and edi, 0xdfffffff
cmp dword [ebp - 0x2c8], 0
je 0x409b44
push ecx
push ecx
push edx
push dword [0x438e2c]
call fcn.004034dd
add esp, 0x10
test eax, eax
je 0x409b44
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 0x409b6d
cmp eax, edi
je 0x409b6d
inc dword [ebp - 0x2c4]
jmp 0x409b54
test esi, esi
jne 0x409bfd
cmp edi, 0x4d54532e
sete dl
cmp edi, 0x5448532e
sete al
or dl, al
jne 0x409ba4
cmp edi, 0x5053412e
je 0x409ba4
cmp byte [0x46c978], 0
jns 0x409bfd
cmp edi, 0x4d54482e
jne 0x409bfd
cmp dword [ebp - 0x2d8], 0
je 0x409bf1
mov eax, dword [0x46c9a4]
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.0042d3ac
pop ecx
pop esi
jmp 0x40a804
mov ecx, ebx
call fcn.0040752c
jmp 0x409c99
mov eax, edi
and eax, 0xfbffffff
cmp eax, 0x5048502e
je 0x409c13
cmp edi, 0x4d54502e
jne 0x409c19
or dword [ebx + 0x34], 4
jmp 0x409c3c
test esi, esi
je 0x409cbb
cmp dword [ebp - 0x2c4], 3
jg 0x409c3c
test byte [ebp - 0x268], 4
jne 0x409c3c
test byte [0x46c979], 0x40
jne 0x409cbb
test byte [ebx + 0x34], 4
je 0x409c5a
test byte [0x46c984], 2
je 0x409c5a
mov eax, dword [0x46c994]
test eax, eax
je 0x409c5a
sub esp, 0xc
push eax
jmp 0x409c8f
mov eax, dword [str..fcgi]
test eax, eax
jne 0x409c6c
mov ecx, ebx
call fcn.004087c4
jmp 0x409c99
cmp byte [eax], 0
je 0x409c63
push edx
push edx
push eax
push dword [ebp - 0x2ac]
call fcn.004034dd
add esp, 0x10
test eax, eax
je 0x409c63
sub esp, 0xc
push dword [ebp - 0x2ac]
mov ecx, ebx
call fcn.00429f58
add esp, 0xc
mov ecx, ebx
call fcn.00408ac8
test eax, eax
jg 0x40a6e4
jmp 0x40a804
test esi, esi
jne 0x409c3c
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 0x43f42d
push dword [ebx + 0x54]
call fcn.00405368
add esp, 0x10
mov edi, eax
test eax, eax
je 0x409d42
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 0x409d42
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.0042d3ac
pop edi
pop eax
jmp 0x40a6e4
mov eax, dword [ebp - 0x2c4]
cmp dword [ebp - 0x2c4], 8
mov eax, dword [eax*4 + 0x42e760]
mov dword [ebp - 0x2d0], eax
jle 0x40a02d
mov edx, dword [0x46c8c8]
test edx, edx
je 0x40a02d
mov eax, dword [ebp - 0x2a0]
test eax, eax
je 0x40a02d
cmp byte [eax + 1], 0
je 0x40a02d
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 0x409ddc
mov eax, dword [ebp - 0x2c4]
mov eax, dword [eax*4 + 0x42e760]
mov dword [ebp - 0x2d0], eax
jmp 0x40a02d
push edx
push edx
push 0x3b
push eax
call fcn.004033de
add esp, 0x10
test eax, eax
je 0x409dc4
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 0x40a02d
mov byte [eax], 0
jmp 0x40a02d
mov eax, dword [ebx + 0x50]
test eax, eax
jne 0x40a028
test edi, edi
je 0x409fa5
test byte [0x46c97b], 0x20
jne 0x40a04c
mov dword [edi], 0x2a
push eax
push eax
lea eax, [ebp - 0x268]
push eax
push dword [ebp - 0x2ac]
call fcn.004168cb
add esp, 0x10
mov esi, eax
cmp eax, 0xffffffff
je 0x409fa2
mov ecx, ebx
call fcn.0040c38c
cmp word [ebp - 0x23c], 0x2e
jne 0x409e96
push eax
push eax
lea eax, [ebp - 0x268]
push eax
push esi
call fcn.00416979
add esp, 0x10
test eax, eax
jne 0x409e71
jmp 0x409f86
test byte [ebp - 0x268], 2
je 0x409ea8
test byte [0x46c97d], 0x10
jne 0x409e7b
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, 0x43f1b0
pop edx
mov edx, 0x43f26d
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.0042d3ac
pop ecx
pop edi
test eax, eax
jg 0x409e7b
sub esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0x2ac]
mov ecx, ebx
call fcn.0040c3a6
jmp 0x40a276
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 0x409fe9
push edx
push edx
push 0x5c
push eax
call fcn.004033de
add esp, 0x10
mov dword [ebx + 0x50], eax
test eax, eax
je 0x409fe9
mov byte [eax - 1], 0
test edi, edi
je 0x40998a
mov byte [edi], 0
jmp 0x40998a
test edi, edi
jne 0x40a04c
push esi
push esi
push 0x5c
push dword [ebp - 0x2ac]
call fcn.00403476
add esp, 0x10
mov esi, eax
test eax, eax
je 0x40a04c
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 0x40998a
mov byte [eax], 0
jmp 0x40a04c
push esi
push esi
push 0
push dword [ebp - 0x2ac]
call fcn.00416519
pop edi
pop edx
mov dword [ebp - 0x2b8], eax
test eax, eax
jns 0x40a1b3
mov eax, dword [0x46c9a4]
cmp dword [ebx + 0x3c], eax
je 0x40a183
sub esp, 0xc
push dword [ebp - 0x2ac]
call fcn.0042d208
add esp, 0x10
mov dword [ebp - 0x2b8], eax
cmp eax, 0x320
jle 0x40a092
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 [0x46c9a4]
add esp, 0x10
test eax, eax
je 0x40a196
push edx
push edx
push str..php
push eax
call fcn.004034dd
add esp, 0x10
test eax, eax
jne 0x40a111
push edi
push edi
push str..pht
push dword [0x46c9a4]
call fcn.004034dd
add esp, 0x10
test eax, eax
jne 0x40a111
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 0x40a141
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 0x4634a0
call fcn.00403f0e
mov byte [esi], 0
mov esi, dword [0x46c9a4]
add esp, 0x20
mov edi, dword [ebp - 0x2b0]
mov dword [ebx + 0x3c], esi
test edi, edi
je 0x40a170
test esi, esi
je 0x40a170
cld
lodsb al, byte [esi]
stosb byte es:[edi], al
or al, al
jne 0x40a16a
mov eax, dword [ebp - 0x2b0]
xor edi, edi
mov dword [ebp - 0x2ac], eax
jmp 0x40998a
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.0040b170
jmp 0x409bea
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 0x40a203
cmp byte [eax], 0x62
mov ecx, 6
mov edx, 0
cmove edx, ecx
cmp byte [eax + edx], 0x2d
mov dword [ebp - 0x2ac], edx
jne 0x40a21c
mov dword [ebp - 0x2d4], 0
mov dword [ebp - 0x2f8], 0
jmp 0x40a343
test byte [0x46c97f], 0x40
je 0x40a286
inc dword [0x46cd50]
mov ecx, dword [0x46c98c]
xor eax, eax
mov esi, dword [0x46c75c]
cmp ecx, eax
jle 0x40a281
mov edx, dword [esi + eax*4]
cmp edx, 1
jbe 0x40a27e
cmp edx, ebx
je 0x40a27e
mov edi, dword [ebx + 0x14]
cmp dword [edx + 0x14], edi
jne 0x40a27e
call fcn.0040aabb
mov ecx, ebx
push eax
push eax
push 0x190
push str.Only_one_stream_enabled
call fcn.0040b170
push edx
push dword [ebp - 0x2b8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
jmp 0x40a804
inc eax
jmp 0x40a239
call fcn.0040aabb
sub esp, 0xc
mov eax, dword [ebp - 0x2ac]
add eax, dword [ebp - 0x2a0]
push eax
call fcn.00412474
push 0
push edx
push eax
push dword [ebp - 0x2b8]
call fcn.004136f6
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 0x40a2fe
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 0x40a343
sub esp, 0xc
inc eax
push eax
call fcn.00412474
add esp, 0x10
mov ecx, edx
mov dword [ebp - 0x2fc], eax
or ecx, eax
mov dword [ebp - 0x300], edx
je 0x40a2d8
cmp eax, dword [ebp - 0x2c0]
mov ecx, edx
sbb ecx, dword [ebp - 0x2bc]
jge 0x40a2d8
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.004136a8
movzx eax, word [ebp - 0x27e]
movzx esi, word [ebp - 0x27c]
mov edx, 0x194
movzx ecx, word [ebp - 0x280]
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 [0x46c9a4]
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
mov esi, dword [ebp - 0x314]
add edx, 0x2100
push dword [ebp - 0x304]
mov dword [ebp - 0x2ac], edx
push ecx
push dword [ebp - 0x308]
push dword [esi*4 + 0x42e7fc]
push dword [ebp - 0x30c]
mov ecx, dword [ebp - 0x318]
push dword [ecx*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 0x40a43f
sub esi, 2
cmp dword [ebp - 0x2c4], 8
je 0x40a4fb
push eax
push edi
push dword [ebp - 0x24c]
push dword [ebp - 0x248]
call fcn.004136a8
add esp, 0x10
cmp dword [ebp - 0x2d4], 0
je 0x40a52b
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.004136a8
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.004136a8
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 0x40a541
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 0x40a541
cmp dword [ebp - 0x2c8], 0
je 0x40a541
mov eax, dword [0x438e28]
cmp dword [ebp - 0x248], eax
ja 0x40a54a
and dword [ebx + 0x34], 0xfffffff7
jmp 0x40a62a
mov ecx, ebx
call fcn.00424f16
test eax, eax
je 0x40a541
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
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 esi, dword [ebp - 0x304]
mov dword [ebp - 0x2f8], eax
mov eax, dword [0x46c9a4]
cmp dword [ebx + 0x3c], eax
mov eax, 0xc8
push dword [esi*4 + 0x42e7fc]
mov esi, str.Content_Encoding:_gzip_r_n_r_n
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 0x40a624
test esi, esi
je 0x40a624
jecxz 0x40a624
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.0042d3ac
cmp dword [ebp - 0x2d8], 0
pop edx
pop ecx
jne 0x40a649
test eax, eax
jg 0x40a660
sub esp, 0xc
push dword [ebp - 0x2b8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
jmp 0x40a6e4
test byte [ebx + 0x34], 8
je 0x40a66d
mov dword [ebx + 4], 0x424ad8
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 0x40a649
push eax
mov ecx, ebx
push eax
push esi
push dword [ebp - 0x2b0]
call fcn.0042d3ac
pop edx
pop ecx
test eax, eax
jle 0x40a649
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 0x40a689
jmp 0x40a649
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x2ec]
add dword [ebp - 0x2e0], eax
cmp dword [ebx + 0x6c], 0
je 0x40a718
dec dword [ebp - 0x2f0]
je 0x40a718
cmp dword [0x46332c], 0
jne 0x40a721
mov esi, dword [ebp - 0x310]
jmp 0x40a7d2
and dword [ebx + 0x34], 0xfffffffd
jmp 0x40a7e1
push eax
push dword [ebx]
push 0x7a120
push 0
call fcn.0040bd38
add esp, 0x10
test eax, eax
jne 0x40a7d9
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 [0x430868]
jae 0x40a78b
div dword [0x430868]
imul edx, edx, 0x33
shr edx, 9
mov dword [ebp - 0x290], eax
add eax, dword [0x463324]
add esp, 0x18
mov dword [ebp - 0x28c], edx
mov dword [ebx + 0x30], eax
mov word [ebx + 0x36], 0
jmp 0x40a7e1
movzx eax, word [ebx + 0x36]
and eax, 1
cmp dword [eax*4 + 0x46c540], 0
je 0x40a7e1
push edi
push dword [ebx]
push 0x493e0
push 0
call fcn.0040bd38
add esp, 0x10
test eax, eax
jne 0x40a7d9
dec esi
test esi, esi
jg 0x40a7ab
jmp 0x40a7e1
test eax, eax
jg 0x408d99
cmp word [ebp - 0x2da], 1
jne 0x40a804
mov eax, dword [ebx + 0x50]
test eax, eax
je 0x40a880
sub esp, 0xc
push eax
call fcn.0040be6c
add esp, 0x10
jmp 0x40a880
mov ecx, ebx
call fcn.00424f78
cmp dword [ebp - 0x2e0], 0
jne 0x40a826
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x2ec]
mov dword [ebp - 0x2e0], eax
cmp dword [ebp - 0x2b4], 0
mov eax, 0x43f1b0
je 0x40a83d
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 0x4634a0
call fcn.00403f0e
add esp, 0x20
mov ecx, dword [ebp - 0x298]
test ecx, ecx
je 0x40a8b8
mov edx, dword [ebp - 0x294]
test edx, edx
je 0x40a8b8
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 + 0x46d128]
add dword [edx + 4], eax
push eax
push dword [ebp - 0x2b0]
push 0
push dword [0x451048]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edx
jmp 0x40a8da
mov dword [ebp - 0x2e8], 0xffffffff
mov eax, dword [ebp - 0x2e8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret