Function at 0x41aa50
Capabilities:
Create directory
Create thread
Enumerate gui resources
Get disk information
Get file attributes
Get hostname
Query environment variable
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x19ac
call fcn.00418150
cmp dword [0x81e104], 0x6c
push ebx
push ebp
push esi
push edi
jne 0x41aaf7
push 0
push 0
push 0
call fcn.00403ed5
add esp, 0xc
push 0x403518
push 0
call fcn.00403ed5
push 0
call fcn.00403eca
add esp, 0xc
push 0
call fcn.00403e9a
add esp, 4
push 0x403524
push 0x403528
push 0x46e970
call fcn.00403ed5
add esp, 0xc
push 0
push 0
call fcn.00404037
push 0
push 0
push 0
call fcn.0040416e
add esp, 0x14
push 0
push 0
push 0
call fcn.00403e09
add esp, 0xc
push 0
push 0
push 0
push 0
call fcn.00403e34
push 0
push 0
call fcn.00403b53
fstp st(0)
push 0
call fcn.00403baf
add esp, 0x1c
mov eax, 0x38d6
add dword [0x81e104], eax
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x44]
mov ebp, dword [sym.imp.KERNEL32.dll_RequestWakeupLatency]
xor esi, esi
cmp esi, 0x1c2a7
jge 0x41ab1e
push 0
call ebp
cmp esi, 0x1ea072e7
jle 0x41ab36
cmp edi, 0xacd468
je 0x41ab36
cmp ebx, 0xad1ade0
jne 0x41ab3f
inc esi
cmp esi, 0x8c6fd558
jb 0x41ab12
mov eax, dword [0x81e104]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
mov edi, dword [sym.imp.KERNEL32.dll_DnsHostnameToComputerNameW]
mov ebp, dword [sym.imp.KERNEL32.dll_RtlCaptureStackBackTrace]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
mov dword [0x81dbe8], eax
mov eax, dword [0x81e104]
mov dword [esp + 0x10], 0x962d40
jmp 0x41ab80
cmp eax, 0x3f5
jne 0x41ac48
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
call esi
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x9bc]
push edx
push 0x403530
call edi
push 0
push 0
push 0
push 0
call ebp
push 0
push 0x40355c
call ebx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x11bc]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommMask]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x18]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_AllocateUserPhysicalPages]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
push 0x403574
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x40358c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0
lea ecx, [esp + 0x1bc]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov eax, dword [0x81e104]
dec dword [esp + 0x10]
jne 0x41ab80
xor ebp, ebp
xor esi, esi
cmp eax, ebp
jbe 0x41acaf
mov edi, dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
cmp eax, 0xfe
jne 0x41ac94
xor eax, eax
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push edx
lea eax, [esp + 0x3c]
push eax
push 0x4035a4
mov dword [esp + 0x24], ebp
call edi
call fcn.0041a6e0
mov eax, dword [0x81e104]
cmp eax, 0x29
jne 0x41acaa
call ebx
mov eax, dword [0x81e104]
inc esi
cmp esi, eax
jb 0x41ac66
cmp eax, 0x19c
jne 0x41ace5
push 0x4035b0
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push 0x4035bc
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push 0x4035f8
push 0x403604
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov edi, dword [sym.imp.USER32.dll_GetMenu]
mov esi, 0x8dc
push ebp
call edi
dec esi
jne 0x41acf0
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edi, 0x25865
cmp dword [0x81e104], 0x15a
jne 0x41ad21
lea ecx, [esp + 0x78]
push ecx
call esi
push 0x403614
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
dec edi
jne 0x41ad01
mov byte [0x46e970], 0
call fcn.0041a220
call fcn.0041aa20
call fcn.0041a6c0
mov esi, dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
mov ebp, 0xdd7b3
cmp dword [0x81e104], 0x21
jne 0x41ad88
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
push 0
lea edx, [esp + 0x1c0]
push edx
push 0
call edi
lea eax, [esp + 0x14]
push eax
push 0x403630
push 0
call ebx
dec ebp
jne 0x41ad51
call fcn.0041a9e0
cmp dword [0x81e104], 0x58c
mov byte [0x46e971], 0x73
jne 0x41ae5a
lea ecx, [esp + 0x78]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
push ebp
push ebp
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push ebp
lea eax, [esp + 0x1bc]
push eax
push 0x403654
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ebp
push 0x403664
push 0x403690
call dword [sym.imp.KERNEL32.dll_CreateDirectoryExA]
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
lea ecx, [esp + 0x38]
push ecx
push 0x403698
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_FindActCtxSectionStringA]
push ebp
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
push 0x4036c8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor eax, eax
lea edx, [esp + 0x18]
push edx
push eax
push eax
push eax
push eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_ReadFileScatter]
push 0x4036dc
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
call fcn.0041a6d0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x19ac
ret