Function at 0x552420
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 0x609cbc
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 0x5524c3
mov cl, byte [eax + 0x177]
test cl, cl
je 0x55248c
mov edi, dword [eax + 0x2ac]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x5524c3
mov byte [ebp - 0x19], 1
jmp 0x5524c3
mov ecx, dword [esi + 0x3290]
cmp ecx, ebx
je 0x55249e
cmp dword [esi + 0x3294], ebx
je 0x5524c3
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.0055abc0
mov eax, dword [ebp + 8]
push 1
cmp eax, ebx
je 0x5524d4
mov eax, dword [0x6cfedc]
push eax
jmp 0x5524db
mov ecx, dword [0x6cfed8]
push ecx
mov ecx, esi
call fcn.00534870
mov ecx, esi
call fcn.00558f10
mov ecx, esi
call fcn.00559bf0
cmp eax, ebx
jne 0x5531d3
mov al, byte [ebp - 0x19]
test al, al
je 0x552776
mov byte [esi + 0x3288], 1
mov edx, dword [0x6ca27c]
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.005d9fbb
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 [0x6ce7c8]
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.0053bdb0
mov eax, dword [esi + 0xb0]
add esp, 0x1c
mov cl, byte [eax + 0x15e]
test cl, cl
jne 0x5525c0
mov cl, byte [eax + 0x170]
mov edi, 0x6bf1e4
test cl, cl
je 0x5525c5
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.0053bf10
mov eax, dword [0x6ca27c]
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 0x55264d
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.005d9fbb
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 0x55267d
mov ecx, dword [edx + 0x2c0]
lea edx, [ebp - 0x28]
push ecx
push str.__opaque__s_
push edx
call fcn.005d9fbb
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 0x5526a8
push 0x6ce7c8
lea ecx, [ebp - 0x40]
call fcn.005e11fa
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 0x5526c5
mov ecx, dword [ebp - 0x20]
jmp 0x5526df
push 0x6ce7c8
lea ecx, [ebp - 0x24]
call fcn.005e11fa
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.005d9fbb
mov ebx, dword [ebp - 0x14]
add esp, 0x24
test bl, 2
mov dword [ebp - 4], 4
je 0x552738
and ebx, 0xfffffffd
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], ebx
call fcn.005e118c
test bl, 1
mov dword [ebp - 4], 3
je 0x552752
and ebx, 0xfffffffe
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x14], ebx
call fcn.005e118c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.005e118c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.005e118c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005e118c
mov edi, dword [esi + 0xb0]
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov al, byte [edi + 0x2f1]
test al, al
je 0x552792
mov dword [ebp - 0x20], 1
mov al, byte [esi + 0x31e7]
mov dword [esi + 0x3270], ebx
test al, al
mov dword [esi + 0x3274], ebx
je 0x5527c1
lea ecx, [ebp - 0x178]
push str.Range:_bytes0__r_n
push ecx
call fcn.005c5558
add esp, 8
jmp 0x5529b4
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
cmp eax, ebx
jg 0x5527f1
jl 0x5527d1
cmp ecx, ebx
ja 0x5527f1
lea edx, [ebp - 0x178]
push 0x6ce7c8
push edx
call fcn.005c5558
add esp, 8
mov byte [esi + 0x31e4], 0
jmp 0x5529b4
mov edx, dword [esi + 0x31e0]
cmp edx, ebx
je 0x552803
mov edx, dword [edx + 0xd0]
jmp 0x552805
xor edx, edx
mov ebx, dword [esi + 0x48]
or ebx, dword [esi + 0x4c]
je 0x55291e
test edx, edx
je 0x55291e
mov edx, dword [edi + 0x2c8]
test edx, edx
je 0x552928
mov ecx, esi
call fcn.00559b40
mov edi, eax
mov eax, dword [esi + 0x31e0]
test eax, eax
mov ecx, edx
je 0x552878
mov dl, byte [eax + 0x250]
test dl, dl
je 0x55284e
add edi, 1
adc ecx, 0
jmp 0x552878
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
sub edx, 1
sbb eax, 0
cmp eax, ecx
jl 0x552878
jg 0x552864
cmp edx, edi
jbe 0x552878
add edi, 0x40
adc ecx, 0
cmp eax, ecx
jl 0x552874
jg 0x552878
cmp edx, edi
ja 0x552878
mov edi, edx
mov ecx, eax
mov al, byte [esi + 0xc0]
test al, al
mov eax, dword [esi + 0x50]
je 0x552890
mov edx, dword [esi + 0x54]
add eax, 0x30
adc edx, 0
jmp 0x552893
mov edx, dword [esi + 0x54]
mov dword [esi + 0x3270], eax
mov al, byte [esi + 0xc7]
test al, al
mov dword [esi + 0x3274], edx
je 0x5528ee
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 0x5528e7
jg 0x5528cf
cmp edx, dword [ebp - 0x5c]
jb 0x5528e7
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 0x5528ee
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.005c5558
add esp, 0x18
mov byte [esi + 0x31ec], 1
jmp 0x5529b4
mov edx, dword [edi + 0x2c8]
test edx, edx
jne 0x55292f
mov dword [ebp - 0x20], 1
mov dl, byte [esi + 0xc0]
test dl, dl
je 0x55293f
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 0x55298b
mov eax, dword [esi + 0x174]
mov ecx, dword [esi + 0x3274]
mov edi, dword [esi + 0x3270]
cdq
cmp ecx, edx
jl 0x552984
jg 0x552972
cmp edi, eax
jb 0x552984
sub edi, eax
sbb ecx, edx
mov dword [esi + 0x3270], edi
mov dword [esi + 0x3274], ecx
jmp 0x55298b
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.005c5558
add esp, 0x10
mov byte [esi + 0x31ec], 0
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x5529c3
mov ecx, dword [eax + 0xc]
jmp 0x5529cc
mov ecx, dword [esi + 0xb0]
mov ecx, dword [ecx + 0x14]
test eax, eax
je 0x5529d5
mov eax, dword [eax + 0x10]
jmp 0x5529de
mov edx, dword [esi + 0xb0]
mov eax, dword [edx + 0x24]
cmp ecx, 0x50
mov dword [ebp - 0x24], eax
jne 0x552a42
cmp eax, 1
je 0x552a4f
push ecx
lea ecx, [ebp - 0x8c]
push str.:_ld
push ecx
call fcn.005c5558
add esp, 0xc
mov edx, dword [0x6ca27c]
mov dword [ebp - 0x2c], edx
mov eax, dword [esi + 0xb0]
mov byte [ebp - 4], 6
mov cl, byte [eax + 0x305]
test cl, cl
je 0x552a27
mov cl, byte [eax + 0x307]
test cl, cl
jne 0x552a65
mov eax, dword [eax + 0x18]
test eax, eax
je 0x552a65
push eax
lea eax, [ebp - 0x2c]
push str.Referer:__s_r_n
push eax
call fcn.005d9fbb
add esp, 0xc
jmp 0x552a72
cmp ecx, 0x1bb
jne 0x5529eb
cmp eax, 2
jne 0x5529eb
lea eax, [ebp - 0x8c]
push 0x6ce7c8
push eax
call fcn.005c5558
add esp, 8
jmp 0x552a00
push 0x6ce7c8
lea ecx, [ebp - 0x2c]
call fcn.005e1315
push 0x6ce7c8
lea ecx, [ebp - 0x4c]
call fcn.005e11fa
mov eax, dword [esi + 0xb0]
mov byte [ebp - 4], 7
mov cl, byte [eax + 0x30a]
test cl, cl
je 0x552ae9
mov edi, dword [eax + 0x20]
test edi, edi
je 0x552ae9
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jle 0x552ae9
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 0x552ac4
cmp dl, 0xd
jne 0x552ac9
mov byte [eax], 0
jmp 0x552aa3
cmp ecx, 1
jle 0x552ae9
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.005d9fbb
add esp, 0xc
mov ecx, dword [0x6ca27c]
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 0x552b28
mov edx, dword [edx + 0xd0]
lea eax, [ebp - 0x30]
push edx
push 0x69ffbc
push eax
call fcn.005d9fbb
add esp, 0xc
jmp 0x552b39
lea ecx, [ebp - 0x30]
push str.application_x_www_form_urlencoded
push ecx
call fcn.005d9fbb
add esp, 8
mov edx, dword [0x6ca27c]
mov dword [ebp - 0x34], edx
mov eax, dword [esi + 0xb0]
mov byte [ebp - 4], 9
mov cl, byte [eax + 0x15e]
test cl, cl
je 0x552b75
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.005d9fbb
add esp, 0x10
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x170]
test cl, cl
je 0x552ba1
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.005d9fbb
add esp, 0x10
mov eax, dword [0x6ca27c]
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 0x552bdd
mov ecx, dword [edx + 0x320]
lea edx, [ebp - 0x48]
push ecx
push str.Cookie2:__s_r_n
push edx
call fcn.005d9fbb
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 0x552ca9
mov eax, dword [0x6cee54]
test eax, eax
je 0x552c40
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 0x552c46
mov eax, dword [esi + 0xb0]
lea edx, [ebp - 0x1d8]
push edx
add eax, 0x324
push 0x69ffbc
push eax
call fcn.005d9fbb
add esp, 0xc
jmp 0x552ca9
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 0x552c90
lea edx, [ebp - 0x5c]
push 9
push edx
push 0x5a
push 0x400
call edi
test eax, eax
je 0x552c90
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.005d9fbb
add esp, 0x10
jmp 0x552ca9
mov eax, dword [esi + 0xb0]
push str.en_US
add eax, 0x324
push eax
call fcn.005d9fbb
add esp, 8
mov ecx, dword [0x6ca27c]
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 0x552ce6
mov edx, dword [edx + 0x324]
lea eax, [ebp - 0x50]
push edx
push str.Accept_Language:__s_r_n
push eax
call fcn.005d9fbb
add esp, 0xc
mov ecx, dword [0x6ca27c]
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 0x552d29
mov edx, dword [edx + 0x328]
lea eax, [ebp - 0x44]
push edx
push str.Origin:__s_r_n
push eax
call fcn.005d9fbb
add esp, 0xc
jmp 0x552da9
mov eax, dword [edx + 0x18]
test eax, eax
je 0x552da9
mov al, byte [edx + 0x305]
test al, al
jne 0x552da9
mov ecx, dword [0x6ca27c]
mov dword [ebp - 0x18], ecx
mov edx, dword [edx + 0x18]
lea eax, [ebp - 0x18]
push edx
push 0x69ffbc
push eax
mov byte [ebp - 4], 0xd
call fcn.005d9fbb
mov ecx, dword [ebp - 0x18]
add esp, 0xc
push 0x6a0064
push ecx
call fcn.005c4c40
add esp, 8
test eax, eax
je 0x552d9e
add eax, 3
push 0x6a00f8
push eax
call fcn.005c6490
add esp, 8
test eax, eax
je 0x552d9e
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.005d9fbb
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.005e118c
mov ecx, dword [0x6ca27c]
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 0x552de8
mov edx, dword [edx + 0x330]
lea eax, [ebp - 0x38]
push edx
push str.Accept_Charset:__s_r_n
push eax
call fcn.005d9fbb
add esp, 0xc
jmp 0x552df9
lea ecx, [ebp - 0x38]
push str.Accept_Charset:__r_n
push ecx
call fcn.005d9fbb
add esp, 8
mov edx, dword [0x6ca27c]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0xf
test eax, eax
je 0x552e1b
mov dword [ebp - 0x20], str.Cache_Control:_no_cache_r_nPragma:_no_cache_r_n
mov edx, 0x6ce7c8
jmp 0x552e23
mov edx, 0x6ce7c8
mov dword [ebp - 0x20], edx
mov eax, dword [esi + 0x3200]
mov dword [ebp - 0x28], 0x6a0cc0
test eax, eax
jne 0x552e37
mov dword [ebp - 0x28], edx
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x552e41
mov dword [ebp - 0x18], edx
test eax, eax
mov dword [ebp - 0x60], str.Cookie:
jne 0x552e4f
mov dword [ebp - 0x60], edx
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x176]
test cl, cl
je 0x552e67
mov edi, dword [esi + 0x320c]
jmp 0x552e6d
mov edi, dword [esi + 0x328c]
mov dword [ebp - 0x64], edi
mov edi, dword [esi + 0x328c]
mov ebx, dword [edi - 8]
test ebx, ebx
je 0x552e9c
test cl, cl
sete cl
test cl, cl
je 0x552e9c
mov ebx, dword [esi + 0x3290]
mov dword [ebp - 0x68], str.Connection:_Keep_Alive_r_n
test ebx, ebx
sete cl
test cl, cl
jne 0x552e9f
mov dword [ebp - 0x68], edx
mov cl, byte [eax + 0x300]
test cl, cl
jne 0x552eb3
mov cl, byte [eax + 0x301]
test cl, cl
je 0x552ec5
mov bl, byte [eax + 0x303]
mov dword [ebp - 0x40], edx
test bl, bl
sete cl
test cl, cl
jne 0x552ecc
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 0x552ee4
mov edi, edx
jmp 0x552efb
push 0x6befb4
lea ecx, [ebp - 0x58]
call fcn.005e11fa
or dword [ebp - 0x14], 4
mov edi, dword [eax]
mov byte [ebp - 4], 0x10
mov eax, dword [esi + 0xb4]
test eax, eax
jne 0x552f21
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x70]
call fcn.005e11fa
or dword [ebp - 0x14], 8
mov dword [ebp - 4], 0x11
mov edx, dword [eax]
mov eax, dword [ebp + 8]
test eax, eax
je 0x552f31
mov ecx, str.HEAD
jmp 0x552f55
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x15e]
test cl, cl
jne 0x552f50
mov cl, byte [eax + 0x170]
test cl, cl
mov ecx, 0x6bf1e4
je 0x552f55
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.005d9fbb
mov ebx, dword [ebp - 0x14]
add esp, 0x60
test bl, 8
mov dword [ebp - 4], 0x10
je 0x552fe7
and ebx, 0xfffffff7
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x14], ebx
call fcn.005e118c
test bl, 4
mov dword [ebp - 4], 0xf
je 0x552ffb
lea ecx, [ebp - 0x58]
call fcn.005e118c
mov edx, dword [esi + 0x54]
mov ebx, dword [esi + 0x50]
test edx, edx
jg 0x553015
jl 0x55300b
test ebx, ebx
ja 0x553015
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x64]
or eax, ecx
je 0x553072
mov ecx, dword [0x6ca27c]
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 0x55303f
mov eax, 0x6a0cc0
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.005d9fbb
mov eax, dword [ebp - 0x14]
add esp, 0x1c
mov ecx, esi
push eax
call fcn.00534940
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xf
call fcn.005e118c
mov ecx, esi
mov dword [esi + 0x31dc], 1
call fcn.005364e0
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x8c], 4
cmp eax, 2
jne 0x5530da
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.005ab040
mov edi, eax
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x170]
test cl, cl
je 0x55313c
mov ecx, dword [eax + 0x168]
test ecx, ecx
je 0x55313c
mov edx, dword [eax + 0x16c]
push edx
push ecx
mov ecx, esi
call fcn.005ab040
jmp 0x55313c
mov eax, dword [ebp + 8]
mov edx, str.send___HEAD
test eax, eax
jne 0x5530eb
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.005349f0
mov edi, eax
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x170]
test cl, cl
je 0x55313c
mov ecx, dword [eax + 0x168]
test ecx, ecx
je 0x55313c
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.005e118c
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xc
call fcn.005e118c
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.005e118c
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xa
call fcn.005e118c
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 9
call fcn.005e118c
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.005e118c
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.005e118c
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.005e118c
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.005e118c
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