Function at 0x409b00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4769ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
push ebx
xor ebx, ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], 1
mov dword [esp + 0x64], ebx
push 0x100
lea ecx, [esp + 0x3c]
mov dword [esp + 0x108], ebx
call fcn.004078d0
push 1
push str.http:____.0_9a_zA_Z__:_0_9____.
lea ecx, [esp + 0x6c]
mov byte [esp + 0x10c], 1
call fcn.004090b0
mov ecx, dword [esp + 0x10c]
push ebx
lea eax, [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x70]
call fcn.00407bd0
test eax, eax
jne 0x409bab
lea ecx, [esp + 0xd4]
call fcn.004094e0
push 0x48ed24
lea edx, [esp + 0xd8]
push edx
call fcn.00449f2c
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x10]
push ecx
xor ecx, ecx
call fcn.00407aa0
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, 1
mov byte [esp + 0x114], 2
call fcn.00407aa0
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, 2
mov byte [esp + 0x11c], 3
call fcn.00407aa0
add esp, 0x18
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], ebx
mov byte [esp + 0x104], 4
mov eax, 0x50
je 0x409c16
push ecx
call fcn.0044a6ad
add esp, 4
push esi
mov esi, dword [esp + 0x114]
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call dword [edx + 8]
test al, al
mov eax, dword [esp + 0x18]
jne 0x409cfc
add eax, 0xfffffff4
mov byte [esp + 0x108], 3
lea ecx, [eax + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409c5a
push eax
call fcn.00416ce0
add esp, 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
mov dword [esp + 0x18], ebx
mov byte [esp + 0x108], 2
lea ecx, [eax + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409c85
push eax
call fcn.00416ce0
add esp, 4
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
mov dword [esp + 0x14], ebx
mov byte [esp + 0x108], 1
lea ecx, [eax + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409cb0
push eax
call fcn.00416ce0
add esp, 4
mov eax, dword [esp + 0x50]
cmp eax, ebx
mov dword [esp + 0x10], ebx
je 0x409cc5
push eax
call fcn.00449805
add esp, 4
mov eax, dword [esp + 0x4c]
push eax
call fcn.00468d00
mov ecx, dword [esp + 0x4c]
push ecx
mov dword [esp + 0x54], ebx
call fcn.00468d00
mov eax, dword [esp + 0x74]
add esp, 8
cmp eax, ebx
mov dword [esp + 0x48], ebx
je 0x409cf5
push eax
call fcn.00449805
add esp, 4
xor al, al
jmp 0x409ea4
mov edx, dword [esp + 0x10]
push ebp
push edi
push edx
push eax
lea ecx, [esp + 0x18]
push str.GET__s_HTTP_1.1_r_nUser_Agent:_MFC_r_nHost:__s_r_n_r_n_r_n__0x0d0a
push ecx
call fcn.00417010
add esp, 0x10
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
mov edx, dword [esi + 4]
push ecx
add esi, 4
push eax
mov ecx, esi
mov byte [esp + 0x118], 5
call dword [edx + 8]
mov ebp, dword [esp + 0x120]
mov eax, dword [ebp + 4]
add ebp, 4
mov ecx, ebp
call dword [eax + 8]
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x34], edi
je 0x409da8
push edi
lea ecx, [esp + 0x28]
push str.Range:_bytes_d__r_n
push ecx
call fcn.00417010
add esp, 0xc
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 0xc]
mov edx, dword [esi]
push ecx
push eax
mov ecx, esi
mov byte [esp + 0x118], 6
call dword [edx + 8]
mov eax, dword [ebp]
push edi
mov ecx, ebp
call dword [eax]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff4
mov byte [esp + 0x110], 5
lea ecx, [eax + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409da8
push eax
call fcn.00416ce0
add esp, 4
mov eax, dword [esi]
push 2
push 0x47c4a8
mov ecx, esi
call dword [eax + 8]
mov ecx, dword [esp + 0x11c]
lea edx, [esp + 0x10]
mov dword [esp + 0x30], ecx
push edx
lea ecx, [esp + 0x34]
call fcn.00416a30
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, ebx
jne 0x409ebd
mov byte [esp + 0x110], 4
lea ecx, [eax + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409e01
push eax
call fcn.00416ce0
add esp, 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff4
mov dword [esp + 0x10], ebx
mov byte [esp + 0x110], 3
lea ecx, [eax + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409e2c
push eax
call fcn.00416ce0
add esp, 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
mov dword [esp + 0x20], ebx
mov byte [esp + 0x110], 2
lea ecx, [eax + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409e57
push eax
call fcn.00416ce0
add esp, 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x110], 1
lea ecx, [eax + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409e82
push eax
call fcn.00416ce0
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0x18], ebx
call fcn.00407540
mov eax, dword [esp + 0x74]
cmp eax, ebx
je 0x409ea0
push eax
call fcn.00449805
add esp, 4
xor al, al
pop edi
pop ebp
mov ecx, dword [esp + 0x100]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x104
ret 0x14
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
mov esi, 1
push esi
push str.HTTP__0_9_._0_9___0_9__.
lea ecx, [esp + 0x78]
mov byte [esp + 0x118], 7
call fcn.004090b0
mov ecx, dword [esp + 0x10]
push ebx
lea eax, [esp + 0x48]
push eax
push ecx
lea ecx, [esp + 0x7c]
call fcn.00407bd0
test eax, eax
jne 0x409f29
push str.Wrong_HTTP_response
lea ecx, [esp + 0xe4]
call fcn.004095c0
push 0x48ed14
lea edx, [esp + 0xe4]
push edx
call fcn.00449f2c
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x2c]
push ecx
xor ecx, ecx
call fcn.00407aa0
add esp, 8
push 0x47c470
lea ecx, [esp + 0x2c]
mov byte [esp + 0x114], 8
call fcn.00401c60
test eax, eax
je 0x409f6d
push 0x47c46c
lea ecx, [esp + 0x2c]
call fcn.00401c60
test eax, eax
jne 0x40a2a1
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], esi
mov dword [esp + 0x90], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], esi
mov dword [esp + 0xb0], ebx
push esi
push str.Content_Length:__0_9_
lea ecx, [esp + 0x98]
mov byte [esp + 0x118], 0xa
call fcn.004090b0
push esi
push str.Content_Range:_bytes__0_9___0_9___0_9_
lea ecx, [esp + 0xb8]
call fcn.004090b0
xor edi, edi
mov dword [esp + 0x24], ebx
xor esi, esi
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x34]
call fcn.00416a30
mov eax, dword [str.__t_n_r]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.00409450
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp edx, ebx
sete byte [esp + 0x17]
add eax, 0xfffffff4
lea ecx, [eax + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a062
push eax
call fcn.00416ce0
add esp, 4
cmp byte [esp + 0x17], bl
mov dword [esp + 0x2c], ebx
jne 0x40a166
mov ecx, dword [esp + 0x10]
push ebx
lea eax, [esp + 0x48]
push eax
push ecx
lea ecx, [esp + 0x9c]
call fcn.00407bd0
test eax, eax
je 0x40a0c5
cmp edi, esi
jne 0x40a011
cmp edi, ebx
jne 0x40a011
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x3c]
push eax
xor ecx, ecx
call fcn.00407aa0
mov eax, dword [eax]
push eax
call fcn.0044a6ad
add esp, 0xc
lea ecx, [esp + 0x38]
mov dword [esp + 0x24], eax
call fcn.00401be0
jmp 0x40a011
mov edx, dword [esp + 0x10]
push ebx
lea ecx, [esp + 0x48]
push ecx
push edx
lea ecx, [esp + 0xbc]
call fcn.00407bd0
test eax, eax
je 0x40a011
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x44]
push ecx
xor ecx, ecx
call fcn.00407aa0
mov eax, dword [eax]
push eax
call fcn.0044a6ad
add esp, 0xc
lea ecx, [esp + 0x40]
mov edi, eax
call fcn.00401be0
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x70]
push eax
mov ecx, 1
call fcn.00407aa0
mov eax, dword [eax]
push eax
call fcn.0044a6ad
add esp, 0xc
lea ecx, [esp + 0x6c]
mov esi, eax
call fcn.00401be0
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x40]
push edx
mov ecx, 2
call fcn.00407aa0
mov eax, dword [eax]
push eax
call fcn.0044a6ad
add esp, 0xc
lea ecx, [esp + 0x3c]
mov dword [esp + 0x24], eax
call fcn.00401be0
jmp 0x40a011
mov ecx, dword [esp + 0x34]
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax]
push 0x8000
call fcn.00468d05
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
mov ebp, dword [esp + 0x11c]
mov edx, dword [ebp]
push 0x8000
push esi
mov ecx, ebp
mov byte [esp + 0x118], 0xb
call dword [edx + 4]
cmp eax, ebx
je 0x40a1e6
mov ecx, dword [esp + 0x120]
mov edx, dword [ecx]
push eax
push esi
add edi, eax
call dword [edx + 8]
mov eax, dword [esp + 0x124]
cmp eax, ebx
je 0x40a1d4
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x128]
push ecx
push edi
push edx
call eax
add esp, 0xc
mov eax, dword [ebp]
push 0x8000
push esi
mov ecx, ebp
call dword [eax + 4]
cmp eax, ebx
jne 0x40a1a6
push esi
call fcn.00468d00
mov eax, dword [esp + 0xb8]
add esp, 4
cmp eax, ebx
je 0x40a203
push eax
call fcn.00449805
add esp, 4
mov eax, dword [esp + 0x94]
cmp eax, ebx
je 0x40a217
push eax
call fcn.00449805
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x110], 7
call fcn.00401be0
lea ecx, [esp + 0xd0]
mov byte [esp + 0x110], 5
call fcn.00409aa0
lea ecx, [esp + 0x10]
mov byte [esp + 0x110], 4
call fcn.00401be0
lea ecx, [esp + 0x20]
mov byte [esp + 0x110], 3
call fcn.00401be0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x110], 2
call fcn.00401be0
lea ecx, [esp + 0x18]
mov byte [esp + 0x110], 1
call fcn.00401be0
lea ecx, [esp + 0x44]
call fcn.00407540
mov eax, dword [esp + 0x74]
cmp eax, ebx
je 0x40a29a
push eax
call fcn.00449805
add esp, 4
mov al, 1
jmp 0x409ea2
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0xe4]
call fcn.004095c0
push 0x48ed14
lea edx, [esp + 0xe4]
push edx
call fcn.00449f2c
int3