Function at 0x408320
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f573
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x5c84bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa8], 0x5d2268
mov dword [0x5d2268], 0
mov dword [0x5d226c], 0
mov dword [0x5d2270], 0
push 0
mov ecx, 0x5d2278
mov dword [ebp - 4], 0
call fcn.0052ce30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 9
xor eax, eax
mov dword [ebp - 0x28], 0
push 0x5bc234
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004013e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
push 0x14
xor eax, eax
mov dword [ebp - 0x40], 0
push str.SoftwareValveSteam
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.004013e0
sub esp, 8
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x40]
push eax
call fcn.00402180
add esp, 0xc
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2c]
test eax, eax
sets bl
cmp edx, 8
jb 0x40844a
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408440
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408a88
push edx
push ecx
call fcn.00532001
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x40849c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408492
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408a88
push edx
push ecx
call fcn.00532001
add esp, 8
test bl, bl
jne 0x408a8d
mov ecx, dword [0x5cdc00]
mov eax, accept
sub eax, ecx
cmp eax, 0xd
jb 0x408aa5
cmp dword [0x5cdc04], 8
mov eax, 0x5cdbf0
push 0xd
cmovae eax, dword [0x5cdbf0]
push str._password.dat
push ecx
push eax
push ecx
push dword [ebp - 0xa4]
lea ecx, [ebp - 0x58]
call fcn.00404970
mov byte [ebp - 4], 4
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
push 0
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.005376a4
add esp, 8
cmp eax, 0xffffffff
je 0x408a33
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0xb4]
call fcn.004047d0
mov byte [ebp - 4], 5
xor eax, eax
mov edi, dword [ebp - 0xb0]
mov ecx, edi
mov esi, dword [ebp - 0xb4]
sub ecx, esi
je 0x408539
nop
xor byte [esi + eax], 0x32
inc eax
cmp eax, ecx
jb 0x408530
lea ecx, [ebp - 0xd4]
call fcn.00521b70
push 0
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 6
call fcn.0052cfd0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
push 0xf
mov dword [ebp - 0x28], 0
push str.collectComments
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00401530
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xd4]
call fcn.00521f20
mov ecx, eax
call fcn.0052d230
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4085da
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4085d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408aaa
push edx
push ecx
call fcn.00532001
add esp, 8
lea ecx, [ebp - 0xec]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0052d1c0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 9
call fcn.00527fa0
lea ecx, [ebp - 0x40]
push ecx
push 0x5d2278
mov edx, dword [eax]
mov ecx, eax
push edi
push esi
mov eax, dword [edx + 4]
call eax
test al, al
jne 0x40871b
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x40866f
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408665
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ab4
push edx
push ecx
call fcn.00532001
add esp, 8
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00521e50
test esi, esi
je 0x4086c0
mov ecx, dword [ebp - 0xac]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x4086b6
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ab4
push ecx
push esi
call fcn.00532001
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4086fa
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4086f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ab4
push edx
push ecx
call fcn.00532001
add esp, 8
mov eax, 0x5d2268
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00531ff3
mov esp, ebp
pop ebp
ret
push 8
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str.keyArray
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00401530
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x18], 0
je 0x40896e
mov ecx, 0x5d2278
call fcn.0052f4f0
test al, al
je 0x40896e
lea eax, [ebp - 0x28]
mov ecx, 0x5d2278
push eax
call fcn.0052f4b0
test al, al
je 0x40896e
lea eax, [ebp - 0x28]
mov ecx, 0x5d2278
push eax
call fcn.0052d400
mov ecx, eax
call fcn.0052f4a0
test al, al
je 0x40896e
lea eax, [ebp - 0x28]
mov ecx, 0x5d2278
push eax
xor ebx, ebx
call fcn.0052d400
mov ecx, eax
call fcn.0052fbc0
test eax, eax
je 0x40896e
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
push str.appid
push ebx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xb
push eax
mov ecx, 0x5d2278
call fcn.0052d400
mov ecx, eax
call fcn.0052d430
mov ecx, eax
call fcn.0052d740
mov ecx, eax
call fcn.0052e360
mov edi, eax
sub esp, 0x18
mov edx, esp
mov ecx, edi
lea eax, [ecx + 1]
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov dword [ebp - 0xa4], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408862
sub ecx, dword [ebp - 0xa4]
push ecx
push edi
mov ecx, edx
call fcn.00401530
lea ecx, [ebp - 0x70]
call fcn.00406ce0
push esp
push str.cdkey
push ebx
lea eax, [ebp - 0x28]
mov ecx, 0x5d2278
push eax
call fcn.0052d400
mov ecx, eax
call fcn.0052d430
mov ecx, eax
call fcn.0052d740
mov ecx, eax
call fcn.0052e8a0
lea ecx, [ebp - 0x88]
call fcn.00406ce0
push esp
push str.strName
push ebx
lea eax, [ebp - 0x28]
mov ecx, 0x5d2278
push eax
call fcn.0052d400
mov ecx, eax
call fcn.0052d430
mov ecx, eax
call fcn.0052d740
mov ecx, eax
call fcn.0052e8a0
lea ecx, [ebp - 0xa0]
call fcn.00406ce0
mov edi, dword [0x5d226c]
lea eax, [ebp - 0xa0]
add esp, 0x18
push eax
cmp edi, dword [0x5d2270]
je 0x40893b
mov ecx, edi
mov dword [ebp - 0xa4], edi
call fcn.00403210
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [edi + 0x18]
call fcn.00403210
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [edi + 0x30]
call fcn.00403210
add dword [0x5d226c], 0x48
jmp 0x408941
push edi
call fcn.00409e50
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xa
call fcn.00408ac0
lea eax, [ebp - 0x28]
mov ecx, 0x5d2278
push eax
inc ebx
call fcn.0052d400
mov ecx, eax
call fcn.0052fbc0
cmp ebx, eax
jb 0x4087c0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4089a6
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40899c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408aaf
push edx
push ecx
call fcn.00532001
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x4089de
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4089d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ab4
push edx
push ecx
call fcn.00532001
add esp, 8
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00521e50
mov byte [ebp - 4], 4
test esi, esi
je 0x408a33
mov ecx, dword [ebp - 0xac]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x408a29
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ab4
push ecx
push esi
call fcn.00532001
add esp, 8
push 0
lea ecx, [ebp - 0x104]
call fcn.0052ce30
lea ecx, [ebp - 0x104]
call fcn.0052d1c0
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4086fa
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4086f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4086f0
call fcn.005375cf
call fcn.005375cf
push 0
push 0
push 0x5bc274
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call fcn.00541ee7
call fcn.00401220
call fcn.005375cf
call fcn.005375cf
call fcn.005375cf
int3