Function at 0x4074a2
Capabilities:
Delete file
Encode data using xor

Disassembly:
mov eax, 0x4725ad
call fcn.0046f99c
push ecx
mov eax, 0x116a4
call fcn.0045c7e0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push dword [ebp + 8]
lea eax, [ebp - 0x268]
push eax
call fcn.004099d0
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x268]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x230]
push 0xf
pop ebx
push dword [ebp + 8]
cmp eax, ecx
mov byte [ebp - 0x68], 1
push dword [ebp - 0x68]
sete dl
push ecx
mov byte [ebp - 0x30], dl
push dword [ebp - 0x30]
mov dword [ebp - 0xc0], ebx
push eax
lea eax, [ebp - 0xd4]
push eax
mov dword [ebp - 0xc4], ecx
mov byte [ebp - 0xd4], cl
call fcn.0040d5ad
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 1
call fcn.0040735b
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0xd4]
mov byte [ebp - 4], 2
call fcn.00403b95
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00403c75
lea eax, [ebp - 0x258]
call fcn.0040a74e
test eax, eax
jne 0x40758f
mov eax, dword [ebp - 0x268]
mov ecx, dword [eax + 4]
lea ecx, [ebp + ecx - 0x268]
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], esi
jne 0x40757e
or eax, 4
and eax, 0x17
mov dword [ecx + 0xc], eax
test dword [ecx + 0x10], eax
je 0x40758f
push esi
call fcn.004063e8
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x40759a
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], esi
mov byte [ebp - 0x64], 0
lea eax, [ebp - 0x48]
push 0x63
push eax
mov byte [ebp - 4], 4
call fcn.0042a18e
pop ecx
pop ecx
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.004285d2
pop ecx
push 1
xor edi, edi
lea esi, [ebp - 0x48]
call fcn.00403da6
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x3c]
call fcn.0040a126
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x18], 0x10
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x2c]
jae 0x407607
lea eax, [ebp - 0x2c]
lea ecx, [ebp + 8]
push ecx
push dword [ebp - 0x3c]
push dword [ebp - 0x1c]
push eax
call fcn.0042d11c
add esp, 0x10
test al, al
jne 0x407650
call fcn.00407d00
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x108]
call fcn.00449745
mov dword [ebp - method.std::runtime_error.virtual_0], vtable.std::runtime_error.0
push 0x4914a0
lea eax, [ebp - 0x108]
push eax
call fcn.004535e6
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x3c]
call fcn.0040a126
lea eax, [ebp - 0x80]
push 0x64
push eax
call fcn.0042a18e
pop ecx
pop ecx
lea ecx, [ebp - 0x9c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.004285d2
pop ecx
push 1
xor edi, edi
lea esi, [ebp - 0x80]
call fcn.00403da6
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov byte [ebp - 4], 0xc
mov esi, dword [ebp - 0x8c]
lea eax, [ebp - 0x74]
call fcn.0040a126
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x74]
cmp dword [ebp - 0x88], 0x10
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x9c]
jae 0x4076c0
lea eax, [ebp - 0x9c]
lea ecx, [ebp + 8]
push ecx
push dword [ebp - 0x74]
push dword [ebp - 0x8c]
push eax
call fcn.0042d11c
add esp, 0x10
test al, al
jne 0x40770b
call fcn.00407d66
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0xfc]
call fcn.00449745
mov dword [ebp - 0xfc], vtable.std::runtime_error.0
push 0x4914a0
lea eax, [ebp - 0xfc]
jmp 0x40764a
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x74]
call fcn.0040a126
mov esi, dword [ebp - 0x70]
mov edi, dword [ebp - 0x74]
xor ecx, ecx
mov eax, esi
sub eax, edi
cmp ecx, eax
jae 0x407740
mov ebx, dword [ebp - 0x38]
sub ebx, dword [ebp - 0x3c]
xor edx, edx
mov eax, ecx
div ebx
mov eax, dword [ebp - 0x3c]
mov al, byte [edx + eax]
xor byte [edi + ecx], al
inc ecx
xor ebx, ebx
jmp 0x40771e
sub esi, edi
push esi
push edi
lea esi, [ebp - 0xf0]
call fcn.00408de0
mov esi, eax
lea edi, [ebp - 0x64]
mov byte [ebp - 4], 0xd
call fcn.00403b95
push ebx
push 1
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xc
call fcn.00403c75
cmp dword [ebp - 0x50], 0x10
mov eax, dword [ebp - 0x64]
jae 0x40777a
mov eax, edi
mov ecx, dword [ebp - 0x54]
cmp byte [eax + ecx - 1], 0x2f
je 0x40778e
push 0x2f
lea eax, [ebp - 0x64]
call fcn.00408ebc
test byte [0x4a4a0c], 1
jne 0x4077b2
or dword [0x4a4a0c], 1
mov dword [0x49ff00], 0x45061b5f
mov dword [0x49ff04], 0x29064e46
xor eax, eax
cmp eax, 8
jae 0x4077cb
mov cl, byte [eax + 0x49ff00]
xor cl, 0x29
mov byte [eax + 0x4a04d0], cl
inc eax
jmp 0x4077b4
mov ecx, 0x4a04d0
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4077d5
sub eax, esi
mov ebx, eax
push ecx
lea eax, [ebp - 0x64]
call fcn.00408e29
lea esi, [ebp - 0x74]
call fcn.00403b7c
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x9c]
call fcn.00403c75
lea esi, [ebp - 0x3c]
call fcn.00403b7c
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403c75
mov dword [ebp - 4], 3
jmp 0x40783a
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
push 3
lea eax, [ebp - 0x358]
push eax
mov byte [ebp - 4], 0xf
call fcn.00409381
lea eax, [ebp - 0xf0]
push eax
mov byte [ebp - 4], 0x10
call fcn.00428ff6
pop ecx
mov esi, eax
mov byte [ebp - 4], 0x11
test byte [0x4a49fc], 1
jne 0x407893
or dword [0x4a49fc], 1
mov dword [0x49ff44], 0x29144d0f
xor eax, eax
mov cl, byte [eax + 0x49ff44]
xor cl, 0x29
mov byte [eax + 0x4a0514], cl
inc eax
cmp eax, 4
jb 0x407895
test byte [0x4a4a00], 1
jne 0x4078c4
or dword [0x4a4a00], 1
mov dword [0x49ff40], 0x29145f0f
xor eax, eax
mov cl, byte [eax + 0x49ff40]
xor cl, 0x29
mov byte [eax + 0x4a0510], cl
inc eax
cmp eax, 4
jb 0x4078c6
test byte [0x4a4a04], 1
jne 0x407906
or dword [0x4a4a04], 1
mov dword [0x49ff34], 0x5a0f144a
mov dword [0x49ff38], 0x145d0f14
mov byte [0x49ff3c], 0x29
xor eax, eax
mov cl, byte [eax + 0x49ff34]
xor cl, 0x29
mov byte [eax + 0x4a0504], cl
inc eax
cmp eax, 9
jb 0x407908
push 0x4a0514
push 0x4a0510
push 0x18f
lea eax, [ebp - 0x348]
push 0x4a0504
push eax
call fcn.0040c104
pop ecx
pop ecx
push eax
call fcn.00408f27
push eax
call fcn.0040c104
push eax
mov ecx, esi
call fcn.0040c2ad
add esp, 0xc
push eax
call fcn.0040c104
push eax
lea ecx, [ebp - 0xd4]
call fcn.0040c2ad
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0x10
call fcn.00403c75
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x358]
call fcn.00409458
mov esi, eax
lea edi, [ebp - 0xb8]
mov byte [ebp - 4], 0x12
call fcn.00403b95
push ebx
push 1
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0x10
call fcn.00403c75
push 0xf
pop edi
push ebx
push 0x48ed40
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00403bdf
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1b8]
push eax
mov byte [ebp - 4], 0x13
call fcn.0041ff0a
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x15
call fcn.00403c75
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp - 0x3e4]
push eax
lea ecx, [ebp - 0x64]
call fcn.004200aa
mov byte [ebp - 4], 0x16
test byte [0x4a49f8], 1
jne 0x407a2a
or dword [0x4a49f8], 1
mov dword [0x49ff48], 0x7d7a6679
mov byte [0x49ff4c], 0x29
xor eax, eax
mov cl, byte [eax + 0x49ff48]
xor cl, 0x29
mov byte [eax + 0x4a0518], cl
inc eax
cmp eax, 5
jb 0x407a2c
mov esi, 0x4a0518
mov eax, esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x407a54
sub eax, ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00403bdf
lea eax, [ebp - 0x18c]
push eax
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x17
call fcn.00421022
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x19
call fcn.00403c75
call fcn.00407e64
push eax
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
call fcn.00403c54
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0x1a
call fcn.00421117
push ebx
push 1
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0x19
call fcn.00403c75
lea ebx, [ebp - 0x116b4]
call fcn.004110d4
mov byte [ebp - 4], 0x1b
push dword [0x49a984]
xor ebx, ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00403c54
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x1c
call fcn.00421117
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x1b
call fcn.00403c75
cmp dword [ebp - 0xa4], 0x10
mov eax, dword [ebp - 0xb8]
jae 0x407b3a
lea eax, [ebp - 0xb8]
lea ecx, [ebp + 8]
push ecx
push dword [ebp - 0xa8]
push eax
lea eax, [ebp - 0x116b4]
call fcn.004115f7
mov esi, eax
cmp esi, ebx
jne 0x407b86
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x114]
mov dword [ebp + 8], str.crash_report_crypt_failed
call fcn.00449745
mov dword [ebp - method.std::runtime_error.virtual_0], vtable.std::runtime_error.0
push 0x4914a0
lea eax, [ebp - 0x114]
jmp 0x40764a
cmp dword [ebp - 0x13c], 0x10
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x140], ebx
jae 0x407ba1
lea eax, [ebp - 0x150]
mov byte [eax], bl
mov ebx, dword [ebp + 8]
push esi
lea eax, [ebp - 0x150]
call fcn.00408e29
push esi
call fcn.0044b347
pop ecx
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x3e4]
call fcn.004203b8
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0x280]
lea ecx, [eax - 0xc8]
cmp ecx, 0x63
jbe 0x407c58
cdq
push edx
push eax
lea esi, [ebp - 0xf0]
call fcn.00428858
pop ecx
pop ecx
mov esi, eax
mov byte [ebp - 4], 0x1e
call fcn.00407f09
push eax
lea eax, [ebp - 0x2c]
push eax
lea edi, [ebp - 0x64]
call fcn.0040bf05
pop ecx
pop ecx
mov edi, eax
mov byte [ebp - 4], 0x1f
call fcn.00407f51
push eax
lea eax, [ebp - 0x9c]
push edi
push eax
call fcn.0040c434
add esp, 0xc
mov ecx, eax
mov eax, esi
lea edi, [ebp - 0x48]
mov byte [ebp - 4], 0x20
call fcn.0040c46b
lea esi, [ebp - 0x120]
mov byte [ebp - 4], 0x21
call fcn.00404b2c
push 0x4914a0
mov eax, esi
jmp 0x40764a
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 0x1b
call fcn.0042153f
lea ecx, [ebp - 0x116b4]
call fcn.004115e6
lea ecx, [ebp - 0x18c]
call fcn.004210d3
lea ecx, [ebp - 0x3e4]
call fcn.0042037e
lea esi, [ebp - 0x1b8]
call fcn.00420083
lea eax, [ebp - 0x358]
mov byte [ebp - 4], 0xf
call fcn.00407488
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0xb8]
call fcn.00403c75
push esi
push 1
lea ecx, [ebp - 0x64]
call fcn.00403c75
push esi
push 1
lea ecx, [ebp - 0xd4]
call fcn.00403c75
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x200]
call fcn.00409a98
lea eax, [ebp - 0x200]
push eax
mov dword [ebp - 0x200], 0x48fca0
call fcn.00448bd1
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret