Function at 0x41b550
Capabilities:
Check for time delay via gettickcount
Get hostname

Disassembly:
push 0xffffffffffffffff
push 0x4bc074
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x934
mov eax, dword [0x4f5b3c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], eax
xor edi, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x94c], edi
mov eax, dword [esi + 0x44]
mov byte [esp + 0x94c], 1
cmp eax, edi
jne 0x41b6f8
cmp dword [esi + 0x2d4], edi
je 0x41b5a9
call fcn.0041c430
jmp 0x41b5ae
call fcn.004b76c4
cmp dword [esi + 0x2d4], edi
je 0x41b5de
mov eax, dword [esi + 0x34]
lea edx, [esi + 0x1c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.004a9994
mov ecx, esi
call fcn.0041c2a0
cmp eax, edi
jne 0x41b6f8
jmp 0x41bd21
push edi
push 0x3f
push 1
push edi
mov ecx, esi
call fcn.004b758c
test eax, eax
jne 0x41b631
push str.Create_socket_error
lea ecx, [esp + 0x20]
call fcn.004a9c8d
lea eax, [esp + 0x1c]
mov byte [esp + 0x94c], 2
push eax
call fcn.0045db50
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94c], 1
call fcn.004a9c1f
push 0xffffffffffffffff
mov ecx, esi
call fcn.0041ab60
jmp 0x41bd21
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x48], edi
call ebp
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x1c]
push ecx
push eax
mov ecx, esi
call fcn.004b76e4
test eax, eax
jne 0x41b6f8
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
call sub.WSOCK32.dll_WSAGetLastError
mov edi, eax
cmp edi, 0x2733
jne 0x41b67d
push 1
mov ecx, esi
call fcn.0041b3e0
test eax, eax
je 0x41bd21
mov eax, dword [esi + 0x48]
test eax, eax
jne 0x41b6f8
call ebp
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x2c8]
sub eax, edx
cmp eax, ecx
jae 0x41b7a1
mov edx, dword [0x4f5b3c]
mov dword [esp + 0x18], edx
push edi
lea eax, [esp + 0x1c]
push str.Error_code__d_Try_connect_again
push eax
mov byte [esp + 0x958], 4
call fcn.004a768f
lea ecx, [esp + 0x24]
push ecx
call fcn.0045db50
add esp, 0x10
lea ecx, [esp + 0x18]
mov byte [esp + 0x94c], 1
call fcn.004a9c1f
push 0x3e8
call ebx
mov edx, dword [esi + 0x34]
mov eax, dword [esi + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.004b76e4
test eax, eax
je 0x41b65d
lea ecx, [esi + 0x20]
lea edx, [esp + 0x1c]
push ecx
push str.GET
push edx
mov dword [esi + 0x40], 0
call fcn.004a9edc
push str._HTTP_1.0_r_n
push eax
lea eax, [esp + 0x20]
mov bl, 5
push eax
mov byte [esp + 0x958], bl
call fcn.004a9e68
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x950], 6
call fcn.004a9d0c
lea ecx, [esp + 0x18]
mov byte [esp + 0x94c], bl
call fcn.004a9c1f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94c], 1
call fcn.004a9c1f
push str.Connection:_Keep_Alive_r_n
lea ecx, [esp + 0x14]
call fcn.004a9faf
push str.User_Agent:_Mozilla_4.0__Win32__I__r_n
lea ecx, [esp + 0x14]
call fcn.004a9faf
mov ecx, dword [esp + 0x958]
test ecx, ecx
jg 0x41b7ed
mov ecx, dword [esp + 0x954]
lea edx, [esp + 0x14]
push ecx
push str.bytes_d__r_n
push edx
call fcn.004a768f
add esp, 0xc
jmp 0x41b80c
push 0x274c
mov ecx, esi
call fcn.0041ab60
mov ecx, esi
call fcn.004b76c4
push str.Connection_timeout
lea ecx, [esp + 0x20]
call fcn.004a9c8d
lea eax, [esp + 0x1c]
mov byte [esp + 0x94c], 3
push eax
call fcn.0045db50
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94c], 1
call fcn.004a9c1f
jmp 0x41bd21
mov eax, dword [esp + 0x954]
lea edx, [esp + 0x14]
lea ecx, [eax + ecx - 1]
push ecx
push eax
push str.bytes_d__d_r_n
push edx
call fcn.004a768f
add esp, 0x10
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push str.Range:
push ecx
call fcn.004a9edc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x950], 7
call fcn.004a9feb
lea ecx, [esp + 0x18]
mov byte [esp + 0x94c], 1
call fcn.004a9c1f
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push str.Request_Range:
push eax
call fcn.004a9edc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x950], 8
call fcn.004a9feb
lea ecx, [esp + 0x18]
mov byte [esp + 0x94c], 1
call fcn.004a9c1f
push str.Accept:_image_gif__image_x_xbitmap__image_jpeg__image_pjpeg____r_n
lea ecx, [esp + 0x14]
call fcn.004a9faf
mov ecx, dword [esi + 0x1c]
lea edx, [esp + 0x14]
push ecx
push str.Host:__s_r_n
push edx
call fcn.004a768f
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
call fcn.004a9feb
lea ecx, [esp + 0x14]
call fcn.004a9baa
mov eax, dword [esi + 0x2c]
lea ebp, [esi + 0x2c]
push str.Basic
push eax
call fcn.00474eb8
add esp, 8
test eax, eax
jne 0x41b9ba
lea ecx, [esp + 0x38]
call fcn.00401000
lea ecx, [esi + 0x24]
mov byte [esp + 0x94c], 9
push ecx
lea ecx, [esp + 0x20]
call fcn.004a9994
push 0x4ee754
lea ecx, [esp + 0x20]
mov byte [esp + 0x950], 0xa
call fcn.004a9faf
mov edx, dword [esi + 0x28]
lea eax, [esi + 0x28]
mov ecx, dword [edx - 8]
test ecx, ecx
je 0x41b91c
push eax
lea ecx, [esp + 0x20]
call fcn.004a9feb
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x44]
call fcn.00401050
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push str.Authorization:_Basic
push ecx
call fcn.004a9edc
push 0x4eef44
lea edx, [esp + 0x1c]
mov bl, 0xb
push eax
push edx
mov byte [esp + 0x958], bl
call fcn.004a9e68
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x950], 0xc
call fcn.004a9feb
lea ecx, [esp + 0x18]
mov byte [esp + 0x94c], bl
call fcn.004a9c1f
lea ecx, [esp + 0x24]
mov byte [esp + 0x94c], 0xa
call fcn.004a9c1f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94c], 9
call fcn.004a9c1f
lea ecx, [esp + 0x38]
mov byte [esp + 0x94c], 1
call fcn.00401040
jmp 0x41bc17
lea eax, [esp + 0x24]
push 4
push eax
mov ecx, ebp
call fcn.004a7219
mov eax, dword [eax]
push str.NTLM
push eax
call fcn.00474eb8
add esp, 8
lea ecx, [esp + 0x24]
test eax, eax
sete bl
call fcn.004a9c1f
test bl, bl
je 0x41bc17
mov eax, dword [0x4f5b3c]
mov dword [esp + 0x24], 0x400
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x24]
lea edx, [esp + 0x544]
push ecx
push edx
mov byte [esp + 0x954], 0xe
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edi, [esi + 0x24]
push 0x5c
mov ecx, edi
call fcn.004aa09a
mov ebx, eax
test ebx, ebx
jl 0x41ba93
lea eax, [esp + 0x20]
push ebx
push eax
mov ecx, edi
call fcn.004a7219
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x950], 0xf
call fcn.004a9d0c
lea ecx, [esp + 0x20]
mov byte [esp + 0x94c], 0xe
call fcn.004a9c1f
inc ebx
lea ecx, [esp + 0x20]
push ebx
push ecx
mov ecx, edi
call fcn.004a70e4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x950], 0x10
call fcn.004a9d0c
lea ecx, [esp + 0x20]
mov byte [esp + 0x94c], 0xe
call fcn.004a9c1f
jmp 0x41baae
lea edx, [esp + 0x544]
lea ecx, [esp + 0x1c]
push edx
call fcn.004a9d5c
push edi
lea ecx, [esp + 0x1c]
call fcn.004a9d0c
mov eax, dword [ebp]
push str.NTLM1
push eax
call fcn.00474eb8
add esp, 8
test eax, eax
jne 0x41bb0a
lea eax, [esp + 0x14]
lea edx, [esp + 0x544]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.004a9c8d
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x95c], 0x11
call fcn.004a9994
mov byte [esp + 0x958], 0xe
call fcn.00442050
add esp, 0xc
jmp 0x41bb95
lea ecx, [esp + 0x14]
lea edx, [esi + 0x30]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.004a9994
push ecx
lea eax, [esi + 0x28]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x95c], 0x12
call fcn.004a9994
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov byte [esp + 0x960], 0x13
call fcn.004a9994
push ecx
lea eax, [esp + 0x558]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x964], 0x14
call fcn.004a9c8d
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
mov byte [esp + 0x968], 0x15
call fcn.004a9994
mov byte [esp + 0x964], 0xe
call fcn.004421e0
add esp, 0x18
lea eax, [esp + 0x14]
lea ecx, [esp + 0x28]
push eax
push str.Authorization:_NTLM
push ecx
call fcn.004a9edc
push 0x4eef44
lea edx, [esp + 0x24]
mov bl, 0x16
push eax
push edx
mov byte [esp + 0x958], bl
call fcn.004a9e68
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x950], 0x17
call fcn.004a9feb
lea ecx, [esp + 0x20]
mov byte [esp + 0x94c], bl
call fcn.004a9c1f
lea ecx, [esp + 0x28]
mov byte [esp + 0x94c], 0xe
call fcn.004a9c1f
lea ecx, [esp + 0x18]
mov byte [esp + 0x94c], 0xd
call fcn.004a9c1f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94c], 1
call fcn.004a9c1f
push 0x4eef44
lea ecx, [esp + 0x14]
call fcn.004a9faf
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
xor edi, edi
mov ecx, dword [eax - 8]
push edi
push ecx
push eax
mov ecx, esi
call dword [edx + 0x18]
test eax, eax
jne 0x41bc7e
push 0xffffffffffffffff
mov ecx, esi
call fcn.0041ab60
mov eax, dword [esi + 0x2d4]
mov ecx, esi
cmp eax, edi
je 0x41bc58
call fcn.0041c430
jmp 0x41bc5d
call fcn.004b76c4
lea ecx, [esp + 0x10]
mov byte [esp + 0x94c], 0
call fcn.004a9c1f
mov dword [esp + 0x94c], 0xffffffff
jmp 0x41c271
push str.Sent
lea ecx, [esp + 0x1c]
call fcn.004a9c8d
lea eax, [esp + 0x18]
mov byte [esp + 0x94c], 0x18
push eax
call fcn.0045db50
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x94c], 1
call fcn.004a9c1f
lea ecx, [esp + 0x140]
push ecx
mov ecx, esi
call fcn.0041adc0
cmp eax, edi
jge 0x41bce6
lea ecx, [esp + 0x10]
mov byte [esp + 0x94c], 0
call fcn.004a9c1f
mov dword [esp + 0x94c], 0xffffffff
jmp 0x41c271
jne 0x41bd42
mov eax, dword [esi + 0x2d4]
mov ecx, esi
cmp eax, edi
je 0x41bcfb
call fcn.0041c430
jmp 0x41bd00
call fcn.004b76c4
mov edx, dword [esi + 8]
add esi, 8
cmp dword [edx - 8], edi
jne 0x41bd17
push str.Server_closed_connection
mov ecx, esi
call fcn.004a9d5c
mov dword [0x4feef0], 0xbe
lea ecx, [esp + 0x10]
mov byte [esp + 0x94c], 0
call fcn.004a9c1f
mov dword [esp + 0x94c], 0xffffffff
jmp 0x41c271
lea eax, [esp + 0x140]
lea ecx, [esp + 0x10]
push eax
call fcn.004a9d5c
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push str.HttpGet::HttpConnect.__After_Send__status:_s
push edx
call fcn.004a768f
lea eax, [esp + 0x20]
push eax
call fcn.0045db50
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.004aa107
push 0x4efcb8
lea ecx, [esp + 0x14]
call fcn.004a7309
or ebx, 0xffffffff
cmp eax, ebx
je 0x41bd97
mov dword [esi + 0x38], edi
jmp 0x41bde1
push 0x4efcb4
lea ecx, [esp + 0x14]
call fcn.004a7309
cmp eax, ebx
je 0x41bdb2
mov dword [esi + 0x38], 1
jmp 0x41bde1
push 0x4efcb0
lea ecx, [esp + 0x14]
call fcn.004a7309
test eax, eax
jl 0x41c20f
mov eax, dword [ebp]
push str.Basic
push eax
call fcn.00474eb8
add esp, 8
test eax, eax
je 0x41c20f
push 0x4efcb0
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], edi
call fcn.004a7309
test eax, eax
jl 0x41bdff
mov dword [esp + 0x1c], 1
push str.Received_response
lea ecx, [esp + 0x1c]
mov dword [esi + 0x44], edi
mov dword [esi + 0x2b8], edi
mov dword [esi + 0x2c4], edi
call fcn.004a9c8d
lea ecx, [esp + 0x18]
mov byte [esp + 0x94c], 0x19
push ecx
call fcn.0045db50
add esp, 4
mov byte [esp + 0x94c], 1
lea ecx, [esp + 0x18]
call fcn.004a9c1f
mov eax, dword [0x4ff9a8]
test eax, eax
jne 0x41c259
lea edx, [esp + 0x140]
mov ecx, esi
push edx
call fcn.0041adc0
test eax, eax
jl 0x41c259
je 0x41c0eb
lea eax, [esp + 0x140]
lea ecx, [esp + 0x10]
push eax
call fcn.004a9d5c
lea ecx, [esp + 0x10]
call fcn.004aa107
push str.connection:_keep_alive
lea ecx, [esp + 0x14]
call fcn.004a7309
test eax, eax
jl 0x41bea1
mov dword [esi + 0x44], 1
jmp 0x41be42
push str.content_length:
lea ecx, [esp + 0x14]
call fcn.004a7309
test eax, eax
jne 0x41bee8
mov edi, str.content_length:
mov ecx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x18]
call fcn.004a70e4
mov eax, dword [eax]
push eax
call fcn.00474e22
add esp, 4
mov dword [esi + 0x2b8], eax
lea ecx, [esp + 0x28]
jmp 0x41be3d
push str.content_range:
lea ecx, [esp + 0x14]
call fcn.004a7309
test eax, eax
jne 0x41bf2f
push 0x2f
lea ecx, [esp + 0x14]
call fcn.004aa09a
inc eax
lea edx, [esp + 0x20]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.004a70e4
mov eax, dword [eax]
push eax
call fcn.00474e22
add esp, 4
mov dword [esi + 0x2c4], eax
lea ecx, [esp + 0x20]
jmp 0x41be3d
push str.last_modified:
lea ecx, [esp + 0x14]
call fcn.004a7309
test eax, eax
jne 0x41bf76
mov edi, str.last_modified:
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ebx, [esi + 0x14]
lea eax, [esp + ecx + 0x140]
mov ecx, ebx
push eax
call fcn.004a9d5c
mov ecx, ebx
call fcn.004a777a
mov ecx, ebx
call fcn.004a76eb
or ebx, 0xffffffff
jmp 0x41be42
push str.www_authenticate:
lea ecx, [esp + 0x14]
call fcn.004a7309
test eax, eax
jne 0x41be42
mov edi, str.www_authenticate:
mov ecx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ecx, [esp + ecx + 0x140]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004a9c8d
lea ecx, [esp + 0x18]
mov byte [esp + 0x94c], 0x1a
call fcn.004a777a
lea edx, [esp + 0x24]
push 4
push edx
lea ecx, [esp + 0x20]
call fcn.004a7219
mov eax, dword [eax]
push str.NTLM
push eax
call fcn.00474eb8
add esp, 8
lea ecx, [esp + 0x24]
test eax, eax
sete bl
call fcn.004a9c1f
test bl, bl
je 0x41c0bc
lea eax, [esp + 0x30]
push 4
push eax
mov ecx, ebp
call fcn.004a7219
mov eax, dword [eax]
push str.NTLM
push eax
call fcn.00474eb8
add esp, 8
lea ecx, [esp + 0x30]
test eax, eax
setne bl
call fcn.004a9c1f
test bl, bl
je 0x41c02a
push str.NTLM1
jmp 0x41c0cb
mov eax, dword [ebp]
push str.NTLM1
push eax
call fcn.00474eb8
add esp, 8
test eax, eax
jne 0x41c08f
push str.NTLM3
mov ecx, ebp
call fcn.004a9d5c
lea ecx, [esp + 0x2c]
push 4
push ecx
lea ecx, [esp + 0x20]
call fcn.004a70e4
lea edi, [esi + 0x30]
push eax
mov ecx, edi
mov byte [esp + 0x950], 0x1b
call fcn.004a9d0c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x94c], 0x1a
call fcn.004a9c1f
mov ecx, edi
call fcn.004a777a
mov ecx, edi
call fcn.004a76eb
jmp 0x41c0d2
push str.Invalid_User_name_or_password
lea ecx, [esi + 8]
mov dword [0x4feef0], 0x73
call fcn.004a9d5c
push 0x4fc5e4
mov ecx, ebp
call fcn.004a9d5c
push 0x4fc5e4
lea ecx, [esi + 0x30]
jmp 0x41c0cd
mov edx, dword [ebp]
mov eax, dword [edx - 8]
test eax, eax
jne 0x41c0d2
push str.Basic
mov ecx, ebp
call fcn.004a9d5c
lea ecx, [esp + 0x18]
mov byte [esp + 0x94c], 1
call fcn.004a9c1f
or ebx, 0xffffffff
jmp 0x41be42
mov eax, dword [0x4feef0]
test eax, eax
je 0x41c114
mov eax, dword [esi + 0x2d4]
mov ecx, esi
test eax, eax
je 0x41c10a
call fcn.0041c430
jmp 0x41c259
call fcn.004b76c4
jmp 0x41c259
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41c18d
lea eax, [esp + 0x140]
push 0x3ff
push eax
mov ecx, esi
call fcn.0041b1f0
test eax, eax
jle 0x41c14c
lea ecx, [esp + 0x140]
push 0x3ff
push ecx
mov ecx, esi
call fcn.0041b1f0
test eax, eax
jg 0x41c134
mov edx, dword [esp + 0x958]
mov eax, dword [esp + 0x954]
push edx
push eax
mov ecx, esi
call fcn.0041b550
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x94c], 0
call fcn.004a9c1f
lea ecx, [esp + 0x14]
mov dword [esp + 0x94c], ebx
call fcn.004a9c1f
mov eax, esi
jmp 0x41c27c
mov ecx, dword [esi + 0x2c4]
mov edx, dword [esi + 0x2b8]
push ecx
push edx
lea eax, [esp + 0x1c]
push str.HttpGet::HttpConnect__after_get_info__con_len:_d__ftotal:_d
push eax
call fcn.004a768f
lea ecx, [esp + 0x24]
push ecx
call fcn.0045db50
mov edx, dword [esp + 0x968]
add esp, 0x14
mov ecx, ebp
mov dword [esi + 0x2bc], edx
push 0x4fc5e4
mov dword [esi + 0x2c0], 0
call fcn.004a9d5c
push 0x4fc5e4
lea ecx, [esi + 0x30]
call fcn.004a9d5c
lea ecx, [esp + 0x10]
mov byte [esp + 0x94c], 0
call fcn.004a9c1f
lea ecx, [esp + 0x14]
mov dword [esp + 0x94c], ebx
call fcn.004a9c1f
mov eax, 1
jmp 0x41c27c
lea eax, [esp + 0x10]
lea ecx, [esi + 8]
push eax
call fcn.004a9d0c
mov eax, dword [esi + 0x2d4]
mov ecx, esi
cmp eax, edi
je 0x41c22f
call fcn.0041c430
jmp 0x41c234
call fcn.004b76c4
push 0x4efcb0
lea ecx, [esp + 0x14]
call fcn.004a7309
xor ecx, ecx
test eax, eax
setle cl
dec ecx
and ecx, 0xffffffae
add ecx, 0xc5
mov dword [0x4feef0], ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x94c], 0
call fcn.004a9c1f
mov dword [esp + 0x94c], ebx
lea ecx, [esp + 0x14]
call fcn.004a9c1f
xor eax, eax
mov ecx, dword [esp + 0x944]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x940
ret 8