Function at 0x442030
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4429cb
push eax
mov dword fs:[0], esp
mov eax, dword [ebp + 0xc]
sub esp, 0xec
mov edx, dword [eax + 0x40]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x30], edx
push ebx
mov ecx, dword [eax + 0x3c]
push esi
push edi
mov edx, dword [eax + 0x48]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [eax + 0x44]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x10]
call sub.MFC40.DLL_CString::CString_3
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
cmp dword [eax + 0x34], 0
jge 0x44209b
add eax, 0x38
push eax
call dword [sym.imp.MSVCRT40.dll__mtlock]
add esp, 4
push 0xa
lea eax, [ebp - 0xf8]
push 0xc8
mov ecx, esi
push eax
inc dword [esi + 4]
call dword [sym.imp.MSVCRT40.dll_protected:_class_istream____thiscall_istream::get_char___int__int_]
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
cmp dword [eax + 0x34], 0
jge 0x4420ce
add eax, 0x38
push eax
call dword [sym.imp.MSVCRT40.dll__mtunlock]
add esp, 4
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
test byte [eax + 8], 6
jne 0x4429b8
test eax, eax
je 0x4429b8
lea ecx, [ebp - 0xf8]
mov eax, 0x4fc820
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x442112
or dl, dl
je 0x44210e
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x442112
add ecx, 2
add eax, 2
or dl, dl
jne 0x4420f2
xor eax, eax
jmp 0x442117
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x442081
push 0x4fe67c
lea eax, [ebp - 0xf8]
push eax
mov edi, 0x4fe680
call dword [sym.imp.MSVCRT40.dll_strtok]
add esp, 8
mov ecx, eax
mov dl, byte [ecx]
cmp dl, byte [edi]
jne 0x44215b
or dl, dl
je 0x442157
mov dl, byte [ecx + 1]
cmp dl, byte [edi + 1]
jne 0x44215b
add ecx, 2
add edi, 2
or dl, dl
jne 0x44213b
xor ecx, ecx
jmp 0x442160
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x4427a0
mov ecx, eax
mov edi, str.label
mov dl, byte [ecx]
cmp dl, byte [edi]
jne 0x44218f
or dl, dl
je 0x44218b
mov dl, byte [ecx + 1]
cmp dl, byte [edi + 1]
jne 0x44218f
add ecx, 2
add edi, 2
or dl, dl
jne 0x44216f
xor ecx, ecx
jmp 0x442194
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x4421f9
push 0x4fe67c
push 0
call dword [sym.imp.MSVCRT40.dll_strtok]
add esp, 8
mov ecx, 0x4fcee8
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4421cd
or dl, dl
je 0x4421c9
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4421cd
add eax, 2
add ecx, 2
or dl, dl
jne 0x4421ad
xor eax, eax
jmp 0x4421d2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x442932
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.004bc9e0
add esp, 8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
push eax
mov ebx, dword [ecx]
call dword [ebx + 0x3c]
jmp 0x442081
mov ecx, eax
mov edi, str.help
mov dl, byte [ecx]
cmp dl, byte [edi]
jne 0x442220
or dl, dl
je 0x44221c
mov dl, byte [ecx + 1]
cmp dl, byte [edi + 1]
jne 0x442220
add ecx, 2
add edi, 2
or dl, dl
jne 0x442200
xor ecx, ecx
jmp 0x442225
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x4422b2
push 0x4fe67c
push 0
call dword [sym.imp.MSVCRT40.dll_strtok]
add esp, 8
mov ecx, 0x4fcee8
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x442262
or dl, dl
je 0x44225e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x442262
add eax, 2
add ecx, 2
or dl, dl
jne 0x442242
xor eax, eax
jmp 0x442267
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x442942
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.004bc9e0
add esp, 8
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.MSVCRT40.dll_atoi]
add esp, 4
mov edi, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [eax]
mov eax, dword [0x4fe62c]
add eax, edi
push eax
call dword [ebx + 0x14]
mov eax, dword [0x4fe62c]
mov ecx, dword [ebp + 0xc]
add eax, edi
push eax
call dword [ebx + 0x5c]
jmp 0x442081
mov ecx, eax
mov edi, 0x4fe744
mov dl, byte [ecx]
cmp dl, byte [edi]
jne 0x4422d9
or dl, dl
je 0x4422d5
mov dl, byte [ecx + 1]
cmp dl, byte [edi + 1]
jne 0x4422d9
add ecx, 2
add edi, 2
or dl, dl
jne 0x4422b9
xor ecx, ecx
jmp 0x4422de
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x442347
push 0x4fe67c
push 0
call dword [sym.imp.MSVCRT40.dll_strtok]
add esp, 8
mov ecx, 0x4fcee8
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x442317
or dl, dl
je 0x442313
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x442317
add eax, 2
add ecx, 2
or dl, dl
jne 0x4422f7
xor eax, eax
jmp 0x44231c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x442952
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.004bc9e0
add esp, 8
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.MSVCRT40.dll_atoi]
add esp, 4
mov dword [ebp - 0x2c], eax
jmp 0x442081
mov ecx, eax
mov edi, 0x4fe740
mov dl, byte [ecx]
cmp dl, byte [edi]
jne 0x44236e
or dl, dl
je 0x44236a
mov dl, byte [ecx + 1]
cmp dl, byte [edi + 1]
jne 0x44236e
add ecx, 2
add edi, 2
or dl, dl
jne 0x44234e
xor ecx, ecx
jmp 0x442373
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x4423dc
push 0x4fe67c
push 0
call dword [sym.imp.MSVCRT40.dll_strtok]
add esp, 8
mov ecx, 0x4fcee8
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4423ac
or dl, dl
je 0x4423a8
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4423ac
add eax, 2
add ecx, 2
or dl, dl
jne 0x44238c
xor eax, eax
jmp 0x4423b1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x442962
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.004bc9e0
add esp, 8
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.MSVCRT40.dll_atoi]
add esp, 4
mov dword [ebp - 0x30], eax
jmp 0x442081
mov ecx, eax
mov edi, 0x4fe08c
mov dl, byte [ecx]
cmp dl, byte [edi]
jne 0x442403
or dl, dl
je 0x4423ff
mov dl, byte [ecx + 1]
cmp dl, byte [edi + 1]
jne 0x442403
add ecx, 2
add edi, 2
or dl, dl
jne 0x4423e3
xor ecx, ecx
jmp 0x442408
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x442471
push 0x4fe67c
push 0
call dword [sym.imp.MSVCRT40.dll_strtok]
add esp, 8
mov ecx, 0x4fcee8
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x442441
or dl, dl
je 0x44243d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x442441
add eax, 2
add ecx, 2
or dl, dl
jne 0x442421
xor eax, eax
jmp 0x442446
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x442972
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.004bc9e0
add esp, 8
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.MSVCRT40.dll_atoi]
add esp, 4
mov dword [ebp - 0x24], eax
jmp 0x442081
mov ecx, eax
mov edi, 0x4fe72c
mov dl, byte [ecx]
cmp dl, byte [edi]
jne 0x442498
or dl, dl
je 0x442494
mov dl, byte [ecx + 1]
cmp dl, byte [edi + 1]
jne 0x442498
add ecx, 2
add edi, 2
or dl, dl
jne 0x442478
xor ecx, ecx
jmp 0x44249d
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x442506
push 0x4fe67c
push 0
call dword [sym.imp.MSVCRT40.dll_strtok]
add esp, 8
mov ecx, 0x4fcee8
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4424d6
or dl, dl
je 0x4424d2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4424d6
add eax, 2
add ecx, 2
or dl, dl
jne 0x4424b6
xor eax, eax
jmp 0x4424db
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x442982
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.004bc9e0
add esp, 8
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.MSVCRT40.dll_atoi]
add esp, 4
mov dword [ebp - 0x28], eax
jmp 0x442081
mov ecx, eax
mov edi, str.label_position
mov dl, byte [ecx]
cmp dl, byte [edi]
jne 0x44252d
or dl, dl
je 0x442529
mov dl, byte [ecx + 1]
cmp dl, byte [edi + 1]
jne 0x44252d
add ecx, 2
add edi, 2
or dl, dl
jne 0x44250d
xor ecx, ecx
jmp 0x442532
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x442696
push 0x4fe67c
push 0
call dword [sym.imp.MSVCRT40.dll_strtok]
add esp, 8
mov ecx, 0x4fcee8
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x44256f
or dl, dl
je 0x44256b
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x44256f
add eax, 2
add ecx, 2
or dl, dl
jne 0x44254f
xor eax, eax
jmp 0x442574
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x442992
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.004bc9e0
add esp, 8
mov eax, dword [ebp - 0x10]
mov ecx, str.before
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4425b2
or dl, dl
je 0x4425ae
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4425b2
add eax, 2
add ecx, 2
or dl, dl
jne 0x442592
xor eax, eax
jmp 0x4425b7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4425cc
push 0
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov ebx, dword [eax]
call dword [ebx + 0x58]
jmp 0x442081
mov eax, dword [ebp - 0x10]
mov ecx, str.after
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4425f4
or dl, dl
je 0x4425f0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4425f4
add eax, 2
add ecx, 2
or dl, dl
jne 0x4425d4
xor eax, eax
jmp 0x4425f9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x44260e
push 1
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov ebx, dword [eax]
call dword [ebx + 0x58]
jmp 0x442081
mov eax, dword [ebp - 0x10]
mov ecx, str.above
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x442636
or dl, dl
je 0x442632
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x442636
add eax, 2
add ecx, 2
or dl, dl
jne 0x442616
xor eax, eax
jmp 0x44263b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x442650
push 2
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov ebx, dword [eax]
call dword [ebx + 0x58]
jmp 0x442081
mov eax, dword [ebp - 0x10]
mov ecx, str.below
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x442678
or dl, dl
je 0x442674
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x442678
add eax, 2
add ecx, 2
or dl, dl
jne 0x442658
xor eax, eax
jmp 0x44267d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x442081
push 3
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov ebx, dword [eax]
call dword [ebx + 0x58]
jmp 0x442081
mov ecx, str.alignment
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4426bb
or dl, dl
je 0x4426b7
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4426bb
add eax, 2
add ecx, 2
or dl, dl
jne 0x44269b
xor eax, eax
jmp 0x4426c0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x442081
push 0x4fe67c
push 0
call dword [sym.imp.MSVCRT40.dll_strtok]
add esp, 8
mov ecx, 0x4fcee8
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4426fd
or dl, dl
je 0x4426f9
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4426fd
add eax, 2
add ecx, 2
or dl, dl
jne 0x4426dd
xor eax, eax
jmp 0x442702
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4429a5
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.004bc9e0
add esp, 8
mov eax, dword [ebp - 0x10]
mov ecx, str.label
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x442740
or dl, dl
je 0x44273c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x442740
add eax, 2
add ecx, 2
or dl, dl
jne 0x442720
xor eax, eax
jmp 0x442745
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x44275a
push 0
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov ebx, dword [eax]
call dword [ebx + 0x54]
jmp 0x442081
mov eax, dword [ebp - 0x10]
mov ecx, str.control
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x442782
or dl, dl
je 0x44277e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x442782
add eax, 2
add ecx, 2
or dl, dl
jne 0x442762
xor eax, eax
jmp 0x442787
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x442081
push 1
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov ebx, dword [eax]
call dword [ebx + 0x54]
jmp 0x442081
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x18]
mov ecx, edx
sub eax, dword [edx + 0x1c]
mov dword [ebp - 0x20], eax
mov ebx, dword [edx]
call dword [ebx + 0x7c]
mov edi, dword [eax + 4]
mov esi, eax
mov eax, dword [eax + 8]
cmp edi, eax
je 0x4427ee
test edi, edi
je 0x4427c8
mov eax, dword [ebp - 0x20]
mov dword [edi], eax
add dword [esi + 4], 4
jmp 0x4428d8
mov eax, edi
sub eax, dword [esi]
test eax, 0xfffffffc
je 0x442803
sar eax, 2
add eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x44280a
mov dword [ebp - 0x1c], 0x400
push 0
call dword [sym.imp.MSVCRT40.dll_void____cdecl___void____cdecl_set_new_handler_void____cdecl___void__]
add esp, 4
mov eax, dword [ebp - 0x1c]
shl eax, 2
push eax
call sub.MFC40.DLL_operator_new
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x442853
mov ebx, dword [sym.imp.MSVCRT40.dll_class_ostream____cdecl_endl_class_ostream__]
push 0x4fc498
mov ecx, dword [sym.imp.MSVCRT40.dll_class_ostream_withassign_cerr]
call dword [sym.imp.MSVCRT40.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
push eax
call ebx
add esp, 4
push 1
call dword [sym.imp.MSVCRT40.dll_exit]
add esp, 4
mov ecx, dword [ebp - 0x14]
mov edx, dword [esi]
cmp edi, edx
je 0x442872
mov ebx, edx
mov eax, ecx
add edx, 4
add ecx, 4
test eax, eax
je 0x44286e
mov ebx, dword [ebx]
mov dword [eax], ebx
cmp edi, edx
jne 0x44285c
mov eax, edi
sub eax, dword [esi]
and eax, 0xfffffffc
add eax, dword [ebp - 0x14]
je 0x442883
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov eax, edi
mov ecx, dword [ebp - 0x14]
sub eax, dword [esi]
mov edx, dword [esi + 4]
and eax, 0xfffffffc
cmp edi, edx
lea ecx, [eax + ecx + 4]
je 0x4428ae
mov eax, edi
mov ebx, ecx
add edi, 4
add ecx, 4
test ebx, ebx
je 0x4428aa
mov eax, dword [eax]
mov dword [ebx], eax
cmp edi, edx
jne 0x442898
mov eax, dword [esi]
push eax
call sub.MFC40.DLL_operator_delete
mov eax, dword [ebp - 0x1c]
add esp, 4
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + eax*4]
mov dword [esi + 8], edx
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 2
lea eax, [ecx + eax*4]
add eax, 4
mov dword [esi + 4], eax
mov dword [esi], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x30]
push ecx
mov esi, dword [eax]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 0xc]
push eax
call dword [esi + 0x48]
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp + 0xc]
call dword [esi + 0x44]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x1c]
push eax
lea ecx, [eax + 1]
mov dword [edx + 0x1c], ecx
mov ecx, dword [ebp + 0xc]
call dword [esi + 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.004429d5
mov eax, 1
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 4], 0xffffffff
call fcn.004429d5
xor eax, eax
jmp 0x44291f
mov dword [ebp - 4], 0xffffffff
call fcn.004429d5
xor eax, eax
jmp 0x44291f
mov dword [ebp - 4], 0xffffffff
call fcn.004429d5
xor eax, eax
jmp 0x44291f
mov dword [ebp - 4], 0xffffffff
call fcn.004429d5
xor eax, eax
jmp 0x44291f
mov dword [ebp - 4], 0xffffffff
call fcn.004429d5
xor eax, eax
jmp 0x44291f
mov dword [ebp - 4], 0xffffffff
call fcn.004429d5
xor eax, eax
jmp 0x44291f
mov dword [ebp - 4], 0xffffffff
call fcn.004429d5
xor eax, eax
jmp 0x44291f
mov dword [ebp - 4], 0xffffffff
call fcn.004429d5
xor eax, eax
jmp 0x44291f
mov dword [ebp - 4], 0xffffffff
call fcn.004429d5
xor eax, eax
jmp 0x44291f