Function at 0x4f30a7
Capabilities:
Check http status code
Link many functions at runtime

Disassembly:
sub esp, 0x48
push ebx
push ebp
xor ebp, ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x88]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x24], ebp
mov ecx, dword [eax + 0xd6c]
mov eax, dword [0x6364b8]
xor ebx, ebx
cmp eax, ebp
push edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x48], ecx
jne 0x4f322b
push str.wininet.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebp
jne 0x4f3122
mov dword [0x6364b8], 2
jmp 0x4f391e
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InternetOpenA
push edi
call ebp
push str.InternetConnectA
push edi
mov dword [0x6364bc], eax
call ebp
push str.HttpOpenRequestA
push edi
mov dword [0x6364c0], eax
call ebp
push str.HttpSendRequestA
push edi
mov dword [0x6364c4], eax
call ebp
push 0x5e46f8
push edi
mov dword [0x6364c8], eax
call ebp
push str.InternetQueryOptionA
push edi
mov dword [0x6364cc], eax
call ebp
push str.InternetQueryDataAvailable
push edi
mov dword [0x6364d0], eax
call ebp
push str.InternetReadFile
push edi
mov dword [0x6364d4], eax
call ebp
push str.InternetCloseHandle
push edi
mov dword [0x6364d8], eax
call ebp
push str.FtpOpenFileA
push edi
mov dword [0x6364dc], eax
call ebp
mov dword [0x6364e0], eax
mov eax, dword [0x6364bc]
test eax, eax
je 0x4f3113
mov eax, dword [0x6364c0]
test eax, eax
je 0x4f3113
mov eax, dword [0x6364c4]
test eax, eax
je 0x4f3113
mov eax, dword [0x6364c8]
test eax, eax
je 0x4f3113
mov eax, dword [0x6364cc]
test eax, eax
je 0x4f3113
mov eax, dword [0x6364d0]
test eax, eax
je 0x4f3113
mov eax, dword [0x6364d4]
test eax, eax
je 0x4f3113
mov eax, dword [0x6364d8]
test eax, eax
je 0x4f3113
mov eax, dword [0x6364dc]
test eax, eax
je 0x4f3113
mov dword [0x6364b8], 1
xor ebp, ebp
push ebp
push ebp
push ebp
push ebp
push str.Shockwave_Flash
call dword [0x6364bc]
cmp eax, ebp
mov dword [esp + 0x2c], eax
je 0x4f391e
mov al, byte [esi + 0x1d]
test al, al
jne 0x4f391e
mov edx, dword [str.https:__]
mov eax, edx
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4f3260
mov ecx, dword [esi + 0x30]
sub eax, edi
push eax
push edx
push ecx
call fcn.005d2a00
add esp, 0xc
test eax, eax
jne 0x4f3287
mov ebx, 1
mov ebp, 0x1bb
jmp 0x4f328a
mov ebp, dword [esi + 0x60]
mov eax, dword [esi + 0x64]
mov edi, dword [esi + 0x3c]
xor edx, edx
test eax, eax
mov eax, dword [esp + 0x2c]
push esi
sete dl
push 0
lea edx, [edx + edx + 1]
push edx
push 0
push 0
push ebp
push edi
push eax
call dword [0x6364c0]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x4f391e
mov al, byte [esi + 0x1d]
test al, al
jne 0x4f391e
mov ecx, dword [esi + 0x88]
call fcn.004a76d0
cmp eax, 6
mov eax, dword [esi + 0x54]
jl 0x4f32e7
push 0
push eax
call fcn.004f42f0
add esp, 8
jmp 0x4f32f0
push eax
call fcn.0043a460
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
je 0x4f391e
mov eax, dword [esi + 0x64]
sub eax, 0
je 0x4f335a
dec eax
jne 0x4f3336
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push esi
push 2
push closesocket
push ecx
push edx
call dword [0x6364e0]
test eax, eax
mov dword [esp + 0x10], eax
je 0x4f391e
mov al, byte [esi + 0x1d]
test al, al
jne 0x4f391e
xor ebp, ebp
push 0xc
call fcn.0043f000
add esp, 4
cmp eax, ebp
je 0x4f376b
mov ecx, dword [esi + 0x20]
mov dword [eax], ecx
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
jmp 0x4f376d
mov eax, dword [esi + 0x84]
test ah, 2
jne 0x4f356f
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x4f337b
mov ecx, dword [esi + 0x70]
test ecx, ecx
ja 0x4f3582
mov ecx, 0x5d7d18
mov edx, eax
and edx, 0xffffff80
shl edx, 0xd
and eax, 0x8000
or edx, eax
mov eax, dword [esp + 0x14]
shl edx, 0xb
push esi
neg ebx
sbb ebx, ebx
and ebx, 0x800000
or edx, ebx
push edx
push 0
push 0
push 0
push eax
push ecx
mov ecx, dword [esp + 0x38]
push ecx
call dword [0x6364c4]
test eax, eax
mov dword [esp + 0x10], eax
je 0x4f391e
mov al, byte [esi + 0x1d]
test al, al
jne 0x4f391e
mov edx, dword [str.http:__]
mov ebx, dword [esi + 0x30]
mov eax, edx
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4f33e0
sub eax, edi
push eax
push edx
push ebx
call fcn.005d2a00
add esp, 0xc
test eax, eax
je 0x4f341b
mov edx, dword [str.https:__]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4f3403
sub eax, edi
push eax
push edx
push ebx
call fcn.005d2a00
add esp, 0xc
test eax, eax
jne 0x4f3486
mov eax, dword [esi + 0x98]
test eax, eax
je 0x4f3486
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x4f3486
call fcn.004df0a0
mov edi, dword [eax]
test edi, edi
je 0x4f3486
push str.https:
push edi
call fcn.0043a0b0
add esp, 8
test eax, eax
setne al
test al, al
je 0x4f3460
push str.https:
push ebx
call fcn.0043a0b0
add esp, 8
test eax, eax
je 0x4f3486
push str.Referer:
lea ecx, [esp + 0x50]
call fcn.0043a000
push edi
lea ecx, [esp + 0x50]
call fcn.0043a000
push 0x5d7f8c
lea ecx, [esp + 0x50]
call fcn.0043a000
push str.x_flash_version:
lea ecx, [esp + 0x50]
call fcn.0043a000
push str.9_0_45_0
lea ecx, [esp + 0x50]
call fcn.0043a000
push 0x5d7f8c
lea ecx, [esp + 0x50]
call fcn.0043a000
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4f34b5
sub eax, edx
mov ebp, 4
cmp eax, ebp
jbe 0x4f3510
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4f34d0
sub eax, edx
lea edi, [eax + ebx - 4]
push str..jpg
push edi
call fcn.0043a0b0
add esp, 8
test eax, eax
jne 0x4f3502
push str..jpeg
dec edi
push edi
call fcn.0043a0b0
add esp, 8
test eax, eax
je 0x4f3510
push str.Cache_Control:_no_transform_r_n
lea ecx, [esp + 0x50]
call fcn.0043a000
mov eax, dword [esi + 0x6c]
test eax, eax
lea ecx, [esp + 0x4c]
je 0x4f35e5
mov edi, dword [esi + 0x70]
mov ebx, eax
mov eax, dword [esi + 0x74]
test eax, eax
je 0x4f358c
push str.Content_type:
call fcn.0043a000
mov edx, dword [esi + 0x74]
push edx
lea ecx, [esp + 0x50]
call fcn.0043a000
push str._r_nContent_length:
lea ecx, [esp + 0x50]
call fcn.0043a000
push 0xa
push edi
lea ecx, [esp + 0x54]
call fcn.00439ce0
push 0x5d7f8c
lea ecx, [esp + 0x50]
call fcn.0043a000
jmp 0x4f35f7
mov edi, dword [esi + 0x6c]
test edi, edi
setne cl
movzx ecx, cl
test ecx, ecx
je 0x4f337b
mov ecx, 0x5d7d10
jmp 0x4f3380
mov eax, dword [esi + 0x84]
test ah, 2
je 0x4f35b1
push str.Content_type:
call fcn.0043a000
push str.application_x_amf
lea ecx, [esp + 0x50]
call fcn.0043a000
jmp 0x4f35f7
push str.Content_Type:
call fcn.0043a000
push str.application_x_www_form_urlencoded
lea ecx, [esp + 0x50]
call fcn.0043a000
push str._r_nContent_length:
lea ecx, [esp + 0x50]
call fcn.0043a000
push 0xa
push edi
lea ecx, [esp + 0x54]
call fcn.00439ce0
jmp 0x4f35f7
push 0x5d7f8c
call fcn.0043a000
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x4f3605
mov eax, dword [esp + 0x4c]
jmp 0x4f360d
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
push edi
push ebx
push ecx
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [0x6364c8]
test eax, eax
je 0x4f391e
mov al, byte [esi + 0x1d]
test al, al
jne 0x4f391e
mov eax, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x3c]
push edx
push 0x20000013
push eax
mov dword [esp + 0x34], ebp
call dword [0x6364cc]
test eax, eax
je 0x4f391e
push 0xc
call fcn.0043f000
add esp, 4
test eax, eax
je 0x4f367a
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 0x20]
mov dword [eax], edx
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
jmp 0x4f367c
xor eax, eax
push eax
mov eax, dword [esi + 0x88]
mov ecx, dword [eax + 0xd6c]
push 0
push 0x407
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [esp + 0x34], 0xc8
jne 0x4f391e
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x20], ebp
xor ebp, ebp
push ebp
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
push 0x20000005
push ebx
call dword [0x6364cc]
test eax, eax
jne 0x4f36d2
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x18]
push ecx
push ebp
push 0x22
push ebx
mov dword [esp + 0x28], ebp
call dword [0x6364d0]
test eax, eax
jne 0x4f3338
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4f3338
mov eax, dword [esp + 0x18]
cmp eax, ebp
jbe 0x4f3338
push eax
call fcn.0043f000
mov edi, eax
add esp, 4
cmp edi, ebp
je 0x4f3338
lea edx, [esp + 0x18]
push edx
push edi
push 0x22
push ebx
call dword [0x6364d0]
test eax, eax
je 0x4f375d
push 0xc
call fcn.0043f000
add esp, 4
cmp eax, ebp
je 0x4f3754
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x20]
mov dword [eax], edx
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [esp + 0x24], eax
jmp 0x4f3338
mov dword [esp + 0x24], ebp
jmp 0x4f3338
push edi
call fcn.0043f020
add esp, 4
jmp 0x4f3338
xor eax, eax
mov edx, dword [esi + 0x88]
mov ebx, dword [sym.imp.USER32.dll_PostMessageA]
push eax
mov eax, dword [edx + 0xd6c]
push ebp
push 0x404
push eax
call ebx
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x4f37a7
mov ecx, dword [esi + 0x88]
mov edx, dword [ecx + 0xd6c]
push eax
push ebp
push 0x408
push edx
call ebx
push 0xc
call fcn.0043f000
add esp, 4
cmp eax, ebp
je 0x4f37c6
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x20]
mov dword [eax], edx
mov dword [eax + 4], ebp
mov dword [eax + 8], ecx
jmp 0x4f37c8
xor eax, eax
push eax
mov eax, dword [esi + 0x88]
mov ecx, dword [eax + 0xd6c]
push ebp
push 0x406
push ecx
call ebx
mov al, byte [esi + 0x1d]
test al, al
jne 0x4f391e
mov ebp, dword [esp + 0x48]
lea ecx, [ecx]
mov eax, dword [esp + 0x10]
push 0
push 0
lea edx, [esp + 0x2c]
push edx
push eax
call dword [0x6364d4]
test eax, eax
je 0x4f38af
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4f38af
mov cl, byte [esi + 0x1d]
test cl, cl
jne 0x4f38af
cmp eax, 0x10000
jbe 0x4f3833
mov eax, 0x10000
mov dword [esp + 0x24], eax
push eax
call fcn.0043f000
mov edx, dword [esp + 0x28]
add esp, 4
lea ecx, [esp + 0x18]
push ecx
mov edi, eax
mov eax, dword [esp + 0x14]
push edx
push edi
push eax
call dword [0x6364d8]
test eax, eax
je 0x4f38af
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4f38af
mov al, byte [esi + 0x1d]
test al, al
jne 0x4f391e
push 0xc
call fcn.0043f000
add esp, 4
test eax, eax
je 0x4f388c
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x20]
mov dword [eax + 4], edi
mov dword [eax], edx
mov dword [eax + 8], ecx
mov edi, eax
jmp 0x4f388e
xor edi, edi
mov al, byte [esi + 0x1d]
test al, al
jne 0x4f38db
push edi
push 0
push 0x402
push ebp
call ebx
test eax, eax
je 0x4f38db
mov al, byte [esi + 0x1d]
test al, al
je 0x4f37f0
mov al, byte [esi + 0x1d]
test al, al
jne 0x4f391e
push 0xc
mov dword [esp + 0x34], 1
call fcn.0043f000
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x4f3902
mov edx, dword [esi + 0x20]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
jmp 0x4f3904
test edi, edi
je 0x4f38f8
mov eax, dword [edi + 4]
test eax, eax
je 0x4f38ef
push eax
call fcn.0043f020
add esp, 4
push edi
call fcn.0043f020
add esp, 4
mov dword [esp + 0x30], 1
jmp 0x4f391e
xor eax, eax
push eax
mov eax, dword [esi + 0x88]
push ecx
mov ecx, dword [eax + 0xd6c]
push 0x405
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov edx, dword [esp + 0x14]
push edx
call fcn.0043f020
mov eax, dword [esp + 0x14]
xor edi, edi
add esp, 4
cmp eax, edi
je 0x4f393c
push eax
call dword [0x6364dc]
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x4f394b
push eax
call dword [0x6364dc]
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x4f395a
push eax
call dword [0x6364dc]
cmp dword [esp + 0x30], edi
jne 0x4f3997
push 0xc
call fcn.0043f000
add esp, 4
cmp eax, edi
je 0x4f397b
mov ecx, dword [esi + 0x20]
mov dword [eax], ecx
mov dword [eax + 4], edi
mov dword [eax + 8], edi
jmp 0x4f397d
xor eax, eax
mov edx, dword [esi + 0x88]
push eax
mov eax, dword [edx + 0xd6c]
push edi
push 0x403
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0043f020
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret