Function at 0x408260
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423440
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x4612ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x30]
mov esi, 1
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.00409a80
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x4c]
call fcn.004030e0
mov byte [ebp - 4], 6
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 7
mov eax, dword [0x4612b8]
mov ecx, 0x4612b8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 9
mov eax, dword [0x4612b8]
mov ecx, 0x4612b8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xb
mov eax, dword [0x4612b8]
mov ecx, 0x4612b8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0xd
mov eax, dword [0x4612b8]
mov ecx, 0x4612b8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xf
push dword [ebp + 0xc]
lea ecx, [ebp - 0x30]
push dword [ebp + 8]
call fcn.00402650
cmp eax, esi
jge 0x408350
push 0
call fcn.00408180
add esp, 4
push esi
call fcn.004137c2
push str._nover
lea ecx, [ebp - 0x30]
call fcn.00402310
push 0x425fdc
lea ecx, [ebp - 0x30]
call fcn.00402310
push 0x425fe4
lea ecx, [ebp - 0x30]
movzx ebx, al
call fcn.00402310
lea ecx, [ebp - 0x30]
push 0x425fec
movzx edi, al
call fcn.00402310
test al, al
je 0x4083c7
push 1
push 0x425fec
push edi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00407fe0
add esp, 0x14
test eax, eax
je 0x4083b7
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x1c]
call fcn.00401b90
jmp 0x4083cf
push edi
call fcn.00408180
add esp, 4
push 1
call fcn.004137c2
lea ecx, [ebp - 0x1c]
call fcn.00402020
push str._ver
lea ecx, [ebp - 0x30]
call fcn.00402310
test al, al
je 0x408422
push 1
push str._ver
push edi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00407fe0
add esp, 0x14
test eax, eax
je 0x4083b7
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x18]
call fcn.00401b90
push str.none
lea ecx, [ebp - 0x18]
call fcn.00401fd0
test eax, eax
jne 0x40842e
lea ecx, [ebp - 0x18]
call fcn.00402020
jmp 0x40842e
lea eax, [ebp - 0x18]
push eax
call fcn.00402fc0
add esp, 4
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x1c]
call fcn.00406690
test eax, eax
jne 0x40845d
push dword [ebp - 0x10]
push str.Error__d_n
call fcn.00411f55
add esp, 8
push dword [ebp - 0x10]
call fcn.004137c2
push 0x426020
lea ecx, [ebp - 0x30]
call fcn.00402310
test al, al
jne 0x4089dd
push str._swip
lea ecx, [ebp - 0x30]
call fcn.00402310
test al, al
je 0x408646
push 1
push str._swip
push edi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00407fe0
add esp, 0x14
test eax, eax
je 0x4089e6
mov ebx, dword [ebp - 0x3c]
push str.ADMIN
push dword [ebx]
call fcn.004137d6
add esp, 8
mov edi, 1
test eax, eax
jne 0x4084c6
xor esi, esi
jmp 0x408520
push 0x4256c0
lea ecx, [ebp - 0x20]
call fcn.00401830
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.00406710
mov esi, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x20]
call fcn.004019a0
test esi, esi
je 0x408500
xor esi, esi
jmp 0x408520
push dword [ebp - 0x10]
push str.Error:__d_n
call fcn.00411f55
mov esi, dword [ebp - 0x10]
add esp, 8
test esi, esi
cmove esi, edi
test esi, esi
jne 0x4089e6
push 0x426058
push dword [ebx]
call fcn.004137d6
add esp, 8
test eax, eax
jne 0x4085f9
push 0x4256c0
lea ecx, [ebp - 0x24]
call fcn.00401830
mov byte [ebp - 4], 0x11
push 0x426060
lea ecx, [ebp - 0x20]
call fcn.00401830
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push 1
lea ecx, [ebp - 0x4c]
call fcn.00406710
mov esi, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x20]
call fcn.004019a0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x24]
call fcn.004019a0
test esi, esi
je 0x4085d9
lea eax, [ebp - 0x10]
push eax
push 0x426068
push str.SWX_DRP
lea ecx, [ebp - 0x4c]
call fcn.00406930
test eax, eax
je 0x4085cf
lea eax, [ebp - 0x10]
push eax
push 0x426080
push str.SWX_PVW
lea ecx, [ebp - 0x4c]
call fcn.00406930
test eax, eax
je 0x4085c5
xor esi, esi
jmp 0x4085f9
push dword [ebp - 0x10]
push str.Error:_SWX_PVW__d_n
jmp 0x4085e1
push dword [ebp - 0x10]
push str.Error:_SWX_DRP__d_n
jmp 0x4085e1
push dword [ebp - 0x10]
push str.Error:_SWS__d_n
call fcn.00411f55
mov esi, dword [ebp - 0x10]
add esp, 8
test esi, esi
cmove esi, edi
test esi, esi
jne 0x4089e6
push 0x426058
push dword [ebx]
call fcn.004137d6
add esp, 8
test eax, eax
je 0x4089e6
push dword [ebx]
lea eax, [ebp - 0x14]
push str._s_SWX
push eax
call fcn.00404420
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push 0x426058
push dword [ebp - 0x14]
lea ecx, [ebp - 0x4c]
call fcn.00406930
test eax, eax
je 0x408816
xor esi, esi
jmp 0x4089e6
push str._swup
lea ecx, [ebp - 0x30]
call fcn.00402310
test al, al
je 0x408836
push 1
push str._swup
push edi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00407fe0
add esp, 0x14
test eax, eax
je 0x4089e6
mov ebx, dword [ebp - 0x3c]
push str.ADMIN
push dword [ebx]
call fcn.004137d6
add esp, 8
mov edi, 1
test eax, eax
jne 0x40869a
xor esi, esi
jmp 0x4086f4
push 0x4256c0
lea ecx, [ebp - 0x24]
call fcn.00401830
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.00406fa0
mov esi, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x24]
call fcn.004019a0
test esi, esi
je 0x4086d4
xor esi, esi
jmp 0x4086f4
push dword [ebp - 0x10]
push str.Error:__d_n
call fcn.00411f55
mov esi, dword [ebp - 0x10]
add esp, 8
test esi, esi
cmove esi, edi
test esi, esi
jne 0x4089e6
push 0x426058
push dword [ebx]
call fcn.004137d6
add esp, 8
test eax, eax
jne 0x4087cd
push 0x4256c0
lea ecx, [ebp - 0x20]
call fcn.00401830
mov byte [ebp - 4], 0x14
push 0x426060
lea ecx, [ebp - 0x24]
call fcn.00401830
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push 1
lea ecx, [ebp - 0x4c]
call fcn.00406fa0
mov esi, eax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x24]
call fcn.004019a0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x20]
call fcn.004019a0
test esi, esi
je 0x4087ad
lea eax, [ebp - 0x10]
push eax
push 0x426068
push str.SWX_DRP
lea ecx, [ebp - 0x4c]
call fcn.004071c0
test eax, eax
je 0x4087a3
lea eax, [ebp - 0x10]
push eax
push 0x426080
push str.SWX_PVW
lea ecx, [ebp - 0x4c]
call fcn.004071c0
test eax, eax
je 0x408799
xor esi, esi
jmp 0x4087cd
push dword [ebp - 0x10]
push str.Error:_SWX_PVW__d_n
jmp 0x4087b5
push dword [ebp - 0x10]
push str.Error:_SWX_DRP__d_n
jmp 0x4087b5
push dword [ebp - 0x10]
push str.Error:_SWS__d_n
call fcn.00411f55
mov esi, dword [ebp - 0x10]
add esp, 8
test esi, esi
cmove esi, edi
test esi, esi
jne 0x4089e6
push 0x426058
push dword [ebx]
call fcn.004137d6
add esp, 8
test eax, eax
je 0x4089e6
push dword [ebx]
lea eax, [ebp - 0x14]
push str._s_SWX
push eax
call fcn.00404420
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push 0x426058
push dword [ebp - 0x14]
lea ecx, [ebp - 0x4c]
call fcn.004071c0
test eax, eax
je 0x408816
xor esi, esi
jmp 0x4089e6
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push str.Error:__s__d_n
call fcn.00411f55
mov esi, dword [ebp - 0x10]
add esp, 0xc
test esi, esi
cmove esi, edi
jmp 0x4089e6
push 0x426140
lea ecx, [ebp - 0x30]
call fcn.00402310
test al, al
je 0x40889d
push 0x425fe4
lea ecx, [ebp - 0x30]
call fcn.00402310
test al, al
je 0x40889d
push 2
push 0x426140
push edi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00407fe0
add esp, 0x14
test eax, eax
je 0x4089e6
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x10]
push eax
lea eax, [ecx + 4]
push eax
push ecx
push 0
lea ecx, [ebp - 0x4c]
call fcn.00406710
test eax, eax
je 0x40895c
xor esi, esi
jmp 0x4089e6
push 0x426148
lea ecx, [ebp - 0x30]
call fcn.00402310
test al, al
je 0x408900
push 0x425fe4
lea ecx, [ebp - 0x30]
call fcn.00402310
test al, al
je 0x408900
push 2
push 0x426148
push edi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00407fe0
add esp, 0x14
test eax, eax
je 0x4089e6
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x10]
push eax
lea eax, [ecx + 4]
push eax
push ecx
push 0
lea ecx, [ebp - 0x4c]
call fcn.00406fa0
test eax, eax
je 0x40895c
xor esi, esi
jmp 0x4089e6
push 0x426150
lea ecx, [ebp - 0x30]
call fcn.00402310
test al, al
je 0x40897b
push 0x425fe4
lea ecx, [ebp - 0x30]
call fcn.00402310
test al, al
je 0x40897b
push 1
push 0x426140
push edi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00407fe0
add esp, 0x14
test eax, eax
je 0x4089e6
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x4c]
call fcn.00406e60
test eax, eax
je 0x40895c
xor esi, esi
jmp 0x4089e6
push dword [ebp - 0x10]
push str.Error:__d_n
call fcn.00411f55
mov esi, dword [ebp - 0x10]
add esp, 8
mov eax, 1
test esi, esi
cmove esi, eax
jmp 0x4089e6
push 0x426158
lea ecx, [ebp - 0x30]
call fcn.00402310
test al, al
je 0x4089a7
push 0x425fe4
lea ecx, [ebp - 0x30]
call fcn.00402310
test al, al
je 0x4089a7
lea ecx, [ebp - 0x4c]
call fcn.00406a10
jmp 0x4089e6
push 0x426160
lea ecx, [ebp - 0x30]
call fcn.00402310
test al, al
je 0x4089c2
lea ecx, [ebp - 0x4c]
call fcn.00406ce0
jmp 0x4089e6
push 0x426168
lea ecx, [ebp - 0x30]
call fcn.00402310
test al, al
je 0x4089dd
lea ecx, [ebp - 0x4c]
call fcn.00406d70
jmp 0x4089e6
push edi
call fcn.00408180
add esp, 4
push esi
call fcn.004137c2
int3