Function at 0x10008dd0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008842a
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x100ac06c]
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 [0x100af984], 8
mov eax, 0x100af970
push 0x20006
cmovae eax, dword [0x100af970]
push eax
call fcn.10013da0
test eax, eax
jne 0x1000950e
push esi
push ebx
lea ecx, [ebp - 0x98]
call fcn.1000e980
mov esi, eax
push 1
mov edx, 0x100a5a00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.10002360
add esp, 0xc
mov edx, eax
mov byte [ebp - 4], 4
cmp dword [esi + 0x14], 8
jb 0x10008ebe
mov esi, dword [esi]
cmp dword [edx + 0x14], 8
jb 0x10008ec6
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 0x10008ed0
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.10014050
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x6c]
cmp eax, 8
jb 0x10008f0e
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.1000c440
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 0x10008f44
inc eax
lea ecx, [ebp - 0x98]
push eax
push dword [ebp - 0x98]
call fcn.1000c440
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 0x10009022
cmp ecx, 5
jb 0x10008f8b
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 0x10008f9d
mov eax, 5
sub eax, ecx
lea ecx, [ebp + 0x10]
push 0
push eax
call fcn.1000c5d0
push 1
mov edx, 0x100a59e8
lea ecx, [ebp - 0x80]
call fcn.10002360
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 0x10008fc8
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 0x10008fd0
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.10014050
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x6c]
cmp eax, 8
jb 0x1000900e
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.1000c440
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.1000e980
mov esi, eax
push 1
mov edx, 0x100a5984
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x80]
call fcn.10002360
add esp, 0xc
mov edx, eax
mov byte [ebp - 4], 7
cmp dword [esi + 0x14], 8
jb 0x1000905f
mov esi, dword [esi]
cmp dword [edx + 0x14], 8
jb 0x10009067
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 0x10009070
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.10014050
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x6c]
cmp eax, 8
jb 0x100090ae
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.1000c440
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 0x100090e4
inc eax
lea ecx, [ebp - 0x98]
push eax
push dword [ebp - 0x98]
call fcn.1000c440
xor eax, eax
mov dword [ebp - 0x84], 7
push 0x18
mov edx, 0x100a5a04
mov dword [ebp - 0x88], 0
lea ecx, [ebp - 0xd8]
mov word [ebp - 0x98], ax
call fcn.10002360
mov edi, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x108]
push dword [ebp - 0xb4]
push ebx
call fcn.1000e980
mov esi, eax
push dword [ebp - 0x118]
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 9
push dword [ebp - 0x11c]
call fcn.1000e980
add esp, 0x14
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
jb 0x10009157
mov eax, dword [eax]
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.1000ccb0
add esp, 0xc
mov byte [ebp - 4], 0xb
cmp dword [esi + 0x14], 8
jb 0x10009177
mov esi, dword [esi]
push esi
mov edx, eax
lea ecx, [ebp - 0x80]
call fcn.1000cc40
push edi
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xf0]
call fcn.1000cad0
add esp, 8
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x6c]
cmp eax, 8
jb 0x100091b0
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.1000c440
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 0x100091e6
inc eax
lea ecx, [ebp - 0x98]
push eax
push dword [ebp - 0x98]
call fcn.1000c440
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 0x10009225
inc eax
lea ecx, [ebp - 0xb0]
push eax
push dword [ebp - 0xb0]
call fcn.1000c440
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 0x10009264
inc eax
lea ecx, [ebp - 0x108]
push eax
push dword [ebp - 0x108]
call fcn.1000c440
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 0x100092a3
inc eax
lea ecx, [ebp - 0xd8]
push eax
push dword [ebp - 0xd8]
call fcn.1000c440
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.10012500
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.100104f0
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0xc0]
call fcn.10010610
lea edx, [ebp - 0xc0]
lea ecx, [ebp - 0xb0]
call fcn.10010720
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.10012420
push 1
mov edx, 0x100a5958
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xd8]
call fcn.10002360
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 0x100093bf
mov edx, dword [edx]
mov ecx, esi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100093c4
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.10014050
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0xc4]
cmp eax, 8
jb 0x1000940b
inc eax
lea ecx, [ebp - 0xd8]
push eax
push dword [ebp - 0xd8]
call fcn.1000c440
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 0x10009441
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.1000c440
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 0x10009477
inc eax
lea ecx, [ebp - 0xb0]
push eax
push dword [ebp - 0xb0]
call fcn.1000c330
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 0x100094b4
inc eax
lea ecx, [ebp - 0x98]
push eax
push dword [ebp - 0x98]
call fcn.1000c330
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 0x100094f1
inc eax
lea ecx, [ebp - 0xf0]
push eax
push dword [ebp - 0xf0]
call fcn.1000c440
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 [0x10089770]
test eax, eax
je 0x1000952f
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 0x1000954e
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 0x10009568
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [ebp - 4], 0x17
mov esi, dword [ebp - 0x120]
test esi, esi
je 0x10009583
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 0x1000959f
inc eax
lea ecx, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
call fcn.1000c440
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.100205ba
mov esp, ebp
pop ebp
ret