Function at 0x56b0e0
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 0x62bb3c
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 0x56b183
mov cl, byte [eax + 0x18b]
test cl, cl
je 0x56b14c
mov edi, dword [eax + 0x2c0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x56b183
mov byte [ebp - 0x19], 1
jmp 0x56b183
mov ecx, dword [esi + 0x3298]
cmp ecx, ebx
je 0x56b15e
cmp dword [esi + 0x329c], ebx
je 0x56b183
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.005753d0
mov eax, dword [ebp + 8]
push 1
cmp eax, ebx
je 0x56b194
mov eax, dword [0x6f7504]
push eax
jmp 0x56b19b
mov ecx, dword [0x6f7500]
push ecx
mov ecx, esi
call fcn.0054b020
mov ecx, esi
call fcn.005730a0
mov ecx, esi
call fcn.005743d0
cmp eax, ebx
jne 0x56bf3a
mov al, byte [ebp - 0x19]
test al, al
je 0x56b436
mov byte [esi + 0x3290], 1
mov edx, dword [0x6f175c]
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.005fa6fb
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 [0x6f5cb8]
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.00553040
mov eax, dword [esi + 0xb0]
add esp, 0x1c
mov cl, byte [eax + 0x170]
test cl, cl
jne 0x56b280
mov cl, byte [eax + 0x184]
mov edi, 0x6e6294
test cl, cl
je 0x56b285
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.005531a0
mov eax, dword [0x6f175c]
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 0x56b30d
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.005fa6fb
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 0x56b33d
mov ecx, dword [edx + 0x2d4]
lea edx, [ebp - 0x28]
push ecx
push str.__opaque__s_
push edx
call fcn.005fa6fb
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 0x56b368
push 0x6f5cb8
lea ecx, [ebp - 0x40]
call fcn.0060193a
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 0x56b385
mov ecx, dword [ebp - 0x20]
jmp 0x56b39f
push 0x6f5cb8
lea ecx, [ebp - 0x24]
call fcn.0060193a
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.005fa6fb
mov ebx, dword [ebp - 0x14]
add esp, 0x24
test bl, 2
mov dword [ebp - 4], 4
je 0x56b3f8
and ebx, 0xfffffffd
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], ebx
call fcn.006018cc
test bl, 1
mov dword [ebp - 4], 3
je 0x56b412
and ebx, 0xfffffffe
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x14], ebx
call fcn.006018cc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.006018cc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.006018cc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.006018cc
mov ebx, dword [esi + 0xb0]
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov al, byte [ebx + 0x305]
test al, al
je 0x56b452
mov dword [ebp - 0x20], 1
mov dword [esi + 0x3278], ecx
mov dword [esi + 0x327c], ecx
cmp dword [ebx + 0x2fc], 8
jne 0x56b4ae
mov eax, dword [esi + 0x90]
cmp eax, ecx
je 0x56b4ae
mov edx, dword [eax + 0x50]
mov edi, dword [eax + 0x54]
mov ecx, edx
or ecx, edi
je 0x56b4ae
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.005e5bb8
add esp, 0x18
jmp 0x56b6e7
mov al, byte [esi + 0x31ef]
test al, al
je 0x56b4d1
lea ecx, [ebp - 0x130]
push str.Range:_bytes0__r_n
push ecx
call fcn.005e5bb8
add esp, 8
jmp 0x56b6e7
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
test eax, eax
jg 0x56b524
jl 0x56b4e1
test ecx, ecx
ja 0x56b524
mov al, byte [esi + 0xca]
test al, al
je 0x56b504
lea edx, [ebp - 0x130]
push str.Range:_bytes0__r_n
push edx
call fcn.005e5bb8
add esp, 8
jmp 0x56b6e7
lea eax, [ebp - 0x130]
push 0x6f5cb8
push eax
call fcn.005e5bb8
add esp, 8
mov byte [esi + 0x31ec], 0
jmp 0x56b6e7
mov edx, dword [esi + 0x31e8]
test edx, edx
je 0x56b536
mov edx, dword [edx + 0xb0]
jmp 0x56b538
xor edx, edx
mov edi, dword [esi + 0x48]
or edi, dword [esi + 0x4c]
je 0x56b651
test edx, edx
je 0x56b651
mov edx, dword [ebx + 0x2dc]
test edx, edx
je 0x56b65b
mov ecx, esi
call fcn.00574320
mov edi, eax
mov eax, dword [esi + 0x31e8]
test eax, eax
mov ecx, edx
je 0x56b5ab
mov dl, byte [eax + 0x241]
test dl, dl
je 0x56b581
add edi, 1
adc ecx, 0
jmp 0x56b5ab
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
sub edx, 1
sbb eax, 0
cmp eax, ecx
jl 0x56b5ab
jg 0x56b597
cmp edx, edi
jbe 0x56b5ab
add edi, 0x40
adc ecx, 0
cmp eax, ecx
jl 0x56b5a7
jg 0x56b5ab
cmp edx, edi
ja 0x56b5ab
mov edi, edx
mov ecx, eax
mov al, byte [esi + 0xc0]
test al, al
mov eax, dword [esi + 0x50]
je 0x56b5c3
mov edx, dword [esi + 0x54]
add eax, 0x30
adc edx, 0
jmp 0x56b5c6
mov edx, dword [esi + 0x54]
mov dword [esi + 0x3278], eax
mov al, byte [esi + 0xc7]
test al, al
mov dword [esi + 0x327c], edx
je 0x56b621
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 0x56b61a
jg 0x56b602
cmp edx, dword [ebp - 0x5c]
jb 0x56b61a
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 0x56b621
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.005e5bb8
add esp, 0x18
mov byte [esi + 0x31f4], 1
jmp 0x56b6e7
mov edx, dword [ebx + 0x2dc]
test edx, edx
jne 0x56b662
mov dword [ebp - 0x20], 1
mov dl, byte [esi + 0xc0]
test dl, dl
je 0x56b672
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 0x56b6be
mov eax, dword [esi + 0x17c]
mov ecx, dword [esi + 0x327c]
mov edi, dword [esi + 0x3278]
cdq
cmp ecx, edx
jl 0x56b6b7
jg 0x56b6a5
cmp edi, eax
jb 0x56b6b7
sub edi, eax
sbb ecx, edx
mov dword [esi + 0x3278], edi
mov dword [esi + 0x327c], ecx
jmp 0x56b6be
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.005e5bb8
add esp, 0x10
mov byte [esi + 0x31f4], 0
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x56b6f6
mov ecx, dword [eax + 0xc]
jmp 0x56b6ff
mov ecx, dword [esi + 0xb0]
mov ecx, dword [ecx + 0x14]
test eax, eax
je 0x56b708
mov eax, dword [eax + 0x10]
jmp 0x56b711
mov edx, dword [esi + 0xb0]
mov eax, dword [edx + 0x24]
cmp ecx, 0x50
mov dword [ebp - 0x24], eax
jne 0x56b796
cmp eax, 1
je 0x56b7a7
push ecx
lea ecx, [ebp - 0x8c]
push str.:_ld
push ecx
call fcn.005e5bb8
add esp, 0xc
mov edx, dword [0x6f175c]
mov dword [ebp - 0x2c], edx
mov eax, dword [esi + 0xb0]
mov byte [ebp - 4], 6
mov cl, byte [eax + 0x31a]
test cl, cl
je 0x56b75e
mov cl, byte [eax + 0x31c]
test cl, cl
jne 0x56b7c0
mov eax, dword [eax + 0x18]
test eax, eax
je 0x56b7c0
push 7
push str.file:__
push eax
call fcn.005e89c0
add esp, 0xc
test eax, eax
je 0x56b7c0
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.005fa6fb
add esp, 0xc
jmp 0x56b7cd
cmp ecx, 0x1bb
jne 0x56b722
cmp eax, 2
jne 0x56b722
lea eax, [ebp - 0x8c]
push 0x6f5cb8
push eax
call fcn.005e5bb8
add esp, 8
jmp 0x56b737
push 0x6f5cb8
lea ecx, [ebp - 0x2c]
call fcn.00601a55
push 0x6f5cb8
lea ecx, [ebp - 0x4c]
call fcn.0060193a
mov eax, dword [esi + 0xb0]
mov byte [ebp - 4], 7
mov cl, byte [eax + 0x31f]
test cl, cl
je 0x56b844
mov edi, dword [eax + 0x20]
test edi, edi
je 0x56b844
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jle 0x56b844
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 0x56b81f
cmp dl, 0xd
jne 0x56b824
mov byte [eax], 0
jmp 0x56b7fe
cmp ecx, 1
jle 0x56b844
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.005fa6fb
add esp, 0xc
mov eax, dword [0x6f175c]
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 0x56b882
mov ecx, dword [edx + 0xd0]
lea edx, [ebp - 0x30]
push ecx
push 0x6c5098
push edx
call fcn.005fa6fb
add esp, 0xc
jmp 0x56b893
lea eax, [ebp - 0x30]
push str.application_x_www_form_urlencoded
push eax
call fcn.005fa6fb
add esp, 8
mov ecx, dword [0x6f175c]
mov dword [ebp - 0x34], ecx
mov eax, dword [esi + 0xb0]
mov byte [ebp - 4], 9
mov cl, byte [eax + 0x170]
test cl, cl
je 0x56b8cf
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.005fa6fb
add esp, 0x10
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x184]
test cl, cl
je 0x56b8fb
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.005fa6fb
add esp, 0x10
mov edx, dword [0x6f175c]
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 0x56b938
mov eax, dword [edx + 0x338]
lea ecx, [ebp - 0x48]
push eax
push str.Cookie2:__s_r_n
push ecx
call fcn.005fa6fb
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 0x56ba06
mov eax, dword [0x6f6334]
test eax, eax
je 0x56b99c
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 0x56b9a2
mov edx, dword [esi + 0xb0]
lea ecx, [ebp - 0x1d8]
push ecx
add edx, 0x33c
push 0x6c5098
push edx
call fcn.005fa6fb
add esp, 0xc
jmp 0x56ba06
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 0x56b9ec
lea ecx, [ebp - 0x5c]
push 9
push ecx
push 0x5a
push 0x400
call edi
test eax, eax
je 0x56b9ec
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.005fa6fb
add esp, 0x10
jmp 0x56ba06
mov edx, dword [esi + 0xb0]
push str.en_US
add edx, 0x33c
push edx
call fcn.005fa6fb
add esp, 8
mov eax, dword [0x6f175c]
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 0x56ba42
mov ecx, dword [edx + 0x33c]
lea edx, [ebp - 0x50]
push ecx
push str.Accept_Language:__s_r_n
push edx
call fcn.005fa6fb
add esp, 0xc
mov eax, dword [0x6f175c]
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 0x56ba81
mov ecx, dword [edx + 0x340]
lea edx, [ebp - 0x44]
push ecx
push str.Origin:__s_r_n
push edx
call fcn.005fa6fb
add esp, 0xc
jmp 0x56bb00
mov eax, dword [edx + 0x18]
test eax, eax
je 0x56bb00
mov al, byte [edx + 0x31a]
test al, al
jne 0x56bb00
mov eax, dword [0x6f175c]
mov dword [ebp - 0x18], eax
mov ecx, dword [edx + 0x18]
lea edx, [ebp - 0x18]
push ecx
push 0x6c5098
push edx
mov byte [ebp - 4], 0xd
call fcn.005fa6fb
mov eax, dword [ebp - 0x18]
add esp, 0xc
push 0x6c5164
push eax
call fcn.005e5290
add esp, 8
test eax, eax
je 0x56baf5
add eax, 3
push 0x6c51f8
push eax
call fcn.005e6920
add esp, 8
test eax, eax
je 0x56baf5
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.005fa6fb
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.006018cc
mov eax, dword [0x6f175c]
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 0x56bb3e
mov ecx, dword [edx + 0x348]
lea edx, [ebp - 0x38]
push ecx
push str.Accept_Charset:__s_r_n
push edx
call fcn.005fa6fb
add esp, 0xc
jmp 0x56bb4f
lea eax, [ebp - 0x38]
push str.Accept_Charset:__r_n
push eax
call fcn.005fa6fb
add esp, 8
mov ecx, dword [0x6f175c]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0xf
test eax, eax
je 0x56bb71
mov dword [ebp - 0x20], str.Cache_Control:_no_cache_r_nPragma:_no_cache_r_n
mov edx, 0x6f5cb8
jmp 0x56bb79
mov edx, 0x6f5cb8
mov dword [ebp - 0x20], edx
mov eax, dword [esi + 0x3208]
mov dword [ebp - 0x28], 0x6c5da8
test eax, eax
jne 0x56bb8d
mov dword [ebp - 0x28], edx
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x56bb97
mov dword [ebp - 0x18], edx
test eax, eax
mov dword [ebp - 0x60], str.Cookie:
jne 0x56bba5
mov dword [ebp - 0x60], edx
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x18a]
test cl, cl
je 0x56bbbd
mov edi, dword [esi + 0x3214]
jmp 0x56bbc3
mov edi, dword [esi + 0x3294]
mov dword [ebp - 0x64], edi
mov edi, dword [esi + 0x3294]
mov ebx, dword [edi - 8]
test ebx, ebx
je 0x56bbf2
test cl, cl
sete cl
test cl, cl
je 0x56bbf2
mov ebx, dword [esi + 0x3298]
mov dword [ebp - 0x68], str.Connection:_Keep_Alive_r_n
test ebx, ebx
sete cl
test cl, cl
jne 0x56bbf5
mov dword [ebp - 0x68], edx
mov cl, byte [eax + 0x315]
test cl, cl
jne 0x56bc09
mov cl, byte [eax + 0x316]
test cl, cl
je 0x56bc1b
mov bl, byte [eax + 0x318]
mov dword [ebp - 0x40], edx
test bl, bl
sete cl
test cl, cl
jne 0x56bc22
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 0x56bc3a
mov edi, edx
jmp 0x56bc51
push 0x6e605c
lea ecx, [ebp - 0x58]
call fcn.0060193a
or dword [ebp - 0x14], 4
mov edi, dword [eax]
mov byte [ebp - 4], 0x10
mov eax, dword [esi + 0xb4]
test eax, eax
jne 0x56bc77
mov edx, dword [esi + 0xb0]
lea ecx, [ebp - 0x70]
mov eax, dword [edx]
push eax
call fcn.0060193a
or dword [ebp - 0x14], 8
mov dword [ebp - 4], 0x11
mov edx, dword [eax]
mov eax, dword [ebp + 8]
test eax, eax
je 0x56bc87
mov ecx, str.HEAD
jmp 0x56bcab
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x170]
test cl, cl
jne 0x56bca6
mov cl, byte [eax + 0x184]
test cl, cl
mov ecx, 0x6e6294
je 0x56bcab
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.005fa6fb
mov ebx, dword [ebp - 0x14]
add esp, 0x60
test bl, 8
mov dword [ebp - 4], 0x10
je 0x56bd3d
and ebx, 0xfffffff7
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x14], ebx
call fcn.006018cc
test bl, 4
mov dword [ebp - 4], 0xf
je 0x56bd51
lea ecx, [ebp - 0x58]
call fcn.006018cc
mov edx, dword [esi + 0x54]
mov ebx, dword [esi + 0x50]
test edx, edx
jg 0x56bd6b
jl 0x56bd61
test ebx, ebx
ja 0x56bd6b
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x64]
or eax, ecx
je 0x56bdc8
mov ecx, dword [0x6f175c]
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 0x56bd95
mov eax, 0x6c5da8
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.005fa6fb
mov eax, dword [ebp - 0x14]
add esp, 0x1c
mov ecx, esi
push eax
call fcn.0054b0f0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xf
call fcn.006018cc
mov ecx, esi
mov dword [esi + 0x3238], 0
mov byte [esi + 0xc8], 0
mov dword [esi + 0x31e4], 1
call fcn.0054d540
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x8c], 4
cmp eax, 2
jne 0x56be41
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.005cb3f0
mov edi, eax
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x184]
test cl, cl
je 0x56bea3
mov ecx, dword [eax + 0x17c]
test ecx, ecx
je 0x56bea3
mov edx, dword [eax + 0x180]
push edx
push ecx
mov ecx, esi
call fcn.005cb3f0
jmp 0x56bea3
mov eax, dword [ebp + 8]
mov edx, str.send___HEAD
test eax, eax
jne 0x56be52
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.0054b1b0
mov edi, eax
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x184]
test cl, cl
je 0x56bea3
mov ecx, dword [eax + 0x17c]
test ecx, ecx
je 0x56bea3
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.006018cc
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xc
call fcn.006018cc
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.006018cc
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xa
call fcn.006018cc
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 9
call fcn.006018cc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.006018cc
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.006018cc
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.006018cc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.006018cc
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