Function at 0x550870
Capabilities:
Get geographical location
Make an http request with a cookie
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60801c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1cc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x6c], esi
mov eax, dword [esi + 0xb0]
mov byte [esi + 0x3288], bl
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ebx
mov cl, byte [eax + 0x176]
mov dword [ebp - 4], ebx
test cl, cl
mov byte [ebp - 0x19], bl
jne 0x550913
mov cl, byte [eax + 0x177]
test cl, cl
je 0x5508dc
mov edi, dword [eax + 0x2ac]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x550913
mov byte [ebp - 0x19], 1
jmp 0x550913
mov ecx, dword [esi + 0x3290]
cmp ecx, ebx
je 0x5508ee
cmp dword [esi + 0x3294], ebx
je 0x550913
lea edx, [esi + 0x328c]
push ebx
push edx
lea edx, [esi + 0x3294]
push edx
mov edx, dword [eax + 0x10]
push edx
mov edx, dword [eax + 0xc]
push edx
add eax, 0x1a8
push ecx
push eax
mov ecx, esi
call fcn.00559000
mov eax, dword [ebp + 8]
push 1
cmp eax, ebx
je 0x550924
mov eax, dword [0x6cdecc]
push eax
jmp 0x55092b
mov ecx, dword [0x6cdec8]
push ecx
mov ecx, esi
call fcn.00532ca0
mov ecx, esi
call fcn.00557360
mov ecx, esi
call fcn.00558040
cmp eax, ebx
jne 0x551623
mov al, byte [ebp - 0x19]
test al, al
je 0x550bc6
mov byte [esi + 0x3288], 1
mov edx, dword [0x6c826c]
mov dword [ebp - 0x18], edx
mov eax, dword [esi + 0xb0]
lea edx, [ebp - 0x18]
mov byte [ebp - 4], 1
mov ecx, dword [eax + 0x2c4]
push ecx
push str._08X
push edx
call fcn.005d838b
mov eax, dword [esi + 0xb0]
add esp, 0xc
lea edi, [ebp - 0xaf]
mov ecx, dword [eax + 0x2c4]
inc ecx
mov dword [eax + 0x2c4], ecx
mov al, byte [0x6cc7b8]
mov byte [ebp - 0xb0], al
mov ecx, 8
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0xb0]
mov ebx, dword [eax + 0x2b8]
mov ecx, dword [eax + 0x2b0]
mov edx, dword [eax + 0x2ac]
mov edi, dword [eax + 0x2b4]
mov dword [ebp - 0x24], ebx
lea ebx, [ebp - 0xf8]
push ebx
push ecx
mov ecx, dword [eax + 0x10]
push edx
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x24]
push ecx
push edi
push edx
push eax
call fcn.0053a200
mov eax, dword [esi + 0xb0]
add esp, 0x1c
mov cl, byte [eax + 0x15e]
test cl, cl
jne 0x550a10
mov cl, byte [eax + 0x170]
mov edi, 0x6bd1dc
test cl, cl
je 0x550a15
mov edi, str.POST
mov ecx, dword [eax + 0x2bc]
lea ebx, [ebp - 0xd4]
mov edx, dword [eax + 0x2b0]
push ebx
lea ebx, [ebp - 0xb0]
mov eax, dword [eax + 0x2ac]
push ebx
mov ebx, dword [esi + 0x31fc]
push ebx
push edi
push ecx
mov ecx, dword [ebp - 0x18]
push edx
push ecx
lea edx, [ebp - 0xf8]
push eax
push edx
call fcn.0053a360
mov eax, dword [0x6c826c]
add esp, 0x24
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], eax
mov edx, dword [esi + 0xb0]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 3
mov edi, dword [edx + 0x2bc]
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x550a9d
mov eax, dword [edx + 0x2b0]
mov ecx, dword [ebp - 0x18]
mov edx, dword [edx + 0x2bc]
push eax
push ecx
push edx
lea eax, [ebp - 0x20]
push str.qop_s__nc_s__cnonce__s__
push eax
call fcn.005d838b
add esp, 0x14
mov edx, dword [esi + 0xb0]
or ecx, 0xffffffff
xor eax, eax
mov edi, dword [edx + 0x2c0]
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x550acd
mov ecx, dword [edx + 0x2c0]
lea edx, [ebp - 0x28]
push ecx
push str.__opaque__s_
push edx
call fcn.005d838b
add esp, 0xc
mov ebx, dword [ebp - 0x28]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x550af8
push 0x6cc7b8
lea ecx, [ebp - 0x40]
call fcn.005df5c4
mov dword [ebp - 0x14], 1
mov ebx, dword [eax]
mov byte [ebp - 4], 4
mov eax, dword [esi + 0xb0]
or ecx, 0xffffffff
mov edi, dword [eax + 0x2bc]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x550b15
mov ecx, dword [ebp - 0x20]
jmp 0x550b2f
push 0x6cc7b8
lea ecx, [ebp - 0x24]
call fcn.005df5c4
or dword [ebp - 0x14], 2
mov ecx, dword [eax]
mov dword [ebp - 4], 5
mov eax, dword [esi + 0xb0]
lea edx, [ebp - 0xd4]
push ebx
push edx
mov edx, dword [eax + 0x2ac]
push ecx
mov ecx, dword [esi + 0x31fc]
push ecx
mov ecx, dword [eax + 0x2b4]
push edx
mov edx, dword [eax + 0xc]
push ecx
push edx
lea eax, [esi + 0x328c]
push str.Authorization:_Digest_username__s___realm__s___nonce__s___uri__s____sresponse__s__s_r_n
push eax
call fcn.005d838b
mov ebx, dword [ebp - 0x14]
add esp, 0x24
test bl, 2
mov dword [ebp - 4], 4
je 0x550b88
and ebx, 0xfffffffd
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], ebx
call fcn.005df556
test bl, 1
mov dword [ebp - 4], 3
je 0x550ba2
and ebx, 0xfffffffe
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x14], ebx
call fcn.005df556
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.005df556
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.005df556
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005df556
mov edi, dword [esi + 0xb0]
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov al, byte [edi + 0x2f1]
test al, al
je 0x550be2
mov dword [ebp - 0x20], 1
mov al, byte [esi + 0x31e7]
mov dword [esi + 0x3270], ebx
test al, al
mov dword [esi + 0x3274], ebx
je 0x550c11
lea ecx, [ebp - 0x178]
push str.Range:_bytes0__r_n
push ecx
call fcn.005c3928
add esp, 8
jmp 0x550e04
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
cmp eax, ebx
jg 0x550c41
jl 0x550c21
cmp ecx, ebx
ja 0x550c41
lea edx, [ebp - 0x178]
push 0x6cc7b8
push edx
call fcn.005c3928
add esp, 8
mov byte [esi + 0x31e4], 0
jmp 0x550e04
mov edx, dword [esi + 0x31e0]
cmp edx, ebx
je 0x550c53
mov edx, dword [edx + 0xd0]
jmp 0x550c55
xor edx, edx
mov ebx, dword [esi + 0x48]
or ebx, dword [esi + 0x4c]
je 0x550d6e
test edx, edx
je 0x550d6e
mov edx, dword [edi + 0x2c8]
test edx, edx
je 0x550d78
mov ecx, esi
call fcn.00557f90
mov edi, eax
mov eax, dword [esi + 0x31e0]
test eax, eax
mov ecx, edx
je 0x550cc8
mov dl, byte [eax + 0x250]
test dl, dl
je 0x550c9e
add edi, 1
adc ecx, 0
jmp 0x550cc8
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
sub edx, 1
sbb eax, 0
cmp eax, ecx
jl 0x550cc8
jg 0x550cb4
cmp edx, edi
jbe 0x550cc8
add edi, 0x40
adc ecx, 0
cmp eax, ecx
jl 0x550cc4
jg 0x550cc8
cmp edx, edi
ja 0x550cc8
mov edi, edx
mov ecx, eax
mov al, byte [esi + 0xc0]
test al, al
mov eax, dword [esi + 0x50]
je 0x550ce0
mov edx, dword [esi + 0x54]
add eax, 0x30
adc edx, 0
jmp 0x550ce3
mov edx, dword [esi + 0x54]
mov dword [esi + 0x3270], eax
mov al, byte [esi + 0xc7]
test al, al
mov dword [esi + 0x3274], edx
je 0x550d3e
mov eax, dword [esi + 0x174]
cdq
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0x3274]
mov ebx, edx
mov edx, dword [esi + 0x3270]
cmp eax, ebx
mov dword [ebp - 0x58], ebx
jl 0x550d37
jg 0x550d1f
cmp edx, dword [ebp - 0x5c]
jb 0x550d37
mov ebx, dword [ebp - 0x5c]
sub edx, ebx
mov ebx, dword [ebp - 0x58]
sbb eax, ebx
mov dword [esi + 0x3270], edx
mov dword [esi + 0x3274], eax
jmp 0x550d3e
mov byte [esi + 0xc7], 0
mov eax, dword [esi + 0x3274]
push ecx
mov ecx, dword [esi + 0x3270]
push edi
push eax
push ecx
lea edx, [ebp - 0x178]
push str.Range:_bytes_I64d__I64d_r_n
push edx
call fcn.005c3928
add esp, 0x18
mov byte [esi + 0x31ec], 1
jmp 0x550e04
mov edx, dword [edi + 0x2c8]
test edx, edx
jne 0x550d7f
mov dword [ebp - 0x20], 1
mov dl, byte [esi + 0xc0]
test dl, dl
je 0x550d8f
add ecx, 0x30
adc eax, 0
mov dword [esi + 0x3270], ecx
mov dword [esi + 0x3274], eax
mov al, byte [esi + 0xc7]
test al, al
je 0x550ddb
mov eax, dword [esi + 0x174]
mov ecx, dword [esi + 0x3274]
mov edi, dword [esi + 0x3270]
cdq
cmp ecx, edx
jl 0x550dd4
jg 0x550dc2
cmp edi, eax
jb 0x550dd4
sub edi, eax
sbb ecx, edx
mov dword [esi + 0x3270], edi
mov dword [esi + 0x3274], ecx
jmp 0x550ddb
mov byte [esi + 0xc7], 0
mov eax, dword [esi + 0x3274]
mov ecx, dword [esi + 0x3270]
push eax
push ecx
lea edx, [ebp - 0x178]
push str.Range:_bytes_I64d__r_n
push edx
call fcn.005c3928
add esp, 0x10
mov byte [esi + 0x31ec], 0
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x550e13
mov ecx, dword [eax + 0xc]
jmp 0x550e1c
mov ecx, dword [esi + 0xb0]
mov ecx, dword [ecx + 0x14]
test eax, eax
je 0x550e25
mov eax, dword [eax + 0x10]
jmp 0x550e2e
mov edx, dword [esi + 0xb0]
mov eax, dword [edx + 0x24]
cmp ecx, 0x50
mov dword [ebp - 0x24], eax
jne 0x550e92
cmp eax, 1
je 0x550e9f
push ecx
lea ecx, [ebp - 0x8c]
push str.:_ld
push ecx
call fcn.005c3928
add esp, 0xc
mov edx, dword [0x6c826c]
mov dword [ebp - 0x2c], edx
mov eax, dword [esi + 0xb0]
mov byte [ebp - 4], 6
mov cl, byte [eax + 0x305]
test cl, cl
je 0x550e77
mov cl, byte [eax + 0x307]
test cl, cl
jne 0x550eb5
mov eax, dword [eax + 0x18]
test eax, eax
je 0x550eb5
push eax
lea eax, [ebp - 0x2c]
push str.Referer:__s_r_n
push eax
call fcn.005d838b
add esp, 0xc
jmp 0x550ec2
cmp ecx, 0x1bb
jne 0x550e3b
cmp eax, 2
jne 0x550e3b
lea eax, [ebp - 0x8c]
push 0x6cc7b8
push eax
call fcn.005c3928
add esp, 8
jmp 0x550e50
push 0x6cc7b8
lea ecx, [ebp - 0x2c]
call fcn.005df6df
push 0x6cc7b8
lea ecx, [ebp - 0x4c]
call fcn.005df5c4
mov eax, dword [esi + 0xb0]
mov byte [ebp - 4], 7
mov cl, byte [eax + 0x30a]
test cl, cl
je 0x550f39
mov edi, dword [eax + 0x20]
test edi, edi
je 0x550f39
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jle 0x550f39
mov edx, dword [esi + 0xb0]
mov eax, dword [edx + 0x20]
mov dl, byte [eax + ecx - 1]
cmp dl, 0xa
lea eax, [eax + ecx - 1]
je 0x550f14
cmp dl, 0xd
jne 0x550f19
mov byte [eax], 0
jmp 0x550ef3
cmp ecx, 1
jle 0x550f39
mov ecx, dword [esi + 0xb0]
lea eax, [ebp - 0x4c]
mov edx, dword [ecx + 0x20]
push edx
push str.If_Modified_Since:__s_r_n
push eax
call fcn.005d838b
add esp, 0xc
mov ecx, dword [0x6c826c]
mov dword [ebp - 0x30], ecx
mov edx, dword [esi + 0xb0]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 8
mov edi, dword [edx + 0xd0]
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x550f78
mov edx, dword [edx + 0xd0]
lea eax, [ebp - 0x30]
push edx
push 0x69dfbc
push eax
call fcn.005d838b
add esp, 0xc
jmp 0x550f89
lea ecx, [ebp - 0x30]
push str.application_x_www_form_urlencoded
push ecx
call fcn.005d838b
add esp, 8
mov edx, dword [0x6c826c]
mov dword [ebp - 0x34], edx
mov eax, dword [esi + 0xb0]
mov byte [ebp - 4], 9
mov cl, byte [eax + 0x15e]
test cl, cl
je 0x550fc5
mov eax, dword [eax + 0x160]
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x34]
mov eax, dword [eax - 8]
push eax
push ecx
push str.Content_Type:__s_r_nContent_Length:__d_r_n
push edx
call fcn.005d838b
add esp, 0x10
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x170]
test cl, cl
je 0x550ff1
mov eax, dword [eax + 0x16c]
mov ecx, dword [ebp - 0x30]
push eax
push ecx
lea edx, [ebp - 0x34]
push str.Content_Type:__s_r_nContent_Length:__d_r_n
push edx
call fcn.005d838b
add esp, 0x10
mov eax, dword [0x6c826c]
mov dword [ebp - 0x48], eax
mov edx, dword [esi + 0xb0]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 0xa
mov edi, dword [edx + 0x320]
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x55102d
mov ecx, dword [edx + 0x320]
lea edx, [ebp - 0x48]
push ecx
push str.Cookie2:__s_r_n
push edx
call fcn.005d838b
add esp, 0xc
mov eax, dword [esi + 0xb0]
or ecx, 0xffffffff
mov edi, dword [eax + 0x324]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x5510f9
mov eax, dword [0x6cce44]
test eax, eax
je 0x551090
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea ecx, [ebp - 0x1d8]
push 0x5f
push ecx
push 0x5c
push 0x400
call edi
test eax, eax
je 0x551096
mov eax, dword [esi + 0xb0]
lea edx, [ebp - 0x1d8]
push edx
add eax, 0x324
push 0x69dfbc
push eax
call fcn.005d838b
add esp, 0xc
jmp 0x5510f9
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea ecx, [ebp - 0x7c]
push 9
push ecx
push 0x59
push 0x400
call edi
test eax, eax
je 0x5510e0
lea edx, [ebp - 0x5c]
push 9
push edx
push 0x5a
push 0x400
call edi
test eax, eax
je 0x5510e0
mov edx, dword [esi + 0xb0]
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x7c]
push eax
push ecx
add edx, 0x324
push str._s__s
push edx
call fcn.005d838b
add esp, 0x10
jmp 0x5510f9
mov eax, dword [esi + 0xb0]
push str.en_US
add eax, 0x324
push eax
call fcn.005d838b
add esp, 8
mov ecx, dword [0x6c826c]
mov dword [ebp - 0x50], ecx
mov edx, dword [esi + 0xb0]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 0xb
mov edi, dword [edx + 0x324]
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x551136
mov edx, dword [edx + 0x324]
lea eax, [ebp - 0x50]
push edx
push str.Accept_Language:__s_r_n
push eax
call fcn.005d838b
add esp, 0xc
mov ecx, dword [0x6c826c]
mov dword [ebp - 0x44], ecx
mov edx, dword [esi + 0xb0]
or ecx, 0xffffffff
xor eax, eax
mov bl, 0xc
mov edi, dword [edx + 0x328]
mov byte [ebp - 4], bl
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x551179
mov edx, dword [edx + 0x328]
lea eax, [ebp - 0x44]
push edx
push str.Origin:__s_r_n
push eax
call fcn.005d838b
add esp, 0xc
jmp 0x5511f9
mov eax, dword [edx + 0x18]
test eax, eax
je 0x5511f9
mov al, byte [edx + 0x305]
test al, al
jne 0x5511f9
mov ecx, dword [0x6c826c]
mov dword [ebp - 0x18], ecx
mov edx, dword [edx + 0x18]
lea eax, [ebp - 0x18]
push edx
push 0x69dfbc
push eax
mov byte [ebp - 4], 0xd
call fcn.005d838b
mov ecx, dword [ebp - 0x18]
add esp, 0xc
push 0x69e064
push ecx
call fcn.005c3010
add esp, 8
test eax, eax
je 0x5511ee
add eax, 3
push 0x69e0f8
push eax
call fcn.005c4860
add esp, 8
test eax, eax
je 0x5511ee
mov byte [eax], 0
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x44]
push str.Origin:__s_r_n
push eax
call fcn.005d838b
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.005df556
mov ecx, dword [0x6c826c]
mov dword [ebp - 0x38], ecx
mov edx, dword [esi + 0xb0]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 0xe
mov edi, dword [edx + 0x330]
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x551238
mov edx, dword [edx + 0x330]
lea eax, [ebp - 0x38]
push edx
push str.Accept_Charset:__s_r_n
push eax
call fcn.005d838b
add esp, 0xc
jmp 0x551249
lea ecx, [ebp - 0x38]
push str.Accept_Charset:__r_n
push ecx
call fcn.005d838b
add esp, 8
mov edx, dword [0x6c826c]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0xf
test eax, eax
je 0x55126b
mov dword [ebp - 0x20], str.Cache_Control:_no_cache_r_nPragma:_no_cache_r_n
mov edx, 0x6cc7b8
jmp 0x551273
mov edx, 0x6cc7b8
mov dword [ebp - 0x20], edx
mov eax, dword [esi + 0x3200]
mov dword [ebp - 0x28], 0x69ecc0
test eax, eax
jne 0x551287
mov dword [ebp - 0x28], edx
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x551291
mov dword [ebp - 0x18], edx
test eax, eax
mov dword [ebp - 0x60], str.Cookie:
jne 0x55129f
mov dword [ebp - 0x60], edx
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x176]
test cl, cl
je 0x5512b7
mov edi, dword [esi + 0x320c]
jmp 0x5512bd
mov edi, dword [esi + 0x328c]
mov dword [ebp - 0x64], edi
mov edi, dword [esi + 0x328c]
mov ebx, dword [edi - 8]
test ebx, ebx
je 0x5512ec
test cl, cl
sete cl
test cl, cl
je 0x5512ec
mov ebx, dword [esi + 0x3290]
mov dword [ebp - 0x68], str.Connection:_Keep_Alive_r_n
test ebx, ebx
sete cl
test cl, cl
jne 0x5512ef
mov dword [ebp - 0x68], edx
mov cl, byte [eax + 0x300]
test cl, cl
jne 0x551303
mov cl, byte [eax + 0x301]
test cl, cl
je 0x551315
mov bl, byte [eax + 0x303]
mov dword [ebp - 0x40], edx
test bl, bl
sete cl
test cl, cl
jne 0x55131c
mov dword [ebp - 0x40], str.Accept_Encoding:_identity_r_n
mov edx, dword [eax + 0x32c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x551334
mov edi, edx
jmp 0x55134b
push 0x6bcfac
lea ecx, [ebp - 0x58]
call fcn.005df5c4
or dword [ebp - 0x14], 4
mov edi, dword [eax]
mov byte [ebp - 4], 0x10
mov eax, dword [esi + 0xb4]
test eax, eax
jne 0x551371
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x70]
call fcn.005df5c4
or dword [ebp - 0x14], 8
mov dword [ebp - 4], 0x11
mov edx, dword [eax]
mov eax, dword [ebp + 8]
test eax, eax
je 0x551381
mov ecx, str.HEAD
jmp 0x5513a5
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x15e]
test cl, cl
jne 0x5513a0
mov cl, byte [eax + 0x170]
test cl, cl
mov ecx, 0x6bd1dc
je 0x5513a5
mov ecx, str.POST
mov eax, dword [esi + 0xb0]
mov ebx, dword [eax + 0x160]
push ebx
mov ebx, dword [ebp - 0x20]
push ebx
mov ebx, dword [ebp - 0x34]
push ebx
mov ebx, dword [ebp - 0x48]
push ebx
mov ebx, dword [ebp - 0x28]
push ebx
mov ebx, dword [ebp - 0x18]
push ebx
mov ebx, dword [ebp - 0x60]
push ebx
mov ebx, dword [ebp - 0x64]
push ebx
mov ebx, dword [ebp - 0x2c]
push ebx
lea ebx, [ebp - 0x178]
push ebx
mov ebx, dword [ebp - 0x4c]
push ebx
mov ebx, dword [ebp - 0x68]
push ebx
mov ebx, dword [ebp - 0x44]
push ebx
mov ebx, dword [ebp - 0x38]
push ebx
mov ebx, dword [ebp - 0x50]
push ebx
mov ebx, dword [ebp - 0x40]
push ebx
push edi
lea edi, [ebp - 0x8c]
push edi
push edx
mov edx, dword [eax + 0x164]
mov eax, dword [esi + 0x31fc]
push edx
push eax
push ecx
lea ecx, [ebp - 0x3c]
push str._s__s_HTTP_1.1_r_nUser_Agent:__s_r_nHost:__s_s_r_nAccept:__s_r_n_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_r_n_s
push ecx
call fcn.005d838b
mov ebx, dword [ebp - 0x14]
add esp, 0x60
test bl, 8
mov dword [ebp - 4], 0x10
je 0x551437
and ebx, 0xfffffff7
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x14], ebx
call fcn.005df556
test bl, 4
mov dword [ebp - 4], 0xf
je 0x55144b
lea ecx, [ebp - 0x58]
call fcn.005df556
mov edx, dword [esi + 0x54]
mov ebx, dword [esi + 0x50]
test edx, edx
jg 0x551465
jl 0x55145b
test ebx, ebx
ja 0x551465
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x64]
or eax, ecx
je 0x5514c2
mov ecx, dword [0x6c826c]
mov dword [ebp - 0x14], ecx
lea edi, [ebp - 0x178]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 0x12
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x16b]
jne 0x55148f
mov eax, 0x69ecc0
mov ecx, dword [esi + 0x60]
push eax
mov eax, dword [esi + 0x64]
push eax
push ecx
push edx
push ebx
lea edx, [ebp - 0x14]
push str._I64d__I64d___s
push edx
call fcn.005d838b
mov eax, dword [ebp - 0x14]
add esp, 0x1c
mov ecx, esi
push eax
call fcn.00532d70
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xf
call fcn.005df556
mov ecx, esi
mov dword [esi + 0x31dc], 1
call fcn.00534910
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x8c], 4
cmp eax, 2
jne 0x55152a
mov edx, dword [ebp - 0x3c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.005a9400
mov edi, eax
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x170]
test cl, cl
je 0x55158c
mov ecx, dword [eax + 0x168]
test ecx, ecx
je 0x55158c
mov edx, dword [eax + 0x16c]
push edx
push ecx
mov ecx, esi
call fcn.005a9400
jmp 0x55158c
mov eax, dword [ebp + 8]
mov edx, str.send___HEAD
test eax, eax
jne 0x55153b
mov edx, str.send___GET
mov eax, dword [ebp - 0x3c]
push edx
push 0
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 0x31d8]
push eax
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00532e20
mov edi, eax
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x170]
test cl, cl
je 0x55158c
mov ecx, dword [eax + 0x168]
test ecx, ecx
je 0x55158c
mov edx, dword [eax + 0x16c]
mov eax, dword [esi + 0x31d8]
push 0
push edx
push ecx
push eax
call sub.WS2_32.dll_send
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xe
call fcn.005df556
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xc
call fcn.005df556
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.005df556
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xa
call fcn.005df556
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 9
call fcn.005df556
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.005df556
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.005df556
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.005df556
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.005df556
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4