Function at 0x43e620
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45f99c
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x47b038]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47b038]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
push 0x934
mov esi, ecx
call fcn.0044ad7f
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x240], 0
test eax, eax
je 0x43e688
mov ecx, eax
call fcn.00447010
mov ecx, eax
jmp 0x43e68a
xor ecx, ecx
xor edx, edx
lea ebx, [esi + 0x620]
xor eax, eax
mov word [ebx], dx
mov word [esi + 0xc3c], dx
mov edx, dword [esi + 0x828]
lea ebp, [esi + 0xa34]
mov dword [esp + 0x240], 0xffffffff
mov dword [esi], ecx
mov word [esi + 0x418], ax
mov dword [esp + 0x14], 0x104
mov word [ebp], ax
test edx, edx
jne 0x43e7a5
cmp word [esi + 8], dx
lea edi, [esi + 8]
je 0x43e742
push edi
call fcn.00447020
cmp eax, 0x100
mov edx, ebx
jle 0x43e70c
mov eax, str.Windows_x64
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x43e6f1
mov dword [esi + 0x828], 2
jmp 0x43e72c
mov eax, str.Windows_NT_x86
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x43e713
mov dword [esi + 0x828], 1
lea eax, [esp + 0x14]
push eax
push 0x104
lea ecx, [esi + 0x82c]
push ecx
jmp 0x43e7fe
call fcn.00444240
mov edx, ebx
test eax, eax
jne 0x43e76f
mov eax, str.Windows_NT_x86
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x43e754
mov dword [esi + 0x828], 1
jmp 0x43e78f
mov eax, str.Windows_x64
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x43e776
mov dword [esi + 0x828], 2
lea edx, [esp + 0x14]
push edx
push 0x104
lea eax, [esi + 0x82c]
push eax
jmp 0x43e83b
cmp edx, 1
jne 0x43e7c2
mov eax, str.Windows_NT_x86
mov edx, ebx
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x43e7b3
cmp dword [esi + 0x828], 2
jne 0x43e7e3
mov eax, str.Windows_x64
mov edx, ebx
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x43e7d4
cmp word [esi + 8], 0
lea edi, [esi + 8]
je 0x43e82a
lea ecx, [esp + 0x14]
push ecx
push 0x104
lea edx, [esi + 0x82c]
push edx
push 1
push ebx
push edi
call sub.WINSPOOL.DRV_GetPrinterDriverDirectoryW
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
push edi
push str._s_admin_
push ebp
call ebx
push edi
lea eax, [esi + 0xc3c]
push str._s_admin_System32
push eax
call ebx
add esp, 0x18
jmp 0x43e863
lea eax, [esp + 0x14]
push eax
push 0x104
lea ecx, [esi + 0x82c]
push ecx
push 1
push ebx
push 0
call sub.WINSPOOL.DRV_GetPrinterDriverDirectoryW
push 0x104
push ebp
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x104
lea eax, [esi + 0xc3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x434
call fcn.0044ad7f
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x240], 1
test eax, eax
je 0x43e89a
mov edx, dword [esi + 0x828]
push edx
lea ecx, [esi + 0x210]
push ecx
mov ecx, eax
call fcn.00406f80
jmp 0x43e89c
xor eax, eax
mov dword [esp + 0x240], 0xffffffff
mov dword [esi + 4], eax
test eax, eax
je 0x43e99f
push str.SourceDisksNames
mov ecx, eax
call fcn.00406870
mov ebx, eax
xor ebp, ebp
xor edi, edi
cmp ebx, ebp
jle 0x43e99f
lea esp, [esp]
push 0x206
lea eax, [esp + 0x32]
xor edx, edx
push ebp
push eax
mov dword [esp + 0x24], ebp
mov word [esp + 0x38], dx
call fcn.0044ac90
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 4]
push edi
push str.SourceDisksNames
call fcn.00406a90
mov ecx, dword [esi + 4]
lea edx, [esp + 0x18]
push edx
push ebp
lea eax, [esp + 0x24]
push eax
call fcn.004063a0
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 4]
push 0x104
lea edx, [esp + 0x34]
push edx
push 4
lea eax, [esp + 0x2c]
push eax
call fcn.004063c0
mov ecx, dword [esi + 0x4fc4]
mov edx, dword [esp + 0x18]
imul ecx, ecx, 0x20c
mov dword [ecx + esi + 0xe44], edx
cmp word [esp + 0x2c], bp
je 0x43e97a
mov eax, dword [esi + 0x4fc4]
imul eax, eax, 0x20c
lea ecx, [esp + 0x2c]
lea edx, [eax + esi + 0xe48]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bp
jne 0x43e967
jmp 0x43e990
mov ecx, dword [esi + 0x4fc4]
imul ecx, ecx, 0x20c
xor edx, edx
mov word [ecx + esi + 0xe48], dx
inc dword [esi + 0x4fc4]
inc edi
cmp edi, ebx
jl 0x43e8d0
xor eax, eax
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0044ac80
add esp, 0x230
ret