Function at 0x41c330
Capabilities:
Get common file path
Get file attributes
Get geographical location
Manipulate console buffer
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x420004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteTimerQueueTimer]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
mov edi, 0x3661b338
cmp dword [0x1ef4de4], 0xc31
jne 0x41c368
push 0
push 0
push 0
call ebx
push 0
call esi
dec edi
jne 0x41c354
mov edi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor ebx, ebx
xor esi, esi
lea esp, [esp]
cmp esi, 0x562d05
jne 0x41c392
mov eax, dword [0x421be4]
mov dword [0x1ef516c], eax
cmp dword [0x1ef4de4], 0x3c
jne 0x41c39e
push ebx
call edi
inc esi
cmp esi, 0x5f6c74
jl 0x41c380
cmp dword [0x1ef4de4], 0x7c
jne 0x41c423
push ebx
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
push ebx
push ebx
call dword [sym.imp.USER32.dll_LoadIconW]
push ebx
call dword [sym.imp.USER32.dll_SetKeyboardState]
push ebx
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push ebx
call dword [sym.imp.KERNEL32.dll_AddAtomA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp dword [0x1ef4de4], 0x11
jne 0x41c400
push ebx
push ebx
push ebx
call dword [sym.imp.GDI32.dll_GetBoundsRect]
cmp dword [0x1ef4de4], 0x2d
jne 0x41c411
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
push 0x41ea46
push 0x422980
call fcn.004010b1
add esp, 8
cmp dword [0x1ef4de4], 0x110a
jne 0x41c499
mov dword [0x1ef4dd8], ebx
mov dword [0x1ef4ddc], ebx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_DeactivateActCtx]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push ebx
push ebx
call fcn.00401071
push ebx
call fcn.00401037
push ebx
push ebx
call fcn.00401071
push ebx
push ebx
call fcn.00401071
push ebx
call fcn.0040100f
add esp, 0x20
call fcn.0041c060
xor esi, esi
cmp dword [0x1ef4de4], ebx
jbe 0x41c4ed
mov edi, dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov edi, edi
mov edx, dword [0x1ef516c]
mov dword [ebp - 8], edx
mov eax, 0xa231
add dword [ebp - 8], eax
cmp dword [0x1ef4de4], 0x5ab
mov eax, dword [ebp - 8]
mov cl, byte [eax + esi]
mov edx, dword [0x1ef4b08]
mov byte [edx + esi], cl
jne 0x41c4e4
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call edi
inc esi
cmp esi, dword [0x1ef4de4]
jb 0x41c4b0
call fcn.0041c110
call fcn.0041c090
call fcn.0041c2c0
call fcn.0041c080
mov ebx, dword [ebp - 0x2c]
mov edi, dword [sym.imp.USER32.dll_GetClassLongA]
xor esi, esi
lea esp, [esp]
push 0
push 0
call edi
cmp esi, 0x1a01e
jle 0x41c526
cmp ebx, 0xf5bed7
jne 0x41c52f
inc esi
cmp esi, 0x1ece7a52
jl 0x41c510
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
mov ebx, dword [sym.imp.KERNEL32.dll_TzSpecificLocalTimeToSystemTime]
xor esi, esi
lea ecx, [ecx]
cmp esi, 0x12e6c3
jne 0x41c54d
call fcn.0041c050
cmp dword [0x1ef4de4], 0x3dc
mov dword [0x1ef4b0c], 0x8e46a6f0
jne 0x41c57a
xor eax, eax
lea edx, [ebp - 0xc]
push edx
push eax
push eax
push eax
push eax
mov dword [ebp - 8], eax
call edi
push 0
push 0
push 0
call ebx
inc esi
cmp esi, 0x1519a5
jl 0x41c540
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
mov esp, ebp
pop ebp
ret