Function at 0x10041730
Capabilities:
Get common file path
Get disk information
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5e10
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x100e01f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x54], 0x8004
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x4c], 0x14
mov dword [ebp - 0x58], vtable.SHA1.0
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.100066f0
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetForegroundWindow]
lea ecx, [ebp - 0x10]
call fcn.10041370
test eax, eax
je 0x100417a3
xor bl, bl
jmp 0x10041949
lea ecx, [ebp - 0x1c]
call fcn.100066f0
push 0x105
push 0x105
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.10002fe0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.10028aa0
test esi, esi
jne 0x100417df
xor bl, bl
jmp 0x10041941
lea ecx, [ebp - 0x1c]
call fcn.10002390
push eax
lea ecx, [ebp - 0x14]
call fcn.10006710
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.10006f90
push eax
lea ecx, [ebp - 0x14]
call fcn.10002fe0
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.10028aa0
lea ecx, [ebp - 0x28]
call fcn.100066f0
lea ecx, [ebp - 0x24]
call fcn.100066f0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.10002390
push eax
lea ecx, [ebp - 0x20]
call fcn.10006710
push 0x105
push 0x105
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.10002fe0
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x105
push 0x105
lea ecx, [ebp - 0x28]
call fcn.10002fe0
push eax
lea ecx, [ebp - 0x20]
call fcn.10026d20
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1004191f
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
call fcn.10028aa0
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
call fcn.10028aa0
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.10028aa0
push dword [ebp - 0x4c]
call fcn.1005f64f
add esp, 4
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.10006f90
lea eax, [eax*2 + 1]
push eax
call fcn.1005f64f
add esp, 4
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.10006f90
add eax, eax
push eax
lea ecx, [ebp - 0x10]
call fcn.10002390
push eax
push edi
call fcn.10080ac0
add esp, 0xc
lea ecx, [ebp - 0x10]
push ebx
call fcn.10006f90
add eax, eax
push eax
push edi
lea ecx, [ebp - 0x58]
call fcn.100409e0
push edi
mov esi, eax
call fcn.1007cd79
add esp, 4
test esi, esi
je 0x10041965
push ebx
call fcn.1007cd79
add esp, 4
push 0
call dword [sym.imp.USER32.dll_IsWindow]
xor bl, bl
lea ecx, [ebp - 0x20]
call fcn.10004030
lea ecx, [ebp - 0x24]
call fcn.10004030
lea ecx, [ebp - 0x28]
call fcn.10004030
lea ecx, [ebp - 0x14]
call fcn.10004030
lea ecx, [ebp - 0x1c]
call fcn.10004030
lea ecx, [ebp - 0x10]
call fcn.10004030
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x4c]
add esi, 5
push esi
mov dword [ebp - 0x30], esi
call fcn.1005f64f
add esp, 4
mov dword [ebp - 0x40], eax
test eax, eax
je 0x1004191f
push dword [ebp - 0x4c]
push ebx
push eax
call fcn.10080ac0
push ebx
call fcn.1007cd79
mov eax, dword [ebp - 0x2c]
add esp, 0x10
mov ebx, eax
push 0
shr eax, 0x10
push 0
shr ebx, 0x18
mov dword [ebp - 0x38], eax
call dword [sym.imp.USER32.dll_GetWindow]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x38]
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x15], cl
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 0x18], bl
mov ebx, dword [ebp - 0x40]
mov byte [ebp - 0x17], dl
mov byte [ebp - 0x16], al
mov eax, dword [ebp - 0x18]
mov dword [ecx + ebx], eax
lea ecx, [ebp - 0x3c]
call fcn.10041330
dec esi
push esi
mov byte [ebp - 4], 7
call fcn.1005f64f
add esp, 4
mov edi, eax
push 0
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push ebx
push edi
call fcn.10080ac0
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
push edi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], esi
call fcn.100412f0
mov ecx, dword [ebp - 0x30]
push edi
mov byte [ebx + ecx - 1], al
call fcn.1007cd79
mov ecx, dword [ebp - 0x34]
add esp, 4
call fcn.10002c90
mov edi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
lea eax, [edi + edi]
push eax
call fcn.10002f80
xor esi, esi
test edi, edi
je 0x10041a50
movzx eax, byte [esi + ebx]
push eax
push 0x100c64bc
push dword [ebp - 0x34]
call fcn.1000bc80
inc esi
add esp, 0xc
cmp esi, edi
jb 0x10041a36
push ebx
call fcn.1007cd79
push dword [ebp - 0x38]
mov bl, 1
call fcn.1007cd79
add esp, 8
jmp 0x10041921