Function at 0x401244
Capabilities:
Terminate process

Disassembly:
push ebp
mov eax, dword [section..bss]
mov ebp, esp
sub esp, 8
add esp, 0xfffffffc
push eax
mov eax, dword [0x403010]
push 0x401044
mov eax, dword [eax + 0xc]
push eax
call sub.cygwin1.dll_fprintf
mov eax, dword [0x403010]
add esp, 0xfffffff8
push 0x401064
mov eax, dword [eax + 0xc]
push eax
call sub.cygwin1.dll_fprintf
mov eax, dword [0x403010]
add esp, 0x20
add esp, 0xfffffff8
push 0x4010a0
mov eax, dword [eax + 0xc]
push eax
call sub.cygwin1.dll_fprintf
mov eax, dword [0x403010]
add esp, 0xfffffff8
push 0x4010a4
mov eax, dword [eax + 0xc]
push eax
call sub.cygwin1.dll_fprintf
mov eax, dword [0x403010]
add esp, 0x20
add esp, 0xfffffff8
push 0x4010e4
mov eax, dword [eax + 0xc]
push eax
call sub.cygwin1.dll_fprintf
mov eax, dword [0x403010]
add esp, 0xfffffff8
push 0x401124
mov eax, dword [eax + 0xc]
push eax
call sub.cygwin1.dll_fprintf
mov eax, dword [0x403010]
add esp, 0x20
add esp, 0xfffffff8
push 0x4011a4
mov eax, dword [eax + 0xc]
push eax
call sub.cygwin1.dll_fprintf
mov eax, dword [0x403010]
add esp, 0xfffffff8
push 0x401204
mov eax, dword [eax + 0xc]
push eax
call sub.cygwin1.dll_fprintf
add esp, 0x20
add esp, 0xfffffff4
push 1
call sub.cygwin1.dll_exit
and eax, 0x25203a73
jae 0x401357
and byte [0x89000a73], ah
not byte [ebp - 0x77]
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
add esp, 0xfffffff4
mov ebx, dword [ebp + 8]
add esp, 0xfffffff4
call sub.cygwin1.dll___errno
mov eax, dword [eax]
push eax
call sub.cygwin1.dll_strerror
push eax
push ebx
mov eax, dword [section..bss]
push eax
mov eax, dword [0x403010]
push 0x401316
mov eax, dword [eax + 0xc]
push eax
call sub.cygwin1.dll_fprintf
add esp, 0x30
add esp, 0xfffffff4
push 1
call sub.cygwin1.dll_exit
sub eax, 0x2d2d0073
jb 0x4013d5
insd dword es:[edi], dx
outsd dx, dword [esi]
jbe 0x4013d9
sub eax, 0x2d6c6c61
insd dword es:[edi], dx
outsd dx, dword [esi]
jne 0x4013eb
je 0x4013f2
add byte [0x6d65722d], ch
outsd dx, dword [esi]
jbe 0x4013ed
sub eax, 0x72657375
sub eax, 0x6e756f6d
je 0x401407
add byte [0x6d65722d], ch
outsd dx, dword [esi]
jbe 0x401402
sub eax, 0x74737973
insd dword es:[edi], dx
sub eax, 0x6e756f6d
je 0x40141e
add byte [0x6d65722d], ch
outsd dx, dword [esi]
jbe 0x401419
sub eax, 0x6f747561
sub eax, 0x6e756f6d
je 0x401433
add byte [0x6d65722d], ch
outsd dx, dword [esi]
jbe 0x40142e
sub eax, 0x64677963
jb 0x401439
jbe 0x401437
sub eax, 0x66657270
imul edi, dword [eax], 0x8955f689
in eax, 0x83
in al, dx
sbb al, 0x57
imul di, word gs:[eax], 0xf689
push ebp
mov ebp, esp
add byte [ecx - 0x1a76aa0a], cl
sub esp, 0x1c
push edi
push esi
push ebx
call sub.cygwin1.dll___main
mov edx, dword [ebp + 0xc]
push ebp
or al, 0xc7
inc ebp
cld
add byte [eax], al
mov dword [ebp - 4], 0
add byte [eax], al
mov eax, dword [edx]
mov dword [section..bss], eax
cmp dword [ebp + 8], 1
jne 0x401406
call fcn.00401244
invalid
mov ebx, 1
add dword [eax], eax
add byte [eax], al
cmp ebx, dword [ebp + 8]
jge 0x40151e
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
cmp byte [eax], 0x2d
jne 0x40151e
add al, 0x80
cmp byte [0xfb850f], ch
add byte [eax], al
test ebx, edi
add byte [eax], al
add byte [eax - 0x40f3aa75], dl
imul edx, dword [ebx], 0x3b90040
nop
mov edx, dword [ebp + 0xc]
mov edi, 0x401369
mov ecx, 3
mov eax, dword [edx + ebx*4]
mov esi, eax
add byte [eax], al
add byte [ebx - 0x397665fc], cl
lcall 0xf300, 0xa8fcc689
cmpsb byte [esi], byte es:[edi]
cld
test al, 0
repe cmpsb byte [esi], byte es:[edi]
jne 0x401448
or byte [ebp - 4], 8
jmp 0x401509
mov esi, eax
mov edi, 0x40136c
mov ecx, 0x14
cld
test al, 0
repe cmpsb byte [esi], byte es:[edi]
jne 0x40146c
call fcn.00401560
add esp, 0xfffffff4
push 0
call sub.cygwin1.dll_exit
mov esi, esi
mov esi, eax
mov edi, 0x401380
mov ecx, 0x15
cld
test al, 0
repe cmpsb byte [esi], byte es:[edi]
jne 0x401490
call fcn.0040166c
add esp, 0xfffffff4
push 0
call sub.cygwin1.dll_exit
mov esi, esi
mov esi, eax
mov edi, 0x401395
mov ecx, 0x17
cld
test al, 0
repe cmpsb byte [esi], byte es:[edi]
jne 0x4014b4
call fcn.0040171c
add esp, 0xfffffff4
push 0
call sub.cygwin1.dll_exit
mov esi, esi
mov esi, eax
mov edi, 0x4013ac
mov ecx, 0x15
cld
test al, 0
repe cmpsb byte [esi], byte es:[edi]
jne 0x4014d8
call fcn.00401598
add esp, 0xfffffff4
push 0
call sub.cygwin1.dll_exit
mov esi, esi
mov esi, eax
mov edi, 0x4013c1
mov ecx, 0x19
cld
test al, 0
repe cmpsb byte [esi], byte es:[edi]
jne 0x401504
add esp, 0xfffffff4
mov eax, dword [ebp - 4]
push eax
call fcn.004017dc
add esp, 0xfffffff4
push 0
call sub.cygwin1.dll_exit
lea esi, [esi]
call fcn.00401244
inc ebx
cmp ebx, dword [ebp + 8]
jge 0x40151e
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ebx*4]
cmp byte [eax], 0x2d
je 0x401424
lea eax, [ebx + 1]
cmp eax, dword [ebp + 8]
je 0x40152b
call fcn.00401244
add esp, 0xfffffff8
mov eax, dword [ebp - 4]
push eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ebx*4]
push eax
call sub.cygwin1.dll_cygwin_umount
add esp, 0x10
test eax, eax
je 0x401554
mov edx, dword [ebp + 0xc]
add esp, 0xfffffff4
mov eax, dword [edx + ebx*4]
push eax
call fcn.00401324
lea esp, [ebp - 0x28]
xor eax, eax
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret