Function at 0x491a49
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x58c
push ebx
push esi
lea eax, [ebp + 0x78]
push edi
push eax
mov dword [ebp + 0x5c], ecx
call fcn.0043dcd9
push 4
pop edi
push edi
lea eax, [ebp + 0x78]
push eax
push str._svr
call fcn.004460ea
xor ebx, ebx
add esp, 0x10
cmp al, bl
mov byte [ebp + 0x43], al
jne 0x491a9b
push edi
lea eax, [ebp + 0x78]
push eax
push str._vhd
call fcn.004460ea
add esp, 0xc
test al, al
mov byte [ebp + 0x67], 1
jne 0x491a9e
mov byte [ebp + 0x67], bl
mov al, byte [ebp + 0x67]
or al, byte [ebp + 0x43]
jne 0x491c92
push edi
lea eax, [ebp + 0x78]
push eax
push str._udm
call fcn.004460ea
add esp, 0xc
test al, al
je 0x491c92
mov esi, dword [ebp + 0x78]
push edi
lea eax, [ebp + 0x78]
push eax
push str.upud
mov dword [ebp + 0x34], ebx
call fcn.004460ea
add esp, 0xc
test al, al
je 0x491ae9
mov dword [ebp + 0x34], 0x80000000
jmp 0x491b04
push 6
lea eax, [ebp + 0x78]
push eax
push str.listud
call fcn.004460ea
add esp, 0xc
test al, al
je 0x491c2a
lea ecx, [ebp + 0x4c]
mov dword [ebp + 0x1c], ebx
call fcn.004441a1
mov ecx, dword [ebp + 0x5c]
push 1
push ebx
lea eax, [ebp + 0x4c]
push eax
push dword [ebp + 0x78]
call fcn.004538d5
mov eax, dword [ebp + 0x4c]
mov dword [ebp + 0x78], eax
push 5
lea eax, [ebp + 0x78]
push eax
push str._ret:
mov dword [ebp + 0x7c], ebx
call fcn.004460ea
mov ecx, dword [ebp + 0x78]
add esp, 0xc
cmp ecx, ebx
je 0x491b55
mov dx, word [ecx]
cmp dx, 0x2d
je 0x491b55
cmp dx, 0x5c
je 0x491b55
mov al, 1
cmp al, bl
je 0x491b71
push 0xd
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x7c]
push eax
mov dword [ebp + 0x7c], ecx
call fcn.00419ea1
add esp, 0xc
mov dword [ebp + 0x78], eax
push 8
lea eax, [ebp + 0x78]
push eax
xor esi, esi
push str._udmask:
mov dword [ebp + 0x24], esi
mov dword [ebp + 0x28], ebx
call fcn.004460ea
add esp, 0xc
test al, al
je 0x491bb7
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2a
jne 0x491ba5
add dword [ebp + 0x78], 2
push 0x3d
pop esi
mov dword [ebp + 0x28], ebx
jmp 0x491bb7
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0045030b
mov esi, dword [ebp + 0x24]
pop ecx
pop ecx
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x3c], eax
push 0xd
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x3c]
push eax
call fcn.00419ea1
add esp, 0xc
mov dword [ebp + 0x78], eax
xor edi, edi
cmp word [eax], bx
je 0x491bdb
mov edi, eax
lea ecx, [ebp + 0x68]
call fcn.004441a1
push ebx
xor eax, eax
xor ecx, ecx
or eax, ecx
push eax
and esi, 0xfeffff
or esi, dword [ebp + 0x34]
lea eax, [ebp + 0x68]
push esi
push edi
push eax
push dword [ebp + 0x3c]
call fcn.0043b8c1
mov ecx, dword [ebp + 0x5c]
add esp, 0x18
push dword [ebp + 0x68]
push dword [ebp + 0x7c]
call fcn.004438ac
lea ecx, [ebp + 0x68]
call fcn.0043dd41
lea ecx, [ebp + 0x4c]
call fcn.0043dd41
xor eax, eax
jmp 0x4929df
movzx esi, word [esi]
mov eax, esi
or eax, 0x20
cmp ax, 0x61
jb 0x491c3e
cmp ax, 0x7a
jbe 0x491c5b
mov eax, esi
call fcn.00443ca7
test al, al
jne 0x491c5b
cmp si, 0x61
jb 0x491c55
cmp si, 0x66
jbe 0x491c5b
cmp si, 0x78
jne 0x491c62
mov eax, str.22:INDATA
jmp 0x491c67
mov eax, str.22:INDATA_mount
push 0xffffffffffffffff
push eax
lea ecx, [ebp + 0x7c]
call fcn.0044cf63
push dword [ebp + 0x78]
lea ecx, [ebp + 0x7c]
call fcn.0044420d
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x5c]
call fcn.0042300e
mov esi, eax
lea ecx, [ebp + 0x7c]
jmp 0x4929d8
push dword [ebp + 0x5c]
lea ecx, [ebp - 0x18]
call fcn.0044646b
mov edi, 0x4bca2c
push edi
lea ecx, [ebp + 0x38]
call fcn.0044cf2d
push edi
lea ecx, [ebp + 0x20]
call fcn.0044cf2d
push edi
lea ecx, [ebp + 0x1c]
call fcn.0044cf2d
push edi
lea ecx, [ebp + 0x48]
call fcn.0044cf2d
mov esi, dword [ebp + 0x78]
cmp word [esi], 0x2d
mov dword [ebp + 0x44], 0x80000000
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x30], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp - 8], 0x200
mov dword [ebp - 4], ebx
mov al, 0x2a
jne 0x491cf6
add al, 3
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
movzx ecx, word [esi]
movsx eax, al
cmp eax, ecx
mov byte [ebp + 0x6f], bl
mov byte [ebp + 0x57], bl
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0xc], 2
mov dword [ebp + 0x58], eax
jne 0x491f19
lea eax, [esi + 2]
push 5
push eax
push str.query
call fcn.0043f0c4
add esp, 0xc
test al, al
je 0x491d3d
mov byte [ebp + 0x6f], 1
jmp 0x491eec
push 3
lea eax, [esi + 2]
push eax
push 0x4c8a10
call fcn.0043f0c4
add esp, 0xc
test al, al
je 0x491da9
lea eax, [ebp + 0x78]
add esi, 8
push eax
mov dword [ebp + 0x78], esi
call fcn.0043dcd9
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x14], eax
lea eax, [ebp + 0x78]
push eax
call fcn.00405676
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
pop ecx
pop ecx
je 0x491d83
mov word [eax], bx
add dword [ebp + 0x78], 2
mov ecx, dword [ebp + 0x5c]
push ebx
push ebx
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.00438e0f
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x14], eax
lea eax, [ebp + 0x78]
push eax
call fcn.0043dcd9
jmp 0x491ef5
push 1
lea eax, [esi + 2]
push eax
push 0x4c233c
call fcn.0043f0c4
add esp, 0xc
test al, al
je 0x491dc9
mov byte [ebp + 0x57], 1
jmp 0x491eec
push 1
lea eax, [esi + 2]
push eax
push 0x4c8a0c
call fcn.0043f0c4
add esp, 0xc
test al, al
jne 0x491e6a
push 2
lea eax, [esi + 2]
push eax
push 0x4c8a08
call fcn.0043f0c4
add esp, 0xc
test al, al
je 0x491e07
or dword [ebp + 0x28], 0xffffffff
mov dword [ebp + 0x4c], ebx
jmp 0x491eec
push 1
lea eax, [esi + 2]
push eax
push 0x4c2328
call fcn.0043f0c4
add esp, 0xc
test al, al
je 0x491e2a
mov dword [ebp + 0x30], 2
jmp 0x491eec
push 2
lea eax, [esi + 2]
push eax
push 0x4c8a04
call fcn.0043f0c4
add esp, 0xc
test al, al
je 0x491e4d
mov dword [ebp + 0x30], 3
jmp 0x491eec
push 3
lea eax, [esi + 2]
push eax
push 0x4c8a00
call fcn.0043f0c4
add esp, 0xc
test al, al
je 0x491e73
lea eax, [ebp + 0xc]
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x4c], 1
jmp 0x491eec
push 1
lea eax, [esi + 2]
push eax
push 0x4c7520
call fcn.0043f0c4
add esp, 0xc
test al, al
je 0x491e93
mov dword [ebp + 8], 1
jmp 0x491eec
push 1
lea eax, [esi + 2]
push eax
push 0x4c89fc
call fcn.0043f0c4
add esp, 0xc
test al, al
je 0x491eb3
mov dword [ebp + 0x10], 2
jmp 0x491eec
push 2
lea eax, [esi + 2]
push eax
push 0x4c89f8
call fcn.0043f11b
add esp, 0xc
test al, al
je 0x491f19
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 0x68]
add esi, 6
push eax
mov dword [ebp + 0x78], esi
mov dword [ebp + 0x68], esi
call fcn.0044908a
lea eax, [ebp + 0x78]
push eax
call fcn.00405676
add esp, 0xc
lea eax, [ebp + 0x78]
push eax
call fcn.00408ddd
mov esi, dword [ebp + 0x78]
movzx eax, word [esi]
cmp dword [ebp + 0x58], eax
pop ecx
je 0x491d1d
jmp 0x491f19
cmp ax, 0x21
jne 0x491f21
inc esi
inc esi
mov dword [ebp + 0x34], 1
mov dword [ebp + 0x78], esi
mov ax, word [esi]
cmp ax, bx
jne 0x491f07
lea eax, [ebp + 0x78]
push eax
call fcn.0043dcd9
pop ecx
mov ecx, dword [ebp + 0x5c]
push ebx
push 0x2c
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00438e0f
mov dword [ebp + 0x78], eax
mov eax, dword [ebp + 0x38]
mov cx, word [eax]
push 0x5c
pop edx
cmp cx, dx
mov dword [ebp + 0x50], eax
je 0x491f5d
cmp cx, 0x2f
jne 0x491f82
cmp cx, dx
jne 0x491f79
cmp word [eax + 2], dx
jne 0x491f79
mov cx, word [eax + 4]
cmp cx, 0x3f
je 0x491f73
cmp cx, 0x2e
jne 0x491f79
cmp word [eax + 6], dx
je 0x491f82
mov dword [ebp + 0x58], 1
jmp 0x491f85
mov dword [ebp + 0x58], ebx
cmp byte [ebp + 0x6f], bl
jne 0x491fd7
cmp dword [ebp + 0x58], ebx
je 0x491fd7
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
mov eax, dword [ebp + 0x38]
mov dword [ebp + 0x68], eax
lea eax, [esi + 3]
push eax
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x38], ebx
call fcn.004441e6
mov eax, dword [ebp + 0x38]
inc esi
push esi
push dword [ebp + 0x68]
mov dword [ebp + 0x50], eax
mov word [eax], 0x20
mov word [eax + 2], 0x3a
add eax, 4
push eax
call fcn.0040561e
add esp, 0xc
lea ecx, [ebp + 0x68]
call fcn.0043dd41
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x491ff9
mov ecx, dword [ebp + 0x5c]
add dword [ebp + 0x78], 2
push ebx
push 0x2c
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00438e0f
mov dword [ebp + 0x78], eax
mov eax, dword [ebp + 0x20]
or dword [ebp], 0xffffffff
or dword [ebp + 4], 0xffffffff
xor esi, esi
cmp byte [ebp + 0x6f], bl
mov dword [ebp + 0x60], eax
mov dword [ebp - 0xc], ebx
mov dword [ebp + 0x2c], ebx
je 0x49201f
cmp byte [ebp + 0x67], bl
je 0x4920e9
jmp 0x492057
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x4920a0
add dword [ebp + 0x78], 2
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x22
jne 0x492038
add dword [ebp + 0x78], 2
push 0x2c
lea eax, [ebp + 0x44]
push eax
push 1
push 0x2c
lea eax, [ebp + 0x78]
push eax
lea ecx, [ebp - 0x18]
call fcn.0045708a
push eax
call fcn.0044715e
add esp, 0xc
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x492079
mov ecx, dword [ebp + 0x5c]
add dword [ebp + 0x78], 2
push ebx
push 0x2c
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00438e0f
mov dword [ebp + 0x78], eax
cmp byte [ebp + 0x6f], bl
je 0x4920a0
cmp byte [ebp + 0x67], bl
je 0x4920e9
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x4920da
add dword [ebp + 0x78], 2
lea eax, [ebp]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00440716
pop ecx
pop ecx
jmp 0x4920da
cmp byte [ebp + 0x67], bl
je 0x4920e9
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x4920da
inc eax
inc eax
mov dword [ebp + 0x78], eax
mov dword [ebp + 0x2c], eax
push 0x2c
lea eax, [ebp + 0x78]
call fcn.00405636
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
pop ecx
je 0x4920cf
mov word [eax], bx
add dword [ebp + 0x78], 2
mov eax, dword [ebp + 0x2c]
cmp word [eax], bx
je 0x4920da
lea esi, [ebp - 0xc]
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x3c], eax
mov dword [ebp + 0x68], 1
je 0x4920ec
mov dword [ebp + 0x68], ebx
cmp byte [ebp + 0x67], bl
je 0x4923a6
mov edi, 0x4d8ca4
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.004412ec
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
cmp byte [ebp + 0x57], bl
je 0x492133
cmp dword [ebp + 0x68], ebx
setne al
lea eax, [eax + eax + 0x10000]
push eax
push dword [ebp + 0x50]
call fcn.004486c3
pop ecx
pop ecx
mov ebx, eax
jmp 0x492894
cmp dword [ebp + 0x68], ebx
setne al
dec eax
cmp byte [ebp + 0x6f], bl
mov dword [ebp + 0x58], eax
je 0x49217f
mov ecx, dword [ebp + 0x5c]
push ebx
push 0xffffffffffffffff
push ebx
push dword [ebp + 0x60]
mov dword [ebp + 0x58], ebx
call fcn.004108b2
mov edx, eax
cmp edx, ebx
jne 0x492164
mov ebx, 0x80070057
jmp 0x492894
cmp dword [ebp + 4], ebx
jl 0x492182
mov eax, dword [ebp]
jg 0x492172
cmp eax, ebx
jb 0x492182
mov ecx, dword [edx + 4]
mov dword [ecx], eax
mov eax, dword [ebp + 4]
mov dword [ecx + 4], eax
jmp 0x492182
mov edx, dword [ebp + 0x44]
cmp dword [ebp + 0x30], ebx
je 0x492252
mov esi, dword [ebp + 0x60]
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp + 0x60]
push eax
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x28], ebx
call fcn.0044908a
mov eax, dword [ebp + 0x60]
cmp word [eax], bx
pop ecx
pop ecx
je 0x4921af
add dword [ebp + 0x60], 2
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 0x60]
push eax
call fcn.0044908a
mov eax, dword [ebp + 0x24]
or eax, dword [ebp + 0x28]
pop ecx
pop ecx
je 0x4921cc
mov eax, dword [ebp + 0x60]
mov word [eax], bx
xor eax, eax
inc eax
cmp dword [ebp + 8], ebx
je 0x4921d6
xor eax, eax
cmp dword [ebp + 0x28], ebx
jg 0x492237
jl 0x4921e6
cmp dword [ebp + 0x24], 0x100000
jae 0x492237
cmp word [esi], bx
jne 0x492237
mov dword [ebp + 0x68], 0x80070057
push dword [ebp + 0x60]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 0x96
push eax
lea ecx, [ebp + 0x7c]
call fcn.004441bf
push dword [ebp + 0x60]
mov ebx, dword [ebp + 0x68]
push ebx
push dword [ebp + 0x58]
push str._d_t_d_t_s
push dword [ebp + 0x7c]
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp + 0x5c]
add esp, 0x14
push dword [ebp + 0x7c]
push dword [ebp + 0x48]
call fcn.004438ac
jmp 0x49288c
push dword [ebp - 8]
push dword [ebp + 0x30]
push eax
push esi
push dword [ebp + 0x50]
call fcn.004510c7
add esp, 0x14
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x58], eax
jmp 0x4921f2
mov edi, dword [ebp + 0x60]
mov cx, word [edi]
mov eax, esi
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
or eax, dword [ebp + 0x10]
or eax, dword [ebp + 0x4c]
cmp cx, bx
je 0x492278
cmp cx, 0x2a
je 0x492278
or eax, 2
cmp dword [ebp + 0x68], ebx
je 0x492285
cmp dword [ebp + 0x28], ebx
jg 0x492285
or eax, 1
mov ecx, dword [ebp + 0x48]
cmp word [ecx], bx
jne 0x492292
or eax, 0x10000
cmp byte [ebp + 0x6f], bl
jne 0x49229e
cmp edx, ebx
jg 0x49229e
xor edx, edx
inc edx
push esi
push dword [ebp + 0x3c]
lea ecx, [ebp + 0x58]
push ecx
mov cl, byte [ebp + 0x6f]
neg cl
push edx
push edi
sbb ecx, ecx
and ecx, 0x20
or ecx, eax
push ecx
push dword [ebp + 0x50]
call fcn.0049154d
add esp, 0x1c
cmp esi, ebx
mov dword [ebp + 0x68], eax
je 0x49237e
mov edi, dword [esi]
cmp edi, ebx
je 0x49237e
mov eax, dword [ebp + 0x2c]
cmp word [eax], 0x7e
jne 0x4922f9
add dword [ebp + 0x2c], 2
mov dword [esi], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 3
push 1
push ebx
push esi
push eax
push edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov ecx, dword [esi]
cmp ecx, ebx
je 0x49237e
mov eax, dword [ebp + 0x2c]
mov ax, word [eax]
cmp ax, 0x2e
je 0x49232b
cmp ax, 0x40
jne 0x49236f
mov edi, dword [ebp + 0x7c]
cmp edi, ebx
jne 0x49233e
mov edi, dword [ebp + 0x5c]
push edi
push edi
call fcn.00412570
mov edi, dword [edi + 0x28]
cmp edi, ebx
pop ecx
pop ecx
jne 0x49233e
mov eax, dword [ebp + 0x2c]
add eax, 2
push eax
push dword [esi]
push dword [ebp + 0x5c]
call fcn.00446768
jmp 0x49237b
mov eax, dword [ebp + 0x2c]
add eax, 2
push eax
lea ecx, [ebp + 0x7c]
call fcn.0044cf2d
push ebx
push ebx
push 0xffffffffffffffff
push ebx
push dword [esi]
lea eax, [ebp + 0x7c]
push eax
push dword [edi + 0x194]
mov ecx, edi
call fcn.0044474b
lea ecx, [ebp + 0x7c]
call fcn.0043dd41
jmp 0x49237e
push dword [ebp + 0x2c]
push ecx
push dword [ebp + 0x5c]
call fcn.0042be83
add esp, 0xc
cmp byte [ebp + 0x6f], bl
je 0x4921f2
mov eax, dword [ebp + 0x48]
cmp word [eax], bx
je 0x49239e
push eax
push dword [ebp + 0x58]
push dword [ebp + 0x5c]
call fcn.00446768
add esp, 0xc
mov ebx, dword [ebp + 0x68]
jmp 0x492894
cmp byte [ebp + 0x6f], bl
jne 0x4923c8
mov eax, dword [ebp + 0x60]
cmp word [eax], bx
jne 0x4923c8
cmp byte [ebp + 0x57], bl
je 0x49215a
mov eax, dword [ebp + 0x50]
cmp word [eax], bx
je 0x49215a
cmp byte [ebp + 0x43], bl
je 0x49247a
push 0xffffffffffffffff
push str.22:INDATA_mount_wimsvr__
lea ecx, [ebp + 0x7c]
call fcn.0044cf63
push dword [ebp + 0x50]
lea ecx, [ebp + 0x7c]
mov word [ebp - 0xb4], bx
call fcn.0044420d
mov esi, 0x4c0d1c
push esi
lea ecx, [ebp + 0x7c]
call fcn.0044420d
push dword [ebp + 0x60]
lea ecx, [ebp + 0x7c]
call fcn.0044420d
push esi
lea ecx, [ebp + 0x7c]
call fcn.0044420d
mov eax, dword [ebp + 0x44]
cmp eax, ebx
jl 0x49243c
cdq
push edx
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00497e07
add esp, 0xc
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp + 0x7c]
call fcn.0044420d
push esi
lea ecx, [ebp + 0x7c]
call fcn.0044420d
push dword [ebp + 0x48]
lea ecx, [ebp + 0x7c]
call fcn.0044420d
push 0x4c0d94
lea ecx, [ebp + 0x7c]
call fcn.0044420d
push dword [ebp + 0x78]
lea ecx, [ebp + 0x7c]
call fcn.0044420d
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x5c]
call fcn.0042300e
mov ebx, eax
jmp 0x49288c
mov esi, 0x4d8ccc
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 0x14]
lea ecx, [ebp + 0x78]
call fcn.0043f273
lea ecx, [ebp + 0x78]
call fcn.0043f25a
push esi
mov dword [ebp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp + 0x30], ebx
jge 0x4924bf
push str.WIM_DLL_ERR_r_n
push dword [ebp + 0x5c]
call fcn.00410bfe
pop ecx
pop ecx
xor ebx, ebx
inc ebx
jmp 0x492894
cmp byte [ebp + 0x6f], bl
je 0x4925e0
cmp dword [0x4d827c], ebx
jne 0x4924d8
push 0x78
pop ebx
jmp 0x492894
mov esi, dword [ebp + 0x50]
push 0x3d
push esi
call dword [sym.imp.SHLWAPI.dll_StrChrW]
cmp eax, ebx
mov dword [ebp + 0x28], eax
je 0x4924f3
mov word [eax], bx
inc eax
inc eax
mov dword [ebp + 0x28], eax
cmp word [esi], bx
je 0x49215a
lea ecx, [ebp + 0x68]
call fcn.004441a1
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2c
jne 0x49252f
add dword [ebp + 0x78], 2
push 1
push 0x2c
lea eax, [ebp + 0x78]
push eax
lea ecx, [ebp - 0x18]
call fcn.0045708a
push ebx
lea ecx, [ebp + 0x68]
push ecx
push eax
call fcn.00446f11
add esp, 0xc
push dword [ebp + 0x68]
call fcn.00412ce4
pop ecx
lea ecx, [ebp + 0x58]
mov edi, eax
call fcn.004441a1
mov esi, dword [ebp + 0x60]
cmp word [esi], bx
je 0x49256a
cmp word [esi + 2], 0x3a
je 0x49256a
lea eax, [ebp + 0x58]
push eax
push esi
call fcn.0041307e
pop ecx
pop ecx
push dword [ebp + 0x58]
lea ecx, [ebp + 0x20]
call fcn.0044cf95
mov esi, dword [eax]
cmp word [edi], bx
je 0x49258f
cmp word [edi + 2], 0x3a
je 0x49258f
lea eax, [ebp + 0x58]
push eax
push edi
call fcn.0041307e
pop ecx
pop ecx
push dword [ebp + 0x58]
lea ecx, [ebp + 0x68]
call fcn.0044cf95
mov edi, dword [eax]
push 0x20
lea ecx, [ebp + 0x7c]
call fcn.004441bf
mov eax, dword [ebp + 0x7c]
push ebx
push ebx
push dword [ebp + 0x28]
mov word [eax + 4], bx
lea eax, [ebp + 0x7c]
push eax
push edi
push esi
push dword [ebp + 0x5c]
call fcn.00450ee2
mov eax, dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x5c]
add esp, 0x1c
add eax, 4
push eax
push dword [ebp + 0x50]
call fcn.004438ac
lea ecx, [ebp + 0x7c]
call fcn.0043dd41
lea ecx, [ebp + 0x58]
call fcn.0043dd41
lea ecx, [ebp + 0x68]
jmp 0x49288f
cmp byte [ebp + 0x57], bl
mov dword [ebp + 0x4c], ebx
jne 0x4927d4
mov esi, dword [ebp + 0x50]
cmp word [esi], bx
je 0x4927d4
mov eax, dword [ebp + 0x48]
cmp word [eax], 0x2a
jne 0x492622
push 0x105
lea ecx, [ebp + 0x48]
call fcn.004441e6
mov eax, dword [ebp + 0x48]
mov word [eax], bx
push dword [ebp + 0x48]
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp dword [0x4d8270], ebx
je 0x4924b7
push dword [ebp + 0x60]
call fcn.004a96f0
test eax, eax
pop ecx
jne 0x492659
push dword [ebp + 0x60]
lea ecx, [ebp + 0x7c]
call fcn.0044cf2d
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x5c]
call fcn.0041cf16
lea ecx, [ebp + 0x7c]
call fcn.0043dd41
push dword [ebp + 0x60]
call fcn.004a96f0
test eax, eax
pop ecx
je 0x4924b7
cmp dword [ebp + 0x58], ebx
jne 0x49267e
push esi
call fcn.004a9888
test eax, eax
pop ecx
je 0x4924b7
push 8
pop ecx
xor eax, eax
mov dword [ebp - 0x3c], ebx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x3c]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x4926a1
test byte [ebp - 0x3c], 1
jne 0x4926ac
mov eax, dword [ebp + 0x48]
cmp word [eax], bx
mov dword [ebp + 0x68], eax
jne 0x4926af
mov dword [ebp + 0x68], ebx
cmp dword [ebp + 0x58], ebx
mov dword [ebp + 0x7c], ebx
je 0x4926cc
cmp dword [ebp + 0x30], ebx
jne 0x4926c3
mov dword [ebp + 0x7c], 0x100
cmp dword [ebp + 0x34], ebx
je 0x4926cc
or byte [ebp + 0x7d], 2
xor eax, eax
inc eax
cmp dword [ebp + 0x58], ebx
je 0x4926e0
lea eax, [ebp + 0x7c]
push eax
push esi
call fcn.0047fb5c
pop ecx
pop ecx
mov edi, dword [ebp + 0x44]
sar eax, 8
movzx esi, al
dec esi
cmp edi, 0x80000000
jne 0x4926f5
xor edi, edi
inc edi
push dword [ebp + 0x50]
call fcn.004a9888
test eax, eax
pop ecx
je 0x492756
cmp dword [ebp + 0x30], ebx
je 0x492722
cmp edi, ebx
jge 0x49270e
xor edi, edi
inc edi
push dword [ebp + 0x68]
push edi
push dword [ebp + 0x50]
push dword [ebp + 0x60]
call fcn.00450d4d
add esp, 0x10
jmp 0x492739
cmp edi, ebx
jge 0x492729
xor edi, edi
inc edi
push dword [ebp + 0x68]
push edi
push dword [ebp + 0x50]
push dword [ebp + 0x60]
call dword [0x4d8270]
push eax
push dword [ebp + 0x68]
mov dword [ebp + 0x4c], eax
push dword [ebp + 0x60]
push dword [ebp + 0x50]
push str.FOUND_WIM___s____mount_to___s____s___d_r_n
push dword [ebp + 0x5c]
call fcn.00410bfe
add esp, 0x18
cmp dword [ebp + 0x58], ebx
je 0x49276d
cmp dword [ebp + 0x34], ebx
jne 0x49276d
mov eax, dword [ebp + 0x7c]
cmp ax, bx
je 0x49276d
call fcn.0043fad4
cmp esi, ebx
jl 0x492797
push esi
lea eax, [ebp - 0x104]
push str.PART_update__d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp + 0x5c]
add esp, 0xc
push ebx
lea eax, [ebp - 0xfc]
push eax
call fcn.00462875
lea ecx, [ebp + 0x18]
call fcn.0043dd41
lea ecx, [ebp + 0x48]
call fcn.0043dd41
lea ecx, [ebp + 0x1c]
call fcn.0043dd41
lea ecx, [ebp + 0x20]
call fcn.0043dd41
lea ecx, [ebp + 0x38]
call fcn.0043dd41
lea ecx, [ebp - 0x18]
call fcn.0043dd41
xor eax, eax
cmp dword [ebp + 0x4c], ebx
sete al
jmp 0x4929df
lea ecx, [ebp + 0x7c]
call fcn.004441a1
mov esi, dword [ebp + 0x60]
cmp word [esi], bx
je 0x492807
cmp word [esi + 2], 0x3a
je 0x492807
lea eax, [ebp + 0x7c]
push eax
push esi
call fcn.0041307e
pop ecx
pop ecx
push dword [ebp + 0x7c]
lea ecx, [ebp + 0x20]
call fcn.0044cf95
mov esi, dword [eax]
mov dword [ebp + 0x60], esi
mov eax, dword [ebp + 0x50]
cmp word [eax], bx
je 0x492832
cmp word [eax + 2], 0x3a
je 0x492832
lea ecx, [ebp + 0x7c]
push ecx
push eax
call fcn.0041307e
pop ecx
pop ecx
push dword [ebp + 0x7c]
lea ecx, [ebp + 0x38]
call fcn.0044cf95
mov eax, dword [eax]
mov dword [ebp + 0x50], eax
or dword [ebp + 0x34], 0xffffffff
cmp word [esi], bx
jne 0x49286f
cmp word [eax], bx
je 0x49286a
lea ecx, [ebp + 0x34]
push ecx
lea ecx, [ebp - 0x51c]
push ecx
push edi
lea ecx, [ebp + 0x7c]
push ecx
push eax
push edi
push dword [ebp + 0x5c]
call fcn.00450ee2
add esp, 0x1c
test eax, eax
je 0x492887
lea esi, [ebp - 0x314]
mov dword [ebp + 0x60], esi
cmp word [esi], bx
je 0x492887
cmp dword [0x4d8274], ebx
jne 0x49287c
xor ebx, ebx
inc ebx
jmp 0x49288c
push esi
call fcn.004a96f0
test eax, eax
pop ecx
jne 0x4928cb
mov ebx, 0x80070057
lea ecx, [ebp + 0x7c]
call fcn.0043dd41
lea ecx, [ebp + 0x18]
call fcn.0043dd41
lea ecx, [ebp + 0x48]
call fcn.0043dd41
lea ecx, [ebp + 0x1c]
call fcn.0043dd41
lea ecx, [ebp + 0x20]
call fcn.0043dd41
lea ecx, [ebp + 0x38]
call fcn.0043dd41
lea ecx, [ebp - 0x18]
call fcn.0043dd41
mov eax, ebx
jmp 0x4929df
mov eax, dword [ebp + 0x50]
cmp word [eax], bx
mov dword [ebp + 0x3c], eax
jne 0x4928d9
mov dword [ebp + 0x3c], ebx
cmp word [esi], bx
mov dword [ebp + 0x68], esi
jne 0x4928e4
mov dword [ebp + 0x68], ebx
cmp dword [ebp + 0x44], 0x80000000
jne 0x4928f0
mov dword [ebp + 0x44], ebx
xor edi, edi
inc edi
cmp dword [ebp + 0x34], ebx
mov esi, edi
jg 0x492948
cmp dword [ebp + 0x30], ebx
je 0x49291a
xor eax, eax
cmp dword [ebp + 0x44], ebx
push ebx
setne al
push eax
push dword [ebp + 0x60]
call fcn.00441190
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x492943
cmp dword [ebp + 0x44], 0x80000000
je 0x49292c
cmp dword [ebp + 0x44], ebx
je 0x49292c
mov eax, edi
jmp 0x49292e
xor eax, eax
push eax
push ebx
push dword [ebp + 0x3c]
push dword [ebp + 0x68]
call dword [0x4d8274]
mov esi, eax
neg esi
sbb esi, esi
inc esi
cmp dword [ebp + 0x34], ebx
je 0x4929a5
cmp esi, ebx
je 0x4929a5
cmp dword [0x4d8278], ebx
je 0x4929a5
cmp dword [0x4d82b0], ebx
setne al
cmp al, bl
je 0x49297c
xor eax, eax
cmp dword [ebp + 0x44], ebx
push edi
setne al
push eax
push dword [ebp + 0x60]
call fcn.00441190
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x4929a5
cmp dword [ebp + 0x44], 0x80000000
je 0x49298e
cmp dword [ebp + 0x44], ebx
je 0x49298e
mov eax, edi
jmp 0x492990
xor eax, eax
push eax
push ebx
push dword [ebp + 0x3c]
push dword [ebp + 0x68]
call dword [0x4d8278]
mov esi, eax
neg esi
sbb esi, esi
inc esi
lea ecx, [ebp + 0x7c]
call fcn.0043dd41
lea ecx, [ebp + 0x18]
call fcn.0043dd41
lea ecx, [ebp + 0x48]
call fcn.0043dd41
lea ecx, [ebp + 0x1c]
call fcn.0043dd41
lea ecx, [ebp + 0x20]
call fcn.0043dd41
lea ecx, [ebp + 0x38]
call fcn.0043dd41
lea ecx, [ebp - 0x18]
call fcn.0043dd41
mov eax, esi
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8