Function at 0x40c670
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x438820
push 0x4261a0
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x8590
call fcn.00431280
mov eax, dword [0x43a4a0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x8550], eax
push 0xa
mov esi, dword [0x433084]
call esi
push 5
call esi
push 0x4368f0
call fcn.00420ebd
add esp, 4
push 0xa
call esi
push 0x4368f4
call fcn.00420ebd
add esp, 4
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x3c], 0x81059ef7
mov dword [ebp - 0x38], 0xaf31914f
mov dword [ebp - 0x34], 0xdc8fa0cf
mov dword [ebp - 0x30], 0x38476953
mov dword [ebp - 0x2c], 0xb6bdc8f3
mov dword [ebp - 0x28], 0x8f47dfb9
mov dword [ebp - 0x24], 0xcef27a22
mov dword [ebp - 0x20], 0xa1a5c861
mov byte [ebp - 0x4c], bl
xor eax, eax
mov dword [ebp - 0x4b], eax
mov dword [ebp - 0x47], eax
mov dword [ebp - 0x43], eax
mov word [ebp - 0x3f], ax
mov byte [ebp - 0x3d], al
mov byte [ebp - 0x60], bl
mov dword [ebp - 0x5f], eax
mov dword [ebp - 0x5b], eax
mov dword [ebp - 0x57], eax
mov dword [ebp - 0x53], eax
mov dword [ebp - 0x8554], 0x10
lea ecx, [ebp - 0x8554]
push ecx
lea edx, [ebp - 0x60]
push edx
call dword [0x433088]
push 0x11
lea eax, [ebp - 0x60]
push eax
call fcn.00421144
mov dword [ebp - 0x854c], ebx
mov dword [ebp - 0x8548], ebx
push 0x50
push ebx
lea ecx, [ebp - 0x8544]
push ecx
call fcn.00421da0
mov dword [ebp - 0x8548], ebx
mov dword [ebp - 0x854c], ebx
mov dword [ebp - 0x8544], 0x67452301
mov dword [ebp - 0x8540], 0xefcdab89
mov dword [ebp - 0x853c], 0x98badcfe
mov dword [ebp - 0x8538], 0x10325476
push ebx
push 0x11
lea edx, [ebp - 0x854c]
push edx
mov eax, 0x88
lea ecx, [ebx + 0x11]
lea edx, [ebp - 0x60]
call fcn.00407530
lea eax, [ebp - 0x4c]
push eax
lea esi, [ebp - 0x854c]
call fcn.004075e0
add esp, 0x24
mov eax, 0x10
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x4c]
cmp eax, 4
jb 0x40c83c
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x40c808
sub eax, 4
add ecx, 4
add edx, 4
jmp 0x40c7f2
movzx esi, byte [ecx]
movzx eax, byte [edx]
sub eax, esi
jne 0x40c834
movzx eax, byte [edx + 1]
movzx esi, byte [ecx + 1]
sub eax, esi
jne 0x40c834
movzx eax, byte [edx + 2]
movzx esi, byte [ecx + 2]
sub eax, esi
jne 0x40c834
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
jmp 0x40c83e
xor eax, eax
mov ecx, 0x10
lea edx, [ebp - 0x3c]
lea esi, [ebp - 0x4c]
lea esp, [esp]
cmp ecx, 4
jb 0x40c89a
mov edi, dword [esi]
cmp edi, dword [edx]
jne 0x40c866
sub ecx, 4
add edx, 4
add esi, 4
jmp 0x40c850
movzx ecx, byte [esi]
movzx edi, byte [edx]
sub ecx, edi
jne 0x40c892
movzx ecx, byte [esi + 1]
movzx edi, byte [edx + 1]
sub ecx, edi
jne 0x40c892
movzx ecx, byte [esi + 2]
movzx edi, byte [edx + 2]
sub ecx, edi
jne 0x40c892
movzx ecx, byte [esi + 3]
movzx edx, byte [edx + 3]
sub ecx, edx
sar ecx, 0x1f
or ecx, 1
jmp 0x40c89c
xor ecx, ecx
and eax, ecx
je 0x40cabb
push ebx
call dword [0x4331fc]
mov edi, 1
mov dword [ebp - 4], edi
push 6
push 0x4368f8
mov esi, dword [ebp - 0x8550]
push esi
call fcn.00421226
add esp, 0xc
test eax, eax
je 0x40ca87
call fcn.0040a2e0
xor eax, eax
mov word [ebp - reloc.wtsapi32.dll_WTSSetUserConfigA], ax
push 0x206
push ebx
lea ecx, [ebp - 0x2ea]
push ecx
call fcn.00421da0
add esp, 0xc
lea edx, [ebp - 0x2ec]
push edx
push 0x104
call dword [0x433068]
test eax, eax
je 0x40ca9b
lea eax, [ebp - 0x2ec]
push eax
push ebx
push ebx
mov ecx, eax
push ecx
call dword [0x43306c]
test eax, eax
je 0x40ca9b
xor edx, edx
mov word [ebp - reloc.wtsapi32.dll_WTSSetUserConfigA], dx
push 0x206
push ebx
lea eax, [ebp - 0x4f2]
push eax
call fcn.00421da0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x4f4]
push ecx
push ebx
call dword [0x43308c]
test eax, eax
je 0x40ca9b
call fcn.00405460
test eax, eax
je 0x40ca9b
mov byte [ebp - 0xe4], bl
push 0x80
push ebx
lea edx, [ebp - 0xe3]
push edx
call fcn.00421da0
add esp, 0xc
mov dword [ebp - 0x8550], 0x81
lea edx, [ebp - 0x8550]
lea eax, [ebp - 0xe4]
call fcn.0040a990
test eax, eax
je 0x40ca9b
lea ecx, [ebp - 0x2ec]
lea edx, [ebp - 0x4f4]
call fcn.0040c220
test eax, eax
je 0x40ca9b
xor eax, eax
mov word [ebp - reloc.wtsapi32.dll_WTSSetUserConfigA], ax
push 0x7ffe
push ebx
lea ecx, [ebp - 0x84f2]
push ecx
call fcn.00421da0
lea edx, [ebp - 0xe4]
push edx
lea eax, [ebp - 0x4f4]
push eax
lea ecx, [ebp - 0x2ec]
push ecx
push str.__s____ping_s_t_S
push 0x4000
lea edx, [ebp - 0x84f4]
push edx
call fcn.004207a1
mov dword [ebp - 0x85a8], ebx
push reloc.wtsapi32.dll_WTSEnumerateSessionsA
push ebx
lea eax, [ebp - 0x85a4]
push eax
call fcn.00421da0
add esp, 0x30
mov dword [ebp - 0x85a8], 0x44
xor ecx, ecx
mov word [ebp - reloc.wtsapi32.dll_WTSSetUserConfigA], cx
mov dword [ebp - 0x857c], edi
mov dword [ebp - 0x8564], ebx
xor eax, eax
mov dword [ebp - 0x8560], eax
mov dword [ebp - 0x855c], eax
mov dword [ebp - 0x8558], eax
lea edx, [ebp - 0x8564]
push edx
lea eax, [ebp - 0x85a8]
push eax
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x84f4]
push ecx
lea edx, [ebp - 0x2ec]
push edx
call dword [0x433090]
mov dword [ebp - 4], ebx
jmp 0x40cabb
push 0x7d0
call dword [0x433084]
push esi
call fcn.0040c2a0
add esp, 4
mov dword [ebp - 4], ebx
jmp 0x40cabb
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0041fd66
mov esp, ebp
pop ebp
ret 0x10