Function at 0x56d300
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 0x62c48c
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 + 0x3290], bl
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ebx
mov cl, byte [eax + 0x18a]
mov dword [ebp - 4], ebx
test cl, cl
mov byte [ebp - 0x19], bl
jne 0x56d3a3
mov cl, byte [eax + 0x18b]
test cl, cl
je 0x56d36c
mov edi, dword [eax + 0x2c0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x56d3a3
mov byte [ebp - 0x19], 1
jmp 0x56d3a3
mov ecx, dword [esi + 0x3298]
cmp ecx, ebx
je 0x56d37e
cmp dword [esi + 0x329c], ebx
je 0x56d3a3
lea edx, [esi + 0x3294]
push ebx
push edx
lea edx, [esi + 0x329c]
push edx
mov edx, dword [eax + 0x10]
push edx
mov edx, dword [eax + 0xc]
push edx
add eax, 0x1bc
push ecx
push eax
mov ecx, esi
call fcn.00577480
mov eax, dword [ebp + 8]
push 1
cmp eax, ebx
je 0x56d3b4
mov eax, dword [0x6d3524]
push eax
jmp 0x56d3bb
mov ecx, dword [0x6d3520]
push ecx
mov ecx, esi
call fcn.0054d1d0
mov ecx, esi
call fcn.005752c0
mov ecx, esi
call fcn.005765f0
cmp eax, ebx
jne 0x56e15a
mov al, byte [ebp - 0x19]
test al, al
je 0x56d656
mov byte [esi + 0x3290], 1
mov edx, dword [0x6cd768]
mov dword [ebp - 0x18], edx
mov eax, dword [esi + 0xb0]
lea edx, [ebp - 0x18]
mov byte [ebp - 4], 1
mov ecx, dword [eax + 0x2d8]
push ecx
push str._08X
push edx
call fcn.005fc86b
mov eax, dword [esi + 0xb0]
add esp, 0xc
lea edi, [ebp - 0xaf]
mov ecx, dword [eax + 0x2d8]
inc ecx
mov dword [eax + 0x2d8], ecx
mov al, byte [0x6d1c98]
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 + 0x2cc]
mov ecx, dword [eax + 0x2c4]
mov edx, dword [eax + 0x2c0]
mov edi, dword [eax + 0x2c8]
mov dword [ebp - 0x24], ebx
lea ebx, [ebp - 0x178]
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.005551f0
mov eax, dword [esi + 0xb0]
add esp, 0x1c
mov cl, byte [eax + 0x170]
test cl, cl
jne 0x56d4a0
mov cl, byte [eax + 0x184]
mov edi, 0x6c22d0
test cl, cl
je 0x56d4a5
mov edi, str.POST
mov ecx, dword [eax + 0x2d0]
lea ebx, [ebp - 0x154]
mov edx, dword [eax + 0x2c4]
push ebx
lea ebx, [ebp - 0xb0]
mov eax, dword [eax + 0x2c0]
push ebx
mov ebx, dword [esi + 0x3204]
push ebx
push edi
push ecx
mov ecx, dword [ebp - 0x18]
push edx
push ecx
lea edx, [ebp - 0x178]
push eax
push edx
call fcn.00555350
mov eax, dword [0x6cd768]
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 + 0x2d0]
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x56d52d
mov eax, dword [edx + 0x2c4]
mov ecx, dword [ebp - 0x18]
mov edx, dword [edx + 0x2d0]
push eax
push ecx
push edx
lea eax, [ebp - 0x20]
push str.qop_s__nc_s__cnonce__s__
push eax
call fcn.005fc86b
add esp, 0x14
mov edx, dword [esi + 0xb0]
or ecx, 0xffffffff
xor eax, eax
mov edi, dword [edx + 0x2d4]
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x56d55d
mov ecx, dword [edx + 0x2d4]
lea edx, [ebp - 0x28]
push ecx
push str.__opaque__s_
push edx
call fcn.005fc86b
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 0x56d588
push 0x6d1c98
lea ecx, [ebp - 0x40]
call fcn.00603aaa
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 + 0x2d0]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x56d5a5
mov ecx, dword [ebp - 0x20]
jmp 0x56d5bf
push 0x6d1c98
lea ecx, [ebp - 0x24]
call fcn.00603aaa
or dword [ebp - 0x14], 2
mov ecx, dword [eax]
mov dword [ebp - 4], 5
mov eax, dword [esi + 0xb0]
lea edx, [ebp - 0x154]
push ebx
push edx
mov edx, dword [eax + 0x2c0]
push ecx
mov ecx, dword [esi + 0x3204]
push ecx
mov ecx, dword [eax + 0x2c8]
push edx
mov edx, dword [eax + 0xc]
push ecx
push edx
lea eax, [esi + 0x3294]
push str.Authorization:_Digest_username__s___realm__s___nonce__s___uri__s____sresponse__s__s_r_n
push eax
call fcn.005fc86b
mov ebx, dword [ebp - 0x14]
add esp, 0x24
test bl, 2
mov dword [ebp - 4], 4
je 0x56d618
and ebx, 0xfffffffd
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], ebx
call fcn.00603a3c
test bl, 1
mov dword [ebp - 4], 3
je 0x56d632
and ebx, 0xfffffffe
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x14], ebx
call fcn.00603a3c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00603a3c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00603a3c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00603a3c
mov ebx, dword [esi + 0xb0]
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov al, byte [ebx + 0x305]
test al, al
je 0x56d672
mov dword [ebp - 0x20], 1
mov dword [esi + 0x3278], ecx
mov dword [esi + 0x327c], ecx
cmp dword [ebx + 0x2fc], 8
jne 0x56d6ce
mov eax, dword [esi + 0x90]
cmp eax, ecx
je 0x56d6ce
mov edx, dword [eax + 0x50]
mov edi, dword [eax + 0x54]
mov ecx, edx
or ecx, edi
je 0x56d6ce
mov ecx, dword [eax + 0x48]
mov eax, dword [eax + 0x4c]
mov ebx, ecx
add ebx, edx
mov edx, eax
adc edx, edi
sub ebx, 1
sbb edx, 0
push edx
push ebx
push eax
push ecx
lea eax, [ebp - 0x130]
push str.Range:_bytes_I64d__I64d_r_n
push eax
call fcn.005e7bd3
add esp, 0x18
jmp 0x56d907
mov al, byte [esi + 0x31ef]
test al, al
je 0x56d6f1
lea ecx, [ebp - 0x130]
push str.Range:_bytes0__r_n
push ecx
call fcn.005e7bd3
add esp, 8
jmp 0x56d907
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
test eax, eax
jg 0x56d744
jl 0x56d701
test ecx, ecx
ja 0x56d744
mov al, byte [esi + 0xca]
test al, al
je 0x56d724
lea edx, [ebp - 0x130]
push str.Range:_bytes0__r_n
push edx
call fcn.005e7bd3
add esp, 8
jmp 0x56d907
lea eax, [ebp - 0x130]
push 0x6d1c98
push eax
call fcn.005e7bd3
add esp, 8
mov byte [esi + 0x31ec], 0
jmp 0x56d907
mov edx, dword [esi + 0x31e8]
test edx, edx
je 0x56d756
mov edx, dword [edx + 0xb0]
jmp 0x56d758
xor edx, edx
mov edi, dword [esi + 0x48]
or edi, dword [esi + 0x4c]
je 0x56d871
test edx, edx
je 0x56d871
mov edx, dword [ebx + 0x2dc]
test edx, edx
je 0x56d87b
mov ecx, esi
call fcn.00576540
mov edi, eax
mov eax, dword [esi + 0x31e8]
test eax, eax
mov ecx, edx
je 0x56d7cb
mov dl, byte [eax + 0x241]
test dl, dl
je 0x56d7a1
add edi, 1
adc ecx, 0
jmp 0x56d7cb
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
sub edx, 1
sbb eax, 0
cmp eax, ecx
jl 0x56d7cb
jg 0x56d7b7
cmp edx, edi
jbe 0x56d7cb
add edi, 0x40
adc ecx, 0
cmp eax, ecx
jl 0x56d7c7
jg 0x56d7cb
cmp edx, edi
ja 0x56d7cb
mov edi, edx
mov ecx, eax
mov al, byte [esi + 0xc0]
test al, al
mov eax, dword [esi + 0x50]
je 0x56d7e3
mov edx, dword [esi + 0x54]
add eax, 0x30
adc edx, 0
jmp 0x56d7e6
mov edx, dword [esi + 0x54]
mov dword [esi + 0x3278], eax
mov al, byte [esi + 0xc7]
test al, al
mov dword [esi + 0x327c], edx
je 0x56d841
mov eax, dword [esi + 0x17c]
cdq
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0x327c]
mov ebx, edx
mov edx, dword [esi + 0x3278]
cmp eax, ebx
mov dword [ebp - 0x58], ebx
jl 0x56d83a
jg 0x56d822
cmp edx, dword [ebp - 0x5c]
jb 0x56d83a
mov ebx, dword [ebp - 0x5c]
sub edx, ebx
mov ebx, dword [ebp - 0x58]
sbb eax, ebx
mov dword [esi + 0x3278], edx
mov dword [esi + 0x327c], eax
jmp 0x56d841
mov byte [esi + 0xc7], 0
mov edx, dword [esi + 0x3278]
push ecx
mov ecx, dword [esi + 0x327c]
push edi
push ecx
push edx
lea eax, [ebp - 0x130]
push str.Range:_bytes_I64d__I64d_r_n
push eax
call fcn.005e7bd3
add esp, 0x18
mov byte [esi + 0x31f4], 1
jmp 0x56d907
mov edx, dword [ebx + 0x2dc]
test edx, edx
jne 0x56d882
mov dword [ebp - 0x20], 1
mov dl, byte [esi + 0xc0]
test dl, dl
je 0x56d892
add ecx, 0x30
adc eax, 0
mov dword [esi + 0x3278], ecx
mov dword [esi + 0x327c], eax
mov al, byte [esi + 0xc7]
test al, al
je 0x56d8de
mov eax, dword [esi + 0x17c]
mov ecx, dword [esi + 0x327c]
mov edi, dword [esi + 0x3278]
cdq
cmp ecx, edx
jl 0x56d8d7
jg 0x56d8c5
cmp edi, eax
jb 0x56d8d7
sub edi, eax
sbb ecx, edx
mov dword [esi + 0x3278], edi
mov dword [esi + 0x327c], ecx
jmp 0x56d8de
mov byte [esi + 0xc7], 0
mov ecx, dword [esi + 0x327c]
mov edx, dword [esi + 0x3278]
push ecx
push edx
lea eax, [ebp - 0x130]
push str.Range:_bytes_I64d__r_n
push eax
call fcn.005e7bd3
add esp, 0x10
mov byte [esi + 0x31f4], 0
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x56d916
mov ecx, dword [eax + 0xc]
jmp 0x56d91f
mov ecx, dword [esi + 0xb0]
mov ecx, dword [ecx + 0x14]
test eax, eax
je 0x56d928
mov eax, dword [eax + 0x10]
jmp 0x56d931
mov edx, dword [esi + 0xb0]
mov eax, dword [edx + 0x24]
cmp ecx, 0x50
mov dword [ebp - 0x24], eax
jne 0x56d9b6
cmp eax, 1
je 0x56d9c7
push ecx
lea ecx, [ebp - 0x8c]
push str.:_ld
push ecx
call fcn.005e7bd3
add esp, 0xc
mov edx, dword [0x6cd768]
mov dword [ebp - 0x2c], edx
mov eax, dword [esi + 0xb0]
mov byte [ebp - 4], 6
mov cl, byte [eax + 0x31a]
test cl, cl
je 0x56d97e
mov cl, byte [eax + 0x31c]
test cl, cl
jne 0x56d9e0
mov eax, dword [eax + 0x18]
test eax, eax
je 0x56d9e0
push 7
push str.file:__
push eax
call fcn.005ea9e0
add esp, 0xc
test eax, eax
je 0x56d9e0
mov eax, dword [esi + 0xb0]
lea edx, [ebp - 0x2c]
mov ecx, dword [eax + 0x18]
push ecx
push str.Referer:__s_r_n
push edx
call fcn.005fc86b
add esp, 0xc
jmp 0x56d9ed
cmp ecx, 0x1bb
jne 0x56d942
cmp eax, 2
jne 0x56d942
lea eax, [ebp - 0x8c]
push 0x6d1c98
push eax
call fcn.005e7bd3
add esp, 8
jmp 0x56d957
push 0x6d1c98
lea ecx, [ebp - 0x2c]
call fcn.00603bc5
push 0x6d1c98
lea ecx, [ebp - 0x4c]
call fcn.00603aaa
mov eax, dword [esi + 0xb0]
mov byte [ebp - 4], 7
mov cl, byte [eax + 0x31f]
test cl, cl
je 0x56da64
mov edi, dword [eax + 0x20]
test edi, edi
je 0x56da64
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jle 0x56da64
mov eax, dword [esi + 0xb0]
mov edx, dword [eax + 0x20]
lea eax, [edx + ecx - 1]
mov dl, byte [edx + ecx - 1]
cmp dl, 0xa
je 0x56da3f
cmp dl, 0xd
jne 0x56da44
mov byte [eax], 0
jmp 0x56da1e
cmp ecx, 1
jle 0x56da64
mov eax, dword [esi + 0xb0]
lea edx, [ebp - 0x4c]
mov ecx, dword [eax + 0x20]
push ecx
push str.If_Modified_Since:__s_r_n
push edx
call fcn.005fc86b
add esp, 0xc
mov eax, dword [0x6cd768]
mov dword [ebp - 0x30], eax
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 0x56daa2
mov ecx, dword [edx + 0xd0]
lea edx, [ebp - 0x30]
push ecx
push 0x6a10a0
push edx
call fcn.005fc86b
add esp, 0xc
jmp 0x56dab3
lea eax, [ebp - 0x30]
push str.application_x_www_form_urlencoded
push eax
call fcn.005fc86b
add esp, 8
mov ecx, dword [0x6cd768]
mov dword [ebp - 0x34], ecx
mov eax, dword [esi + 0xb0]
mov byte [ebp - 4], 9
mov cl, byte [eax + 0x170]
test cl, cl
je 0x56daef
mov edx, dword [eax + 0x174]
lea ecx, [ebp - 0x34]
mov eax, dword [edx - 8]
push eax
mov eax, dword [ebp - 0x30]
push eax
push str.Content_Type:__s_r_nContent_Length:__d_r_n
push ecx
call fcn.005fc86b
add esp, 0x10
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x184]
test cl, cl
je 0x56db1b
mov edx, dword [eax + 0x180]
mov eax, dword [ebp - 0x30]
push edx
push eax
lea ecx, [ebp - 0x34]
push str.Content_Type:__s_r_nContent_Length:__d_r_n
push ecx
call fcn.005fc86b
add esp, 0x10
mov edx, dword [0x6cd768]
mov dword [ebp - 0x48], edx
mov edx, dword [esi + 0xb0]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 0xa
mov edi, dword [edx + 0x338]
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x56db58
mov eax, dword [edx + 0x338]
lea ecx, [ebp - 0x48]
push eax
push str.Cookie2:__s_r_n
push ecx
call fcn.005fc86b
add esp, 0xc
mov edx, dword [esi + 0xb0]
or ecx, 0xffffffff
xor eax, eax
mov edi, dword [edx + 0x33c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x56dc26
mov eax, dword [0x6d2324]
test eax, eax
je 0x56dbbc
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [ebp - 0x1d8]
push 0x5f
push eax
push 0x5c
push 0x400
call edi
test eax, eax
je 0x56dbc2
mov edx, dword [esi + 0xb0]
lea ecx, [ebp - 0x1d8]
push ecx
add edx, 0x33c
push 0x6a10a0
push edx
call fcn.005fc86b
add esp, 0xc
jmp 0x56dc26
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [ebp - 0x7c]
push 9
push eax
push 0x59
push 0x400
call edi
test eax, eax
je 0x56dc0c
lea ecx, [ebp - 0x5c]
push 9
push ecx
push 0x5a
push 0x400
call edi
test eax, eax
je 0x56dc0c
mov ecx, dword [esi + 0xb0]
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x7c]
push edx
push eax
add ecx, 0x33c
push str._s__s
push ecx
call fcn.005fc86b
add esp, 0x10
jmp 0x56dc26
mov edx, dword [esi + 0xb0]
push str.en_US
add edx, 0x33c
push edx
call fcn.005fc86b
add esp, 8
mov eax, dword [0x6cd768]
mov dword [ebp - 0x50], eax
mov edx, dword [esi + 0xb0]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 0xb
mov edi, dword [edx + 0x33c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x56dc62
mov ecx, dword [edx + 0x33c]
lea edx, [ebp - 0x50]
push ecx
push str.Accept_Language:__s_r_n
push edx
call fcn.005fc86b
add esp, 0xc
mov eax, dword [0x6cd768]
mov dword [ebp - 0x44], eax
mov edx, dword [esi + 0xb0]
or ecx, 0xffffffff
xor eax, eax
mov bl, 0xc
mov edi, dword [edx + 0x340]
mov byte [ebp - 4], bl
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x56dca1
mov ecx, dword [edx + 0x340]
lea edx, [ebp - 0x44]
push ecx
push str.Origin:__s_r_n
push edx
call fcn.005fc86b
add esp, 0xc
jmp 0x56dd20
mov eax, dword [edx + 0x18]
test eax, eax
je 0x56dd20
mov al, byte [edx + 0x31a]
test al, al
jne 0x56dd20
mov eax, dword [0x6cd768]
mov dword [ebp - 0x18], eax
mov ecx, dword [edx + 0x18]
lea edx, [ebp - 0x18]
push ecx
push 0x6a10a0
push edx
mov byte [ebp - 4], 0xd
call fcn.005fc86b
mov eax, dword [ebp - 0x18]
add esp, 0xc
push 0x6a116c
push eax
call fcn.005e72b0
add esp, 8
test eax, eax
je 0x56dd15
add eax, 3
push 0x6a1200
push eax
call fcn.005e8940
add esp, 8
test eax, eax
je 0x56dd15
mov byte [eax], 0
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x44]
push str.Origin:__s_r_n
push edx
call fcn.005fc86b
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00603a3c
mov eax, dword [0x6cd768]
mov dword [ebp - 0x38], eax
mov edx, dword [esi + 0xb0]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 0xe
mov edi, dword [edx + 0x348]
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x56dd5e
mov ecx, dword [edx + 0x348]
lea edx, [ebp - 0x38]
push ecx
push str.Accept_Charset:__s_r_n
push edx
call fcn.005fc86b
add esp, 0xc
jmp 0x56dd6f
lea eax, [ebp - 0x38]
push str.Accept_Charset:__r_n
push eax
call fcn.005fc86b
add esp, 8
mov ecx, dword [0x6cd768]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0xf
test eax, eax
je 0x56dd91
mov dword [ebp - 0x20], str.Cache_Control:_no_cache_r_nPragma:_no_cache_r_n
mov edx, 0x6d1c98
jmp 0x56dd99
mov edx, 0x6d1c98
mov dword [ebp - 0x20], edx
mov eax, dword [esi + 0x3208]
mov dword [ebp - 0x28], 0x6a1db0
test eax, eax
jne 0x56ddad
mov dword [ebp - 0x28], edx
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x56ddb7
mov dword [ebp - 0x18], edx
test eax, eax
mov dword [ebp - 0x60], str.Cookie:
jne 0x56ddc5
mov dword [ebp - 0x60], edx
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x18a]
test cl, cl
je 0x56dddd
mov edi, dword [esi + 0x3214]
jmp 0x56dde3
mov edi, dword [esi + 0x3294]
mov dword [ebp - 0x64], edi
mov edi, dword [esi + 0x3294]
mov ebx, dword [edi - 8]
test ebx, ebx
je 0x56de12
test cl, cl
sete cl
test cl, cl
je 0x56de12
mov ebx, dword [esi + 0x3298]
mov dword [ebp - 0x68], str.Connection:_Keep_Alive_r_n
test ebx, ebx
sete cl
test cl, cl
jne 0x56de15
mov dword [ebp - 0x68], edx
mov cl, byte [eax + 0x315]
test cl, cl
jne 0x56de29
mov cl, byte [eax + 0x316]
test cl, cl
je 0x56de3b
mov bl, byte [eax + 0x318]
mov dword [ebp - 0x40], edx
test bl, bl
sete cl
test cl, cl
jne 0x56de42
mov dword [ebp - 0x40], str.Accept_Encoding:_identity_r_n
mov edx, dword [eax + 0x344]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x56de5a
mov edi, edx
jmp 0x56de71
push 0x6c2098
lea ecx, [ebp - 0x58]
call fcn.00603aaa
or dword [ebp - 0x14], 4
mov edi, dword [eax]
mov byte [ebp - 4], 0x10
mov eax, dword [esi + 0xb4]
test eax, eax
jne 0x56de97
mov edx, dword [esi + 0xb0]
lea ecx, [ebp - 0x70]
mov eax, dword [edx]
push eax
call fcn.00603aaa
or dword [ebp - 0x14], 8
mov dword [ebp - 4], 0x11
mov edx, dword [eax]
mov eax, dword [ebp + 8]
test eax, eax
je 0x56dea7
mov ecx, str.HEAD
jmp 0x56decb
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x170]
test cl, cl
jne 0x56dec6
mov cl, byte [eax + 0x184]
test cl, cl
mov ecx, 0x6c22d0
je 0x56decb
mov ecx, str.POST
mov eax, dword [esi + 0xb0]
mov ebx, dword [eax + 0x174]
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 - 0x130]
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 + 0x178]
mov eax, dword [esi + 0x3204]
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.005fc86b
mov ebx, dword [ebp - 0x14]
add esp, 0x60
test bl, 8
mov dword [ebp - 4], 0x10
je 0x56df5d
and ebx, 0xfffffff7
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x14], ebx
call fcn.00603a3c
test bl, 4
mov dword [ebp - 4], 0xf
je 0x56df71
lea ecx, [ebp - 0x58]
call fcn.00603a3c
mov edx, dword [esi + 0x54]
mov ebx, dword [esi + 0x50]
test edx, edx
jg 0x56df8b
jl 0x56df81
test ebx, ebx
ja 0x56df8b
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x64]
or eax, ecx
je 0x56dfe8
mov ecx, dword [0x6cd768]
mov dword [ebp - 0x14], ecx
lea edi, [ebp - 0x130]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 0x12
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x123]
jne 0x56dfb5
mov eax, 0x6a1db0
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.005fc86b
mov eax, dword [ebp - 0x14]
add esp, 0x1c
mov ecx, esi
push eax
call fcn.0054d2a0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xf
call fcn.00603a3c
mov ecx, esi
mov dword [esi + 0x3238], 0
mov byte [esi + 0xc8], 0
mov dword [esi + 0x31e4], 1
call fcn.0054f6f0
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x8c], 4
cmp eax, 2
jne 0x56e061
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.005cd440
mov edi, eax
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x184]
test cl, cl
je 0x56e0c3
mov ecx, dword [eax + 0x17c]
test ecx, ecx
je 0x56e0c3
mov edx, dword [eax + 0x180]
push edx
push ecx
mov ecx, esi
call fcn.005cd440
jmp 0x56e0c3
mov eax, dword [ebp + 8]
mov edx, str.send___HEAD
test eax, eax
jne 0x56e072
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 + 0x31e0]
push eax
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.0054d360
mov edi, eax
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x184]
test cl, cl
je 0x56e0c3
mov ecx, dword [eax + 0x17c]
test ecx, ecx
je 0x56e0c3
mov edx, dword [eax + 0x180]
mov eax, dword [esi + 0x31e0]
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.00603a3c
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xc
call fcn.00603a3c
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.00603a3c
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xa
call fcn.00603a3c
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 9
call fcn.00603a3c
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.00603a3c
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.00603a3c
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.00603a3c
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00603a3c
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