Function at 0x4f25b7
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 + 0xd64]
mov eax, dword [0x636650]
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 + 0x3c], ebp
mov dword [esp + 0x38], 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 0x4f273b
push str.wininet.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebp
jne 0x4f2632
mov dword [0x636650], 2
jmp 0x4f2e2e
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InternetOpenA
push edi
call ebp
push str.InternetConnectA
push edi
mov dword [0x636654], eax
call ebp
push str.HttpOpenRequestA
push edi
mov dword [0x636658], eax
call ebp
push str.HttpSendRequestA
push edi
mov dword [0x63665c], eax
call ebp
push 0x5e4610
push edi
mov dword [0x636660], eax
call ebp
push str.InternetQueryOptionA
push edi
mov dword [0x636664], eax
call ebp
push str.InternetQueryDataAvailable
push edi
mov dword [0x636668], eax
call ebp
push str.InternetReadFile
push edi
mov dword [0x63666c], eax
call ebp
push str.InternetCloseHandle
push edi
mov dword [0x636670], eax
call ebp
push str.FtpOpenFileA
push edi
mov dword [0x636674], eax
call ebp
mov dword [0x636678], eax
mov eax, dword [0x636654]
test eax, eax
je 0x4f2623
mov eax, dword [0x636658]
test eax, eax
je 0x4f2623
mov eax, dword [0x63665c]
test eax, eax
je 0x4f2623
mov eax, dword [0x636660]
test eax, eax
je 0x4f2623
mov eax, dword [0x636664]
test eax, eax
je 0x4f2623
mov eax, dword [0x636668]
test eax, eax
je 0x4f2623
mov eax, dword [0x63666c]
test eax, eax
je 0x4f2623
mov eax, dword [0x636670]
test eax, eax
je 0x4f2623
mov eax, dword [0x636674]
test eax, eax
je 0x4f2623
mov dword [0x636650], 1
xor ebp, ebp
push ebp
push ebp
push ebp
push ebp
push 0x5e3d18
call dword [0x636654]
cmp eax, ebp
mov dword [esp + 0x2c], eax
je 0x4f2e2e
mov al, byte [esi + 0x1d]
test al, al
jne 0x4f2e2e
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 0x4f2770
mov ecx, dword [esi + 0x30]
sub eax, edi
push eax
push edx
push ecx
call fcn.005d2660
add esp, 0xc
test eax, eax
jne 0x4f2797
mov ebx, 1
mov ebp, 0x1bb
jmp 0x4f279a
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 [0x636658]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x4f2e2e
mov al, byte [esi + 0x1d]
test al, al
jne 0x4f2e2e
mov ecx, dword [esi + 0x88]
call fcn.004a7100
cmp eax, 6
mov eax, dword [esi + 0x54]
jl 0x4f27f7
push 0
push eax
call fcn.004f3800
add esp, 8
jmp 0x4f2800
push eax
call fcn.0043a540
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
je 0x4f2e2e
mov eax, dword [esi + 0x64]
sub eax, 0
je 0x4f286a
dec eax
jne 0x4f2846
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push esi
push 2
push closesocket
push ecx
push edx
call dword [0x636678]
test eax, eax
mov dword [esp + 0x10], eax
je 0x4f2e2e
mov al, byte [esi + 0x1d]
test al, al
jne 0x4f2e2e
xor ebp, ebp
push 0xc
call fcn.0043f080
add esp, 4
cmp eax, ebp
je 0x4f2c7b
mov ecx, dword [esi + 0x20]
mov dword [eax], ecx
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
jmp 0x4f2c7d
mov eax, dword [esi + 0x84]
test ah, 2
jne 0x4f2a7f
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x4f288b
mov ecx, dword [esi + 0x70]
test ecx, ecx
ja 0x4f2a92
mov ecx, 0x5d7d10
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 [0x63665c]
test eax, eax
mov dword [esp + 0x10], eax
je 0x4f2e2e
mov al, byte [esi + 0x1d]
test al, al
jne 0x4f2e2e
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 0x4f28f0
sub eax, edi
push eax
push edx
push ebx
call fcn.005d2660
add esp, 0xc
test eax, eax
je 0x4f292b
mov edx, dword [str.https:__]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4f2913
sub eax, edi
push eax
push edx
push ebx
call fcn.005d2660
add esp, 0xc
test eax, eax
jne 0x4f2996
mov eax, dword [esi + 0x98]
test eax, eax
je 0x4f2996
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x4f2996
call fcn.004de7d0
mov edi, dword [eax]
test edi, edi
je 0x4f2996
push str.https:
push edi
call fcn.0043a190
add esp, 8
test eax, eax
setne al
test al, al
je 0x4f2970
push str.https:
push ebx
call fcn.0043a190
add esp, 8
test eax, eax
je 0x4f2996
push str.Referer:
lea ecx, [esp + 0x50]
call fcn.0043a0e0
push edi
lea ecx, [esp + 0x50]
call fcn.0043a0e0
push 0x5d7f84
lea ecx, [esp + 0x50]
call fcn.0043a0e0
push str.x_flash_version:
lea ecx, [esp + 0x50]
call fcn.0043a0e0
push 0x5e2c38
lea ecx, [esp + 0x50]
call fcn.0043a0e0
push 0x5d7f84
lea ecx, [esp + 0x50]
call fcn.0043a0e0
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4f29c5
sub eax, edx
mov ebp, 4
cmp eax, ebp
jbe 0x4f2a20
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4f29e0
sub eax, edx
lea edi, [eax + ebx - 4]
push str..jpg
push edi
call fcn.0043a190
add esp, 8
test eax, eax
jne 0x4f2a12
push str..jpeg
dec edi
push edi
call fcn.0043a190
add esp, 8
test eax, eax
je 0x4f2a20
push str.Cache_Control:_no_transform_r_n
lea ecx, [esp + 0x50]
call fcn.0043a0e0
mov eax, dword [esi + 0x6c]
test eax, eax
lea ecx, [esp + 0x4c]
je 0x4f2af5
mov edi, dword [esi + 0x70]
mov ebx, eax
mov eax, dword [esi + 0x74]
test eax, eax
je 0x4f2a9c
push str.Content_type:
call fcn.0043a0e0
mov edx, dword [esi + 0x74]
push edx
lea ecx, [esp + 0x50]
call fcn.0043a0e0
push str._r_nContent_length:
lea ecx, [esp + 0x50]
call fcn.0043a0e0
push 0xa
push edi
lea ecx, [esp + 0x54]
call fcn.00439dc0
push 0x5d7f84
lea ecx, [esp + 0x50]
call fcn.0043a0e0
jmp 0x4f2b07
mov edi, dword [esi + 0x6c]
test edi, edi
setne cl
movzx ecx, cl
test ecx, ecx
je 0x4f288b
mov ecx, 0x5d7d08
jmp 0x4f2890
mov eax, dword [esi + 0x84]
test ah, 2
je 0x4f2ac1
push str.Content_type:
call fcn.0043a0e0
push str.application_x_amf
lea ecx, [esp + 0x50]
call fcn.0043a0e0
jmp 0x4f2b07
push str.Content_Type:
call fcn.0043a0e0
push str.application_x_www_form_urlencoded
lea ecx, [esp + 0x50]
call fcn.0043a0e0
push str._r_nContent_length:
lea ecx, [esp + 0x50]
call fcn.0043a0e0
push 0xa
push edi
lea ecx, [esp + 0x54]
call fcn.00439dc0
jmp 0x4f2b07
push 0x5d7f84
call fcn.0043a0e0
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x4f2b15
mov eax, dword [esp + 0x4c]
jmp 0x4f2b1d
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 [0x636660]
test eax, eax
je 0x4f2e2e
mov al, byte [esi + 0x1d]
test al, al
jne 0x4f2e2e
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 [0x636664]
test eax, eax
je 0x4f2e2e
push 0xc
call fcn.0043f080
add esp, 4
test eax, eax
je 0x4f2b8a
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 0x4f2b8c
xor eax, eax
push eax
mov eax, dword [esi + 0x88]
mov ecx, dword [eax + 0xd64]
push 0
push 0x407
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [esp + 0x34], 0xc8
jne 0x4f2e2e
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 [0x636664]
test eax, eax
jne 0x4f2be2
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x18]
push ecx
push ebp
push 0x22
push ebx
mov dword [esp + 0x28], ebp
call dword [0x636668]
test eax, eax
jne 0x4f2848
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4f2848
mov eax, dword [esp + 0x18]
cmp eax, ebp
jbe 0x4f2848
push eax
call fcn.0043f080
mov edi, eax
add esp, 4
cmp edi, ebp
je 0x4f2848
lea edx, [esp + 0x18]
push edx
push edi
push 0x22
push ebx
call dword [0x636668]
test eax, eax
je 0x4f2c6d
push 0xc
call fcn.0043f080
add esp, 4
cmp eax, ebp
je 0x4f2c64
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 0x4f2848
mov dword [esp + 0x24], ebp
jmp 0x4f2848
push edi
call fcn.0043f0a0
add esp, 4
jmp 0x4f2848
xor eax, eax
mov edx, dword [esi + 0x88]
mov ebx, dword [sym.imp.USER32.dll_PostMessageA]
push eax
mov eax, dword [edx + 0xd64]
push ebp
push 0x404
push eax
call ebx
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x4f2cb7
mov ecx, dword [esi + 0x88]
mov edx, dword [ecx + 0xd64]
push eax
push ebp
push 0x408
push edx
call ebx
push 0xc
call fcn.0043f080
add esp, 4
cmp eax, ebp
je 0x4f2cd6
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 0x4f2cd8
xor eax, eax
push eax
mov eax, dword [esi + 0x88]
mov ecx, dword [eax + 0xd64]
push ebp
push 0x406
push ecx
call ebx
mov al, byte [esi + 0x1d]
test al, al
jne 0x4f2e2e
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 [0x63666c]
test eax, eax
je 0x4f2dbf
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4f2dbf
mov cl, byte [esi + 0x1d]
test cl, cl
jne 0x4f2dbf
cmp eax, 0x10000
jbe 0x4f2d43
mov eax, 0x10000
mov dword [esp + 0x24], eax
push eax
call fcn.0043f080
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 [0x636670]
test eax, eax
je 0x4f2dbf
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4f2dbf
mov al, byte [esi + 0x1d]
test al, al
jne 0x4f2e2e
push 0xc
call fcn.0043f080
add esp, 4
test eax, eax
je 0x4f2d9c
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 0x4f2d9e
xor edi, edi
mov al, byte [esi + 0x1d]
test al, al
jne 0x4f2deb
push edi
push 0
push 0x402
push ebp
call ebx
test eax, eax
je 0x4f2deb
mov al, byte [esi + 0x1d]
test al, al
je 0x4f2d00
mov al, byte [esi + 0x1d]
test al, al
jne 0x4f2e2e
push 0xc
mov dword [esp + 0x34], 1
call fcn.0043f080
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x4f2e12
mov edx, dword [esi + 0x20]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
jmp 0x4f2e14
test edi, edi
je 0x4f2e08
mov eax, dword [edi + 4]
test eax, eax
je 0x4f2dff
push eax
call fcn.0043f0a0
add esp, 4
push edi
call fcn.0043f0a0
add esp, 4
mov dword [esp + 0x30], 1
jmp 0x4f2e2e
xor eax, eax
push eax
mov eax, dword [esi + 0x88]
push ecx
mov ecx, dword [eax + 0xd64]
push 0x405
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov edx, dword [esp + 0x14]
push edx
call fcn.0043f0a0
mov eax, dword [esp + 0x14]
xor edi, edi
add esp, 4
cmp eax, edi
je 0x4f2e4c
push eax
call dword [0x636674]
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x4f2e5b
push eax
call dword [0x636674]
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x4f2e6a
push eax
call dword [0x636674]
cmp dword [esp + 0x30], edi
jne 0x4f2ea7
push 0xc
call fcn.0043f080
add esp, 4
cmp eax, edi
je 0x4f2e8b
mov ecx, dword [esi + 0x20]
mov dword [eax], ecx
mov dword [eax + 4], edi
mov dword [eax + 8], edi
jmp 0x4f2e8d
xor eax, eax
mov edx, dword [esi + 0x88]
push eax
mov eax, dword [edx + 0xd64]
push edi
push 0x403
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0043f0a0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret