Function at 0x401660
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c4c0
mov eax, dword fs:[0]
push eax
mov eax, 0x2590
call fcn.00420430
mov eax, dword [0x44f050]
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
push str.Decrypt_Encrypt_Combat_Arms_files
mov dword [ebp - 0x24d0], 0
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea ecx, [ebp - 0xa4]
call fcn.00401160
mov dword [ebp - 4], 0
cmp dword [ebp - 0x94], 0
jne 0x401762
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jne 0x4016e8
mov edx, str.select_a_folder..._n
call fcn.00404880
call fcn.00401610
mov edi, eax
jmp 0x402a5e
mov eax, dword [0x44fab0]
mov esi, dword [eax + 8]
call edi
push eax
lea eax, [ebp - 0x2500]
mov ecx, 0x44fab0
push eax
call esi
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x401710
mov eax, dword [eax]
push ecx
mov edx, eax
call fcn.004058f0
push eax
call fcn.00404b60
mov byte [ebp - 4], 0
add esp, 8
mov ecx, dword [ebp - 0x24ec]
cmp ecx, 0x10
jb 0x401893
mov edx, dword [ebp - 0x2500]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401889
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ac6
jmp 0x401889
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x14], 0x44fab0
call fcn.0040db30
test al, al
jne 0x401801
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x24e8]
push dword [ebp - 0x18]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 2
lea edx, [ebp - 0x24e8]
cmp dword [ebp - 0x24d4], 0x10
push dword [ebp - 0x24d8]
cmovae edx, dword [ebp - 0x24e8]
call fcn.004058f0
push eax
call fcn.00404b60
mov byte [ebp - 4], 0
add esp, 8
mov ecx, dword [ebp - 0x24d4]
cmp ecx, 0x10
jb 0x401893
mov edx, dword [ebp - 0x24e8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401889
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402acb
jmp 0x401889
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0xa4]
call fcn.0040d960
test al, al
jne 0x40189f
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x24e8]
push dword [ebp - 0x18]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 3
lea edx, [ebp - 0x24e8]
cmp dword [ebp - 0x24d4], 0x10
push dword [ebp - 0x24d8]
cmovae edx, dword [ebp - 0x24e8]
call fcn.004058f0
push eax
call fcn.00404b60
mov byte [ebp - 4], 0
add esp, 8
mov ecx, dword [ebp - 0x24d4]
cmp ecx, 0x10
jb 0x401893
mov edx, dword [ebp - 0x24e8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401889
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ad0
push ecx
push edx
call fcn.0041f630
add esp, 8
call fcn.00401610
mov edi, eax
jmp 0x402a5e
push 0x44
push str.Choose_type
push str.Decrypt__YES___Encrypt__NO_
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor ebx, ebx
lea ecx, [ebp - 0xa4]
cmp eax, 6
lea eax, [ebp - 0x2594]
push eax
setne bl
mov dword [ebp - 0x2504], ebx
call fcn.0040c760
push ecx
lea ecx, [ebp - 0x254c]
mov byte [ebp - 4], 4
push ecx
mov ecx, eax
call fcn.0040d0f0
mov edi, 0x20
mov dword [ebp - 0x24d0], edi
mov ecx, str.ENCRYPTED
mov byte [ebp - 4], 5
test ebx, ebx
lea edx, [ebp - 0x254c]
mov eax, str.DECRYPTED
cmovne eax, ecx
lea ecx, [ebp - 0x257c]
push eax
sub esp, 8
mov eax, esp
mov dword [eax], str._
mov dword [eax + 4], 5
call fcn.00404c00
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2534]
mov byte [ebp - 0x1c], 0
mov edx, eax
push dword [ebp - 0x1c]
call fcn.00405b90
add esp, 0x10
lea eax, [ebp - 0x2564]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xa4]
call fcn.0040c4e0
lea ecx, [ebp - 0x2534]
mov byte [ebp - 4], 8
push ecx
mov edx, eax
lea ecx, [ebp - 0x8c]
call fcn.0040d8f0
add esp, 4
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x2550]
cmp ecx, 8
jb 0x4019bd
mov edx, dword [ebp - 0x2564]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4019b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ad5
push ecx
push edx
call fcn.0041f630
add esp, 8
xor eax, eax
mov dword [ebp - 0x2554], 0
mov dword [ebp - 0x2550], 7
mov word [ebp - 0x2564], ax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x2520]
cmp ecx, 8
jb 0x401a1e
mov edx, dword [ebp - 0x2534]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401a14
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ad5
push ecx
push edx
call fcn.0041f630
add esp, 8
xor eax, eax
mov dword [ebp - 0x2524], 0
mov dword [ebp - 0x2520], 7
mov word [ebp - 0x2534], ax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x2568]
cmp ecx, 0x10
jb 0x401a79
mov edx, dword [ebp - 0x257c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401a6f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ad5
push ecx
push edx
call fcn.0041f630
add esp, 8
mov dword [ebp - 0x256c], 0
mov dword [ebp - 0x2568], 0xf
mov byte [ebp - 0x257c], 0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x2538]
cmp ecx, 0x10
jb 0x401ad2
mov edx, dword [ebp - 0x254c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401ac8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ad5
push ecx
push edx
call fcn.0041f630
add esp, 8
mov dword [ebp - 0x253c], 0
mov dword [ebp - 0x2538], 0xf
mov byte [ebp - 0x254c], 0
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x2580]
cmp ecx, 8
jb 0x401b31
mov edx, dword [ebp - 0x2594]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401b27
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ad5
push ecx
push edx
call fcn.0041f630
add esp, 8
xor eax, eax
mov dword [ebp - 0x2584], 0
lea edx, [ebp - 0x18]
mov dword [ebp - 0x2580], 7
lea ecx, [ebp - 0x8c]
mov word [ebp - 0x2594], ax
call fcn.0040db30
test al, al
jne 0x401c18
cmp dword [ebp - 0x78], 8
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
push eax
call fcn.0041e5c5
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], 0x44fab0
test al, al
jne 0x401c18
mov eax, dword [0x44fab0]
mov ecx, 0x44fab0
push edx
lea edx, [ebp - 0x24e8]
push edx
call dword [eax + 8]
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x24e8]
cmp dword [ebp - 0x24d4], 0x10
push dword [ebp - 0x24d8]
cmovae edx, dword [ebp - 0x24e8]
call fcn.004058f0
push eax
call fcn.00404b60
mov byte [ebp - 4], 0xe
add esp, 8
mov ecx, dword [ebp - 0x24d4]
cmp ecx, 0x10
jb 0x401c0c
mov edx, dword [ebp - 0x24e8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401c02
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ada
push ecx
push edx
call fcn.0041f630
add esp, 8
call fcn.00401610
mov edi, eax
jmp 0x402a0a
push 0x2298
lea eax, [ebp - 0x235c]
push 0
push eax
call fcn.00421110
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
add esp, 8
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0x24]
call fcn.0040b6e0
add esp, 4
test eax, eax
jne 0x402adf
mov ecx, dword [ebp - 0x20]
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
test ecx, ecx
je 0x401c6c
lock inc dword [ecx + 4]
mov esi, dword [ebp - 0x24]
mov ebx, ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], ebx
test ecx, ecx
je 0x401c7f
lock inc dword [ecx + 4]
movlpd qword [ebp - 0xc4], xmm0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
test ecx, ecx
je 0x401cbf
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x401cbf
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x20]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x401cbf
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x13
test esi, esi
je 0x4026ca
mov ebx, dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, esi
call fcn.0040a9c0
test al, al
je 0x4026b4
lea eax, [esi + 0x20]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040d210
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x259c]
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.0040a800
add esp, 8
cmp dword [eax + 4], 0
je 0x402676
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040c760
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x44]
call fcn.0040a740
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x1c], eax
mov esi, 0x44af70
push esi
lea ecx, [ebp - 0x1c]
call fcn.00402b00
test al, al
jne 0x401d5f
add esi, 8
cmp esi, 0x44af90
jne 0x401d42
jmp 0x4025e6
cmp esi, 0x44af90
je 0x4025e6
push 0xb8
lea eax, [ebp - 0x2414]
push 0
push eax
call fcn.00421110
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2414]
call fcn.00404c80
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x2414]
mov eax, dword [ecx + 4]
test byte [ebp + eax - 0x2408], 6
jne 0x401ee1
lea ecx, [ebp - 0x2414]
call fcn.00403a90
cmp eax, 0x3b
jne 0x401edb
mov eax, dword [ebp - 0x2414]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x2414]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x2418], eax
lea ecx, [ebp - 0x2404]
call fcn.00403940
mov eax, dword [ebp - 0x2414]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x2414]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x2418], eax
lea eax, [ebp - 0x23a4]
mov byte [ebp - 4], 0x18
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0041eac4
mov byte [ebp - 4], 0x15
add esp, 4
mov ecx, dword [ebp - 0x48]
cmp ecx, 8
jb 0x401e70
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401e66
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ac6
push ecx
push edx
call fcn.0041f630
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp ecx, 8
jb 0x401ec2
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401eb8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ac6
push ecx
push edx
call fcn.0041f630
add esp, 8
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
jmp 0x402676
mov ecx, dword [ebp - 0x2414]
mov eax, dword [ecx + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x2414]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x2418], eax
lea ecx, [ebp - 0x2404]
call fcn.00403940
mov eax, dword [ebp - 0x2414]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x2414]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x2418], eax
lea eax, [ebp - 0x23a4]
mov byte [ebp - 4], 0x19
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0041eac4
add esp, 4
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x2500]
lea ecx, [ebp - 0x44]
push eax
call fcn.0040c4e0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x1a
push ecx
lea ecx, [ebp - 0xa4]
mov edx, eax
push ecx
lea ecx, [ebp - 0x251c]
call fcn.0040a4c0
push eax
lea edx, [ebp - 0x8c]
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0xbc]
call fcn.0040d8f0
add esp, 0xc
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x2508]
cmp ecx, 8
jb 0x401fdd
mov edx, dword [ebp - 0x251c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401fd3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ac6
push ecx
push edx
call fcn.0041f630
add esp, 8
xor eax, eax
mov dword [ebp - 0x250c], 0
mov dword [ebp - 0x2508], 7
mov word [ebp - 0x251c], ax
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x24ec]
cmp ecx, 8
jb 0x40203e
mov edx, dword [ebp - 0x2500]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402034
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ac6
push ecx
push edx
call fcn.0041f630
add esp, 8
xor eax, eax
mov dword [ebp - 0x24f0], 0
lea edx, [ebp - 0x18]
mov dword [ebp - 0x24ec], 7
lea ecx, [ebp - 0xbc]
mov word [ebp - 0x2500], ax
call fcn.0040db30
test al, al
jne 0x402083
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0xbc]
call fcn.00406c00
test al, al
je 0x4027f2
push 0xb8
lea eax, [ebp - 0x24cc]
push 0
push eax
call fcn.00421110
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x24cc]
call fcn.00404c80
mov ecx, dword [ebp - 0x24cc]
mov eax, dword [ecx + 4]
test byte [ebp + eax - 0x24c0], 6
jne 0x402532
push 0xb0
lea eax, [ebp - 0x240c]
push 0
push eax
call fcn.00421110
add esp, 0xc
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 0x21
push eax
lea ecx, [ebp - 0x24e8]
call fcn.0040d210
lea eax, [ebp - 0x74]
or edi, 0x800000
push eax
lea ecx, [ebp - 0x24e8]
mov dword [ebp - 0x24d0], edi
call fcn.0040d630
cmp dword [ebp - 0x24d4], 8
lea esi, [ebp - 0x24e8]
mov dword [ebp - 0x240c], 0x44ad5c
cmovae esi, dword [ebp - 0x24e8]
mov dword [ebp - 0x239c], 0
mov dword [ebp - 0x237c], 0
mov dword [ebp - 0x2378], 0
mov dword [ebp - 0x2374], 0
mov byte [ebp - 4], 0x22
lea eax, [ebp - 0x2408]
push 0
or edi, 0x200000
mov dword [ebp - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
push eax
lea ecx, [ebp - 0x23a4]
mov dword [ebp - 0x24d0], edi
mov dword [ebp - 0x23a8], 0x60
call fcn.004056e0
mov dword [ebp - 4], 0x24
mov eax, dword [ebp - 0x240c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x240c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x2410], eax
lea ecx, [ebp - 0x2408]
call fcn.00405420
push ecx
push 0x22
push esi
lea ecx, [ebp - 0x2408]
mov byte [ebp - 4], 0x25
call fcn.00405250
test eax, eax
jne 0x4021fa
mov eax, dword [ebp - 0x240c]
lea ecx, [ebp - 0x240c]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00406680
mov eax, dword [ebp - 0x240c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x240c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x2410], eax
and edi, 0xff7fffff
mov dword [ebp - 0x24d0], edi
mov byte [ebp - 4], 0x27
mov ecx, dword [ebp - 0x24d4]
cmp ecx, 8
jb 0x402271
mov edx, dword [ebp - 0x24e8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402267
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ac6
push ecx
push edx
call fcn.0041f630
add esp, 8
xor eax, eax
mov dword [ebp - 0x24d8], 0
mov word [ebp - 0x24e8], ax
mov eax, dword [ebp - 0x240c]
mov dword [ebp - 0x24d4], 7
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x2400], 6
jne 0x4024b6
push str.56B83E3F68B60F0F29357BED335E5642
push str.620C724A2FF22C975B5A2B9C21430820227B3D2800193AAA4CF3128803AC3ABD
lea ecx, [ebp - 0x235c]
call fcn.00410f20
push ecx
lea eax, [ebp - 0x251c]
lea ecx, [ebp - 0x74]
push eax
call fcn.0040d0f0
cmp dword [ebp - 0x2504], 0
jne 0x4023c9
or edi, 0x2000000
mov dword [ebp - 0x24d0], edi
sub esp, 8
mov byte [ebp - 4], 0x28
mov eax, esp
lea edx, [ebp - 0x251c]
lea ecx, [ebp - 0x2500]
mov dword [eax], str.Decrypting_
mov dword [eax + 4], 0xf
call fcn.00404dc0
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x402315
mov eax, dword [eax]
push eax
call ebx
mov ecx, dword [ebp - 0x24ec]
cmp ecx, 0x10
jb 0x402352
mov edx, dword [ebp - 0x2500]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402348
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ac6
push ecx
push edx
call fcn.0041f630
add esp, 8
mov byte [ebp - 4], 0x27
mov ecx, dword [ebp - 0x2508]
mov dword [ebp - 0x24f0], 0
mov dword [ebp - 0x24ec], 0xf
mov byte [ebp - 0x2500], 0
cmp ecx, 0x10
jb 0x4023ab
mov edx, dword [ebp - 0x251c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4023a1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ac6
push ecx
push edx
call fcn.0041f630
add esp, 8
lea eax, [ebp - 0x240c]
push eax
lea eax, [ebp - 0x24cc]
push eax
lea ecx, [ebp - 0x235c]
call fcn.004114a0
jmp 0x4024b6
or edi, 0x40000000
mov dword [ebp - 0x24d0], edi
sub esp, 8
mov byte [ebp - 4], 0x29
mov eax, esp
lea edx, [ebp - 0x251c]
lea ecx, [ebp - 0x2500]
mov dword [eax], str.Encrypting_
mov dword [eax + 4], 0xf
call fcn.00404dc0
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x402407
mov eax, dword [eax]
push eax
call ebx
mov ecx, dword [ebp - 0x24ec]
cmp ecx, 0x10
jb 0x402444
mov edx, dword [ebp - 0x2500]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40243a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ac6
push ecx
push edx
call fcn.0041f630
add esp, 8
mov byte [ebp - 4], 0x27
mov ecx, dword [ebp - 0x2508]
mov dword [ebp - 0x24f0], 0
mov dword [ebp - 0x24ec], 0xf
mov byte [ebp - 0x2500], 0
cmp ecx, 0x10
jb 0x40249d
mov edx, dword [ebp - 0x251c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402493
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ac6
push ecx
push edx
call fcn.0041f630
add esp, 8
lea eax, [ebp - 0x240c]
push eax
lea eax, [ebp - 0x24cc]
push eax
lea ecx, [ebp - 0x235c]
call fcn.004113d0
mov eax, dword [ebp - 0x240c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x240c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x2410], eax
lea ecx, [ebp - 0x2408]
call fcn.00403940
mov eax, dword [ebp - 0x240c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x240c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x2410], eax
lea eax, [ebp - 0x23a4]
mov byte [ebp - 4], 0x2a
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0041eac4
mov ecx, dword [ebp - 0x24cc]
add esp, 4
mov eax, dword [ecx + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x24cc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x24d0], eax
lea ecx, [ebp - 0x24bc]
call fcn.00403940
mov eax, dword [ebp - 0x24cc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x24cc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x24d0], eax
lea eax, [ebp - 0x245c]
mov byte [ebp - 4], 0x2b
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0041eac4
mov byte [ebp - 4], 0x16
add esp, 4
mov ecx, dword [ebp - 0xa8]
cmp ecx, 8
jb 0x4025e6
mov edx, dword [ebp - 0xbc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4025dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ac6
push ecx
push edx
call fcn.0041f630
add esp, 8
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x48]
cmp ecx, 8
jb 0x402624
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40261a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ac6
push ecx
push edx
call fcn.0041f630
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp ecx, 8
jb 0x402676
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40266c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ac6
push ecx
push edx
call fcn.0041f630
add esp, 8
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x30]
cmp ecx, 8
jb 0x4026b4
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4026aa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ac6
push ecx
push edx
call fcn.0041f630
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.0040b110
mov esi, dword [ebp - 0x2c]
test esi, esi
jne 0x401cd1
mov ebx, dword [ebp - 0x28]
or edi, 0xffffffff
test ebx, ebx
je 0x4026f0
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x4026f0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lock xadd dword [ebx + 8], eax
jne 0x4026f0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x402719
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x402719
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x402719
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push str.Decrypt_Encrypt_Combat_Arms_files
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov edx, str.Press_enter_to_exit_console...
call fcn.00404880
mov eax, dword [0x450348]
xor edx, edx
push 0
mov ecx, dword [eax + 4]
mov eax, 4
add ecx, 0x450348
cmp dword [ecx + 0x38], edx
cmovne eax, edx
push eax
call fcn.00406680
mov ecx, 0x450348
call fcn.00403bd0
mov ecx, dword [ebp - 0x78]
cmp ecx, 8
jb 0x402798
mov edx, dword [ebp - 0x8c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40278e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402af2
push ecx
push edx
call fcn.0041f630
add esp, 8
mov ecx, dword [ebp - 0x90]
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
cmp ecx, 8
jb 0x402aa8
mov edx, dword [ebp - 0xa4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402a9e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402af2
jmp 0x402a9e
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x24e8]
push dword [ebp - 0x18]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0x1f
lea edx, [ebp - 0x24e8]
cmp dword [ebp - 0x24d4], 0x10
push dword [ebp - 0x24d8]
cmovae edx, dword [ebp - 0x24e8]
call fcn.004058f0
push eax
call fcn.00404b60
mov byte [ebp - 4], 0x1e
add esp, 8
mov ecx, dword [ebp - 0x24d4]
cmp ecx, 0x10
jb 0x40286e
mov edx, dword [ebp - 0x24e8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402864
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402af7
push ecx
push edx
call fcn.0041f630
add esp, 8
call fcn.00401610
mov ecx, dword [ebp - 0xa8]
mov edi, eax
cmp ecx, 8
jb 0x4028b5
mov edx, dword [ebp - 0xbc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4028ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ac6
push ecx
push edx
call fcn.0041f630
add esp, 8
mov ecx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
cmp ecx, 8
jb 0x40290c
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402902
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ac6
push ecx
push edx
call fcn.0041f630
add esp, 8
mov ecx, dword [ebp - 0x60]
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp ecx, 8
jb 0x40295a
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402950
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ac6
push ecx
push edx
call fcn.0041f630
add esp, 8
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
cmp ecx, 8
jb 0x4029a8
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40299e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ac6
push ecx
push edx
call fcn.0041f630
add esp, 8
mov esi, dword [ebp - 0x28]
xor eax, eax
or ebx, 0xffffffff
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
test esi, esi
je 0x4029e5
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4029e5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x4029e5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x402a0a
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x402a0a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x402a0a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x78]
cmp ecx, 8
jb 0x402a47
mov edx, dword [ebp - 0x8c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402a3d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ac6
push ecx
push edx
call fcn.0041f630
add esp, 8
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
mov ecx, dword [ebp - 0x90]
cmp ecx, 8
jb 0x402a9a
mov edx, dword [ebp - 0xa4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402a90
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ac6
push ecx
push edx
call fcn.0041f630
add esp, 8
mov eax, edi
jmp 0x402aaa
push ecx
push edx
call fcn.0041f630
add esp, 8
xor eax, eax
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.0041f622
mov esp, ebp
pop ebp
ret
call fcn.0042403f
call fcn.0042403f
call fcn.0042403f
call fcn.0042403f
call fcn.0042403f
lea ecx, [ebp - 0xa4]
mov edx, eax
push ecx
mov ecx, str.recursive_directory_iterator::recursive_directory_iterator
call fcn.0040c450
call fcn.0042403f
call fcn.0042403f
int3