Function at 0x401640
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x59af00
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
test esi, esi
je 0x40216b
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00509a33
mov ebx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [esp + 0x90], ebx
repne scasb al, byte es:[edi]
not ecx
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 8
and ecx, 3
rep stosb byte es:[edi], al
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x79]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00402a70
lea ecx, [esp + 0x24]
mov dword [esp + 0xb4], 0
call fcn.00402970
lea edx, [esp + 0x72]
lea ecx, [esp + 0xa0]
push edx
mov dword [esp + 0xb8], 1
call fcn.004f5050
lea eax, [esp + 0x76]
push 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xbc], 2
call fcn.00402a70
lea ecx, [esp + 0xc]
mov byte [esp + 0xb4], 3
call fcn.00402970
lea ecx, [esp + 0x74]
push 8
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0xbc], 4
call fcn.00402a70
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 5
call fcn.00402970
lea edx, [esp + 0x77]
lea ecx, [esp + 0x34]
push edx
mov byte [esp + 0xb8], 6
call fcn.004f5050
mov byte [esp + 0xb4], 7
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, ebx
push ecx
push ebx
lea ecx, [esp + 0x3c]
call fcn.004029c0
lea eax, [esp + 0x71]
lea ecx, [esp + 0x4c]
push eax
mov byte [esp + 0xb8], 8
call fcn.004f5050
mov edi, 0x5c4260
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0xb4], 9
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, 0x5c4260
push ecx
push 0x5c4260
lea ecx, [esp + 0x54]
call fcn.004029c0
lea ecx, [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x50]
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
mov byte [esp + 0xc4], 0xa
call fcn.004a2d00
mov edi, 0x5c425c
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, 0x5c425c
push ecx
push 0x5c425c
lea ecx, [esp + 0x54]
call fcn.00403150
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, eax
sub edx, ecx
je 0x4020f1
push ebp
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.00403150
mov edi, 0x5c4258
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x28]
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x2c]
not ecx
dec ecx
sub eax, edx
cmp eax, ecx
jne 0x4018aa
mov edi, 0x5c4258
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4018aa
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x40]
call fcn.00403150
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x54]
push ecx
lea eax, [esp + 0x40]
push edx
push eax
call fcn.004a2d00
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add esp, 0x10
sub ecx, eax
je 0x4018a6
push eax
call fcn.0050a057
add esp, 4
mov dword [0x5c4184], eax
mov edx, dword [esp + 0x28]
mov edi, str.pureobserver
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x2c]
not ecx
dec ecx
sub eax, edx
cmp eax, ecx
jne 0x40191d
mov edi, str.pureobserver
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x40191d
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x40]
call fcn.00403150
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x54]
push ecx
lea eax, [esp + 0x40]
push edx
push eax
call fcn.004a2d00
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add esp, 0x10
sub ecx, eax
je 0x401919
push eax
call fcn.0050a057
add esp, 4
mov dword [0x5d56f8], eax
mov edx, dword [esp + 0x28]
mov edi, 0x5c4244
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x2c]
not ecx
dec ecx
sub eax, edx
cmp eax, ecx
jne 0x40199a
mov edi, 0x5c4244
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x40199a
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x40]
call fcn.00403150
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x54]
push ecx
lea eax, [esp + 0x40]
push edx
push eax
call fcn.004a2d00
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, eax
add esp, 0x10
sub edx, ecx
je 0x401996
push eax
push ecx
mov ecx, 0x5d56cc
call fcn.00403150
mov dword [0x5d56f4], 2
mov edx, dword [esp + 0x28]
mov edi, str.port
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x2c]
not ecx
dec ecx
sub eax, edx
cmp eax, ecx
jne 0x401a0d
mov edi, str.port
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x401a0d
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x40]
call fcn.00403150
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x54]
push ecx
lea eax, [esp + 0x40]
push edx
push eax
call fcn.004a2d00
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add esp, 0x10
sub ecx, eax
je 0x401a09
push eax
call fcn.0050a057
add esp, 4
mov dword [0x5d56e4], eax
mov edx, dword [esp + 0x28]
mov edi, str.password
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x2c]
not ecx
dec ecx
sub eax, edx
cmp eax, ecx
jne 0x401a80
mov edi, str.password
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x401a80
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x40]
call fcn.00403150
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x54]
push ecx
lea eax, [esp + 0x40]
push edx
push eax
call fcn.004a2d00
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, eax
add esp, 0x10
sub edx, ecx
je 0x401a7c
push eax
push ecx
mov ecx, 0x5d56c0
call fcn.00403150
mov edx, dword [esp + 0x28]
mov edi, 0x5c422c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x2c]
not ecx
dec ecx
sub eax, edx
cmp eax, ecx
jne 0x401af3
mov edi, 0x5c422c
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x401af3
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x40]
call fcn.00403150
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x54]
push ecx
lea eax, [esp + 0x40]
push edx
push eax
call fcn.004a2d00
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add esp, 0x10
sub ecx, eax
je 0x401aef
push eax
call fcn.0050a057
add esp, 4
mov dword [0x5d56fc], eax
mov edx, dword [esp + 0x28]
mov edi, 0x5c4220
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x2c]
not ecx
dec ecx
sub eax, edx
cmp eax, ecx
jne 0x401b66
mov edi, 0x5c4220
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x401b66
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x40]
call fcn.00403150
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x54]
push ecx
lea eax, [esp + 0x40]
push edx
push eax
call fcn.004a2d00
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add esp, 0x10
sub ecx, eax
je 0x401b62
push eax
call fcn.0050a057
add esp, 4
mov dword [0x5c4188], eax
mov edx, dword [esp + 0x28]
mov edi, 0x5c421c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x2c]
not ecx
dec ecx
sub eax, edx
cmp eax, ecx
jne 0x402006
mov edi, 0x5c421c
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x402006
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x40]
call fcn.00403150
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x54]
push ecx
lea eax, [esp + 0x40]
push edx
push eax
call fcn.004a2d00
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add esp, 0x10
sub ecx, eax
je 0x402002
push eax
call fcn.0050a057
mov esi, eax
add esp, 4
test esi, esi
je 0x402002
lea ebp, [esi + 1]
push ebp
call fcn.00509a33
mov ecx, ebp
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esp + 0x8c], edi
push ebp
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call fcn.00509a33
mov ecx, ebp
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
add esp, 8
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor edi, edi
xor eax, eax
cmp esi, edi
jle 0x401c49
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, esi
mov dl, byte [eax + ecx - 1]
mov ecx, dword [esp + 0x88]
mov byte [eax + ecx - 1], dl
jl 0x401c31
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
lea eax, [esp + 0x90]
lea ecx, [esp + 0x8c]
sub edx, ebp
push eax
push ecx
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], edx
call fcn.00403020
mov edx, dword [eax]
mov eax, dword [esp + 0x18]
add esp, 8
add edx, eax
lea ecx, [esp + 0x10]
push edx
push eax
call fcn.00402a30
mov eax, dword [0x5d56d8]
mov ebp, dword [esp + 0x88]
push eax
push esi
push ebp
push ebx
call fcn.00402210
add esp, 0x10
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0xb8], 0xb
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, ebx
push ecx
push ebx
lea ecx, [esp + 0x70]
call fcn.004029c0
lea ecx, [esp + 0x77]
push 8
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0xc0], 0xc
call fcn.00402a70
lea ecx, [esp + 0x44]
mov byte [esp + 0xb8], 0xd
call fcn.00402970
lea edx, [esp + 0x36]
push 8
push edx
lea ecx, [esp + 0x64]
mov byte [esp + 0xc0], 0xe
call fcn.00402a70
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb8], 0xf
call fcn.00402970
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x44]
push eax
lea edx, [esp + 0x54]
push ecx
lea eax, [esp + 0x70]
push edx
push eax
mov byte [esp + 0xc8], 0x10
call fcn.004a2d00
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
add esp, 0x10
sub ecx, eax
je 0x401fb9
mov dl, byte [esp + 0x36]
lea eax, [esp + 0x37]
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x3b], dl
call fcn.004f5050
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push ecx
push edx
lea ecx, [esp + 0x84]
mov byte [esp + 0xc0], 0x11
call fcn.004029c0
mov edi, 0x5c4218
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x7c]
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x80]
mov byte [esp + 0xb8], 0x12
not ecx
dec ecx
sub eax, edx
cmp eax, ecx
jne 0x401e1a
mov edi, 0x5c4218
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x401e1a
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push ecx
push edx
lea ecx, [esp + 0x70]
call fcn.00403150
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x44]
push eax
lea edx, [esp + 0x54]
push ecx
lea eax, [esp + 0x70]
push edx
push eax
call fcn.004a2d00
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, eax
add esp, 0x10
sub edx, ecx
je 0x401e16
push eax
push ecx
mov ecx, 0x6656cc
call fcn.00403150
mov dword [0x5d56f4], 1
mov edx, dword [esp + 0x7c]
mov edi, 0x5c4258
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x80]
not ecx
dec ecx
sub eax, edx
cmp eax, ecx
jne 0x401e90
mov edi, 0x5c4258
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x401e90
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push ecx
push edx
lea ecx, [esp + 0x70]
call fcn.00403150
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x44]
push eax
lea edx, [esp + 0x54]
push ecx
lea eax, [esp + 0x70]
push edx
push eax
call fcn.004a2d00
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, eax
add esp, 0x10
sub edx, ecx
je 0x401e8c
push eax
push ecx
mov ecx, 0x6656c0
call fcn.00403150
mov edx, dword [esp + 0x7c]
mov edi, 0x5c4214
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x80]
not ecx
dec ecx
sub eax, edx
cmp eax, ecx
jne 0x401f69
mov edi, 0x5c4214
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x401f69
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push ecx
push edx
lea ecx, [esp + 0x70]
call fcn.00403150
lea eax, [esp + 0x74]
lea ecx, [esp + 0x98]
push eax
call fcn.004f5050
mov edi, str._euv
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0xb8], 0x13
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, str._euv
push ecx
push str._euv
lea ecx, [esp + 0xa0]
call fcn.004029c0
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x44]
push ecx
lea eax, [esp + 0x9c]
push edx
lea ecx, [esp + 0x70]
push eax
push ecx
mov byte [esp + 0xc8], 0x14
call fcn.004a2d00
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, eax
add esp, 0x10
sub edx, ecx
je 0x401f55
push eax
push ecx
mov ecx, 0x6656b4
call fcn.00403150
lea ecx, [esp + 0x98]
mov byte [esp + 0xb8], 0x12
call fcn.00402ac0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
push eax
push ecx
lea ecx, [esp + 0x70]
call fcn.00403150
lea edx, [esp + 0x5c]
lea eax, [esp + 0x44]
push edx
lea ecx, [esp + 0x54]
push eax
lea edx, [esp + 0x70]
push ecx
push edx
call fcn.004a2d00
add esp, 0x10
lea ecx, [esp + 0x7c]
mov byte [esp + 0xb8], 0x10
call fcn.00402ac0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
sub eax, ecx
jne 0x401d57
push ebp
call fcn.005087f0
push ebx
call fcn.005087f0
add esp, 8
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb8], 0xe
call fcn.00402ac0
lea ecx, [esp + 0x44]
mov byte [esp + 0xb8], 0xc
call fcn.00402ac0
lea ecx, [esp + 0x68]
mov byte [esp + 0xb8], 0xa
call fcn.00402ac0
mov ebx, dword [esp + 0x94]
mov edx, dword [esp + 0x28]
mov edi, 0x5c41b0
or ecx, 0xffffffff
xor eax, eax
mov ebp, dword [esp + 0x2c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
sub ebp, edx
cmp ebp, ecx
jne 0x402031
mov edi, 0x5c41b0
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x402031
mov dword [0x5c4180], eax
mov edi, 0x5c420c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ebp, ecx
jne 0x40205b
mov edi, 0x5c420c
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x40205b
mov dword [0x5d56e8], 1
mov edi, str.dedicate
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ebp, ecx
jne 0x402085
mov edi, str.dedicate
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x402085
mov dword [0x5d56ec], 1
mov edi, str.score
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ebp, ecx
jne 0x4020af
mov esi, edx
mov edi, str.score
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4020af
mov dword [0x5d56f0], 1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.00403150
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x54]
push eax
lea edx, [esp + 0x40]
push ecx
push edx
call fcn.004a2d00
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, eax
add esp, 0x10
sub edx, ecx
jne 0x401828
pop ebp
lea ecx, [esp + 0x4c]
mov byte [esp + 0xb4], 8
call fcn.004025c0
lea ecx, [esp + 0x34]
mov byte [esp + 0xb4], 6
call fcn.004025c0
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 4
call fcn.004025c0
lea ecx, [esp + 0xc]
mov byte [esp + 0xb4], 2
call fcn.004025c0
lea ecx, [esp + 0xa0]
mov byte [esp + 0xb4], 1
call fcn.00402790
lea ecx, [esp + 0x24]
mov dword [esp + 0xb4], 0xffffffff
call fcn.004025c0
test ebx, ebx
pop edi
je 0x40216b
push ebx
call fcn.005087f0
add esp, 4
mov ecx, dword [esp + 0xa8]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xac
ret