Function at 0x448070
Capabilities:
Check mutex on windows
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483385
mov eax, dword fs:[0]
push eax
sub esp, 0x640
mov eax, dword [0x4a9d30]
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 edi, ecx
mov dword [ebp - 0x64c], edi
cmp byte [0x4ace90], 0
jne 0x4480fc
mov eax, dword [edi + 0x110]
mov eax, dword [eax + 0x72]
test eax, eax
je 0x4480c2
movsx eax, word [eax + 8]
jmp 0x4480c7
mov eax, 6
push eax
push 1
push 2
call sub.WSOCK32.dll_socket
mov dword [edi + 0x114], eax
cmp eax, 0xffffffff
jne 0x4486e1
push 0x12030
push str.Winsock_Error
push str.Unable_to_create_socket.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x448711
lea ecx, [ebp - 0x500]
call fcn.0041f2b0
push 0x4ace90
lea eax, [ebp - 0x3f8]
mov dword [ebp - 4], 0
push 0x489120
push eax
call fcn.00453b2a
add esp, 0xc
lea eax, [ebp - 0x3f8]
lea ecx, [ebp - 0x4ac]
push eax
call fcn.004248f0
lea eax, [ebp - 0x4ac]
mov byte [ebp - 4], 1
push eax
call fcn.0041f460
add esp, 4
mov byte [ebp - 4], 0
test eax, eax
lea ecx, [ebp - 0x4ac]
sete bl
call fcn.004249b0
lea eax, [ebp - 0x3f8]
lea ecx, [ebp - 0x4ac]
push eax
call fcn.004248f0
test bl, bl
je 0x4481dd
lea eax, [ebp - 0x4ac]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x500]
call fcn.0041f410
lea ecx, [ebp - 0x4ac]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.004249b0
test esi, esi
je 0x44826f
push 4
lea eax, [ebp - 0x648]
mov dword [ebp - 0x648], 2
push eax
lea ecx, [ebp - 0x500]
call fcn.0041f8e0
lea ecx, [ebp - 0x500]
call fcn.0041f330
mov dword [edi + 0x114], 1
jmp 0x44826f
lea eax, [ebp - 0x4ac]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x500]
call fcn.0041f5e0
lea ecx, [ebp - 0x4ac]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.004249b0
test esi, esi
je 0x44826f
push 4
lea eax, [ebp - 0x648]
push eax
lea ecx, [ebp - 0x500]
call fcn.0041f760
mov eax, dword [ebp - 0x648]
mov dword [edi + 0x114], eax
push 0
push 0
lea ecx, [eax + 1]
mov eax, 1
cmp ecx, 0x7530
push 0
cmovg ecx, eax
mov dword [ebp - 0x644], ecx
lea ecx, [ebp - 0x500]
call fcn.0041f7d0
push 4
lea eax, [ebp - 0x644]
push eax
lea ecx, [ebp - 0x500]
call fcn.0041f8e0
lea ecx, [ebp - 0x500]
call fcn.0041f330
cmp dword [edi + 0x114], 0xffffffff
jne 0x44828c
push 0x12030
push str.Local_Socket_Error
push str.Unable_to_get_next_socket_number.
jmp 0x4486f7
push 0x4ace90
lea eax, [ebp - 0x3f8]
push str._s.sok
push eax
call fcn.00453b2a
add esp, 0xc
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x3f8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x644], eax
cmp eax, 0xffffffff
je 0x44855c
mov edi, eax
lea ebx, [ebx]
lea eax, [ebp - 0x614]
push eax
push 0x4ace90
lea eax, [ebp - 0x3f8]
push str._s_s
push eax
call fcn.00453b2a
add esp, 0x10
lea eax, [ebp - 0x3f8]
lea ecx, [ebp - 0x4ac]
push eax
call fcn.004248f0
lea eax, [ebp - 0x4ac]
mov byte [ebp - 4], 4
push eax
call fcn.0041f430
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4ac]
call fcn.004249b0
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x4ac]
call fcn.004248f0
lea eax, [ebp - 0x4ac]
mov byte [ebp - 4], 5
push eax
call fcn.0041f460
add esp, 4
mov byte [ebp - 4], 0
test eax, eax
lea ecx, [ebp - 0x4ac]
sete bl
call fcn.004249b0
test bl, bl
je 0x448539
xor eax, eax
cmp byte [ebp - 0x614], al
je 0x44838f
nop
cmp byte [ebp + eax - 0x614], 0x2e
je 0x448387
inc eax
cmp byte [ebp + eax - 0x614], 0
jne 0x448370
jmp 0x44838f
mov byte [ebp + eax - 0x614], 0
lea eax, [ebp - 0x614]
push eax
push 0x4ace90
lea eax, [ebp - 0x3f8]
push str._s_s.buf
push eax
call fcn.00453b2a
add esp, 0x10
lea eax, [ebp - 0x3f8]
lea ecx, [ebp - 0x4ac]
push eax
call fcn.004248f0
lea eax, [ebp - 0x4ac]
mov byte [ebp - 4], 6
push eax
call fcn.0041f460
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4ac]
mov esi, eax
call fcn.004249b0
test esi, esi
je 0x44841d
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x4ac]
call fcn.004248f0
lea eax, [ebp - 0x4ac]
mov byte [ebp - 4], 7
push eax
call fcn.0041f430
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4ac]
call fcn.004249b0
lea eax, [ebp - 0x614]
push eax
push 0x4ace90
lea eax, [ebp - 0x3f8]
push str._s_s.cnr
push eax
call fcn.00453b2a
add esp, 0x10
lea eax, [ebp - 0x3f8]
lea ecx, [ebp - 0x4ac]
push eax
call fcn.004248f0
lea eax, [ebp - 0x4ac]
mov byte [ebp - 4], 8
push eax
call fcn.0041f460
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4ac]
mov esi, eax
call fcn.004249b0
test esi, esi
je 0x4484ab
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x4ac]
call fcn.004248f0
lea eax, [ebp - 0x4ac]
mov byte [ebp - 4], 9
push eax
call fcn.0041f430
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4ac]
call fcn.004249b0
lea eax, [ebp - 0x614]
push eax
push 0x4ace90
lea eax, [ebp - 0x3f8]
push str._s_s.cng
push eax
call fcn.00453b2a
add esp, 0x10
lea eax, [ebp - 0x3f8]
lea ecx, [ebp - 0x4ac]
push eax
call fcn.004248f0
lea eax, [ebp - 0x4ac]
mov byte [ebp - 4], 0xa
push eax
call fcn.0041f460
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4ac]
mov esi, eax
call fcn.004249b0
test esi, esi
je 0x448539
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x4ac]
call fcn.004248f0
lea eax, [ebp - 0x4ac]
mov byte [ebp - 4], 0xb
push eax
call fcn.0041f430
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4ac]
call fcn.004249b0
lea eax, [ebp - 0x640]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4482d0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x64c]
push dword [edi + 0x114]
lea eax, [ebp - 0x3f8]
push 0x4ace90
push str._s_d.sok
push eax
call fcn.00453b2a
add esp, 0x10
lea eax, [ebp - 0x3f8]
lea ecx, [ebp - 0x4ac]
push eax
call fcn.004248f0
lea eax, [ebp - 0x4ac]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [edi + 0xb]
call fcn.0041f410
lea ecx, [ebp - 0x4ac]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.004249b0
test esi, esi
je 0x4486e8
push dword [edi + 0x114]
lea eax, [ebp - 0x45c]
push str._d.sok
push eax
call fcn.00453b2a
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x3f8]
push eax
call fcn.00425ee0
add esp, 0x14
lea eax, [ebp - 0x3f8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0xffffffffffffffff
push eax
mov dword [edi + 0x108], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [edi + 0x114]
lea eax, [ebp - 0x3f8]
push 0x4ace90
push str._s_d.buf
push eax
call fcn.00453b2a
add esp, 0x10
lea eax, [ebp - 0x3f8]
lea ecx, [ebp - 0x4ac]
push eax
call fcn.004248f0
lea eax, [ebp - 0x4ac]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [edi + 0x5e]
call fcn.0041f410
lea ecx, [ebp - 0x4ac]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.004249b0
test esi, esi
je 0x448667
lea ecx, [edi + 0x5e]
call fcn.0041f330
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x4ac]
call fcn.004248f0
push 0x10000080
push 3
push 3
push 0xc0000000
lea eax, [ebp - 0x4ac]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [edi + 0x5e]
call fcn.0041f500
test eax, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4ac]
sete bl
call fcn.004249b0
push dword [edi + 0x108]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test bl, bl
je 0x4486cf
push 0x12030
push str.Local_Socket_Error
push str.Unable_to_create_socket_buffer.
jmp 0x4486f7
lea ecx, [ebp - 0x500]
mov dword [ebp - 4], 0xffffffff
call fcn.0041f2d0
mov eax, 1
jmp 0x448713
push 0x12030
push str.Local_Socket_Error
push str.Unable_to_create_socket.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x500]
mov dword [ebp - 4], 0xffffffff
call fcn.0041f2d0
xor eax, eax
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.00452f44
mov esp, ebp
pop ebp
ret