Function at 0x404cf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x44c
mov edi, dword [esp + 0x460]
mov eax, dword [edi + 0x18]
test eax, eax
je 0x404f43
lea ebx, [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x413583
mov dword [esp + 4], 0x400
mov dword [esp], ebx
call sub.cygwin1.dll_snprintf
mov eax, dword [sym.imp.cygwin1.dll_h_errno]
mov dword [eax], 0
mov dword [esp + 4], 1
mov dword [esp], 0x178
call sub.cygwin1.dll_calloc
test eax, eax
mov esi, eax
je 0x404fe2
mov dword [eax], edi
mov eax, dword [edi + 0x164]
mov dword [esp + 4], 1
mov dword [esp], 0x70
mov dword [esi + 0x14], eax
call sub.cygwin1.dll_calloc
test eax, eax
mov dword [esi + 0x18], eax
je 0x404fda
lea edx, [eax + 0x64]
mov dword [eax + 0x64], 0
mov dword [eax + 0x68], edx
mov dword [esp], ebx
call sub.cygwin1.dll_mkstemp
cmp eax, 0xffffffff
mov dword [esi + 0x24], eax
je 0x404f80
mov dword [esp], ebx
call sub.cygwin1.dll_unlink
test eax, eax
js 0x404f80
mov eax, dword [edi + 0x164]
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
sar eax, 0x1f
mov dword [esp + 8], eax
mov eax, dword [esi + 0x24]
mov dword [esp], eax
call sub.cygwin1.dll__ftruncate64
test eax, eax
js 0x404f80
mov eax, dword [esi + 0x24]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 2
mov dword [esp + 8], 3
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x164]
mov eax, dword [eax + 8]
mov dword [esp], 0
mov dword [esp + 4], eax
call sub.cygwin1.dll__mmap64
cmp eax, 0xffffffff
mov dword [esi + 0x28], eax
je 0x404f80
mov dword [esp], 0
xor ebx, ebx
call sub.cygwin1.dll_time
mov dword [esp], eax
call sub.cygwin1.dll_srandom
mov eax, dword [edi + 0x164]
mov eax, dword [eax + 8]
test eax, eax
jle 0x404e6b
lea esi, [esi]
lea edi, [edi]
mov ebp, dword [esi + 0x28]
call sub.cygwin1.dll_random
add ebp, ebx
add ebx, 1
mov byte [ebp], al
mov eax, dword [edi + 0x164]
cmp dword [eax + 8], ebx
jg 0x404e50
mov eax, dword [esp + 0x464]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0xc]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov dword [esi + 0x164], edx
mov edx, dword [edi + 0x38]
mov dword [esi + 0x160], eax
test edx, edx
je 0x404fb0
cmp dword [edi + 4], 1
mov dword [esp + 8], 0x180
mov dword [esp], edx
sbb eax, eax
and eax, 0x601
mov dword [esp + 4], eax
call sub.cygwin1.dll__open64
cmp eax, 0xffffffff
mov dword [esi + 0x2c], eax
je 0x40501d
mov eax, dword [esi + 0x164]
mov dword [esi + 0x164], 0x401d70
mov dword [esi + 0x16c], eax
mov eax, dword [esi + 0x160]
mov dword [esi + 0x160], 0x401ce0
mov dword [esi + 0x168], eax
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00404bd0
test eax, eax
js 0x404ff3
mov edx, dword [edi + 0x160]
mov ecx, 2
test edx, edx
jne 0x404f16
jmp 0x404fbc
mov edx, eax
mov eax, dword [edx + 0x170]
add ecx, 1
test eax, eax
jne 0x404f14
mov dword [esi + 0x170], 0
mov eax, esi
mov dword [edx + 0x170], esi
mov dword [esi + 0x10], ecx
add esp, 0x44c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, 0x5858
mov dword [esp + 0x2d], 0x706d742f
mov dword [esp + 0x31], 0x6570692f
mov dword [esp + 0x35], 0x2e336672
mov dword [esp + 0x39], 0x58585858
lea eax, [esp + 0x2d]
mov word [esp + 0x3d], dx
mov byte [esp + 0x3f], 0
jmp 0x404d0c
mov dword [0x41cb64], 0xc8
mov eax, dword [esi + 0x18]
mov dword [esp], eax
call sub.cygwin1.dll_free
mov dword [esp], esi
call sub.cygwin1.dll_free
add esp, 0x44c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esi + 0x2c], 0xffffffff
jmp 0x404eec
mov dword [esi + 0x170], 0
mov dword [edi + 0x160], esi
mov eax, esi
mov dword [esi + 0x10], 1
jmp 0x404f38
mov dword [esp], esi
call sub.cygwin1.dll_free
mov dword [0x41cb64], 0xc8
xor eax, eax
jmp 0x404f38
mov eax, dword [esi + 0x24]
mov dword [esp], eax
call sub.cygwin1.dll_close
mov eax, dword [esi]
mov eax, dword [eax + 0x164]
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x28]
mov dword [esp], eax
call sub.cygwin1.dll_munmap
jmp 0x404f8a
mov dword [0x41cb64], 0xe
jmp 0x404ffe