Function at 0x10008860
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10086baa
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x100ab06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x28]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x124], 0
push ecx
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], 0
call fcn.10001ad0
mov byte [ebp - 4], 1
mov dword [ebp - 0x114], reloc.WS2_32.dll_accept
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x114]
cmp dword [0x100aeb64], 8
mov eax, 0x100aeb50
push 0x20006
cmovae eax, dword [0x100aeb50]
push eax
call fcn.100130e0
test eax, eax
jne 0x10008f9e
push esi
push ebx
lea ecx, [ebp - 0x98]
call fcn.1000e460
mov esi, eax
push 1
mov edx, 0x100a4a00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.10002350
add esp, 0xc
mov edx, eax
mov byte [ebp - 4], 4
cmp dword [esi + 0x14], 8
jb 0x1000894e
mov esi, dword [esi]
cmp dword [edx + 0x14], 8
jb 0x10008956
mov edx, dword [edx]
mov ecx, esi
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10008960
sub ecx, edi
sar ecx, 1
push ecx
lea eax, [ecx*2 + 2]
push eax
push esi
push edx
lea ecx, [ebp - 0x114]
call fcn.10013390
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x6c]
cmp eax, 8
jb 0x1000899e
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.1000b4f0
xor eax, eax
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
mov dword [ebp - 0x70], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x84]
cmp eax, 8
jb 0x100089d4
inc eax
lea ecx, [ebp - 0x98]
push eax
push dword [ebp - 0x98]
call fcn.1000b4f0
mov ecx, dword [ebp + 0x20]
xor eax, eax
mov dword [ebp - 0x84], 7
mov dword [ebp - 0x88], 0
mov word [ebp - 0x98], ax
test ecx, ecx
je 0x10008ab2
cmp ecx, 5
jb 0x10008a1b
cmp dword [ebp + 0x24], 8
lea eax, [ebp + 0x10]
mov dword [ebp + 0x20], 5
cmovae eax, dword [ebp + 0x10]
xor ecx, ecx
mov word [eax + 0xa], cx
jmp 0x10008a2d
mov eax, 5
sub eax, ecx
lea ecx, [ebp + 0x10]
push 0
push eax
call fcn.1000b680
push 1
mov edx, 0x100a49e8
lea ecx, [ebp - 0x80]
call fcn.10002350
add esp, 4
mov edx, eax
mov byte [ebp - 4], 5
lea esi, [ebp + 0x10]
cmp dword [ebp + 0x24], 8
cmovae esi, dword [ebp + 0x10]
cmp dword [edx + 0x14], 8
jb 0x10008a58
mov edx, dword [edx]
mov ecx, esi
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10008a60
sub ecx, edi
sar ecx, 1
push ecx
lea eax, [ecx*2 + 2]
push eax
push esi
push edx
lea ecx, [ebp - 0x114]
call fcn.10013390
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x6c]
cmp eax, 8
jb 0x10008a9e
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.1000b4f0
xor eax, eax
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
push dword [ebp - 0x118]
lea ecx, [ebp - 0x98]
push dword [ebp - 0x11c]
call fcn.1000e460
mov esi, eax
push 1
mov edx, 0x100a49bc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x80]
call fcn.10002350
add esp, 0xc
mov edx, eax
mov byte [ebp - 4], 7
cmp dword [esi + 0x14], 8
jb 0x10008aef
mov esi, dword [esi]
cmp dword [edx + 0x14], 8
jb 0x10008af7
mov edx, dword [edx]
mov ecx, esi
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10008b00
sub ecx, edi
sar ecx, 1
push ecx
lea eax, [ecx*2 + 2]
push eax
push esi
push edx
lea ecx, [ebp - 0x114]
call fcn.10013390
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x6c]
cmp eax, 8
jb 0x10008b3e
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.1000b4f0
xor eax, eax
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
mov dword [ebp - 0x70], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x84]
cmp eax, 8
jb 0x10008b74
inc eax
lea ecx, [ebp - 0x98]
push eax
push dword [ebp - 0x98]
call fcn.1000b4f0
xor eax, eax
mov dword [ebp - 0x84], 7
push 0x18
mov edx, 0x100a4a04
mov dword [ebp - 0x88], 0
lea ecx, [ebp - 0xd8]
mov word [ebp - 0x98], ax
call fcn.10002350
mov edi, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x108]
push dword [ebp - 0xb4]
push ebx
call fcn.1000e460
mov esi, eax
push dword [ebp - 0x118]
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 9
push dword [ebp - 0x11c]
call fcn.1000e460
add esp, 0x14
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
jb 0x10008be7
mov eax, dword [eax]
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.1000bd60
add esp, 0xc
mov byte [ebp - 4], 0xb
cmp dword [esi + 0x14], 8
jb 0x10008c07
mov esi, dword [esi]
push esi
mov edx, eax
lea ecx, [ebp - 0x80]
call fcn.1000bcf0
push edi
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xf0]
call fcn.1000bb80
add esp, 8
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x6c]
cmp eax, 8
jb 0x10008c40
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.1000b4f0
xor eax, eax
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x84]
cmp eax, 8
jb 0x10008c76
inc eax
lea ecx, [ebp - 0x98]
push eax
push dword [ebp - 0x98]
call fcn.1000b4f0
xor eax, eax
mov dword [ebp - 0x84], 7
mov dword [ebp - 0x88], 0
mov word [ebp - 0x98], ax
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x9c]
cmp eax, 8
jb 0x10008cb5
inc eax
lea ecx, [ebp - 0xb0]
push eax
push dword [ebp - 0xb0]
call fcn.1000b4f0
xor eax, eax
mov dword [ebp - 0x9c], 7
mov dword [ebp - 0xa0], 0
mov word [ebp - 0xb0], ax
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0xf4]
cmp eax, 8
jb 0x10008cf4
inc eax
lea ecx, [ebp - 0x108]
push eax
push dword [ebp - 0x108]
call fcn.1000b4f0
xor eax, eax
mov dword [ebp - 0xf4], 7
mov dword [ebp - 0xf8], 0
mov word [ebp - 0x108], ax
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0xc4]
cmp eax, 8
jb 0x10008d33
inc eax
lea ecx, [ebp - 0xd8]
push eax
push dword [ebp - 0xd8]
call fcn.1000b4f0
xor eax, eax
mov dword [ebp - 0xc4], 7
push ecx
lea edx, [ebp - 0xf0]
mov dword [ebp - 0xc8], 0
lea ecx, [ebp - 0x98]
mov word [ebp - 0xd8], ax
call fcn.100119d0
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x98]
cmp dword [ebp - 0x84], 0x10
lea edx, [ebp - 0xb8]
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], 0x67452301
cmovae eax, dword [ebp - 0x98]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x64], 0xefcdab89
mov dword [ebp - 0x60], 0x98badcfe
mov dword [ebp - 0x5c], 0x10325476
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0xb4], eax
call fcn.1000fd80
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0xc0]
call fcn.1000fea0
lea edx, [ebp - 0xc0]
lea ecx, [ebp - 0xb0]
call fcn.1000ffb0
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0xb0]
cmp dword [ebp - 0x9c], 0x10
lea edx, [ebp - 0xb8]
push 0
cmovae eax, dword [ebp - 0xb0]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xb4], eax
call fcn.100118f0
push 1
mov edx, 0x100a4990
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xd8]
call fcn.10002350
add esp, 0xc
mov edx, eax
mov byte [ebp - 4], 0x16
lea esi, [ebp - 0x80]
cmp dword [ebp - 0x6c], 8
cmovae esi, dword [ebp - 0x80]
cmp dword [edx + 0x14], 8
jb 0x10008e4f
mov edx, dword [edx]
mov ecx, esi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10008e54
sub ecx, edi
sar ecx, 1
push ecx
lea eax, [ecx*2 + 2]
push eax
push esi
push edx
lea ecx, [ebp - 0x114]
call fcn.10013390
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0xc4]
cmp eax, 8
jb 0x10008e9b
inc eax
lea ecx, [ebp - 0xd8]
push eax
push dword [ebp - 0xd8]
call fcn.1000b4f0
xor eax, eax
mov dword [ebp - 0xc4], 7
mov word [ebp - 0xd8], ax
mov dword [ebp - 0xc8], 0
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x6c]
cmp eax, 8
jb 0x10008ed1
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.1000b4f0
xor eax, eax
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
mov dword [ebp - 0x70], 0
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x9c]
cmp eax, 0x10
jb 0x10008f07
inc eax
lea ecx, [ebp - 0xb0]
push eax
push dword [ebp - 0xb0]
call fcn.1000b3e0
mov dword [ebp - 0x9c], 0xf
mov dword [ebp - 0xa0], 0
mov byte [ebp - 0xb0], 0
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x84]
cmp eax, 0x10
jb 0x10008f44
inc eax
lea ecx, [ebp - 0x98]
push eax
push dword [ebp - 0x98]
call fcn.1000b3e0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x84], 0xf
mov dword [ebp - 0x88], 0
mov byte [ebp - 0x98], 0
cmp eax, 8
jb 0x10008f81
inc eax
lea ecx, [ebp - 0xf0]
push eax
push dword [ebp - 0xf0]
call fcn.1000b4f0
xor eax, eax
mov dword [ebp - 0xdc], 7
mov dword [ebp - 0xe0], 0
mov word [ebp - 0xf0], ax
mov eax, dword [ebp - 0x114]
mov esi, dword [0x10088790]
test eax, eax
je 0x10008fbf
push eax
call esi
xor eax, eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x10008fde
push eax
call esi
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x10c], 0
test ecx, ecx
je 0x10008ff8
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [ebp - 4], 0x17
mov esi, dword [ebp - 0x120]
test esi, esi
je 0x10009013
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x24]
cmp eax, 8
jb 0x1000902f
inc eax
lea ecx, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
call fcn.1000b4f0
xor eax, eax
mov dword [ebp + 0x24], 7
mov dword [ebp + 0x20], 0
mov word [ebp + 0x10], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001ecda
mov esp, ebp
pop ebp
ret