Function at 0x44b360
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x6c
mov edi, dword [ebp + 8]
test edi, edi
je 0x44b884
lea eax, [edi + 0x18c]
mov ebx, dword [edi + 0x140]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x44], eax
lea esi, [esi]
mov esi, dword [ebx + 0x14]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
test esi, esi
jne 0x44b3ec
mov esi, dword [ebx + 0xc]
cmp esi, dword [ebx]
jne 0x44b442
cmp ebx, edi
jbe 0x44b475
mov eax, ebx
jmp 0x44b3cf
mov esi, dword [eax + 0xc]
cmp esi, dword [eax]
jne 0x44b440
cmp eax, edi
jbe 0x44b475
lea edx, [eax - 0x20]
mov dword [edi + 0x140], edx
call fcn.0044a4a0
mov eax, dword [edi + 0x140]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x44b3c0
mov ebx, eax
mov esi, dword [ebx + 0x14]
mov eax, ebx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], 0
test esi, esi
je 0x44b4a0
mov dword [eax + 0x14], 0
movsx ecx, byte [esi]
lea eax, [esi + 1]
xor edx, edx
mov dword [ebp - 0x3c], eax
mov dword [esp], eax
mov eax, edi
call fcn.0044abb0
test eax, eax
je 0x44b740
mov ebx, dword [edi + 0x140]
jmp 0x44b390
mov ebx, eax
mov eax, dword [ebx + 8]
test eax, eax
je 0x44b7c0
mov ecx, esi
mov edx, 1
shr ecx, 5
mov dword [ebp - 0x38], ecx
mov ecx, esi
shl edx, cl
mov ecx, dword [ebp - 0x38]
test dword [eax + ecx*4], edx
je 0x44b7c0
add esi, 1
mov dword [ebx + 0xc], esi
jmp 0x44b390
mov edx, dword [edi + 0x150]
mov eax, edi
call fcn.0044a410
mov eax, dword [edi + 0x17c]
test eax, eax
je 0x44b884
mov eax, edi
call fcn.0044a4f0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x44bc16
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
movzx ecx, ax
cmp ecx, 7
sete dl
je 0x44b770
test ecx, ecx
je 0x44b770
mov eax, dword [ebp - 0x40]
xor esi, esi
mov edx, ebx
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x44bd71
mov dword [esp], eax
mov dword [ebp - 0x3c], edx
call fcn.0044e534
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
test eax, eax
mov dword [edx + 0x10], 0
je 0x44b908
mov edx, dword [ebp - 0x38]
mov eax, edi
call fcn.0044ae20
mov ebx, dword [edi + 0x140]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x44b600
mov eax, dword [eax + 8]
movzx edx, ax
cmp edx, 9
ja case.0x44b52d.0
jmp dword [edx*4 + 0x464430]
mov ebx, dword [ebx + 0x10]
test ebx, ebx
je 0x44bca9
call sub.cygwin1.dll___errno
mov ebx, dword [eax]
call sub.cygwin1.dll___errno
mov dword [eax], 0
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [edi + 0x140]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
call sub.cygwin1.dll_strtod
fstp qword [ebp - 0x38]
call sub.cygwin1.dll___errno
cmp dword [eax], 0x22
je 0x44bd67
call sub.cygwin1.dll___errno
mov dword [eax], ebx
mov eax, dword [ebp - 0x1c]
cmp byte [eax], 0
jne 0x44be3a
mov eax, dword [ebp - 0x30]
fld qword [ebp - 0x38]
cmp word [eax + 8], 9
je 0x44bc9f
fld dword [0x4645ac]
fld st(1)
fxch st(1)
fucomi st(2)
ja 0x44bc00
fxch st(1)
fsub dword [0x4645b0]
fucompi st(1)
fstp st(0)
seta al
test al, al
jne 0x44bd61
fld dword [0x4645ac]
fld st(1)
fxch st(1)
fucomi st(2)
jbe 0x44bc8b
fxch st(1)
fadd dword [0x4645b4]
fucompi st(1)
fstp st(0)
seta al
test al, al
jne 0x44bd65
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xc]
fstp dword [eax]
nop
lea esi, [esi]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x44b831
mov eax, dword [ebp - 0x20]
mov edx, dword [edi + 0x150]
mov ecx, dword [ebp - 0x30]
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, edi
call fcn.0044aa90
mov dword [ebp - 0x38], 0
mov eax, dword [edi + 0x174]
mov edx, dword [edi + 0x178]
add eax, 2
cmp eax, edx
jge 0x44b859
mov ecx, dword [edi + 0x170]
test ecx, ecx
je 0x44b6cc
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ecx
mov esi, dword [eax]
test esi, esi
je 0x44bb6f
mov dword [esp], esi
call sub.cygwin1.dll_strlen
lea ebx, [eax + 3]
mov dword [esp], ebx
call fcn.0044e664
test eax, eax
mov edx, eax
mov ecx, dword [ebp - 0x3c]
je 0x44bbb2
mov eax, dword [ebp - 0x30]
mov ecx, 0x4643fd
mov dword [ebp - 0x3c], edx
mov eax, dword [eax + 8]
mov dword [esp], edx
mov dword [esp + 0x10], esi
mov dword [esp + 8], 0x46442a
mov dword [esp + 4], ebx
test eax, eax
mov eax, 0x4643fb
cmovns eax, ecx
mov dword [esp + 0xc], eax
call sub.cygwin1.dll_snprintf
mov edx, dword [ebp - 0x3c]
mov eax, dword [edi + 0x174]
mov ecx, dword [edi + 0x170]
lea ebx, [eax + 1]
mov dword [edi + 0x174], ebx
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x44bb5b
mov eax, dword [ebp - 0x30]
movzx eax, word [eax + 8]
test eax, eax
je 0x44b720
cmp eax, 7
je 0x44b720
test eax, eax
je 0x44b720
mov esi, dword [edi + 0x170]
test esi, esi
je 0x44b720
mov ebx, dword [edi + 0x140]
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x44b720
mov ebx, dword [edi + 0x174]
lea edx, [ebx + 1]
mov dword [edi + 0x174], edx
mov dword [esp], eax
call sub.cygwin1.dll_strdup
mov dword [esi + ebx*4], eax
nop
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x44b42b
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x10]
jmp 0x44b497
movsx ecx, byte [esi]
xor edx, edx
mov eax, edi
call fcn.0044a710
test eax, eax
je 0x44b891
cmp byte [esi + 1], 0
je 0x44b42b
mov ebx, dword [edi + 0x140]
mov eax, dword [ebp - 0x3c]
mov dword [ebx + 0x14], eax
jmp 0x44b390
xor esi, esi
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x44b782
cmp byte [ecx], 0x3d
je 0x44bce5
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x44b600
test dl, dl
mov ebx, 1
jne 0x44bb64
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0044b2d0
test eax, eax
je 0x44b600
mov eax, 0xffffffed
jmp 0x44b497
mov eax, dword [ebx + 4]
test eax, eax
je 0x44bc16
mov eax, dword [eax + esi*4]
lea edx, [esi + 1]
mov dword [ebx + 0xc], edx
test eax, eax
mov dword [ebp - 0x3c], eax
je 0x44bc16
mov edx, dword [edi + 0x154]
test edx, edx
je 0x44b956
mov eax, dword [edi + 0x164]
test al, 4
jne 0x44ba82
test al, 0x10
jne 0x44ba94
mov eax, dword [edi + 0x144]
test eax, eax
je 0x44b390
mov edx, dword [edi + 0x148]
lea ecx, [edx + 1]
mov dword [edi + 0x148], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [eax + edx*4], ecx
mov ebx, dword [edi + 0x140]
jmp 0x44b390
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], 0
mov edx, dword [eax + 0x10]
test edx, edx
je 0x44b62c
cmp word [eax + 8], 7
setne al
movzx eax, al
mov dword [ebp - 0x38], eax
jmp 0x44b62c
add edx, 0xa
mov dword [edi + 0x178], edx
shl edx, 2
mov dword [esp + 4], edx
mov eax, dword [edi + 0x170]
mov dword [esp], eax
call fcn.0044e6f4
mov dword [edi + 0x170], eax
mov ecx, eax
jmp 0x44b649
lea esp, [ebp - 0xc]
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
lea edx, [ebp - 0x20]
movsx ecx, byte [esi]
mov eax, dword [edi + 0x150]
mov dword [esp + 8], 0
mov dword [esp + 4], edx
lea edx, [ebp - 0x24]
mov dword [esp], edx
xor edx, edx
call fcn.0044a8d0
test eax, eax
mov dword [ebp - 0x30], eax
je 0x44bc16
cmp byte [esi + 1], 0
jne 0x44bb1c
mov esi, 1
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
movzx ecx, ax
cmp ecx, 7
sete dl
je 0x44b940
test ecx, ecx
je 0x44b940
mov edx, dword [edi + 0x140]
mov eax, dword [edx + 0x10]
test eax, eax
jne 0x44b4dd
mov eax, dword [ebp - 0x38]
mov dword [edx + 0x10], 0
test eax, eax
jne 0x44b4fd
mov ebx, dword [edi + 0x140]
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x44bc20
xor edx, edx
cmp byte [eax], 0x3d
sete dl
add edx, eax
mov eax, edi
call fcn.0044ae20
mov ebx, dword [edi + 0x140]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 0
jmp 0x44b510
mov ecx, dword [ebp - 0x38]
test ecx, ecx
jne 0x44bce5
mov ebx, dword [edi + 0x140]
jmp 0x44b772
cmp byte [eax], 0x2d
jne 0x44b7ed
mov ebx, dword [ebp - 0x3c]
mov dword [esp], ebx
call sub.cygwin1.dll_strlen
lea edx, [eax + 1]
add eax, 0x1f
and eax, 0xfffffff0
call fcn.0044e3e0
sub esp, eax
lea eax, [esp + 0x23]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
and eax, 0xfffffff0
mov ebx, eax
mov dword [esp], eax
mov dword [ebp - 0x38], eax
call sub.cygwin1.dll_strlcpy
cmp byte [ebx], 0
je 0x44bc16
cmp byte [ebx + 1], 0x2d
lea ecx, [ebx + 1]
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x40], ecx
je 0x44bcef
mov edx, dword [ebp - 0x40]
xor ecx, ecx
mov dword [esp], 0
mov eax, edi
call fcn.0044abb0
test eax, eax
jne 0x44b42b
mov edx, dword [ebp - 0x40]
xor ecx, ecx
mov eax, edi
call fcn.0044a710
test eax, eax
jne 0x44b42b
mov ebx, dword [ebp - 0x40]
movzx eax, byte [ebx]
cmp al, 0x3d
je 0x44bd4f
test al, al
jne 0x44ba04
jmp 0x44bd4f
test al, al
je 0x44ba0e
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x3d
jne 0x44ba00
cmp al, 0x3d
je 0x44bd7d
lea edx, [ebp - 0x20]
mov eax, dword [edi + 0x150]
mov ebx, dword [ebp - 0x48]
xor ecx, ecx
mov dword [esp + 4], edx
lea edx, [ebp - 0x24]
mov dword [esp + 8], ebx
mov dword [esp], edx
mov edx, dword [ebp - 0x40]
call fcn.0044a8d0
test eax, eax
mov dword [ebp - 0x30], eax
sete al
jne 0x44ba4c
test ebx, ebx
je 0x44bc16
mov dword [ebp - 0x38], 0
test al, al
jne 0x44bddc
mov ebx, dword [edi + 0x140]
mov dword [ebp - 0x40], 0
cmp ebx, edi
mov eax, ebx
je 0x44be0d
mov esi, dword [ebx + 0x14]
test esi, esi
jne 0x44b407
jmp 0x44b8d0
test al, 0x10
mov dword [edi + 0x154], 1
je 0x44b803
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call sub.cygwin1.dll_strdup
mov dword [ebx + 0x10], eax
xor eax, eax
jmp 0x44b497
mov ebx, dword [ebx + 0x10]
test ebx, ebx
je 0x44bcbb
lea eax, [ebp - 0x1c]
mov dword [esp + 8], 0
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.cygwin1.dll_strtol
mov edx, eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x44be3a
cmp byte [eax], 0
jne 0x44be3a
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
cmp ax, 3
je 0x44bbcd
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 8], edx
jmp 0x44b7a1
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x44bb15
mov dword [esp], eax
mov dword [ebp - 0x38], ecx
call sub.cygwin1.dll_strdup
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
jmp 0x44b600
mov ebx, dword [edi + 0x140]
mov eax, dword [ebp - 0x3c]
mov dword [ebx + 0x14], eax
jmp 0x44b8cb
mov dword [ebp - 0x30], edx
call sub.cygwin1.dll___getreent
mov edx, dword [ebp - 0x30]
mov dword [esp + 4], str.option_type___d__not_implemented_in_popt_n
mov dword [esp + 8], edx
mov eax, dword [eax + 8]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov dword [esp], 1
call sub.cygwin1.dll_exit
movzx eax, word [eax + 8]
jmp 0x44b6e5
mov ebx, dword [ebp - 0x30]
mov ebx, dword [ebx + 0x10]
jmp 0x44b79d
mov dword [esp], 3
call fcn.0044e664
test eax, eax
mov edx, eax
mov ecx, dword [ebp - 0x3c]
je 0x44bbb2
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], edx
movsx eax, byte [eax + 4]
mov dword [esp], edx
mov dword [esp + 8], 0x4643d7
mov dword [esp + 4], 3
mov dword [esp + 0xc], eax
call sub.cygwin1.dll_snprintf
mov edx, dword [ebp - 0x3c]
jmp 0x44b6b4
mov eax, dword [edi + 0x174]
lea edx, [eax + 1]
mov dword [edi + 0x174], edx
mov dword [ecx + eax*4], 0
jmp 0x44b6cc
lea ecx, [edx + 0x7fffffff]
cmp ecx, 0xfffffffd
ja 0x44bd67
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0044b240
test eax, eax
je 0x44b600
jmp 0x44b7b5
fxch st(1)
fchs
fsub dword [0x4645b0]
fucompi st(1)
fstp st(0)
seta al
jmp 0x44b5bf
mov eax, 0xfffffff5
jmp 0x44b497
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebx]
jne 0x44bc57
cmp edi, ebx
mov eax, ebx
jb 0x44bc3a
jmp 0x44bcd0
cmp edi, eax
jae 0x44bcce
lea edx, [eax - 0x20]
mov dword [edi + 0x140], edx
call fcn.0044a4a0
mov eax, dword [edi + 0x140]
mov ecx, dword [eax + 0xc]
cmp ecx, dword [eax]
je 0x44bc32
mov ebx, eax
cmp ebx, edi
je 0x44bd22
mov eax, dword [ebx + 4]
test eax, eax
je 0x44b510
mov edx, dword [ebx + 0xc]
lea ecx, [edx + 1]
mov edx, dword [eax + edx*4]
mov eax, edi
mov dword [ebx + 0xc], ecx
call fcn.0044ae20
mov ebx, dword [edi + 0x140]
mov dword [ebx + 0x10], eax
jmp 0x44b510
fxch st(1)
fsubr dword [0x4645b4]
fucompi st(1)
fstp st(0)
seta al
jmp 0x44b5e8
mov ecx, dword [eax + 0xc]
fstp qword [ecx]
jmp 0x44b600
cmp edx, 9
fldz
jne 0x44b5c7
fstp qword [ecx]
jmp 0x44b600
cmp edx, 3
mov edx, 0
jne 0x44baf7
jmp 0x44bbe2
mov ebx, eax
mov eax, dword [ebp - 0x30]
test byte [eax + 0xb], 0x10
je 0x44bd57
mov dword [ebx + 0x10], 0
jmp 0x44b510
mov eax, 0xfffffff4
jmp 0x44b497
mov eax, dword [ebp - 0x38]
cmp byte [eax + 2], 0
jne 0x44bd0d
mov dword [edi + 0x154], 1
mov ebx, dword [edi + 0x140]
jmp 0x44b390
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], 0
add eax, 2
mov dword [ebp - 0x40], eax
jmp 0x44b9b6
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x44bc5f
mov eax, dword [ebp - 0x30]
test byte [eax + 0xb], 0x20
je 0x44bc5f
mov eax, dword [ebx]
mov edx, dword [ebp - 0x44]
call fcn.004501a8
mov ebx, dword [ebx + 0x140]
jmp 0x44bc5f
mov ebx, dword [ebp - 0x40]
jmp 0x44ba0e
mov eax, 0xfffffff6
jmp 0x44b497
fstp st(0)
jmp 0x44bd67
fstp st(0)
mov eax, 0xffffffee
jmp 0x44b497
mov dword [ebx + 0x10], 0
jmp 0x44b90e
lea eax, [ebx + 1]
mov edx, dword [ebp - 0x3c]
mov byte [ebx], 0
xor ecx, ecx
mov dword [ebp - 0x4c], eax
sub eax, dword [ebp - 0x38]
add edx, eax
mov eax, dword [edi + 0x150]
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x48]
mov dword [esp + 8], edx
lea edx, [ebp - 0x20]
mov dword [esp + 4], edx
lea edx, [ebp - 0x24]
mov dword [esp], edx
mov edx, dword [ebp - 0x40]
call fcn.0044a8d0
test eax, eax
mov dword [ebp - 0x30], eax
sete al
jne 0x44ba5b
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x44bc16
mov edx, dword [ebp - 0x4c]
test edx, edx
je 0x44ba53
mov byte [ebx], 0x3d
mov esi, dword [ebp - 0x3c]
mov eax, dword [edi + 0x140]
add esi, 1
test esi, esi
mov dword [eax + 0x14], esi
je 0x44bc16
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
jmp 0x44b407
mov ecx, dword [ebp - 0x30]
test byte [ecx + 0xb], 0x20
je 0x44ba72
mov eax, dword [edi]
mov edx, dword [ebp - 0x44]
mov ecx, esi
call fcn.004501a8
mov ebx, dword [edi + 0x140]
mov dword [ebp - 0x40], 1
mov eax, ebx
jmp 0x44ba72
mov eax, 0xffffffef
jmp 0x44b497