Function at 0x411870
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473171
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.0041bc10
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 0x4118f0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x43c]
call fcn.00419d50
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 0x4119a5
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 0x411964
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.0041c820
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4119e2
mov eax, dword [ebp - 0x5c4]
add edi, 0x18
inc eax
mov dword [ebp - 0x5c4], eax
cmp eax, dword [ebp - 0x5c0]
jl 0x411953
mov eax, dword [ebp - 0x428]
cmp eax, 8
jb 0x411a6e
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x411a64
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124ae
jmp 0x411a64
cmp byte [ebp - 0x5b5], 0
je 0x411a20
mov eax, dword [ebp - 0x428]
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x411a16
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124ae
push ecx
push esi
call fcn.004373a7
add esp, 8
push 0x3fc
lea eax, [ebp - 0x40c]
push 0
push eax
call fcn.0044edc0
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 0x487f80
call fcn.00402270
add esp, 0x20
jmp 0x412455
push ecx
push esi
call fcn.004373a7
add esp, 8
lea eax, [ebp - 0x4d4]
push eax
lea ecx, [ebp - 0x5b4]
call fcn.00416b70
push 0x48
lea eax, [ebp - 0x4bc]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.0044edc0
add esp, 0xc
lea eax, [ebp - 0x5b4]
lea ecx, [ebp - 0x4bc]
push eax
call fcn.004124d0
push 0x48
lea eax, [ebp - 0x51c]
push 0
push eax
call fcn.0044edc0
push 4
mov byte [ebp - 4], 3
call fcn.00437377
add esp, 0xc
lea ecx, [ebp - 0x51c]
mov dword [eax], 0
push eax
call fcn.0041c760
movaps xmm0, xmmword [0x4895c0]
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 0x411b3a
mov ecx, dword [ebp - 0x51c]
test ecx, ecx
je 0x411b47
mov eax, dword [eax]
cmp eax, dword [ecx]
jmp 0x411b41
cmp dword [ebp - 0x51c], 0
je 0x412425
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x49c]
call fcn.004041c0
lea eax, [ebp - 0x618]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x49c]
call fcn.004042b0
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 6
push ecx
mov ecx, eax
call fcn.004041c0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x604]
cmp edx, 8
jb 0x411bc5
mov ecx, dword [ebp - 0x618]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411bbb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124ae
push edx
push ecx
call fcn.004373a7
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 0x411c12
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.00402270
jmp 0x412329
lea ecx, [ebp - 0x49c]
call fcn.00404ac0
test al, al
je 0x412247
lea ecx, [ebp - 0x49c]
call fcn.00404800
test al, al
je 0x411e07
lea eax, [ebp - 0x5e0]
push eax
lea ecx, [ebp - 0x49c]
call fcn.004044b0
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 0x411c89
mov eax, dword [eax]
lea ecx, [ebp - 0x114]
push ecx
push eax
call fcn.00420066
add esp, 8
test eax, eax
je 0x4124b3
lea edi, [ebp - 0x114]
lea ecx, [edi + 1]
nop word [eax + eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x411cb0
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 0x411d0b
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.0044ef20
mov byte [edi + esi], 0
lea eax, [ebp - 0x424]
mov esi, dword [ebp - 0x5bc]
add esp, 0xc
jmp 0x411d2b
lea eax, [ebp - 0x114]
mov byte [ebp - 0x5c4], 0
push eax
push dword [ebp - 0x5c4]
lea ecx, [ebp - 0x424]
push edi
call fcn.0041ccd0
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 0x411d94
mov ecx, dword [ebp - 0x424]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411d8a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124ae
push edx
push ecx
call fcn.004373a7
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 0x411de2
test dl, dl
je 0x411dde
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x411de2
add ecx, 2
add eax, 2
test dl, dl
jne 0x411dc2
xor eax, eax
jmp 0x411de7
sbb eax, eax
or eax, 1
test eax, eax
je 0x411dfe
mov ecx, dword [ebp - 0x5c0]
add esi, 0xa
cmp esi, 0x4970ec
jl 0x411dc0
jmp 0x411e0d
mov byte [ebp - 0x5b5], 0
jmp 0x411e14
mov edi, dword [ebp - 0x5f8]
mov byte [ebp - 0x5b5], 1
mov eax, dword [ebp - 0x5bc]
test al, 2
je 0x411e61
mov ecx, dword [ebp - 0x5e4]
and eax, 0xfffffffd
mov dword [ebp - 0x5bc], eax
cmp ecx, 0x10
jb 0x411e61
inc ecx
mov eax, edi
cmp ecx, 0x1000
jb 0x411e51
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124ae
push ecx
push edi
call fcn.004373a7
mov eax, dword [ebp - 0x5bc]
add esp, 8
mov dword [ebp - 4], 8
test al, 1
je 0x411eb5
mov edx, dword [ebp - 0x5cc]
and eax, 0xfffffffe
mov dword [ebp - 0x5bc], eax
cmp edx, 8
jb 0x411eb5
mov ecx, dword [ebp - 0x5e0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411eab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124ae
push edx
push ecx
call fcn.004373a7
add esp, 8
cmp byte [ebp - 0x5b5], 0
je 0x412247
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 [0x49ee88]
cmp eax, dword [ecx + 4]
jle 0x411f48
push 0x49ee88
call fcn.004374fa
add esp, 4
cmp dword [0x49ee88], 0xffffffff
jne 0x411f48
movaps xmm0, xmmword [0x489d60]
mov al, byte [ebp - 0x5b5]
movups xmmword [0x49eb50], xmm0
push 0x4783e0
movq xmm0, qword [ebp - 0x44c]
movq qword [0x49eb60], xmm0
mov byte [0x49eb68], al
call fcn.00437921
push 0x49ee88
call fcn.004374b0
add esp, 8
cmp byte [0x49eb68], 0
je 0x411f7d
movups xmm0, xmmword [0x49eb50]
mov eax, 0x10
movaps xmm1, xmmword [0x4896d0]
pxor xmm1, xmm0
movups xmmword [0x49eb50], xmm1
nop
xor byte [eax + 0x49eb50], 0x2e
inc eax
cmp eax, 0x19
jb 0x411f70
mov ecx, 0x49eb50
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 0x411fa0
sub ecx, edx
push ecx
push 0x49eb50
lea ecx, [ebp - 0x424]
call fcn.00401f60
push 0x50
lea eax, [ebp - 0x56c]
mov byte [ebp - 4], 0xb
push 0
push eax
call fcn.0044edc0
add esp, 0xc
lea ecx, [ebp - 0x56c]
call fcn.00417300
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.00419860
or dword [ebp - 0x5bc], 0x18
lea ecx, [ebp - 0x56c]
call fcn.00417240
lea eax, [ebp - 0x630]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x49c]
call fcn.004042b0
lea ecx, [ebp - 0x5f8]
mov byte [ebp - 4], 0xe
push ecx
mov ecx, eax
call fcn.004041c0
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 0x412070
mov eax, dword [eax]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x412096
test dx, dx
je 0x412092
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x412096
add eax, 4
add ecx, 4
test dx, dx
jne 0x412070
xor esi, esi
jmp 0x41209b
sbb esi, esi
or esi, 1
mov edx, dword [ebp - 0x5e4]
cmp edx, 8
jb 0x4120db
mov ecx, dword [ebp - 0x5f8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4120d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124ae
push edx
push ecx
call fcn.004373a7
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 0x41213c
mov ecx, dword [ebp - 0x630]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412132
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124ae
push edx
push ecx
call fcn.004373a7
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 0x41219a
mov ecx, dword [ebp - 0x5cc]
mov eax, edi
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x412190
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124ae
push ecx
push edi
call fcn.004373a7
add esp, 8
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x410]
cmp edx, 0x10
jb 0x4121d8
mov ecx, dword [ebp - 0x424]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4121ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124ae
push edx
push ecx
call fcn.004373a7
add esp, 8
test esi, esi
je 0x41232c
lea eax, [ebp - 0x43c]
push eax
push ecx
lea eax, [ebp - 0x600]
push eax
call fcn.0041bd80
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x600]
test ecx, ecx
je 0x412220
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x412220
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x41221a
mov eax, dword [edx]
push ecx
mov ecx, edx
jmp 0x41221e
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [ebp - 4], 8
cmp dword [0x49e2b8], 0x80
jle 0x412247
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x49e2b8], 0x80
jg 0x412230
lea ecx, [ebp - 0x49c]
call fcn.00404a70
test al, al
je 0x41232c
lea eax, [ebp - 0x5e0]
push eax
lea ecx, [ebp - 0x49c]
call fcn.004041c0
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 8
jb 0x412278
mov eax, dword [eax]
mov ecx, eax
call fcn.00414780
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x5cc]
cmp edx, 8
jb 0x4122c3
mov ecx, dword [ebp - 0x5e0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4122b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124ae
push edx
push ecx
call fcn.004373a7
add esp, 8
lea eax, [ebp - 0x5e0]
push eax
lea ecx, [ebp - 0x49c]
call fcn.004041c0
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x14], 8
jb 0x4122e1
mov eax, dword [eax]
mov ecx, eax
call fcn.00411870
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x5cc]
cmp edx, 8
jb 0x41232c
mov ecx, dword [ebp - 0x5e0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412322
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124ae
push edx
push ecx
call fcn.004373a7
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x460]
cmp edx, 8
jb 0x412370
mov ecx, dword [ebp - 0x474]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412366
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124ae
push edx
push ecx
call fcn.004373a7
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x428]
cmp edx, 8
jb 0x4123b4
mov ecx, dword [ebp - 0x43c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4123aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124ae
push edx
push ecx
call fcn.004373a7
add esp, 8
mov eax, dword [ebp - 0x4bc]
mov eax, dword [eax]
test eax, eax
je 0x411b20
lea ecx, [ebp - 0x440]
push ecx
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0041ff25
add esp, 0xc
cmp word [eax], 0
jne 0x412402
mov eax, dword [ebp - 0x4bc]
push dword [eax]
call fcn.0041fe0d
mov eax, dword [ebp - 0x4bc]
add esp, 4
mov dword [eax], 0
jmp 0x411b20
push dword [ebp - 0x440]
lea eax, [ebp - 0x218]
push dword [ebp - 0x440]
lea ecx, [ebp - 0x4bc]
push eax
call fcn.00418ee0
jmp 0x411b20
lea ecx, [ebp - 0x51c]
call fcn.004049a0
lea ecx, [ebp - 0x4bc]
call fcn.004049a0
lea ecx, [ebp - 0x5b4]
mov byte [ebp - 4], 0
call fcn.004049a0
mov ecx, dword [ebp - 0x5c8]
call fcn.00414780
mov edx, dword [ebp - 0x4c0]
cmp edx, 8
jb 0x412491
mov ecx, dword [ebp - 0x4d4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412487
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124bd
push edx
push ecx
call fcn.004373a7
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.00437366
mov esp, ebp
pop ebp
ret
call fcn.0045212a
push str.invalid_wchar_t_filename_argument
call fcn.0041e843
call fcn.0045212a
int3