Function at 0x406e71
Capabilities:
Create directory
Delete directory
Get common file path
Get disk information
Get geographical location
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1cb8
call fcn.00409a80
mov ecx, dword [0x1a2e844]
push esi
push edi
cmp ecx, 0x93
je 0x40707a
mov eax, dword [0x43ad88]
add ecx, 0x1134b
push ecx
xor esi, esi
mov dword [0x1a2e84c], eax
push esi
mov dword [0x1a2e844], ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x1a2e848], eax
call fcn.0040747a
mov edi, 0x29156e
push esi
lea eax, [ebp - 0x8b8]
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffW]
dec edi
jne 0x406ec1
mov edx, dword [0x1a2e844]
mov edi, esi
test edx, edx
je 0x406f3b
mov eax, dword [0x1a2e84c]
mov cl, byte [eax + edi + 0x1134b]
mov eax, dword [0x1a2e848]
mov byte [eax + edi], cl
mov edx, dword [0x1a2e844]
cmp edx, 0x490
jne 0x406f36
push esi
push esi
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
push 0x401098
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [0x1a2e844]
inc edi
cmp edi, edx
jb 0x406ede
mov edi, esi
lea eax, [edx + edi]
cmp eax, 0x8d
jne 0x406fcd
push 0x4010b8
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push esi
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0xcb8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_GetClassInfoA]
push esi
call dword [sym.imp.USER32.dll_CharLowerA]
push esi
lea eax, [ebp - 0x14b8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0x10b8]
push eax
push 0x4010ac
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push esi
lea eax, [ebp - 0x1cb8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
lea eax, [ebp - 0x4b8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edx, dword [0x1a2e844]
inc edi
cmp edi, 0x38681
jl 0x406f3d
mov ecx, dword [0x1a2e848]
push 0x433640
call fcn.00407436
mov edi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0x62
jne 0x40700a
mov dword [ebp - 4], esi
add dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add dword [0x1a2e848], eax
inc edi
cmp edi, 0x674db
jl 0x406fec
push 0x7b
pop edi
cmp dword [0x1a2e844], 0x86
jne 0x407060
push esi
push esi
push esi
push esi
push esi
push esi
push 0x401108
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
lea eax, [ebp - 8]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
lea eax, [ebp - 0x4b8]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
dec edi
jne 0x407016
push 0x401130
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call dword [0x1a2e848]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
lock bts dword [eax], 0
xor esi, esi
lea eax, [ebp - 0xcb8]
push esi
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push esi
lea eax, [ebp - 0x8b8]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
push esi
push esi
call dword [sym.imp.SHELL32.dll_FindExecutableA]
push 0x4011ec
push esi
call fcn.00409085
push esi
call fcn.00408d74
movss xmm0, dword [0x4012cc]
add esp, 0xc
cvtps2pd xmm0, xmm0
push esi
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.0040940d
add esp, 0xc
fstp st(0)
push esi
call fcn.00408d53
int3