Function at 0x41d9f0
Capabilities:
Get common file path
Get disk information
Get geographical location
Manipulate console buffer
Move file
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x41fc71
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, 0x2970
call fcn.00418b60
push ebx
push ebp
push esi
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov esi, dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigW]
mov ebp, dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
xor eax, eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProfileSectionA]
mov dword [esp + 0x14], eax
lea ebx, [ebx]
cmp eax, 0x2c84f
jge 0x41da54
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_CharToOemBuffW]
mov eax, dword [esp + 0x14]
cmp dword [0xf89e0c], 0x6fb
jne 0x41dab9
push 0x30
lea eax, [esp + 0x140]
push ebx
push eax
mov dword [esp + 0x144], ebx
call fcn.0040ab50
add esp, 0xc
push ebx
lea ecx, [esp + 0x13c]
push ecx
push 0x404284
call esi
push ebx
lea edx, [esp + 0x184]
push edx
push 0x4042bc
call edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
push ebx
lea eax, [esp + 0x590]
push eax
push ebx
call ebp
mov eax, dword [esp + 0x14]
cmp eax, 0x1e7d3ee8
jle 0x41dad7
cmp dword [esp + 0x18], 0xc10392
je 0x41dad7
cmp dword [esp + 0x144], 0x9343ae8
jne 0x41dae9
inc eax
mov dword [esp + 0x14], eax
cmp eax, 0x7e98d
jl 0x41da40
jmp 0x41db0f
cmp dword [0xf89e0c], 0x28
jne 0x41db0f
push ebx
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x180]
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
cmp dword [0xf89e0c], 0xcf8
jne 0x41e019
push 0x40433c
push ebx
call fcn.0040aa92
push ebx
push ebx
push ebx
push 0x834050
call fcn.0040a4d8
push ebx
call fcn.0040a903
add esp, 0x1c
push ebx
push ebx
call fcn.0040a28b
add esp, 8
lea edx, [esp + 0xe0]
push edx
call fcn.00406840
mov dword [esp + 0xe0], 0x404634
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x120], ebx
mov eax, 1
mov dword [esp + 0x29bc], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], 0x404678
mov dword [esp + 0x48], 0x404680
mov byte [esp + 0x29bc], 3
mov ebp, 6
push 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x9c], 0x40461c
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], 0x201
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xa8], ebx
call fcn.0040ac86
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x41dc4c
call fcn.004091cf
mov dword [esi], eax
call fcn.00408f8e
push ebx
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.00409395
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x41dc41
inc eax
mov dword [edi + 4], eax
lea ecx, [esp + 0x14]
call fcn.004093bd
jmp 0x41dc4e
xor esi, esi
lea eax, [esp + 0x50]
mov dword [esp + 0xd0], eax
lea edi, [esp + 0x20]
lea eax, [esp + 0x98]
mov dword [esp + 0xc8], esi
mov dword [esp + 0xd4], ebx
call fcn.004057d0
mov edi, eax
mov dword [esp + 0x29bc], ebp
call fcn.004086c0
mov byte [esp + 0x29bc], 5
mov edi, dword [esp + 0x20]
mov ebp, eax
cmp edi, ebx
je 0x41dcd3
push ebx
lea ecx, [esp + 0x1c]
call fcn.00409395
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x41dcb1
cmp eax, 0xffffffff
jae 0x41dcb1
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x18]
and esi, edi
call fcn.004093bd
cmp esi, ebx
je 0x41dcd3
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov edx, dword [ebp]
mov eax, dword [edx + 0x18]
push 0x20
mov ecx, ebp
call eax
mov byte [esp + 0xd8], al
cmp dword [esp + 0xd0], ebx
jne 0x41dd19
mov eax, dword [esp + 0xa4]
or eax, 4
and eax, 0x17
mov dword [esp + 0xa4], eax
test dword [esp + 0xa8], eax
je 0x41dd19
push ebx
lea ecx, [esp + 0x9c]
call fcn.004056f0
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x48], 0x404624
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x38], 0x40462c
mov dword [esp + 0x29bc], 9
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x50]
mov esi, 0x404674
push ecx
mov dword [esp + eax + 0x3c], esi
call fcn.00406840
mov edi, 0x404634
mov dword [esp + 0x50], edi
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
push 0x404348
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0x29c4], 0xb
call fcn.004059b0
push 0x40434c
lea eax, [esp + 0x4c]
push eax
call fcn.004059b0
push ebx
call fcn.0040ac77
add esp, 4
push ebx
call fcn.0040aa56
fldz
sub esp, 0xc
fst qword [esp + 8]
fstp qword [esp]
call fcn.0040aa70
fstp st(0)
push ebx
push ebx
call fcn.0040a387
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00409b88
add esp, 0x2c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040a80e
add esp, 0x14
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040a75c
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 4]
lea ecx, [esp + 0xb0]
add esp, 0x18
mov dword [esp + 0x20], ecx
mov dword [esp + eax + 0x38], esi
test byte [esp + 0x90], 1
lea ecx, [esp + 0x50]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x50], edi
je 0x41de25
mov edx, dword [esp + 0x60]
mov eax, dword [edx]
push eax
call fcn.0040abd5
add esp, 4
mov eax, dword [esp + 0x60]
mov dword [eax], ebx
mov ecx, dword [esp + 0x70]
mov dword [ecx], ebx
mov edx, dword [esp + 0x80]
mov dword [edx], ebx
mov eax, dword [esp + 0x64]
mov dword [eax], ebx
mov ecx, dword [esp + 0x74]
mov dword [ecx], ebx
mov edx, dword [esp + 0x84]
mov dword [edx], ebx
and dword [esp + 0x90], 0xfffffffe
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x50], 0x4045dc
mov byte [esp + 0x29bc], 0xd
mov eax, dword [esp + 0x88]
mov ebp, eax
cmp eax, ebx
je 0x41decb
mov edi, dword [eax]
cmp edi, ebx
je 0x41debd
push ebx
lea ecx, [esp + 0x1c]
call fcn.00409395
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x41de9b
cmp eax, 0xffffffff
jae 0x41de9b
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x18]
and esi, edi
call fcn.004093bd
cmp esi, ebx
je 0x41debd
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
push ebp
call fcn.0040abd5
add esp, 4
mov edi, 0x404634
lea ecx, [esp + 0x54]
mov byte [esp + 0x29bc], 0xc
call fcn.004093ee
mov byte [esp + 0x29bc], 2
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x38], 0x40462c
mov edx, dword [esp + 0x48]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x48], 0x404624
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x98]
mov dword [esp + edx + 0x38], 0x40461c
push eax
mov dword [esp + 0x9c], 0x4045d0
call fcn.00408ec4
add esp, 4
test byte [esp + 0x120], 1
mov dword [esp + 0xe0], edi
je 0x41df4f
mov ecx, dword [esp + 0xf0]
mov eax, dword [ecx]
push eax
call fcn.0040abd5
add esp, 4
mov edx, dword [esp + 0xf0]
mov dword [edx], ebx
mov eax, dword [esp + 0x100]
mov dword [eax], ebx
mov ecx, dword [esp + 0x110]
mov dword [ecx], ebx
mov edx, dword [esp + 0xf4]
mov dword [edx], ebx
mov eax, dword [esp + 0x104]
mov dword [eax], ebx
mov ecx, dword [esp + 0x114]
mov dword [ecx], ebx
and dword [esp + 0x120], 0xfffffffe
mov dword [esp + 0x11c], ebx
mov dword [esp + 0xe0], 0x4045dc
mov dword [esp + 0x29bc], 0xe
mov eax, dword [esp + 0x118]
mov ebp, eax
cmp eax, ebx
je 0x41e002
mov edi, dword [eax]
cmp edi, ebx
je 0x41dff9
push ebx
lea ecx, [esp + 0x1c]
call fcn.00409395
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x41dfd7
cmp eax, 0xffffffff
jae 0x41dfd7
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x18]
and esi, edi
call fcn.004093bd
cmp esi, ebx
je 0x41dff9
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push ebp
call fcn.0040abd5
add esp, 4
lea ecx, [esp + 0xe4]
mov dword [esp + 0x29bc], 0xffffffff
call fcn.004093ee
mov edi, dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileW]
xor esi, esi
cmp esi, 0x408
jne 0x41e03a
mov eax, 0x5d1
add dword [0xf89e0c], eax
cmp dword [0xf89e0c], 0xca3
jne 0x41e05a
push ebx
lea ecx, [esp + 0x984]
push ecx
push ebx
call edi
push 0x404350
push ebx
call ebp
inc esi
cmp esi, 0x1518d4
jl 0x41e027
mov edx, dword [0xf89e0c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0xf88604], eax
mov eax, dword [0xf89e0c]
xor esi, esi
cmp eax, ebx
jbe 0x41e189
mov edi, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ebp, dword [sym.imp.KERNEL32.dll_SetLastError]
cmp eax, 0xfe
jne 0x41e0ec
push ebx
lea eax, [esp + 0x584]
push eax
call edi
push ebx
call ebp
lea ecx, [esp + 0x180]
push ecx
push 0x4043d0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor eax, eax
lea edx, [esp + 0x24]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
push edx
lea eax, [esp + 0x13c]
push eax
push 0x404404
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
mov eax, dword [0xf89e0c]
cmp eax, 0x37
jne 0x41e13f
push ebx
lea ecx, [esp + 0x984]
push ecx
push ebx
push 0x404234
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push 0x404270
push ebx
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
lea edx, [esp + 0x180]
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x4042d0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov eax, dword [0xf8c570]
mov dword [esp + 0x14], eax
mov eax, 0x5d1
add dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [0xf88604]
mov dl, byte [ecx + esi]
mov byte [eax + esi], dl
mov eax, dword [0xf89e0c]
cmp eax, 0x29
jne 0x41e180
push ebx
lea ecx, [esp + 0x984]
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov eax, dword [0xf89e0c]
inc esi
cmp esi, eax
jb 0x41e091
cmp eax, 0x70
jne 0x41e19b
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
mov eax, dword [0xf89e0c]
mov esi, dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileTime]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputW]
mov dword [esp + 0x1c], 0x9682ab
cmp eax, 3
jne 0x41e1c6
push ebx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov eax, dword [0xf89e0c]
cmp eax, 0xdf
jne 0x41e216
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
push ebx
call edi
xor edx, edx
push ebx
mov eax, edx
push eax
push eax
push ebx
push ebx
mov dword [esp + 0x28], edx
call ebp
lea ecx, [esp + 0x24]
push ecx
xor eax, eax
lea edx, [esp + 0x13c]
push edx
push ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
mov eax, dword [0xf89e0c]
dec dword [esp + 0x1c]
jne 0x41e1b5
mov esi, dword [sym.imp.KERNEL32.dll_UpdateResourceA]
mov ebp, 0x25887
mov edi, 0xabebc05c
lea esp, [esp]
mov dword [0xf8860c], edi
cmp eax, 0x222
jne 0x41e252
push ebx
push ebx
push ebx
push 0x404410
push 0x40444c
push ebx
call esi
mov eax, dword [0xf89e0c]
dec ebp
jne 0x41e230
mov byte [0x834050], bl
call fcn.0041d350
call fcn.0041d760
mov edi, dword [sym.imp.KERNEL32.dll_LocalFlags]
mov ebp, dword [sym.imp.KERNEL32.dll_LocalSize]
xor esi, esi
cmp dword [0xf89e0c], 0xba
jne 0x41e29b
lea eax, [esp + 0x138]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessIoCounters]
push 0x404460
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
push ebx
call edi
push ebx
call ebp
cmp esi, 0x2f64
jne 0x41e2b4
mov eax, 0
add dword [0xf88604], eax
inc esi
cmp esi, 0x1605a
jl 0x41e273
mov ecx, 0x73
mov edx, 0x6d
mov word [0xf89e12], cx
mov word [0xf89e16], dx
xor edx, edx
mov eax, 0x33
mov ecx, 0x67
mov word [0xf89e1a], ax
mov word [0xf89e26], dx
mov word [0xf89e18], cx
mov edx, 0x69
mov eax, 0x6d
mov ecx, 0x6c
push 0xf89e10
mov dword [0xf89e20], 0x6c0064
mov word [0xf89e14], dx
mov word [0xf89e10], ax
mov word [0xf89e24], cx
mov dword [0xf89e1c], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0xf89e0c], 0xc30
jne 0x41e429
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
lea ecx, [esp + 0x18]
push ecx
push 0x4044e0
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeA]
lea edx, [esp + 0x180]
push edx
push 0x40448c
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push ebx
lea eax, [esp + 0x1984]
push eax
push 0x404520
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
push 0x404548
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ebx
call dword [sym.imp.KERNEL32.dll_AddRefActCtx]
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push ebx
lea ecx, [esp + 0x24]
push ecx
push ebx
lea edx, [esp + 0x58c]
push edx
push ebx
call esi
push ebx
lea eax, [esp + 0x984]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x13c]
push eax
lea ecx, [esp + 0x148]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
lea edx, [esp + 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
lea eax, [esp + 0x1184]
push eax
push 0x4044a4
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push ebx
lea ecx, [esp + 0x134]
push ecx
push ebx
push ebx
push ebx
call esi
push 0x404570
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
lea edx, [esp + 0x2180]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, dword [esp + 0x29b4]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret