Function at 0x550660
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 0x607d13
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d0
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x74], 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 0x550703
mov cl, byte [eax + 0x177]
test cl, cl
je 0x5506cc
mov edi, dword [eax + 0x2ac]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x550703
mov byte [ebp - 0x19], 1
jmp 0x550703
mov ecx, dword [esi + 0x3290]
cmp ecx, ebx
je 0x5506de
cmp dword [esi + 0x3294], ebx
je 0x550703
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.00558d50
mov eax, dword [ebp + 8]
push 1
cmp eax, ebx
je 0x550714
mov eax, dword [0x6cdecc]
push eax
jmp 0x55071b
mov ecx, dword [0x6cdec8]
push ecx
mov ecx, esi
call fcn.00532a80
mov ecx, esi
call fcn.00557190
mov ecx, esi
call fcn.00557d80
cmp eax, ebx
jne 0x551458
mov al, byte [ebp - 0x19]
test al, al
je 0x5509b6
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.005d809b
mov eax, dword [esi + 0xb0]
add esp, 0xc
lea edi, [ebp - 0xb3]
mov ecx, dword [eax + 0x2c4]
inc ecx
mov dword [eax + 0x2c4], ecx
mov al, byte [0x6cc7b8]
mov byte [ebp - 0xb4], 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 - 0xd8]
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.00539fe0
mov eax, dword [esi + 0xb0]
add esp, 0x1c
mov cl, byte [eax + 0x15e]
test cl, cl
jne 0x550800
mov cl, byte [eax + 0x170]
mov edi, 0x6bd1d8
test cl, cl
je 0x550805
mov edi, str.POST
mov ecx, dword [eax + 0x2bc]
lea ebx, [ebp - 0xfc]
mov edx, dword [eax + 0x2b0]
push ebx
lea ebx, [ebp - 0xb4]
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 - 0xd8]
push eax
push edx
call fcn.0053a140
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 0x55088d
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.005d809b
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 0x5508bd
mov ecx, dword [edx + 0x2c0]
lea edx, [ebp - 0x28]
push ecx
push str.__opaque__s_
push edx
call fcn.005d809b
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 0x5508e8
push 0x6cc7b8
lea ecx, [ebp - 0x40]
call fcn.005df2d4
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 0x550905
mov ecx, dword [ebp - 0x20]
jmp 0x55091f
push 0x6cc7b8
lea ecx, [ebp - 0x24]
call fcn.005df2d4
or dword [ebp - 0x14], 2
mov ecx, dword [eax]
mov dword [ebp - 4], 5
mov eax, dword [esi + 0xb0]
lea edx, [ebp - 0xfc]
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.005d809b
mov ebx, dword [ebp - 0x14]
add esp, 0x24
test bl, 2
mov dword [ebp - 4], 4
je 0x550978
and ebx, 0xfffffffd
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], ebx
call fcn.005df266
test bl, 1
mov dword [ebp - 4], 3
je 0x550992
and ebx, 0xfffffffe
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x14], ebx
call fcn.005df266
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.005df266
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.005df266
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005df266
mov edi, dword [esi + 0xb0]
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov al, byte [edi + 0x2f1]
test al, al
je 0x5509d2
mov dword [ebp - 0x20], 1
mov al, byte [esi + 0x31e7]
mov dword [esi + 0x3270], ebx
test al, al
mov dword [esi + 0x3274], ebx
je 0x550a01
lea ecx, [ebp - 0x17c]
push str.Range:_bytes0__r_n
push ecx
call fcn.005c3648
add esp, 8
jmp 0x550bf4
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
cmp eax, ebx
jg 0x550a31
jl 0x550a11
cmp ecx, ebx
ja 0x550a31
lea edx, [ebp - 0x17c]
push 0x6cc7b8
push edx
call fcn.005c3648
add esp, 8
mov byte [esi + 0x31e4], 0
jmp 0x550bf4
mov edx, dword [esi + 0x31e0]
cmp edx, ebx
je 0x550a43
mov edx, dword [edx + 0xd0]
jmp 0x550a45
xor edx, edx
mov ebx, dword [esi + 0x48]
or ebx, dword [esi + 0x4c]
je 0x550b5e
test edx, edx
je 0x550b5e
mov edx, dword [edi + 0x2c8]
test edx, edx
je 0x550b68
mov ecx, esi
call fcn.00557cd0
mov edi, eax
mov eax, dword [esi + 0x31e0]
test eax, eax
mov ecx, edx
je 0x550ab8
mov dl, byte [eax + 0x248]
test dl, dl
je 0x550a8e
add edi, 1
adc ecx, 0
jmp 0x550ab8
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
sub edx, 1
sbb eax, 0
cmp eax, ecx
jl 0x550ab8
jg 0x550aa4
cmp edx, edi
jbe 0x550ab8
add edi, 0x40
adc ecx, 0
cmp eax, ecx
jl 0x550ab4
jg 0x550ab8
cmp edx, edi
ja 0x550ab8
mov edi, edx
mov ecx, eax
mov al, byte [esi + 0xc0]
test al, al
mov eax, dword [esi + 0x50]
je 0x550ad0
mov edx, dword [esi + 0x54]
add eax, 0x30
adc edx, 0
jmp 0x550ad3
mov edx, dword [esi + 0x54]
mov dword [esi + 0x3270], eax
mov al, byte [esi + 0xc7]
test al, al
mov dword [esi + 0x3274], edx
je 0x550b2e
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 0x550b27
jg 0x550b0f
cmp edx, dword [ebp - 0x5c]
jb 0x550b27
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 0x550b2e
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 - 0x17c]
push str.Range:_bytes_I64d__I64d_r_n
push edx
call fcn.005c3648
add esp, 0x18
mov byte [esi + 0x3241], 1
jmp 0x550bf4
mov edx, dword [edi + 0x2c8]
test edx, edx
jne 0x550b6f
mov dword [ebp - 0x20], 1
mov dl, byte [esi + 0xc0]
test dl, dl
je 0x550b7f
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 0x550bcb
mov eax, dword [esi + 0x174]
mov ecx, dword [esi + 0x3274]
mov edi, dword [esi + 0x3270]
cdq
cmp ecx, edx
jl 0x550bc4
jg 0x550bb2
cmp edi, eax
jb 0x550bc4
sub edi, eax
sbb ecx, edx
mov dword [esi + 0x3270], edi
mov dword [esi + 0x3274], ecx
jmp 0x550bcb
mov byte [esi + 0xc7], 0
mov eax, dword [esi + 0x3274]
mov ecx, dword [esi + 0x3270]
push eax
push ecx
lea edx, [ebp - 0x17c]
push str.Range:_bytes_I64d__r_n
push edx
call fcn.005c3648
add esp, 0x10
mov byte [esi + 0x3241], 0
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x550c03
mov ecx, dword [eax + 0xc]
jmp 0x550c0c
mov ecx, dword [esi + 0xb0]
mov ecx, dword [ecx + 0x14]
test eax, eax
je 0x550c15
mov eax, dword [eax + 0x10]
jmp 0x550c1e
mov edx, dword [esi + 0xb0]
mov eax, dword [edx + 0x24]
cmp ecx, 0x50
mov dword [ebp - 0x24], eax
jne 0x550c82
cmp eax, 1
je 0x550c8f
push ecx
lea ecx, [ebp - 0x90]
push str.:_ld
push ecx
call fcn.005c3648
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 0x550c67
mov cl, byte [eax + 0x307]
test cl, cl
jne 0x550ca5
mov eax, dword [eax + 0x18]
test eax, eax
je 0x550ca5
push eax
lea eax, [ebp - 0x2c]
push str.Referer:__s_r_n
push eax
call fcn.005d809b
add esp, 0xc
jmp 0x550cb2
cmp ecx, 0x1bb
jne 0x550c2b
cmp eax, 2
jne 0x550c2b
lea eax, [ebp - 0x90]
push 0x6cc7b8
push eax
call fcn.005c3648
add esp, 8
jmp 0x550c40
push 0x6cc7b8
lea ecx, [ebp - 0x2c]
call fcn.005df3ef
push 0x6cc7b8
lea ecx, [ebp - 0x4c]
call fcn.005df2d4
mov eax, dword [esi + 0xb0]
mov byte [ebp - 4], 7
mov cl, byte [eax + 0x30a]
test cl, cl
je 0x550d29
mov edi, dword [eax + 0x20]
test edi, edi
je 0x550d29
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jle 0x550d29
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 0x550d04
cmp dl, 0xd
jne 0x550d09
mov byte [eax], 0
jmp 0x550ce3
cmp ecx, 1
jle 0x550d29
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.005d809b
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 0x550d68
mov edx, dword [edx + 0xd0]
lea eax, [ebp - 0x30]
push edx
push 0x69dfbc
push eax
call fcn.005d809b
add esp, 0xc
jmp 0x550d79
lea ecx, [ebp - 0x30]
push str.application_x_www_form_urlencoded
push ecx
call fcn.005d809b
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 0x550db5
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.005d809b
add esp, 0x10
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x170]
test cl, cl
je 0x550de1
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.005d809b
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 0x550e1d
mov ecx, dword [edx + 0x320]
lea edx, [ebp - 0x48]
push ecx
push str.Cookie2:__s_r_n
push edx
call fcn.005d809b
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 0x550ee9
mov eax, dword [0x6cce44]
test eax, eax
je 0x550e80
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea ecx, [ebp - 0x1dc]
push 0x5f
push ecx
push 0x5c
push 0x400
call edi
test eax, eax
je 0x550e86
mov eax, dword [esi + 0xb0]
lea edx, [ebp - 0x1dc]
push edx
add eax, 0x324
push 0x69dfbc
push eax
call fcn.005d809b
add esp, 0xc
jmp 0x550ee9
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea ecx, [ebp - 0x80]
push 9
push ecx
push 0x59
push 0x400
call edi
test eax, eax
je 0x550ed0
lea edx, [ebp - 0x5c]
push 9
push edx
push 0x5a
push 0x400
call edi
test eax, eax
je 0x550ed0
mov edx, dword [esi + 0xb0]
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x80]
push eax
push ecx
add edx, 0x324
push str._s__s
push edx
call fcn.005d809b
add esp, 0x10
jmp 0x550ee9
mov eax, dword [esi + 0xb0]
push str.en_US
add eax, 0x324
push eax
call fcn.005d809b
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 0x550f26
mov edx, dword [edx + 0x324]
lea eax, [ebp - 0x50]
push edx
push str.Accept_Language:__s_r_n
push eax
call fcn.005d809b
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 0x550f69
mov edx, dword [edx + 0x328]
lea eax, [ebp - 0x44]
push edx
push str.Origin:__s_r_n
push eax
call fcn.005d809b
add esp, 0xc
jmp 0x550fe9
mov eax, dword [edx + 0x18]
test eax, eax
je 0x550fe9
mov al, byte [edx + 0x305]
test al, al
jne 0x550fe9
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.005d809b
mov ecx, dword [ebp - 0x18]
add esp, 0xc
push 0x69e064
push ecx
call fcn.005c2d30
add esp, 8
test eax, eax
je 0x550fde
add eax, 3
push 0x69e0f8
push eax
call fcn.005c4580
add esp, 8
test eax, eax
je 0x550fde
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.005d809b
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.005df266
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 0x551028
mov edx, dword [edx + 0x330]
lea eax, [ebp - 0x38]
push edx
push str.Accept_Charset:__s_r_n
push eax
call fcn.005d809b
add esp, 0xc
jmp 0x551039
lea ecx, [ebp - 0x38]
push str.Accept_Charset:__r_n
push ecx
call fcn.005d809b
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 0x55105b
mov dword [ebp - 0x20], str.Cache_Control:_no_cache_r_nPragma:_no_cache_r_n
mov edi, 0x6cc7b8
jmp 0x551063
mov edi, 0x6cc7b8
mov dword [ebp - 0x20], edi
mov eax, dword [esi + 0x3200]
mov dword [ebp - 0x28], 0x69ece0
test eax, eax
jne 0x551077
mov dword [ebp - 0x28], edi
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x551081
mov dword [ebp - 0x18], edi
test eax, eax
mov dword [ebp - 0x60], str.Cookie:
jne 0x55108f
mov dword [ebp - 0x60], edi
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x176]
test cl, cl
je 0x5510bd
mov ecx, dword [esi + 0x320c]
push ecx
lea ecx, [ebp - 0x58]
call fcn.005df2d4
or dword [ebp - 0x14], 4
mov edx, dword [eax]
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x64], edx
jmp 0x5510c6
mov eax, dword [esi + 0x328c]
mov dword [ebp - 0x64], eax
mov ecx, dword [esi + 0x328c]
mov eax, dword [ecx - 8]
test eax, eax
je 0x5510fe
mov edx, dword [esi + 0xb0]
mov bl, byte [edx + 0x176]
test bl, bl
sete al
test al, al
je 0x5510fe
mov edx, dword [esi + 0x3290]
mov dword [ebp - 0x68], str.Connection:_Keep_Alive_r_n
test edx, edx
sete al
test al, al
jne 0x551101
mov dword [ebp - 0x68], edi
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x300]
test cl, cl
jne 0x55111b
mov cl, byte [eax + 0x301]
test cl, cl
je 0x55112d
mov bl, byte [eax + 0x303]
mov dword [ebp - 0x40], edi
test bl, bl
sete cl
test cl, cl
jne 0x551134
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 0x55114c
mov edi, edx
jmp 0x551166
push 0x6bcfa8
lea ecx, [ebp - 0x6c]
call fcn.005df2d4
or dword [ebp - 0x14], 8
mov edi, dword [eax]
mov dword [ebp - 4], 0x11
mov eax, dword [esi + 0xb4]
test eax, eax
jne 0x55118c
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x70]
call fcn.005df2d4
or dword [ebp - 0x14], 0x10
mov dword [ebp - 4], 0x12
mov edx, dword [eax]
mov eax, dword [ebp + 8]
test eax, eax
je 0x55119c
mov ecx, str.HEAD
jmp 0x5511c0
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x15e]
test cl, cl
jne 0x5511bb
mov cl, byte [eax + 0x170]
test cl, cl
mov ecx, 0x6bd1d8
je 0x5511c0
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 - 0x17c]
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 - 0x90]
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.005d809b
mov ebx, dword [ebp - 0x14]
add esp, 0x60
test bl, 0x10
mov dword [ebp - 4], 0x11
je 0x551252
and ebx, 0xffffffef
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x14], ebx
call fcn.005df266
test bl, 8
mov dword [ebp - 4], 0x10
je 0x55126c
and ebx, 0xfffffff7
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x14], ebx
call fcn.005df266
test bl, 4
mov dword [ebp - 4], 0xf
je 0x551280
lea ecx, [ebp - 0x58]
call fcn.005df266
mov edx, dword [esi + 0x54]
mov ebx, dword [esi + 0x50]
test edx, edx
jg 0x55129a
jl 0x551290
test ebx, ebx
ja 0x55129a
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x64]
or eax, ecx
je 0x5512f7
mov ecx, dword [0x6c826c]
mov dword [ebp - 0x14], ecx
lea edi, [ebp - 0x17c]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 0x13
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x16f]
jne 0x5512c4
mov eax, 0x69ece0
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.005d809b
mov eax, dword [ebp - 0x14]
add esp, 0x1c
mov ecx, esi
push eax
call fcn.00532b50
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xf
call fcn.005df266
mov ecx, esi
mov dword [esi + 0x31dc], 1
call fcn.005346f0
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x8c], 4
cmp eax, 2
jne 0x55135f
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.005a9110
mov edi, eax
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x170]
test cl, cl
je 0x5513c1
mov ecx, dword [eax + 0x168]
test ecx, ecx
je 0x5513c1
mov edx, dword [eax + 0x16c]
push edx
push ecx
mov ecx, esi
call fcn.005a9110
jmp 0x5513c1
mov eax, dword [ebp + 8]
mov edx, str.send___HEAD
test eax, eax
jne 0x551370
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.00532c00
mov edi, eax
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x170]
test cl, cl
je 0x5513c1
mov ecx, dword [eax + 0x168]
test ecx, ecx
je 0x5513c1
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.005df266
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xc
call fcn.005df266
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.005df266
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xa
call fcn.005df266
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 9
call fcn.005df266
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.005df266
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.005df266
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.005df266
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.005df266
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