Function at 0x4118b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473121
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.0041bc50
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 0x411930
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x43c]
call fcn.00419d90
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 0x4119e5
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 0x4119a4
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.0041c890
add esp, 0xc
cmp eax, 0xffffffff
jne 0x411a22
mov eax, dword [ebp - 0x5c4]
add edi, 0x18
inc eax
mov dword [ebp - 0x5c4], eax
cmp eax, dword [ebp - 0x5c0]
jl 0x411993
mov eax, dword [ebp - 0x428]
cmp eax, 8
jb 0x411aae
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x411aa4
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124ee
jmp 0x411aa4
cmp byte [ebp - 0x5b5], 0
je 0x411a60
mov eax, dword [ebp - 0x428]
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x411a56
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124ee
push ecx
push esi
call fcn.00437415
add esp, 8
push 0x3fc
lea eax, [ebp - 0x40c]
push 0
push eax
call fcn.0044ee30
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.00402260
add esp, 0x20
jmp 0x412495
push ecx
push esi
call fcn.00437415
add esp, 8
lea eax, [ebp - 0x4d4]
push eax
lea ecx, [ebp - 0x5b4]
call fcn.00416bb0
push 0x48
lea eax, [ebp - 0x4bc]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.0044ee30
add esp, 0xc
lea eax, [ebp - 0x5b4]
lea ecx, [ebp - 0x4bc]
push eax
call fcn.00412510
push 0x48
lea eax, [ebp - 0x51c]
push 0
push eax
call fcn.0044ee30
push 4
mov byte [ebp - 4], 3
call fcn.004373e5
add esp, 0xc
lea ecx, [ebp - 0x51c]
mov dword [eax], 0
push eax
call fcn.0041c7d0
movaps xmm0, xmmword [0x489030]
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 0x411b7a
mov ecx, dword [ebp - 0x51c]
test ecx, ecx
je 0x411b87
mov eax, dword [eax]
cmp eax, dword [ecx]
jmp 0x411b81
cmp dword [ebp - 0x51c], 0
je 0x412465
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x49c]
call fcn.004041b0
lea eax, [ebp - 0x618]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x49c]
call fcn.004042a0
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 6
push ecx
mov ecx, eax
call fcn.004041b0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x604]
cmp edx, 8
jb 0x411c05
mov ecx, dword [ebp - 0x618]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411bfb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124ee
push edx
push ecx
call fcn.00437415
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 0x411c52
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.00402260
jmp 0x412369
lea ecx, [ebp - 0x49c]
call fcn.00404ab0
test al, al
je 0x412287
lea ecx, [ebp - 0x49c]
call fcn.004047f0
test al, al
je 0x411e47
lea eax, [ebp - 0x5e0]
push eax
lea ecx, [ebp - 0x49c]
call fcn.004044a0
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 0x411cc9
mov eax, dword [eax]
lea ecx, [ebp - 0x114]
push ecx
push eax
call fcn.004200d6
add esp, 8
test eax, eax
je 0x4124f3
lea edi, [ebp - 0x114]
lea ecx, [edi + 1]
nop word [eax + eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x411cf0
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 0x411d4b
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.0044ef90
mov byte [edi + esi], 0
lea eax, [ebp - 0x424]
mov esi, dword [ebp - 0x5bc]
add esp, 0xc
jmp 0x411d6b
lea eax, [ebp - 0x114]
mov byte [ebp - 0x5c4], 0
push eax
push dword [ebp - 0x5c4]
lea ecx, [ebp - 0x424]
push edi
call fcn.0041cd40
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 0x411dd4
mov ecx, dword [ebp - 0x424]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411dca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124ee
push edx
push ecx
call fcn.00437415
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 0x411e22
test dl, dl
je 0x411e1e
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x411e22
add ecx, 2
add eax, 2
test dl, dl
jne 0x411e02
xor eax, eax
jmp 0x411e27
sbb eax, eax
or eax, 1
test eax, eax
je 0x411e3e
mov ecx, dword [ebp - 0x5c0]
add esi, 0xa
cmp esi, 0x4970ec
jl 0x411e00
jmp 0x411e4d
mov byte [ebp - 0x5b5], 0
jmp 0x411e54
mov edi, dword [ebp - 0x5f8]
mov byte [ebp - 0x5b5], 1
mov eax, dword [ebp - 0x5bc]
test al, 2
je 0x411ea1
mov ecx, dword [ebp - 0x5e4]
and eax, 0xfffffffd
mov dword [ebp - 0x5bc], eax
cmp ecx, 0x10
jb 0x411ea1
inc ecx
mov eax, edi
cmp ecx, 0x1000
jb 0x411e91
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124ee
push ecx
push edi
call fcn.00437415
mov eax, dword [ebp - 0x5bc]
add esp, 8
mov dword [ebp - 4], 8
test al, 1
je 0x411ef5
mov edx, dword [ebp - 0x5cc]
and eax, 0xfffffffe
mov dword [ebp - 0x5bc], eax
cmp edx, 8
jb 0x411ef5
mov ecx, dword [ebp - 0x5e0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411eeb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124ee
push edx
push ecx
call fcn.00437415
add esp, 8
cmp byte [ebp - 0x5b5], 0
je 0x412287
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 [0x49fb54]
cmp eax, dword [ecx + 4]
jle 0x411f88
push 0x49fb54
call fcn.00437568
add esp, 4
cmp dword [0x49fb54], 0xffffffff
jne 0x411f88
movaps xmm0, xmmword [0x4897b0]
mov al, byte [ebp - 0x5b5]
movups xmmword [0x49f81c], xmm0
push 0x478390
movq xmm0, qword [ebp - 0x44c]
movq qword [0x49f82c], xmm0
mov byte [0x49f834], al
call fcn.0043798f
push 0x49fb54
call fcn.0043751e
add esp, 8
cmp byte [0x49f834], 0
je 0x411fbd
movups xmm0, xmmword [0x49f81c]
mov eax, 0x10
movaps xmm1, xmmword [0x489130]
pxor xmm1, xmm0
movups xmmword [0x49f81c], xmm1
nop
xor byte [eax + 0x49f81c], 0x2e
inc eax
cmp eax, 0x19
jb 0x411fb0
mov ecx, 0x49f81c
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 0x411fe0
sub ecx, edx
push ecx
push 0x49f81c
lea ecx, [ebp - 0x424]
call fcn.00401f50
push 0x50
lea eax, [ebp - 0x56c]
mov byte [ebp - 4], 0xb
push 0
push eax
call fcn.0044ee30
add esp, 0xc
lea ecx, [ebp - 0x56c]
call fcn.00417340
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.004198a0
or dword [ebp - 0x5bc], 0x18
lea ecx, [ebp - 0x56c]
call fcn.00417280
lea eax, [ebp - 0x630]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x49c]
call fcn.004042a0
lea ecx, [ebp - 0x5f8]
mov byte [ebp - 4], 0xe
push ecx
mov ecx, eax
call fcn.004041b0
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 0x4120b0
mov eax, dword [eax]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4120d6
test dx, dx
je 0x4120d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4120d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4120b0
xor esi, esi
jmp 0x4120db
sbb esi, esi
or esi, 1
mov edx, dword [ebp - 0x5e4]
cmp edx, 8
jb 0x41211b
mov ecx, dword [ebp - 0x5f8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412111
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124ee
push edx
push ecx
call fcn.00437415
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 0x41217c
mov ecx, dword [ebp - 0x630]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412172
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124ee
push edx
push ecx
call fcn.00437415
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 0x4121da
mov ecx, dword [ebp - 0x5cc]
mov eax, edi
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4121d0
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124ee
push ecx
push edi
call fcn.00437415
add esp, 8
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x410]
cmp edx, 0x10
jb 0x412218
mov ecx, dword [ebp - 0x424]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41220e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124ee
push edx
push ecx
call fcn.00437415
add esp, 8
test esi, esi
je 0x41236c
lea eax, [ebp - 0x43c]
push eax
push ecx
lea eax, [ebp - 0x600]
push eax
call fcn.0041bdf0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x600]
test ecx, ecx
je 0x412260
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x412260
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x41225a
mov eax, dword [edx]
push ecx
mov ecx, edx
jmp 0x41225e
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [ebp - 4], 8
cmp dword [0x49e2b8], 0x80
jle 0x412287
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x49e2b8], 0x80
jg 0x412270
lea ecx, [ebp - 0x49c]
call fcn.00404a60
test al, al
je 0x41236c
lea eax, [ebp - 0x5e0]
push eax
lea ecx, [ebp - 0x49c]
call fcn.004041b0
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 8
jb 0x4122b8
mov eax, dword [eax]
mov ecx, eax
call fcn.004147c0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x5cc]
cmp edx, 8
jb 0x412303
mov ecx, dword [ebp - 0x5e0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4122f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124ee
push edx
push ecx
call fcn.00437415
add esp, 8
lea eax, [ebp - 0x5e0]
push eax
lea ecx, [ebp - 0x49c]
call fcn.004041b0
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x14], 8
jb 0x412321
mov eax, dword [eax]
mov ecx, eax
call fcn.004118b0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x5cc]
cmp edx, 8
jb 0x41236c
mov ecx, dword [ebp - 0x5e0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412362
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124ee
push edx
push ecx
call fcn.00437415
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x460]
cmp edx, 8
jb 0x4123b0
mov ecx, dword [ebp - 0x474]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4123a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124ee
push edx
push ecx
call fcn.00437415
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x428]
cmp edx, 8
jb 0x4123f4
mov ecx, dword [ebp - 0x43c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4123ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124ee
push edx
push ecx
call fcn.00437415
add esp, 8
mov eax, dword [ebp - 0x4bc]
mov eax, dword [eax]
test eax, eax
je 0x411b60
lea ecx, [ebp - 0x440]
push ecx
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0041ff95
add esp, 0xc
cmp word [eax], 0
jne 0x412442
mov eax, dword [ebp - 0x4bc]
push dword [eax]
call fcn.0041fe7d
mov eax, dword [ebp - 0x4bc]
add esp, 4
mov dword [eax], 0
jmp 0x411b60
push dword [ebp - 0x440]
lea eax, [ebp - 0x218]
push dword [ebp - 0x440]
lea ecx, [ebp - 0x4bc]
push eax
call fcn.00418f20
jmp 0x411b60
lea ecx, [ebp - 0x51c]
call fcn.00404990
lea ecx, [ebp - 0x4bc]
call fcn.00404990
lea ecx, [ebp - 0x5b4]
mov byte [ebp - 4], 0
call fcn.00404990
mov ecx, dword [ebp - 0x5c8]
call fcn.004147c0
mov edx, dword [ebp - 0x4c0]
cmp edx, 8
jb 0x4124d1
mov ecx, dword [ebp - 0x4d4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4124c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4124fd
push edx
push ecx
call fcn.00437415
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.004373d4
mov esp, ebp
pop ebp
ret
call fcn.0045219a
push str.invalid_wchar_t_filename_argument
call fcn.0041e8b3
call fcn.0045219a
int3