Function at 0x408800
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x567fae
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x5c3678]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push esi
push edi
mov eax, dword [0x5c3678]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x20], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [esi]
sub eax, 0x10
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], edx
call fcn.00423cf0
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
lea eax, [esp + 0x14]
push eax
lea eax, [ebx + 4]
mov ecx, esi
mov dword [esp + 0x124], ebx
call fcn.00420540
mov eax, dword [eax]
mov ecx, str.http
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4088b6
cmp dx, bx
je 0x4088b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4088b6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x408890
xor eax, eax
jmp 0x4088bb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
mov eax, dword [esp + 0x14]
sete byte [esp + 0x1b]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4088e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1b], bl
je 0x40894d
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jl 0x408917
push str.https:__
push eax
call fcn.0053dece
add esp, 8
cmp eax, ebx
je 0x408917
sub eax, dword [esi]
sar eax, 1
cmp eax, 0xffffffff
je 0x408917
push eax
lea ecx, [esp + 0x14]
push ecx
mov eax, 8
jmp 0x408944
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jl 0x40894d
push str.http:__
push eax
call fcn.0053dece
add esp, 8
cmp eax, ebx
je 0x40894d
sub eax, dword [esi]
sar eax, 1
cmp eax, 0xffffffff
je 0x40894d
push eax
lea edx, [esp + 0x14]
push edx
mov eax, 7
call fcn.0040e650
mov edi, dword [esp + 0x10]
mov eax, dword [0x5cc90c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5cc90c
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x120], 1
mov eax, dword [edi - 0xc]
cmp eax, ebx
jl 0x4089d8
push 0x58a644
push edi
call fcn.0053dece
add esp, 8
cmp eax, ebx
je 0x4089d8
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
je 0x4089d8
lea ecx, [eax + 1]
lea esi, [esp + 0x14]
lea edx, [esp + 0x10]
call fcn.00420520
lea edi, [esp + 0x1c]
mov byte [esp + 0x120], 2
call fcn.00423c70
mov byte [esp + 0x120], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4089e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4089e5
lea eax, [esp + 0x10]
lea edi, [esp + 0x1c]
call fcn.00423c70
mov edx, dword [0x5cc90c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5cc90c
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x120], 3
mov eax, dword [ecx]
mov edx, dword [esp + 0x1c]
push eax
push edx
push 0x580530
lea edi, [esp + 0x30]
call fcn.004235e0
add esp, 0xc
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
mov byte [esp + 0x120], 4
mov edi, dword [esp + 0x24]
xor eax, eax
mov word [esp + 0x38], ax
mov eax, edi
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x408a55
sub eax, edx
sar eax, 1
push eax
push edi
lea esi, [esp + 0x3c]
call fcn.0040ebb0
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
mov byte [esp + 0x124], 5
call fcn.00404d80
add esp, 4
mov byte [esp + 0x120], 4
cmp dword [esp + 0x4c], 8
jb 0x408aa2
mov edx, dword [esp + 0x38]
push edx
call fcn.0053c152
add esp, 4
mov ecx, dword [esp + 0x64]
cmp ecx, ebx
jne 0x408b5e
mov esi, dword [esp + 0x20]
push esi
mov ecx, 0x57fde0
call fcn.00423950
cmp dword [esp + 0x68], 0x10
jb 0x408ad1
mov eax, dword [esp + 0x54]
push eax
call fcn.0053c152
add esp, 4
lea eax, [edi - 0x10]
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
mov byte [esp + 0x120], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408b05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x120], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408b2c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x120], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408b57
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x408e88
cmp dword [esp + 0x68], 0x10
mov eax, dword [esp + 0x54]
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xa4], 0x67452301
mov dword [esp + 0xa8], 0xefcdab89
mov dword [esp + 0xac], 0x98badcfe
mov dword [esp + 0xb0], 0x10325476
mov dword [esp + 0xb4], 0xc3d2e1f0
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], ebx
jae 0x408bc7
lea eax, [esp + 0x54]
push ecx
lea esi, [esp + 0xa8]
call fcn.004041f0
add esp, 4
mov ecx, esi
push ecx
lea edi, [esp + 0x8c]
call fcn.004048f0
mov edi, 7
xor edx, edx
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], dx
push 0x18
lea ecx, [edi + 1]
lea esi, [esp + 0x38]
lea edx, [esp + 0x8c]
mov byte [esp + 0x124], 7
call fcn.0040ea50
lea ecx, [esp + 0x6c]
push ecx
push eax
mov byte [esp + 0x128], 8
call fcn.00404c30
mov esi, 0x10
add esp, 8
mov byte [esp + 0x120], 7
cmp dword [esp + 0x4c], esi
jb 0x408c53
mov edx, dword [esp + 0x38]
push edx
call fcn.0053c152
add esp, 4
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
cmp dword [esp + 0x80], ebx
jne 0x408cfa
mov eax, dword [esp + 0x20]
push eax
mov ecx, 0x57fde0
call fcn.00423950
cmp dword [esp + 0x84], 8
jb 0x408c96
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0053c152
add esp, 4
xor edx, edx
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], dx
cmp dword [esp + 0xa0], esi
jb 0x408cc4
mov eax, dword [esp + 0x8c]
push eax
call fcn.0053c152
add esp, 4
mov edi, 0xf
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
cmp dword [esp + 0x68], esi
jb 0x408cf1
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0053c152
add esp, 4
mov dword [esp + 0x68], edi
jmp 0x408e02
mov edx, dword [0x5cc90c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5cc90c
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x120], 9
cmp dword [esp + 0x84], 8
mov edx, dword [esp + 0x70]
jae 0x408d2b
lea edx, [esp + 0x70]
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx]
push edx
push eax
push ecx
push 0x589e1c
lea edi, [esp + 0x24]
call fcn.004235e0
mov esi, dword [esp + 0x24]
add esi, 0xfffffff0
add esp, 0x10
mov eax, esi
call fcn.00423cf0
mov edx, dword [esp + 0x20]
add eax, 0x10
mov dword [edx], eax
mov byte [esp + 0x120], 7
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x408d83
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
cmp dword [esp + 0x84], 8
jb 0x408d9a
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0053c152
add esp, 4
xor edx, edx
mov edi, 0x10
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], dx
cmp dword [esp + 0xa0], edi
jb 0x408dd1
mov eax, dword [esp + 0x8c]
push eax
call fcn.0053c152
add esp, 4
mov esi, 0xf
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
cmp dword [esp + 0x68], edi
jb 0x408dfe
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0053c152
add esp, 4
mov dword [esp + 0x68], esi
mov byte [esp + 0x120], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
mov byte [esp + 0x54], bl
mov dword [esp + 0x64], ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408e32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x120], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408e59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x120], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408e84
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.0053c15d
mov esp, ebp
pop ebp
ret