Function at 0x56c550
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 0x62b49c
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 0x56c5f3
mov cl, byte [eax + 0x18b]
test cl, cl
je 0x56c5bc
mov edi, dword [eax + 0x2c0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x56c5f3
mov byte [ebp - 0x19], 1
jmp 0x56c5f3
mov ecx, dword [esi + 0x3298]
cmp ecx, ebx
je 0x56c5ce
cmp dword [esi + 0x329c], ebx
je 0x56c5f3
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.005766d0
mov eax, dword [ebp + 8]
push 1
cmp eax, ebx
je 0x56c604
mov eax, dword [0x6d24bc]
push eax
jmp 0x56c60b
mov ecx, dword [0x6d24b8]
push ecx
mov ecx, esi
call fcn.0054c420
mov ecx, esi
call fcn.00574510
mov ecx, esi
call fcn.00575840
cmp eax, ebx
jne 0x56d3aa
mov al, byte [ebp - 0x19]
test al, al
je 0x56c8a6
mov byte [esi + 0x3290], 1
mov edx, dword [0x6cc708]
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.005fb90b
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 [0x6d0c38]
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.00554440
mov eax, dword [esi + 0xb0]
add esp, 0x1c
mov cl, byte [eax + 0x170]
test cl, cl
jne 0x56c6f0
mov cl, byte [eax + 0x184]
mov edi, 0x6c1230
test cl, cl
je 0x56c6f5
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.005545a0
mov eax, dword [0x6cc708]
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 0x56c77d
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.005fb90b
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 0x56c7ad
mov ecx, dword [edx + 0x2d4]
lea edx, [ebp - 0x28]
push ecx
push str.__opaque__s_
push edx
call fcn.005fb90b
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 0x56c7d8
push 0x6d0c38
lea ecx, [ebp - 0x40]
call fcn.00602b44
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 0x56c7f5
mov ecx, dword [ebp - 0x20]
jmp 0x56c80f
push 0x6d0c38
lea ecx, [ebp - 0x24]
call fcn.00602b44
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.005fb90b
mov ebx, dword [ebp - 0x14]
add esp, 0x24
test bl, 2
mov dword [ebp - 4], 4
je 0x56c868
and ebx, 0xfffffffd
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], ebx
call fcn.00602ad6
test bl, 1
mov dword [ebp - 4], 3
je 0x56c882
and ebx, 0xfffffffe
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x14], ebx
call fcn.00602ad6
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00602ad6
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00602ad6
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00602ad6
mov ebx, dword [esi + 0xb0]
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov al, byte [ebx + 0x305]
test al, al
je 0x56c8c2
mov dword [ebp - 0x20], 1
mov dword [esi + 0x3278], ecx
mov dword [esi + 0x327c], ecx
cmp dword [ebx + 0x2fc], 8
jne 0x56c91e
mov eax, dword [esi + 0x90]
cmp eax, ecx
je 0x56c91e
mov edx, dword [eax + 0x50]
mov edi, dword [eax + 0x54]
mov ecx, edx
or ecx, edi
je 0x56c91e
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.005e6db3
add esp, 0x18
jmp 0x56cb57
mov al, byte [esi + 0x31ef]
test al, al
je 0x56c941
lea ecx, [ebp - 0x130]
push str.Range:_bytes0__r_n
push ecx
call fcn.005e6db3
add esp, 8
jmp 0x56cb57
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
test eax, eax
jg 0x56c994
jl 0x56c951
test ecx, ecx
ja 0x56c994
mov al, byte [esi + 0xca]
test al, al
je 0x56c974
lea edx, [ebp - 0x130]
push str.Range:_bytes0__r_n
push edx
call fcn.005e6db3
add esp, 8
jmp 0x56cb57
lea eax, [ebp - 0x130]
push 0x6d0c38
push eax
call fcn.005e6db3
add esp, 8
mov byte [esi + 0x31ec], 0
jmp 0x56cb57
mov edx, dword [esi + 0x31e8]
test edx, edx
je 0x56c9a6
mov edx, dword [edx + 0xb0]
jmp 0x56c9a8
xor edx, edx
mov edi, dword [esi + 0x48]
or edi, dword [esi + 0x4c]
je 0x56cac1
test edx, edx
je 0x56cac1
mov edx, dword [ebx + 0x2dc]
test edx, edx
je 0x56cacb
mov ecx, esi
call fcn.00575790
mov edi, eax
mov eax, dword [esi + 0x31e8]
test eax, eax
mov ecx, edx
je 0x56ca1b
mov dl, byte [eax + 0x241]
test dl, dl
je 0x56c9f1
add edi, 1
adc ecx, 0
jmp 0x56ca1b
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
sub edx, 1
sbb eax, 0
cmp eax, ecx
jl 0x56ca1b
jg 0x56ca07
cmp edx, edi
jbe 0x56ca1b
add edi, 0x40
adc ecx, 0
cmp eax, ecx
jl 0x56ca17
jg 0x56ca1b
cmp edx, edi
ja 0x56ca1b
mov edi, edx
mov ecx, eax
mov al, byte [esi + 0xc0]
test al, al
mov eax, dword [esi + 0x50]
je 0x56ca33
mov edx, dword [esi + 0x54]
add eax, 0x30
adc edx, 0
jmp 0x56ca36
mov edx, dword [esi + 0x54]
mov dword [esi + 0x3278], eax
mov al, byte [esi + 0xc7]
test al, al
mov dword [esi + 0x327c], edx
je 0x56ca91
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 0x56ca8a
jg 0x56ca72
cmp edx, dword [ebp - 0x5c]
jb 0x56ca8a
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 0x56ca91
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.005e6db3
add esp, 0x18
mov byte [esi + 0x31f4], 1
jmp 0x56cb57
mov edx, dword [ebx + 0x2dc]
test edx, edx
jne 0x56cad2
mov dword [ebp - 0x20], 1
mov dl, byte [esi + 0xc0]
test dl, dl
je 0x56cae2
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 0x56cb2e
mov eax, dword [esi + 0x17c]
mov ecx, dword [esi + 0x327c]
mov edi, dword [esi + 0x3278]
cdq
cmp ecx, edx
jl 0x56cb27
jg 0x56cb15
cmp edi, eax
jb 0x56cb27
sub edi, eax
sbb ecx, edx
mov dword [esi + 0x3278], edi
mov dword [esi + 0x327c], ecx
jmp 0x56cb2e
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.005e6db3
add esp, 0x10
mov byte [esi + 0x31f4], 0
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x56cb66
mov ecx, dword [eax + 0xc]
jmp 0x56cb6f
mov ecx, dword [esi + 0xb0]
mov ecx, dword [ecx + 0x14]
test eax, eax
je 0x56cb78
mov eax, dword [eax + 0x10]
jmp 0x56cb81
mov edx, dword [esi + 0xb0]
mov eax, dword [edx + 0x24]
cmp ecx, 0x50
mov dword [ebp - 0x24], eax
jne 0x56cc06
cmp eax, 1
je 0x56cc17
push ecx
lea ecx, [ebp - 0x8c]
push str.:_ld
push ecx
call fcn.005e6db3
add esp, 0xc
mov edx, dword [0x6cc708]
mov dword [ebp - 0x2c], edx
mov eax, dword [esi + 0xb0]
mov byte [ebp - 4], 6
mov cl, byte [eax + 0x31a]
test cl, cl
je 0x56cbce
mov cl, byte [eax + 0x31c]
test cl, cl
jne 0x56cc30
mov eax, dword [eax + 0x18]
test eax, eax
je 0x56cc30
push 7
push str.file:__
push eax
call fcn.005e9bc0
add esp, 0xc
test eax, eax
je 0x56cc30
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.005fb90b
add esp, 0xc
jmp 0x56cc3d
cmp ecx, 0x1bb
jne 0x56cb92
cmp eax, 2
jne 0x56cb92
lea eax, [ebp - 0x8c]
push 0x6d0c38
push eax
call fcn.005e6db3
add esp, 8
jmp 0x56cba7
push 0x6d0c38
lea ecx, [ebp - 0x2c]
call fcn.00602c5f
push 0x6d0c38
lea ecx, [ebp - 0x4c]
call fcn.00602b44
mov eax, dword [esi + 0xb0]
mov byte [ebp - 4], 7
mov cl, byte [eax + 0x31f]
test cl, cl
je 0x56ccb4
mov edi, dword [eax + 0x20]
test edi, edi
je 0x56ccb4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jle 0x56ccb4
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 0x56cc8f
cmp dl, 0xd
jne 0x56cc94
mov byte [eax], 0
jmp 0x56cc6e
cmp ecx, 1
jle 0x56ccb4
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.005fb90b
add esp, 0xc
mov eax, dword [0x6cc708]
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 0x56ccf2
mov ecx, dword [edx + 0xd0]
lea edx, [ebp - 0x30]
push ecx
push 0x6a00a0
push edx
call fcn.005fb90b
add esp, 0xc
jmp 0x56cd03
lea eax, [ebp - 0x30]
push str.application_x_www_form_urlencoded
push eax
call fcn.005fb90b
add esp, 8
mov ecx, dword [0x6cc708]
mov dword [ebp - 0x34], ecx
mov eax, dword [esi + 0xb0]
mov byte [ebp - 4], 9
mov cl, byte [eax + 0x170]
test cl, cl
je 0x56cd3f
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.005fb90b
add esp, 0x10
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x184]
test cl, cl
je 0x56cd6b
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.005fb90b
add esp, 0x10
mov edx, dword [0x6cc708]
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 0x56cda8
mov eax, dword [edx + 0x338]
lea ecx, [ebp - 0x48]
push eax
push str.Cookie2:__s_r_n
push ecx
call fcn.005fb90b
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 0x56ce76
mov eax, dword [0x6d12c4]
test eax, eax
je 0x56ce0c
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 0x56ce12
mov edx, dword [esi + 0xb0]
lea ecx, [ebp - 0x1d8]
push ecx
add edx, 0x33c
push 0x6a00a0
push edx
call fcn.005fb90b
add esp, 0xc
jmp 0x56ce76
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 0x56ce5c
lea ecx, [ebp - 0x5c]
push 9
push ecx
push 0x5a
push 0x400
call edi
test eax, eax
je 0x56ce5c
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.005fb90b
add esp, 0x10
jmp 0x56ce76
mov edx, dword [esi + 0xb0]
push str.en_US
add edx, 0x33c
push edx
call fcn.005fb90b
add esp, 8
mov eax, dword [0x6cc708]
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 0x56ceb2
mov ecx, dword [edx + 0x33c]
lea edx, [ebp - 0x50]
push ecx
push str.Accept_Language:__s_r_n
push edx
call fcn.005fb90b
add esp, 0xc
mov eax, dword [0x6cc708]
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 0x56cef1
mov ecx, dword [edx + 0x340]
lea edx, [ebp - 0x44]
push ecx
push str.Origin:__s_r_n
push edx
call fcn.005fb90b
add esp, 0xc
jmp 0x56cf70
mov eax, dword [edx + 0x18]
test eax, eax
je 0x56cf70
mov al, byte [edx + 0x31a]
test al, al
jne 0x56cf70
mov eax, dword [0x6cc708]
mov dword [ebp - 0x18], eax
mov ecx, dword [edx + 0x18]
lea edx, [ebp - 0x18]
push ecx
push 0x6a00a0
push edx
mov byte [ebp - 4], 0xd
call fcn.005fb90b
mov eax, dword [ebp - 0x18]
add esp, 0xc
push 0x6a016c
push eax
call fcn.005e6490
add esp, 8
test eax, eax
je 0x56cf65
add eax, 3
push 0x6a0200
push eax
call fcn.005e7b20
add esp, 8
test eax, eax
je 0x56cf65
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.005fb90b
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00602ad6
mov eax, dword [0x6cc708]
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 0x56cfae
mov ecx, dword [edx + 0x348]
lea edx, [ebp - 0x38]
push ecx
push str.Accept_Charset:__s_r_n
push edx
call fcn.005fb90b
add esp, 0xc
jmp 0x56cfbf
lea eax, [ebp - 0x38]
push str.Accept_Charset:__r_n
push eax
call fcn.005fb90b
add esp, 8
mov ecx, dword [0x6cc708]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0xf
test eax, eax
je 0x56cfe1
mov dword [ebp - 0x20], str.Cache_Control:_no_cache_r_nPragma:_no_cache_r_n
mov edx, 0x6d0c38
jmp 0x56cfe9
mov edx, 0x6d0c38
mov dword [ebp - 0x20], edx
mov eax, dword [esi + 0x3208]
mov dword [ebp - 0x28], 0x6a0db0
test eax, eax
jne 0x56cffd
mov dword [ebp - 0x28], edx
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x56d007
mov dword [ebp - 0x18], edx
test eax, eax
mov dword [ebp - 0x60], str.Cookie:
jne 0x56d015
mov dword [ebp - 0x60], edx
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x18a]
test cl, cl
je 0x56d02d
mov edi, dword [esi + 0x3214]
jmp 0x56d033
mov edi, dword [esi + 0x3294]
mov dword [ebp - 0x64], edi
mov edi, dword [esi + 0x3294]
mov ebx, dword [edi - 8]
test ebx, ebx
je 0x56d062
test cl, cl
sete cl
test cl, cl
je 0x56d062
mov ebx, dword [esi + 0x3298]
mov dword [ebp - 0x68], str.Connection:_Keep_Alive_r_n
test ebx, ebx
sete cl
test cl, cl
jne 0x56d065
mov dword [ebp - 0x68], edx
mov cl, byte [eax + 0x315]
test cl, cl
jne 0x56d079
mov cl, byte [eax + 0x316]
test cl, cl
je 0x56d08b
mov bl, byte [eax + 0x318]
mov dword [ebp - 0x40], edx
test bl, bl
sete cl
test cl, cl
jne 0x56d092
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 0x56d0aa
mov edi, edx
jmp 0x56d0c1
push 0x6c0ff8
lea ecx, [ebp - 0x58]
call fcn.00602b44
or dword [ebp - 0x14], 4
mov edi, dword [eax]
mov byte [ebp - 4], 0x10
mov eax, dword [esi + 0xb4]
test eax, eax
jne 0x56d0e7
mov edx, dword [esi + 0xb0]
lea ecx, [ebp - 0x70]
mov eax, dword [edx]
push eax
call fcn.00602b44
or dword [ebp - 0x14], 8
mov dword [ebp - 4], 0x11
mov edx, dword [eax]
mov eax, dword [ebp + 8]
test eax, eax
je 0x56d0f7
mov ecx, str.HEAD
jmp 0x56d11b
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x170]
test cl, cl
jne 0x56d116
mov cl, byte [eax + 0x184]
test cl, cl
mov ecx, 0x6c1230
je 0x56d11b
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.005fb90b
mov ebx, dword [ebp - 0x14]
add esp, 0x60
test bl, 8
mov dword [ebp - 4], 0x10
je 0x56d1ad
and ebx, 0xfffffff7
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x14], ebx
call fcn.00602ad6
test bl, 4
mov dword [ebp - 4], 0xf
je 0x56d1c1
lea ecx, [ebp - 0x58]
call fcn.00602ad6
mov edx, dword [esi + 0x54]
mov ebx, dword [esi + 0x50]
test edx, edx
jg 0x56d1db
jl 0x56d1d1
test ebx, ebx
ja 0x56d1db
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x64]
or eax, ecx
je 0x56d238
mov ecx, dword [0x6cc708]
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 0x56d205
mov eax, 0x6a0db0
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.005fb90b
mov eax, dword [ebp - 0x14]
add esp, 0x1c
mov ecx, esi
push eax
call fcn.0054c4f0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xf
call fcn.00602ad6
mov ecx, esi
mov dword [esi + 0x3238], 0
mov byte [esi + 0xc8], 0
mov dword [esi + 0x31e4], 1
call fcn.0054e940
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x8c], 4
cmp eax, 2
jne 0x56d2b1
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.005cc620
mov edi, eax
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x184]
test cl, cl
je 0x56d313
mov ecx, dword [eax + 0x17c]
test ecx, ecx
je 0x56d313
mov edx, dword [eax + 0x180]
push edx
push ecx
mov ecx, esi
call fcn.005cc620
jmp 0x56d313
mov eax, dword [ebp + 8]
mov edx, str.send___HEAD
test eax, eax
jne 0x56d2c2
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.0054c5b0
mov edi, eax
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x184]
test cl, cl
je 0x56d313
mov ecx, dword [eax + 0x17c]
test ecx, ecx
je 0x56d313
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.00602ad6
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xc
call fcn.00602ad6
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.00602ad6
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xa
call fcn.00602ad6
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 9
call fcn.00602ad6
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.00602ad6
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.00602ad6
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.00602ad6
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00602ad6
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