Function at 0x40d580
Capabilities:
Hash data with md5
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ec67d
mov eax, dword fs:[0]
push eax
sub esp, 0x4f0
mov eax, dword [0x52c0cc]
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 ebx, ecx
mov dword [ebp - 0x42c], reloc.WS2_32.dll_accept
mov dword [ebp - 0x430], 0xf
mov dword [ebp - 0x434], 0
mov byte [ebp - 0x444], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x428]
push 0xb
push str.DisplayIcon
mov dword [ebp - 0x414], 0xf
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x428], 0
call fcn.00406ed0
push ecx
lea eax, [ebp - 0x4e4]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x428]
push eax
push 0x532a4c
lea ecx, [ebp - 0x42c]
call fcn.00415b20
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x414]
cmp eax, 0x10
jb 0x40d655
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.00407160
cmp dword [ebp - 0x434], 0
je 0x40d6e5
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.004c5270
add esp, 0xc
lea eax, [ebp - 0x444]
cmp dword [ebp - 0x430], 0x10
cmovae eax, dword [ebp - 0x444]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push 0x513319
push 0x5137c4
push 0x5137c8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x410], 0
jne 0x40d6bb
xor ecx, ecx
jmp 0x40d6cd
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d6c4
sub ecx, edx
push ecx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebx + 0x2d0]
call fcn.00406ed0
jmp 0x40d8a5
lea ecx, [ebp - 0x4e0]
call fcn.0041b230
mov edi, eax
lea ecx, [ebp - 0x4c8]
mov byte [ebp - 4], 2
call fcn.0041b0e0
mov esi, eax
mov byte [ebp - 4], 3
cmp dword [edi + 0x14], 0x10
jb 0x40d70f
mov edi, dword [edi]
cmp dword [esi + 0x14], 0x10
jb 0x40d717
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
push esi
lea eax, [ebp - 0x428]
push str._s_s_d
push eax
call fcn.0041fcc0
add esp, 0x14
mov eax, dword [ebp - 0x4b4]
cmp eax, 0x10
jb 0x40d752
inc eax
lea ecx, [ebp - 0x4c8]
push eax
push dword [ebp - 0x4c8]
call fcn.00407160
mov dword [ebp - 0x4b4], 0xf
mov dword [ebp - 0x4b8], 0
mov byte [ebp - 0x4c8], 0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x4cc]
cmp eax, 0x10
jb 0x40d78f
inc eax
lea ecx, [ebp - 0x4e0]
push eax
push dword [ebp - 0x4e0]
call fcn.00407160
cmp dword [ebp - 0x414], 0x10
lea eax, [ebp - 0x428]
push dword [ebp - 0x418]
cmovae eax, dword [ebp - 0x428]
lea ecx, [ebp - 0x4b0]
push eax
mov dword [ebp - 0x4cc], 0xf
mov dword [ebp - 0x4d0], 0
mov byte [ebp - 0x4e0], 0
mov byte [ebp - 0x448], 0
mov dword [ebp - 0x49c], 0
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x4b0], 0x67452301
mov dword [ebp - 0x4ac], 0xefcdab89
mov dword [ebp - 0x4a8], 0x98badcfe
mov dword [ebp - 0x4a4], 0x10325476
call fcn.00414680
lea eax, [ebp - 0x4fc]
push eax
lea ecx, [ebp - 0x4b0]
call fcn.00415020
mov edi, eax
lea esi, [ebx + 0x2d0]
cmp esi, edi
je 0x40d869
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x40d844
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00407160
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x40d85c
mov eax, dword [esi]
jmp 0x40d85e
mov eax, esi
push edi
mov ecx, esi
mov byte [eax], 0
call fcn.00409890
mov eax, dword [ebp - 0x4e8]
cmp eax, 0x10
jb 0x40d887
inc eax
lea ecx, [ebp - 0x4fc]
push eax
push dword [ebp - 0x4fc]
call fcn.00407160
mov eax, dword [ebp - 0x414]
cmp eax, 0x10
jb 0x40d8a5
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.00407160
mov eax, dword [ebp - 0x430]
cmp eax, 0x10
jb 0x40d8c3
inc eax
lea ecx, [ebp - 0x444]
push eax
push dword [ebp - 0x444]
call fcn.00407160
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.004abe1b
mov esp, ebp
pop ebp
ret