Function at 0x554220
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 0x60c47c
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 0x5542c3
mov cl, byte [eax + 0x177]
test cl, cl
je 0x55428c
mov edi, dword [eax + 0x2ac]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x5542c3
mov byte [ebp - 0x19], 1
jmp 0x5542c3
mov ecx, dword [esi + 0x3290]
cmp ecx, ebx
je 0x55429e
cmp dword [esi + 0x3294], ebx
je 0x5542c3
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.0055cec0
mov eax, dword [ebp + 8]
push 1
cmp eax, ebx
je 0x5542d4
mov eax, dword [0x6d21d4]
push eax
jmp 0x5542db
mov ecx, dword [0x6d21d0]
push ecx
mov ecx, esi
call fcn.005365f0
mov ecx, esi
call fcn.0055ad40
mov ecx, esi
call fcn.0055bef0
cmp eax, ebx
jne 0x554fd3
mov al, byte [ebp - 0x19]
test al, al
je 0x554576
mov byte [esi + 0x3288], 1
mov edx, dword [0x6cc564]
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.005dc6eb
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 [0x6d0ab8]
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.0053db30
mov eax, dword [esi + 0xb0]
add esp, 0x1c
mov cl, byte [eax + 0x15e]
test cl, cl
jne 0x5543c0
mov cl, byte [eax + 0x170]
mov edi, 0x6c149c
test cl, cl
je 0x5543c5
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.0053dc90
mov eax, dword [0x6cc564]
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 0x55444d
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.005dc6eb
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 0x55447d
mov ecx, dword [edx + 0x2c0]
lea edx, [ebp - 0x28]
push ecx
push str.__opaque__s_
push edx
call fcn.005dc6eb
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 0x5544a8
push 0x6d0ab8
lea ecx, [ebp - 0x40]
call fcn.005e3927
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 0x5544c5
mov ecx, dword [ebp - 0x20]
jmp 0x5544df
push 0x6d0ab8
lea ecx, [ebp - 0x24]
call fcn.005e3927
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.005dc6eb
mov ebx, dword [ebp - 0x14]
add esp, 0x24
test bl, 2
mov dword [ebp - 4], 4
je 0x554538
and ebx, 0xfffffffd
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], ebx
call fcn.005e38b9
test bl, 1
mov dword [ebp - 4], 3
je 0x554552
and ebx, 0xfffffffe
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x14], ebx
call fcn.005e38b9
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.005e38b9
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.005e38b9
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005e38b9
mov edi, dword [esi + 0xb0]
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov al, byte [edi + 0x2f1]
test al, al
je 0x554592
mov dword [ebp - 0x20], 1
mov al, byte [esi + 0x31e7]
mov dword [esi + 0x3270], ebx
test al, al
mov dword [esi + 0x3274], ebx
je 0x5545c1
lea ecx, [ebp - 0x178]
push str.Range:_bytes0__r_n
push ecx
call fcn.005c7c98
add esp, 8
jmp 0x5547b4
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
cmp eax, ebx
jg 0x5545f1
jl 0x5545d1
cmp ecx, ebx
ja 0x5545f1
lea edx, [ebp - 0x178]
push 0x6d0ab8
push edx
call fcn.005c7c98
add esp, 8
mov byte [esi + 0x31e4], 0
jmp 0x5547b4
mov edx, dword [esi + 0x31e0]
cmp edx, ebx
je 0x554603
mov edx, dword [edx + 0xd0]
jmp 0x554605
xor edx, edx
mov ebx, dword [esi + 0x48]
or ebx, dword [esi + 0x4c]
je 0x55471e
test edx, edx
je 0x55471e
mov edx, dword [edi + 0x2c8]
test edx, edx
je 0x554728
mov ecx, esi
call fcn.0055be40
mov edi, eax
mov eax, dword [esi + 0x31e0]
test eax, eax
mov ecx, edx
je 0x554678
mov dl, byte [eax + 0x250]
test dl, dl
je 0x55464e
add edi, 1
adc ecx, 0
jmp 0x554678
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
sub edx, 1
sbb eax, 0
cmp eax, ecx
jl 0x554678
jg 0x554664
cmp edx, edi
jbe 0x554678
add edi, 0x40
adc ecx, 0
cmp eax, ecx
jl 0x554674
jg 0x554678
cmp edx, edi
ja 0x554678
mov edi, edx
mov ecx, eax
mov al, byte [esi + 0xc0]
test al, al
mov eax, dword [esi + 0x50]
je 0x554690
mov edx, dword [esi + 0x54]
add eax, 0x30
adc edx, 0
jmp 0x554693
mov edx, dword [esi + 0x54]
mov dword [esi + 0x3270], eax
mov al, byte [esi + 0xc7]
test al, al
mov dword [esi + 0x3274], edx
je 0x5546ee
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 0x5546e7
jg 0x5546cf
cmp edx, dword [ebp - 0x5c]
jb 0x5546e7
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 0x5546ee
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.005c7c98
add esp, 0x18
mov byte [esi + 0x31ec], 1
jmp 0x5547b4
mov edx, dword [edi + 0x2c8]
test edx, edx
jne 0x55472f
mov dword [ebp - 0x20], 1
mov dl, byte [esi + 0xc0]
test dl, dl
je 0x55473f
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 0x55478b
mov eax, dword [esi + 0x174]
mov ecx, dword [esi + 0x3274]
mov edi, dword [esi + 0x3270]
cdq
cmp ecx, edx
jl 0x554784
jg 0x554772
cmp edi, eax
jb 0x554784
sub edi, eax
sbb ecx, edx
mov dword [esi + 0x3270], edi
mov dword [esi + 0x3274], ecx
jmp 0x55478b
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.005c7c98
add esp, 0x10
mov byte [esi + 0x31ec], 0
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x5547c3
mov ecx, dword [eax + 0xc]
jmp 0x5547cc
mov ecx, dword [esi + 0xb0]
mov ecx, dword [ecx + 0x14]
test eax, eax
je 0x5547d5
mov eax, dword [eax + 0x10]
jmp 0x5547de
mov edx, dword [esi + 0xb0]
mov eax, dword [edx + 0x24]
cmp ecx, 0x50
mov dword [ebp - 0x24], eax
jne 0x554842
cmp eax, 1
je 0x55484f
push ecx
lea ecx, [ebp - 0x8c]
push str.:_ld
push ecx
call fcn.005c7c98
add esp, 0xc
mov edx, dword [0x6cc564]
mov dword [ebp - 0x2c], edx
mov eax, dword [esi + 0xb0]
mov byte [ebp - 4], 6
mov cl, byte [eax + 0x305]
test cl, cl
je 0x554827
mov cl, byte [eax + 0x307]
test cl, cl
jne 0x554865
mov eax, dword [eax + 0x18]
test eax, eax
je 0x554865
push eax
lea eax, [ebp - 0x2c]
push str.Referer:__s_r_n
push eax
call fcn.005dc6eb
add esp, 0xc
jmp 0x554872
cmp ecx, 0x1bb
jne 0x5547eb
cmp eax, 2
jne 0x5547eb
lea eax, [ebp - 0x8c]
push 0x6d0ab8
push eax
call fcn.005c7c98
add esp, 8
jmp 0x554800
push 0x6d0ab8
lea ecx, [ebp - 0x2c]
call fcn.005e3a42
push 0x6d0ab8
lea ecx, [ebp - 0x4c]
call fcn.005e3927
mov eax, dword [esi + 0xb0]
mov byte [ebp - 4], 7
mov cl, byte [eax + 0x30a]
test cl, cl
je 0x5548e9
mov edi, dword [eax + 0x20]
test edi, edi
je 0x5548e9
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jle 0x5548e9
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 0x5548c4
cmp dl, 0xd
jne 0x5548c9
mov byte [eax], 0
jmp 0x5548a3
cmp ecx, 1
jle 0x5548e9
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.005dc6eb
add esp, 0xc
mov ecx, dword [0x6cc564]
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 0x554928
mov edx, dword [edx + 0xd0]
lea eax, [ebp - 0x30]
push edx
push 0x6a1fe8
push eax
call fcn.005dc6eb
add esp, 0xc
jmp 0x554939
lea ecx, [ebp - 0x30]
push str.application_x_www_form_urlencoded
push ecx
call fcn.005dc6eb
add esp, 8
mov edx, dword [0x6cc564]
mov dword [ebp - 0x34], edx
mov eax, dword [esi + 0xb0]
mov byte [ebp - 4], 9
mov cl, byte [eax + 0x15e]
test cl, cl
je 0x554975
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.005dc6eb
add esp, 0x10
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x170]
test cl, cl
je 0x5549a1
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.005dc6eb
add esp, 0x10
mov eax, dword [0x6cc564]
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 0x5549dd
mov ecx, dword [edx + 0x320]
lea edx, [ebp - 0x48]
push ecx
push str.Cookie2:__s_r_n
push edx
call fcn.005dc6eb
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 0x554aa9
mov eax, dword [0x6d1144]
test eax, eax
je 0x554a40
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 0x554a46
mov eax, dword [esi + 0xb0]
lea edx, [ebp - 0x1d8]
push edx
add eax, 0x324
push 0x6a1fe8
push eax
call fcn.005dc6eb
add esp, 0xc
jmp 0x554aa9
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 0x554a90
lea edx, [ebp - 0x5c]
push 9
push edx
push 0x5a
push 0x400
call edi
test eax, eax
je 0x554a90
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.005dc6eb
add esp, 0x10
jmp 0x554aa9
mov eax, dword [esi + 0xb0]
push str.en_US
add eax, 0x324
push eax
call fcn.005dc6eb
add esp, 8
mov ecx, dword [0x6cc564]
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 0x554ae6
mov edx, dword [edx + 0x324]
lea eax, [ebp - 0x50]
push edx
push str.Accept_Language:__s_r_n
push eax
call fcn.005dc6eb
add esp, 0xc
mov ecx, dword [0x6cc564]
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 0x554b29
mov edx, dword [edx + 0x328]
lea eax, [ebp - 0x44]
push edx
push str.Origin:__s_r_n
push eax
call fcn.005dc6eb
add esp, 0xc
jmp 0x554ba9
mov eax, dword [edx + 0x18]
test eax, eax
je 0x554ba9
mov al, byte [edx + 0x305]
test al, al
jne 0x554ba9
mov ecx, dword [0x6cc564]
mov dword [ebp - 0x18], ecx
mov edx, dword [edx + 0x18]
lea eax, [ebp - 0x18]
push edx
push 0x6a1fe8
push eax
mov byte [ebp - 4], 0xd
call fcn.005dc6eb
mov ecx, dword [ebp - 0x18]
add esp, 0xc
push 0x6a2090
push ecx
call fcn.005c7380
add esp, 8
test eax, eax
je 0x554b9e
add eax, 3
push 0x6a2124
push eax
call fcn.005c8bd0
add esp, 8
test eax, eax
je 0x554b9e
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.005dc6eb
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.005e38b9
mov ecx, dword [0x6cc564]
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 0x554be8
mov edx, dword [edx + 0x330]
lea eax, [ebp - 0x38]
push edx
push str.Accept_Charset:__s_r_n
push eax
call fcn.005dc6eb
add esp, 0xc
jmp 0x554bf9
lea ecx, [ebp - 0x38]
push str.Accept_Charset:__r_n
push ecx
call fcn.005dc6eb
add esp, 8
mov edx, dword [0x6cc564]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0xf
test eax, eax
je 0x554c1b
mov dword [ebp - 0x20], str.Cache_Control:_no_cache_r_nPragma:_no_cache_r_n
mov edx, 0x6d0ab8
jmp 0x554c23
mov edx, 0x6d0ab8
mov dword [ebp - 0x20], edx
mov eax, dword [esi + 0x3200]
mov dword [ebp - 0x28], 0x6a2cd0
test eax, eax
jne 0x554c37
mov dword [ebp - 0x28], edx
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x554c41
mov dword [ebp - 0x18], edx
test eax, eax
mov dword [ebp - 0x60], str.Cookie:
jne 0x554c4f
mov dword [ebp - 0x60], edx
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x176]
test cl, cl
je 0x554c67
mov edi, dword [esi + 0x320c]
jmp 0x554c6d
mov edi, dword [esi + 0x328c]
mov dword [ebp - 0x64], edi
mov edi, dword [esi + 0x328c]
mov ebx, dword [edi - 8]
test ebx, ebx
je 0x554c9c
test cl, cl
sete cl
test cl, cl
je 0x554c9c
mov ebx, dword [esi + 0x3290]
mov dword [ebp - 0x68], str.Connection:_Keep_Alive_r_n
test ebx, ebx
sete cl
test cl, cl
jne 0x554c9f
mov dword [ebp - 0x68], edx
mov cl, byte [eax + 0x300]
test cl, cl
jne 0x554cb3
mov cl, byte [eax + 0x301]
test cl, cl
je 0x554cc5
mov bl, byte [eax + 0x303]
mov dword [ebp - 0x40], edx
test bl, bl
sete cl
test cl, cl
jne 0x554ccc
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 0x554ce4
mov edi, edx
jmp 0x554cfb
push 0x6c126c
lea ecx, [ebp - 0x58]
call fcn.005e3927
or dword [ebp - 0x14], 4
mov edi, dword [eax]
mov byte [ebp - 4], 0x10
mov eax, dword [esi + 0xb4]
test eax, eax
jne 0x554d21
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x70]
call fcn.005e3927
or dword [ebp - 0x14], 8
mov dword [ebp - 4], 0x11
mov edx, dword [eax]
mov eax, dword [ebp + 8]
test eax, eax
je 0x554d31
mov ecx, str.HEAD
jmp 0x554d55
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x15e]
test cl, cl
jne 0x554d50
mov cl, byte [eax + 0x170]
test cl, cl
mov ecx, 0x6c149c
je 0x554d55
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.005dc6eb
mov ebx, dword [ebp - 0x14]
add esp, 0x60
test bl, 8
mov dword [ebp - 4], 0x10
je 0x554de7
and ebx, 0xfffffff7
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x14], ebx
call fcn.005e38b9
test bl, 4
mov dword [ebp - 4], 0xf
je 0x554dfb
lea ecx, [ebp - 0x58]
call fcn.005e38b9
mov edx, dword [esi + 0x54]
mov ebx, dword [esi + 0x50]
test edx, edx
jg 0x554e15
jl 0x554e0b
test ebx, ebx
ja 0x554e15
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x64]
or eax, ecx
je 0x554e72
mov ecx, dword [0x6cc564]
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 0x554e3f
mov eax, 0x6a2cd0
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.005dc6eb
mov eax, dword [ebp - 0x14]
add esp, 0x1c
mov ecx, esi
push eax
call fcn.005366c0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xf
call fcn.005e38b9
mov ecx, esi
mov dword [esi + 0x31dc], 1
call fcn.00538260
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x8c], 4
cmp eax, 2
jne 0x554eda
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.005ad770
mov edi, eax
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x170]
test cl, cl
je 0x554f3c
mov ecx, dword [eax + 0x168]
test ecx, ecx
je 0x554f3c
mov edx, dword [eax + 0x16c]
push edx
push ecx
mov ecx, esi
call fcn.005ad770
jmp 0x554f3c
mov eax, dword [ebp + 8]
mov edx, str.send___HEAD
test eax, eax
jne 0x554eeb
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.00536770
mov edi, eax
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x170]
test cl, cl
je 0x554f3c
mov ecx, dword [eax + 0x168]
test ecx, ecx
je 0x554f3c
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.005e38b9
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xc
call fcn.005e38b9
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.005e38b9
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xa
call fcn.005e38b9
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 9
call fcn.005e38b9
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.005e38b9
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.005e38b9
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.005e38b9
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.005e38b9
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