Function at 0x4317ac
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push edi
push esi
push ebx
add esp, 0xfffffff4
mov dword [0x45e428], 0
push 0
call sub.cygwin1.dll_time
mov dword [0x45d664], eax
call fcn.00439368
add esp, 0x10
cmp dword [0x45e614], 0
jl 0x4317eb
cmp dword [0x45e38c], 0
je 0x4317f5
mov eax, dword [0x45e2cc]
mov dword [0x45e614], eax
cmp dword [0x45cb74], 0
jle 0x431803
call fcn.00431494
lea ebx, [ebp - 0x100]
cmp dword [0x45f7f4], 0
je 0x43186b
add esp, 0xfffffff8
mov dword [0x45e2cc], 0xffffffff
push 0x471f8c
push 0x4715ec
call sub.cygwin1.dll_strcpy
mov eax, dword [0x45f7f4]
add esp, 0xfffffff8
mov dword [0x45e20c], eax
push 0x47200c
push ebx
call sub.cygwin1.dll_strcpy
mov byte [0x471f8c], 0
mov dword [0x45f7f4], 0
mov byte [0x47200c], 0
mov dword [0x45e614], 0xffffffff
add esp, 0x20
push ebx
push 0x45e20c
push 0x4715ec
push 0x45e2cc
call fcn.0040ff88
add esp, 0xfffffff4
mov eax, dword [0x45e20c]
push eax
push 0x4715ec
push 0x4315de
push 0x427dcb
push 0x20000
call fcn.00437adc
add esp, 0x30
mov eax, dword [0x45ce2c]
test eax, eax
je 0x431900
cmp eax, 1
jne 0x4318c8
add esp, 0xfffffff4
mov eax, dword [0x45ce28]
push eax
push 0x45cd28
push 0x431604
jmp 0x4318db
add esp, 0xfffffff4
mov eax, dword [0x45ce28]
push eax
push 0x45cd28
push 0x431644
push 0x427dcb
push 0x20000
call fcn.00437adc
add esp, 0x20
add esp, 0xfffffff8
mov eax, dword [0x45ce28]
push eax
push 0x45cd28
jmp 0x43190e
add esp, 0xfffffff8
mov eax, dword [0x45e20c]
push eax
push 0x4715ec
call fcn.0043fe48
mov dword [0x45d650], eax
add esp, 0x10
mov eax, dword [0x45d650]
test eax, eax
jge 0x431a84
cmp eax, 0xfffffffe
jne 0x431944
lea edi, [ebp - 0x80]
mov esi, 0x43166d
lea ebx, [ebp - 0x80]
cld
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp 0x431953
add esp, 0xfffffff4
lea ebx, [ebp - 0x80]
push ebx
call fcn.0043ddf0
add esp, 0x10
cmp dword [0x45ce2c], 0
je 0x431990
add esp, 0xfffffff4
push ebx
push 0x45cd28
push 0x43167f
push 0x427dcb
push 0x20000
call fcn.00437adc
add esp, 0x20
push ebx
push 0x45cd28
push 0x45c024
push 0x4316a4
jmp 0x4319c0
add esp, 0xfffffff4
push ebx
push 0x4715ec
push 0x43167f
push 0x427dcb
push 0x20000
call fcn.00437adc
add esp, 0x20
push ebx
push 0x4715ec
push 0x45c024
push 0x4316e4
call fcn.0042020c
add esp, 0x10
mov eax, dword [0x45e2cc]
cmp dword [0x45e614], eax
jne 0x431b7c
cmp dword [0x45e38c], 0
jne 0x431b7c
call sub.cygwin1.dll_random
mov ecx, eax
mov edx, 0xb60b60b7
mov eax, edx
imul ecx
mov eax, ecx
add edx, ecx
sar eax, 0x1f
sar edx, 6
sub edx, eax
lea edx, [edx + edx*2]
mov eax, edx
shl eax, 4
sub eax, edx
add eax, eax
sub ecx, eax
push ecx
push 0x430810
push 0x427dcb
push 0x20
call fcn.00437adc
mov eax, dword [0x45d650]
add esp, 0x10
test eax, eax
jl 0x431a3a
add esp, 0xfffffff4
push eax
call fcn.0043e450
add esp, 0x10
xor ebx, ebx
cmp ebx, dword [0x45c238]
jge 0x431a6c
lea eax, [ebx*8]
add esp, 0xfffffff4
sub eax, ebx
lea eax, [ebx + eax*4]
inc ebx
mov eax, dword [eax*8 + 0x46256c]
push eax
call fcn.0043e450
add esp, 0x10
cmp ebx, dword [0x45c238]
jl 0x431a44
add esp, 0xfffffff4
push 0x4716ec
call sub.cygwin1.dll_unlink
add esp, 0xfffffff4
push 2
call sub.cygwin1.dll_exit
nop
add esp, 0xfffffff8
push 0x46216c
push 0x46221c
call sub.cygwin1.dll_strcpy
add esp, 0x10
mov eax, dword [0x45ce2c]
test eax, eax
je 0x431ae7
cmp eax, 1
jne 0x431abc
mov eax, dword [0x45e20c]
push eax
push 0x4715ec
push 0x43174a
jmp 0x431acc
mov eax, dword [0x45e20c]
push eax
push 0x4715ec
push 0x431764
mov eax, dword [0x45d650]
push eax
call fcn.0043f864
add esp, 0x10
add esp, 0xfffffff4
push 5
call sub.cygwin1.dll_sleep
add esp, 0x10
add esp, 0xfffffffc
push 0x46221c
push 0x430a47
mov eax, dword [0x45d650]
push eax
call fcn.0043f864
add esp, 0x10
cmp byte [ebp - 0x100], 0
je 0x431b22
add esp, 0xfffffffc
push ebx
push 0x431797
mov eax, dword [0x45d650]
push eax
call fcn.0043f864
add esp, 0x10
add esp, 0xfffffff8
push 0x47150c
push 0x4715ec
push 0x470dec
push 0x47158c
push 0x430ef7
mov eax, dword [0x45d650]
push eax
call fcn.0043f864
add esp, 0x20
add esp, 0xfffffffc
add esp, 0xfffffff4
push 0
call sub.cygwin1.dll_time
push eax
push 0x4317a0
mov eax, dword [0x45d650]
push eax
call fcn.00437cc8
add esp, 0x20
add esp, 0xfffffff4
push 0
call sub.cygwin1.dll_time
mov dword [0x470eec], eax
lea esp, [ebp - 0x118]
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret