Function at 0x41d880
Capabilities:
Get common file path
Get disk information
Get geographical location
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x41fe71
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, 0x2630
call fcn.00418950
push ebx
push ebp
push esi
xor ebx, ebx
mov dword [esp + 0x4c], ebx
mov ebp, dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProfileSectionA]
xor esi, esi
cmp esi, 0x2c84f
jge 0x41d8d1
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_CharToOemBuffA]
cmp dword [0xf82eac], 0x6fb
jne 0x41d908
push ebx
lea eax, [esp + 0x644]
push eax
push 0x404268
call edi
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x54]
push eax
push ebx
lea ecx, [esp + 0x250]
push ecx
push ebx
call ebp
cmp esi, 0x1e7d3ee8
jle 0x41d927
cmp dword [esp + 0x44], 0xc10392
je 0x41d927
cmp dword [esp + 0x204], 0x9343ae8
jne 0x41d932
inc esi
cmp esi, 0x7e98d
jl 0x41d8c0
jmp 0x41d960
cmp dword [0xf82eac], 0x28
jne 0x41d960
push ebx
lea edx, [esp + 0x48]
push edx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [esp + 0x240]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
cmp dword [0xf82eac], 0xcf8
jne 0x41deb2
push 0x404284
push ebx
call fcn.0040a872
push ebx
push ebx
push ebx
push 0x82d0f0
call fcn.0040a2b8
push ebx
call fcn.0040a6e3
add esp, 0x1c
push ebx
push ebx
call fcn.0041d13e
add esp, 8
lea ecx, [esp + 0x68]
push ecx
call fcn.00406720
mov dword [esp + 0x68], 0x404514
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov eax, 1
mov dword [esp + 0x267c], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0xb8], 0x404558
mov dword [esp + 0xc8], 0x404560
mov byte [esp + 0x267c], 3
mov ebp, 6
push 4
mov dword [esp + 0x54], eax
mov dword [esp + 0x11c], 0x4044fc
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0x14c], ebx
mov dword [esp + 0x124], ebx
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x130], 0x201
mov dword [esp + 0x134], ebp
mov dword [esp + 0x138], ebx
mov dword [esp + 0x13c], ebx
mov dword [esp + 0x140], ebx
mov dword [esp + 0x144], ebx
mov dword [esp + 0x148], ebx
mov dword [esp + 0x128], ebx
call fcn.0040aa66
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x41daa3
call fcn.004090af
mov dword [esi], eax
call fcn.00408e6e
push ebx
lea ecx, [esp + 0x50]
mov edi, eax
call fcn.00409275
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x41da98
inc eax
mov dword [edi + 4], eax
lea ecx, [esp + 0x4c]
call fcn.0040929d
jmp 0x41daa5
xor esi, esi
lea edx, [esp + 0xd0]
lea edi, [esp + 0x48]
lea eax, [esp + 0x118]
mov dword [esp + 0x148], esi
mov dword [esp + 0x150], edx
mov dword [esp + 0x154], ebx
call fcn.004056b0
mov edi, eax
mov dword [esp + 0x267c], ebp
call fcn.004085a0
mov byte [esp + 0x267c], 5
mov edi, dword [esp + 0x48]
mov ebp, eax
cmp edi, ebx
je 0x41db2d
push ebx
lea ecx, [esp + 0x48]
call fcn.00409275
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x41db0b
cmp eax, 0xffffffff
jae 0x41db0b
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x44]
and esi, edi
call fcn.0040929d
cmp esi, ebx
je 0x41db2d
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0x18]
push 0x20
mov ecx, ebp
call edx
mov byte [esp + 0x158], al
cmp dword [esp + 0x150], ebx
jne 0x41db73
mov eax, dword [esp + 0x124]
or eax, 4
and eax, 0x17
mov dword [esp + 0x124], eax
test dword [esp + 0x128], eax
je 0x41db73
push ebx
lea ecx, [esp + 0x11c]
call fcn.004055d0
mov eax, dword [esp + 0xc8]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0xc8], 0x404504
mov edx, dword [esp + 0xb8]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0xb8], 0x40450c
mov dword [esp + 0x267c], 9
mov ecx, dword [esp + 0xb8]
mov edx, dword [ecx + 4]
lea eax, [esp + 0xd0]
mov esi, 0x404554
push eax
mov dword [esp + edx + 0xbc], esi
call fcn.00406720
mov edi, 0x404514
mov dword [esp + 0xd0], edi
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x110], ebx
push 0x404290
lea ecx, [esp + 0xcc]
push ecx
mov byte [esp + 0x2684], 0xb
call fcn.00405890
push 0x404294
lea edx, [esp + 0xcc]
push edx
call fcn.00405890
push ebx
call fcn.0040aa57
add esp, 4
push ebx
call fcn.0040a836
fldz
sub esp, 0xc
fst qword [esp + 8]
fstp qword [esp]
call fcn.0040a850
fstp st(0)
push ebx
push ebx
call fcn.0040a16b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00409a68
add esp, 0x2c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040a5ee
add esp, 0x14
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040a53c
mov ecx, dword [esp + 0xd0]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x130]
add esp, 0x18
mov dword [esp + 0x48], eax
mov dword [esp + edx + 0xb8], esi
test byte [esp + 0x110], 1
lea eax, [esp + 0xd0]
mov dword [esp + 0x4c], eax
mov dword [esp + 0xd0], edi
je 0x41dcac
mov ecx, dword [esp + 0xe0]
mov eax, dword [ecx]
push eax
call fcn.0040a9b5
add esp, 4
mov edx, dword [esp + 0xe0]
mov dword [edx], ebx
mov eax, dword [esp + 0xf0]
mov dword [eax], ebx
mov ecx, dword [esp + 0x100]
mov dword [ecx], ebx
mov edx, dword [esp + 0xe4]
mov dword [edx], ebx
mov eax, dword [esp + 0xf4]
mov dword [eax], ebx
mov ecx, dword [esp + 0x104]
mov dword [ecx], ebx
and dword [esp + 0x110], 0xfffffffe
mov dword [esp + 0x10c], ebx
mov dword [esp + 0xd0], 0x4044bc
mov byte [esp + 0x267c], 0xd
mov eax, dword [esp + 0x108]
mov ebp, eax
cmp eax, ebx
je 0x41dd61
mov edi, dword [eax]
cmp edi, ebx
je 0x41dd53
push ebx
lea ecx, [esp + 0x48]
call fcn.00409275
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x41dd31
cmp eax, 0xffffffff
jae 0x41dd31
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x44]
and esi, edi
call fcn.0040929d
cmp esi, ebx
je 0x41dd53
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push ebp
call fcn.0040a9b5
add esp, 4
mov edi, 0x404514
lea ecx, [esp + 0xd4]
mov byte [esp + 0x267c], 0xc
call fcn.004092ce
mov byte [esp + 0x267c], 2
mov ecx, dword [esp + 0xb8]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0xb8], 0x40450c
mov eax, dword [esp + 0xc8]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0xc8], 0x404504
mov edx, dword [esp + 0xb8]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x118]
mov dword [esp + eax + 0xb8], 0x4044fc
push ecx
mov dword [esp + 0x11c], 0x4044b0
call fcn.00408da4
add esp, 4
test byte [esp + 0xa8], 1
mov dword [esp + 0x68], edi
je 0x41ddf4
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
push eax
call fcn.0040a9b5
add esp, 4
mov eax, dword [esp + 0x78]
mov dword [eax], ebx
mov ecx, dword [esp + 0x88]
mov dword [ecx], ebx
mov edx, dword [esp + 0x98]
mov dword [edx], ebx
mov eax, dword [esp + 0x7c]
mov dword [eax], ebx
mov ecx, dword [esp + 0x8c]
mov dword [ecx], ebx
mov edx, dword [esp + 0x9c]
mov dword [edx], ebx
and dword [esp + 0xa8], 0xfffffffe
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x68], 0x4044bc
mov dword [esp + 0x267c], 0xe
mov eax, dword [esp + 0xa0]
mov ebp, eax
cmp eax, ebx
je 0x41de9e
mov edi, dword [eax]
cmp edi, ebx
je 0x41de95
push ebx
lea ecx, [esp + 0x48]
call fcn.00409275
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x41de73
cmp eax, 0xffffffff
jae 0x41de73
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x44]
and esi, edi
call fcn.0040929d
cmp esi, ebx
je 0x41de95
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
push ebp
call fcn.0040a9b5
add esp, 4
lea ecx, [esp + 0x6c]
mov dword [esp + 0x267c], 0xffffffff
call fcn.004092ce
mov edi, dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileW]
xor esi, esi
cmp esi, 0x408
jne 0x41ded3
mov eax, 0x5d1
add dword [0xf82eac], eax
cmp dword [0xf82eac], 0xca3
jne 0x41def3
push ebx
lea eax, [esp + 0xa44]
push eax
push ebx
call edi
push 0x404298
push ebx
call ebp
inc esi
cmp esi, 0x1518d4
jl 0x41dec0
mov ecx, dword [0xf82eac]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0xf816a4], eax
mov eax, dword [0xf82eac]
xor esi, esi
cmp eax, ebx
jbe 0x41dfa1
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebp, dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
lea ebx, [ebx]
cmp eax, 0xfe
jne 0x41df77
push ebx
call edi
lea edx, [esp + 0xb8]
push edx
push 0x404318
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1fc]
push ecx
push 0x404330
mov dword [esp + 0x60], ebx
call ebp
call fcn.0041d300
mov eax, dword [0xf82eac]
cmp eax, 0x29
jne 0x41df9c
push ebx
lea edx, [esp + 0xa44]
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov eax, dword [0xf82eac]
inc esi
cmp esi, eax
jb 0x41df30
cmp eax, 0x70
jne 0x41dfb3
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
mov eax, dword [0xf82eac]
mov esi, dword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov edi, 0x9682ab
mov edi, edi
cmp eax, 3
jne 0x41dfcd
push ebx
call esi
mov eax, dword [0xf82eac]
dec edi
jne 0x41dfc0
mov edi, 0x25887
mov esi, 0xabebc05c
lea ebx, [ebx]
mov dword [0xf816ac], esi
cmp eax, 0x222
jne 0x41e006
push ebx
push ebx
push ebx
push 0x40433c
push 0x404378
push ebx
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
mov eax, dword [0xf82eac]
dec edi
jne 0x41dfe0
mov byte [0x82d0f0], bl
call fcn.0041d210
call fcn.0041d610
mov edi, dword [sym.imp.KERNEL32.dll_LocalFlags]
mov ebp, dword [sym.imp.KERNEL32.dll_LocalSize]
xor esi, esi
jmp 0x41e030
cmp dword [0xf82eac], 0xba
jne 0x41e049
push 0x40438c
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
push ebx
call edi
push ebx
call ebp
cmp esi, 0x2f64
jne 0x41e062
mov eax, 0
add dword [0xf816a4], eax
inc esi
cmp esi, 0x1605a
jl 0x41e030
mov eax, 0x73
mov ecx, 0x6d
mov word [0xf82eb2], ax
mov word [0xf82eb6], cx
xor ecx, ecx
mov edx, 0x33
mov eax, 0x67
mov word [0xf82eba], dx
mov word [0xf82ec6], cx
mov word [0xf82eb8], ax
mov ecx, 0x69
mov edx, 0x6d
mov eax, 0x6c
push 0xf82eb0
mov dword [0xf82ec0], 0x6c0064
mov word [0xf82eb4], cx
mov word [0xf82eb0], dx
mov word [0xf82ec4], ax
mov dword [0xf82ebc], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0xf82eac], 0xc30
jne 0x41e1ca
lea eax, [esp + 0x640]
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 + 0x240]
push ecx
push 0x4043b8
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push ebx
lea edx, [esp + 0x1644]
push edx
push 0x4043d0
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
push 0x4043f8
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 + 0x48]
push eax
push ebx
lea ecx, [esp + 0x124c]
push ecx
push ebx
call esi
push ebx
lea edx, [esp + 0xa44]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0xc4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
lea ecx, [esp + 0x1f8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
lea edx, [esp + 0xb8]
push edx
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
push 0x404420
push 0x404438
push ebx
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
lea eax, [esp + 0x1e40]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, dword [esp + 0x2674]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret