Function at 0x411880
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4730b1
mov eax, dword fs:[0]
push eax
sub esp, 0x624
mov eax, dword [0x493018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x5c8], edi
xor eax, eax
lea ecx, [ebp - 0x4d4]
push edi
mov dword [ebp - 0x5bc], eax
mov dword [ebp - 0x5c0], eax
call fcn.0041bc30
mov ecx, edi
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x428], 7
mov word [ebp - 0x43c], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411900
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x43c]
call fcn.00419d70
mov ecx, dword [0x49e354]
mov eax, 0x2aaaaaab
sub ecx, dword [0x49e350]
mov esi, dword [ebp - 0x43c]
imul ecx
mov dword [ebp - 0x5c4], 0
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x5c0], eax
test eax, eax
jle 0x4119b5
cmp dword [ebp - 0x428], 8
setae byte [ebp - 0x5b5]
xor edi, edi
mov eax, dword [0x49e350]
add eax, edi
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x411974
mov edx, dword [eax]
push dword [eax + 0x10]
cmp byte [ebp - 0x5b5], 0
lea ecx, [ebp - 0x43c]
push edx
mov edx, dword [ebp - 0x42c]
cmovne ecx, esi
push 0
call fcn.0041c840
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4119f2
mov eax, dword [ebp - 0x5c4]
add edi, 0x18
inc eax
mov dword [ebp - 0x5c4], eax
cmp eax, dword [ebp - 0x5c0]
jl 0x411963
mov eax, dword [ebp - 0x428]
cmp eax, 8
jb 0x411a7e
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x411a74
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124be
jmp 0x411a74
cmp byte [ebp - 0x5b5], 0
je 0x411a30
mov eax, dword [ebp - 0x428]
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x411a26
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124be
push ecx
push esi
call fcn.004373c7
add esp, 8
push 0x3fc
lea eax, [ebp - 0x40c]
push 0
push eax
call fcn.0044ede0
push dword [ebp - 0x5c8]
lea eax, [ebp - 0x40c]
push str.skipped_:__ls_n
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x40c]
push eax
push 0x487b4c
call fcn.00402250
add esp, 0x20
jmp 0x412465
push ecx
push esi
call fcn.004373c7
add esp, 8
lea eax, [ebp - 0x4d4]
push eax
lea ecx, [ebp - 0x5b4]
call fcn.00416b90
push 0x48
lea eax, [ebp - 0x4bc]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.0044ede0
add esp, 0xc
lea eax, [ebp - 0x5b4]
lea ecx, [ebp - 0x4bc]
push eax
call fcn.004124e0
push 0x48
lea eax, [ebp - 0x51c]
push 0
push eax
call fcn.0044ede0
push 4
mov byte [ebp - 4], 3
call fcn.00437397
add esp, 0xc
lea ecx, [ebp - 0x51c]
mov dword [eax], 0
push eax
call fcn.0041c780
movaps xmm0, xmmword [0x488fa0]
xor eax, eax
mov dword [ebp - 0x504], 0
mov dword [ebp - 0x500], 7
mov word [ebp - 0x514], ax
mov dword [ebp - 0x4ec], eax
mov dword [ebp - 0x4e8], 7
mov word [ebp - 0x4fc], ax
movups xmmword [ebp - 0x4e4], xmm0
mov byte [ebp - 4], 4
nop
mov eax, dword [ebp - 0x4bc]
test eax, eax
je 0x411b4a
mov ecx, dword [ebp - 0x51c]
test ecx, ecx
je 0x411b57
mov eax, dword [eax]
cmp eax, dword [ecx]
jmp 0x411b51
cmp dword [ebp - 0x51c], 0
je 0x412435
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x49c]
call fcn.004041a0
lea eax, [ebp - 0x618]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x49c]
call fcn.00404290
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 6
push ecx
mov ecx, eax
call fcn.004041a0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x604]
cmp edx, 8
jb 0x411bd5
mov ecx, dword [ebp - 0x618]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411bcb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124be
push edx
push ecx
call fcn.004373c7
add esp, 8
xor eax, eax
mov dword [ebp - 0x608], 0
cmp dword [ebp - 0x42c], 0xf4
mov dword [ebp - 0x604], 7
mov word [ebp - 0x618], ax
jbe 0x411c22
cmp dword [ebp - 0x428], 8
lea eax, [ebp - 0x43c]
cmovae eax, dword [ebp - 0x43c]
push eax
push str.too_long_filename:__s_n
call fcn.00402250
jmp 0x412339
lea ecx, [ebp - 0x49c]
call fcn.00404aa0
test al, al
je 0x412257
lea ecx, [ebp - 0x49c]
call fcn.004047e0
test al, al
je 0x411e17
lea eax, [ebp - 0x5e0]
push eax
lea ecx, [ebp - 0x49c]
call fcn.00404490
mov esi, dword [ebp - 0x5bc]
or esi, 1
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x5bc], esi
mov dword [ebp - 0x5c0], esi
mov dword [ebp - 0x410], 0xf
mov byte [ebp - 0x424], 0
mov dword [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
jb 0x411c99
mov eax, dword [eax]
lea ecx, [ebp - 0x114]
push ecx
push eax
call fcn.00420086
add esp, 8
test eax, eax
je 0x4124c3
lea edi, [ebp - 0x114]
lea ecx, [edi + 1]
nop word [eax + eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x411cc0
mov edx, dword [ebp - 0x410]
sub edi, ecx
mov ecx, dword [ebp - 0x414]
mov eax, edx
sub eax, ecx
push edi
cmp edi, eax
ja 0x411d1b
lea eax, [ecx + edi]
cmp edx, 0x10
mov dword [ebp - 0x414], eax
lea esi, [ebp - 0x424]
cmovae esi, dword [ebp - 0x424]
lea eax, [ebp - 0x114]
add esi, ecx
push eax
push esi
call fcn.0044ef40
mov byte [edi + esi], 0
lea eax, [ebp - 0x424]
mov esi, dword [ebp - 0x5bc]
add esp, 0xc
jmp 0x411d3b
lea eax, [ebp - 0x114]
mov byte [ebp - 0x5c4], 0
push eax
push dword [ebp - 0x5c4]
lea ecx, [ebp - 0x424]
push edi
call fcn.0041ccf0
movups xmm0, xmmword [eax]
or esi, 4
movups xmmword [ebp - 0x5f8], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x410]
movq qword [ebp - 0x5e8], xmm0
cmp edx, 0x10
jb 0x411da4
mov ecx, dword [ebp - 0x424]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411d9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124be
push edx
push ecx
call fcn.004373c7
add esp, 8
mov edi, dword [ebp - 0x5f8]
lea ecx, [ebp - 0x5f8]
or esi, 2
cmp dword [ebp - 0x5e4], 0x10
mov dword [ebp - 0x5bc], esi
mov esi, 0x4970c4
cmovae ecx, edi
mov dword [ebp - 0x5c0], ecx
nop
mov eax, esi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x411df2
test dl, dl
je 0x411dee
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x411df2
add ecx, 2
add eax, 2
test dl, dl
jne 0x411dd2
xor eax, eax
jmp 0x411df7
sbb eax, eax
or eax, 1
test eax, eax
je 0x411e0e
mov ecx, dword [ebp - 0x5c0]
add esi, 0xa
cmp esi, 0x4970ec
jl 0x411dd0
jmp 0x411e1d
mov byte [ebp - 0x5b5], 0
jmp 0x411e24
mov edi, dword [ebp - 0x5f8]
mov byte [ebp - 0x5b5], 1
mov eax, dword [ebp - 0x5bc]
test al, 2
je 0x411e71
mov ecx, dword [ebp - 0x5e4]
and eax, 0xfffffffd
mov dword [ebp - 0x5bc], eax
cmp ecx, 0x10
jb 0x411e71
inc ecx
mov eax, edi
cmp ecx, 0x1000
jb 0x411e61
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124be
push ecx
push edi
call fcn.004373c7
mov eax, dword [ebp - 0x5bc]
add esp, 8
mov dword [ebp - 4], 8
test al, 1
je 0x411ec5
mov edx, dword [ebp - 0x5cc]
and eax, 0xfffffffe
mov dword [ebp - 0x5bc], eax
cmp edx, 8
jb 0x411ec5
mov ecx, dword [ebp - 0x5e0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411ebb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124be
push edx
push ecx
call fcn.004373c7
add esp, 8
cmp byte [ebp - 0x5b5], 0
je 0x412257
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x44c], 0xf0f0f6f
mov dword [ebp - 0x448], 0x5a565a00
mov byte [ebp - 0x5b5], 0x2e
mov ecx, dword [eax]
mov eax, dword [0x49ecc8]
cmp eax, dword [ecx + 4]
jle 0x411f58
push 0x49ecc8
call fcn.0043751a
add esp, 4
cmp dword [0x49ecc8], 0xffffffff
jne 0x411f58
movaps xmm0, xmmword [0x489720]
mov al, byte [ebp - 0x5b5]
movups xmmword [0x49e98c], xmm0
push 0x478320
movq xmm0, qword [ebp - 0x44c]
movq qword [0x49e99c], xmm0
mov byte [0x49e9a4], al
call fcn.00437941
push 0x49ecc8
call fcn.004374d0
add esp, 8
cmp byte [0x49e9a4], 0
je 0x411f8d
movups xmm0, xmmword [0x49e98c]
mov eax, 0x10
movaps xmm1, xmmword [0x4890c0]
pxor xmm1, xmm0
movups xmmword [0x49e98c], xmm1
nop
xor byte [eax + 0x49e98c], 0x2e
inc eax
cmp eax, 0x19
jb 0x411f80
mov ecx, 0x49e98c
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x410], 0xf
mov byte [ebp - 0x424], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411fb0
sub ecx, edx
push ecx
push 0x49e98c
lea ecx, [ebp - 0x424]
call fcn.00401f40
push 0x50
lea eax, [ebp - 0x56c]
mov byte [ebp - 4], 0xb
push 0
push eax
call fcn.0044ede0
add esp, 0xc
lea ecx, [ebp - 0x56c]
call fcn.00417320
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x424]
cmp dword [ebp - 0x410], 0x10
mov eax, dword [ebp - 0x414]
cmovae ecx, dword [ebp - 0x424]
add eax, ecx
push eax
push ecx
lea eax, [ebp - 0x5e0]
push eax
lea ecx, [ebp - 0x56c]
call fcn.00419880
or dword [ebp - 0x5bc], 0x18
lea ecx, [ebp - 0x56c]
call fcn.00417260
lea eax, [ebp - 0x630]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x49c]
call fcn.00404290
lea ecx, [ebp - 0x5f8]
mov byte [ebp - 4], 0xe
push ecx
mov ecx, eax
call fcn.004041a0
cmp dword [ebp - 0x5cc], 8
lea ecx, [ebp - 0x5e0]
mov edi, dword [ebp - 0x5e0]
setae byte [ebp - 0x5b5]
cmovae ecx, edi
cmp dword [eax + 0x14], 8
jb 0x412080
mov eax, dword [eax]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4120a6
test dx, dx
je 0x4120a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4120a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x412080
xor esi, esi
jmp 0x4120ab
sbb esi, esi
or esi, 1
mov edx, dword [ebp - 0x5e4]
cmp edx, 8
jb 0x4120eb
mov ecx, dword [ebp - 0x5f8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4120e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124be
push edx
push ecx
call fcn.004373c7
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x61c]
mov dword [ebp - 0x5e8], 0
mov dword [ebp - 0x5e4], 7
mov word [ebp - 0x5f8], ax
cmp edx, 8
jb 0x41214c
mov ecx, dword [ebp - 0x630]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412142
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124be
push edx
push ecx
call fcn.004373c7
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x620], 0
mov dword [ebp - 0x61c], 7
mov word [ebp - 0x630], ax
cmp byte [ebp - 0x5b5], al
je 0x4121aa
mov ecx, dword [ebp - 0x5cc]
mov eax, edi
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4121a0
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124be
push ecx
push edi
call fcn.004373c7
add esp, 8
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x410]
cmp edx, 0x10
jb 0x4121e8
mov ecx, dword [ebp - 0x424]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4121de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124be
push edx
push ecx
call fcn.004373c7
add esp, 8
test esi, esi
je 0x41233c
lea eax, [ebp - 0x43c]
push eax
push ecx
lea eax, [ebp - 0x600]
push eax
call fcn.0041bda0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x600]
test ecx, ecx
je 0x412230
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x412230
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x41222a
mov eax, dword [edx]
push ecx
mov ecx, edx
jmp 0x41222e
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [ebp - 4], 8
cmp dword [0x49e2b8], 0x80
jle 0x412257
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x49e2b8], 0x80
jg 0x412240
lea ecx, [ebp - 0x49c]
call fcn.00404a50
test al, al
je 0x41233c
lea eax, [ebp - 0x5e0]
push eax
lea ecx, [ebp - 0x49c]
call fcn.004041a0
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 8
jb 0x412288
mov eax, dword [eax]
mov ecx, eax
call fcn.00414790
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x5cc]
cmp edx, 8
jb 0x4122d3
mov ecx, dword [ebp - 0x5e0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4122c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124be
push edx
push ecx
call fcn.004373c7
add esp, 8
lea eax, [ebp - 0x5e0]
push eax
lea ecx, [ebp - 0x49c]
call fcn.004041a0
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x14], 8
jb 0x4122f1
mov eax, dword [eax]
mov ecx, eax
call fcn.00411880
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x5cc]
cmp edx, 8
jb 0x41233c
mov ecx, dword [ebp - 0x5e0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412332
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124be
push edx
push ecx
call fcn.004373c7
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x460]
cmp edx, 8
jb 0x412380
mov ecx, dword [ebp - 0x474]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412376
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124be
push edx
push ecx
call fcn.004373c7
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x428]
cmp edx, 8
jb 0x4123c4
mov ecx, dword [ebp - 0x43c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4123ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124be
push edx
push ecx
call fcn.004373c7
add esp, 8
mov eax, dword [ebp - 0x4bc]
mov eax, dword [eax]
test eax, eax
je 0x411b30
lea ecx, [ebp - 0x440]
push ecx
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0041ff45
add esp, 0xc
cmp word [eax], 0
jne 0x412412
mov eax, dword [ebp - 0x4bc]
push dword [eax]
call fcn.0041fe2d
mov eax, dword [ebp - 0x4bc]
add esp, 4
mov dword [eax], 0
jmp 0x411b30
push dword [ebp - 0x440]
lea eax, [ebp - 0x218]
push dword [ebp - 0x440]
lea ecx, [ebp - 0x4bc]
push eax
call fcn.00418f00
jmp 0x411b30
lea ecx, [ebp - 0x51c]
call fcn.00404980
lea ecx, [ebp - 0x4bc]
call fcn.00404980
lea ecx, [ebp - 0x5b4]
mov byte [ebp - 4], 0
call fcn.00404980
mov ecx, dword [ebp - 0x5c8]
call fcn.00414790
mov edx, dword [ebp - 0x4c0]
cmp edx, 8
jb 0x4124a1
mov ecx, dword [ebp - 0x4d4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412497
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124cd
push edx
push ecx
call fcn.004373c7
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00437386
mov esp, ebp
pop ebp
ret
call fcn.0045214a
push str.invalid_wchar_t_filename_argument
call fcn.0041e863
call fcn.0045214a
int3