Function at 0x496d2f
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.0043e425
push 4
pop edi
push edi
lea eax, [ebp + 0x78]
push eax
push str._svr
call fcn.00446a34
xor ebx, ebx
add esp, 0x10
cmp al, bl
mov byte [ebp + 0x43], al
jne 0x496d81
push edi
lea eax, [ebp + 0x78]
push eax
push str._vhd
call fcn.00446a34
add esp, 0xc
test al, al
mov byte [ebp + 0x67], 1
jne 0x496d84
mov byte [ebp + 0x67], bl
mov al, byte [ebp + 0x67]
or al, byte [ebp + 0x43]
jne 0x496f78
push edi
lea eax, [ebp + 0x78]
push eax
push str._udm
call fcn.00446a34
add esp, 0xc
test al, al
je 0x496f78
mov esi, dword [ebp + 0x78]
push edi
lea eax, [ebp + 0x78]
push eax
push str.upud
mov dword [ebp + 0x34], ebx
call fcn.00446a34
add esp, 0xc
test al, al
je 0x496dcf
mov dword [ebp + 0x34], 0x80000000
jmp 0x496dea
push 6
lea eax, [ebp + 0x78]
push eax
push str.listud
call fcn.00446a34
add esp, 0xc
test al, al
je 0x496f10
lea ecx, [ebp + 0x4c]
mov dword [ebp + 0x1c], ebx
call fcn.00444a10
mov ecx, dword [ebp + 0x5c]
push 1
push ebx
lea eax, [ebp + 0x4c]
push eax
push dword [ebp + 0x78]
call fcn.004549e1
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.00446a34
mov ecx, dword [ebp + 0x78]
add esp, 0xc
cmp ecx, ebx
je 0x496e3b
mov dx, word [ecx]
cmp dx, 0x2d
je 0x496e3b
cmp dx, 0x5c
je 0x496e3b
mov al, 1
cmp al, bl
je 0x496e57
push 0xd
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x7c]
push eax
mov dword [ebp + 0x7c], ecx
call fcn.0041a299
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.00446a34
add esp, 0xc
test al, al
je 0x496e9d
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2a
jne 0x496e8b
add dword [ebp + 0x78], 2
push 0x3d
pop esi
mov dword [ebp + 0x28], ebx
jmp 0x496e9d
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00451370
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.0041a299
add esp, 0xc
mov dword [ebp + 0x78], eax
xor edi, edi
cmp word [eax], bx
je 0x496ec1
mov edi, eax
lea ecx, [ebp + 0x68]
call fcn.00444a10
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.0043bfe1
mov ecx, dword [ebp + 0x5c]
add esp, 0x18
push dword [ebp + 0x68]
push dword [ebp + 0x7c]
call fcn.0044414b
lea ecx, [ebp + 0x68]
call fcn.0043e48d
lea ecx, [ebp + 0x4c]
call fcn.0043e48d
xor eax, eax
jmp 0x497cc5
movzx esi, word [esi]
mov eax, esi
or eax, 0x20
cmp ax, 0x61
jb 0x496f24
cmp ax, 0x7a
jbe 0x496f41
mov eax, esi
call fcn.0044452f
test al, al
jne 0x496f41
cmp si, 0x61
jb 0x496f3b
cmp si, 0x66
jbe 0x496f41
cmp si, 0x78
jne 0x496f48
mov eax, str.22:INDATA
jmp 0x496f4d
mov eax, str.22:INDATA_mount
push 0xffffffffffffffff
push eax
lea ecx, [ebp + 0x7c]
call fcn.0044dfb0
push dword [ebp + 0x78]
lea ecx, [ebp + 0x7c]
call fcn.00444a7c
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x5c]
call fcn.00422182
mov esi, eax
lea ecx, [ebp + 0x7c]
jmp 0x497cbe
push dword [ebp + 0x5c]
lea ecx, [ebp - 0x18]
call fcn.00446db5
mov edi, 0x4bfa2c
push edi
lea ecx, [ebp + 0x38]
call fcn.0044df7a
push edi
lea ecx, [ebp + 0x20]
call fcn.0044df7a
push edi
lea ecx, [ebp + 0x1c]
call fcn.0044df7a
push edi
lea ecx, [ebp + 0x48]
call fcn.0044df7a
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 0x496fdc
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 0x4971ff
lea eax, [esi + 2]
push 5
push eax
push str.query
call fcn.0043f82d
add esp, 0xc
test al, al
je 0x497023
mov byte [ebp + 0x6f], 1
jmp 0x4971d2
push 3
lea eax, [esi + 2]
push eax
push 0x4cbd90
call fcn.0043f82d
add esp, 0xc
test al, al
je 0x49708f
lea eax, [ebp + 0x78]
add esi, 8
push eax
mov dword [ebp + 0x78], esi
call fcn.0043e425
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x14], eax
lea eax, [ebp + 0x78]
push eax
call fcn.00405a01
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
pop ecx
pop ecx
je 0x497069
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.004395a0
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x14], eax
lea eax, [ebp + 0x78]
push eax
call fcn.0043e425
jmp 0x4971db
push 1
lea eax, [esi + 2]
push eax
push 0x4c5410
call fcn.0043f82d
add esp, 0xc
test al, al
je 0x4970af
mov byte [ebp + 0x57], 1
jmp 0x4971d2
push 1
lea eax, [esi + 2]
push eax
push 0x4cbd8c
call fcn.0043f82d
add esp, 0xc
test al, al
jne 0x497150
push 2
lea eax, [esi + 2]
push eax
push 0x4cbd88
call fcn.0043f82d
add esp, 0xc
test al, al
je 0x4970ed
or dword [ebp + 0x28], 0xffffffff
mov dword [ebp + 0x4c], ebx
jmp 0x4971d2
push 1
lea eax, [esi + 2]
push eax
push 0x4c53cc
call fcn.0043f82d
add esp, 0xc
test al, al
je 0x497110
mov dword [ebp + 0x30], 2
jmp 0x4971d2
push 2
lea eax, [esi + 2]
push eax
push 0x4cbd84
call fcn.0043f82d
add esp, 0xc
test al, al
je 0x497133
mov dword [ebp + 0x30], 3
jmp 0x4971d2
push 3
lea eax, [esi + 2]
push eax
push 0x4cbd80
call fcn.0043f82d
add esp, 0xc
test al, al
je 0x497159
lea eax, [ebp + 0xc]
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x4c], 1
jmp 0x4971d2
push 1
lea eax, [esi + 2]
push eax
push 0x4ca708
call fcn.0043f82d
add esp, 0xc
test al, al
je 0x497179
mov dword [ebp + 8], 1
jmp 0x4971d2
push 1
lea eax, [esi + 2]
push eax
push 0x4cbd7c
call fcn.0043f82d
add esp, 0xc
test al, al
je 0x497199
mov dword [ebp + 0x10], 2
jmp 0x4971d2
push 2
lea eax, [esi + 2]
push eax
push 0x4cbd78
call fcn.0043f884
add esp, 0xc
test al, al
je 0x4971ff
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.0044a0e0
lea eax, [ebp + 0x78]
push eax
call fcn.00405a01
add esp, 0xc
lea eax, [ebp + 0x78]
push eax
call fcn.00409168
mov esi, dword [ebp + 0x78]
movzx eax, word [esi]
cmp dword [ebp + 0x58], eax
pop ecx
je 0x497003
jmp 0x4971ff
cmp ax, 0x21
jne 0x497207
inc esi
inc esi
mov dword [ebp + 0x34], 1
mov dword [ebp + 0x78], esi
mov ax, word [esi]
cmp ax, bx
jne 0x4971ed
lea eax, [ebp + 0x78]
push eax
call fcn.0043e425
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.004395a0
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 0x497243
cmp cx, 0x2f
jne 0x497268
cmp cx, dx
jne 0x49725f
cmp word [eax + 2], dx
jne 0x49725f
mov cx, word [eax + 4]
cmp cx, 0x3f
je 0x497259
cmp cx, 0x2e
jne 0x49725f
cmp word [eax + 6], dx
je 0x497268
mov dword [ebp + 0x58], 1
jmp 0x49726b
mov dword [ebp + 0x58], ebx
cmp byte [ebp + 0x6f], bl
jne 0x4972bd
cmp dword [ebp + 0x58], ebx
je 0x4972bd
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.00444a55
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.00405988
add esp, 0xc
lea ecx, [ebp + 0x68]
call fcn.0043e48d
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x4972df
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.004395a0
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 0x497305
cmp byte [ebp + 0x67], bl
je 0x4973cf
jmp 0x49733d
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x497386
add dword [ebp + 0x78], 2
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x22
jne 0x49731e
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.004581ad
push eax
call fcn.00447ac3
add esp, 0xc
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x49735f
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.004395a0
mov dword [ebp + 0x78], eax
cmp byte [ebp + 0x6f], bl
je 0x497386
cmp byte [ebp + 0x67], bl
je 0x4973cf
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x4973c0
add dword [ebp + 0x78], 2
lea eax, [ebp]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00440eb8
pop ecx
pop ecx
jmp 0x4973c0
cmp byte [ebp + 0x67], bl
je 0x4973cf
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x4973c0
inc eax
inc eax
mov dword [ebp + 0x78], eax
mov dword [ebp + 0x2c], eax
push 0x2c
lea eax, [ebp + 0x78]
call fcn.004a3a6c
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
pop ecx
je 0x4973b5
mov word [eax], bx
add dword [ebp + 0x78], 2
mov eax, dword [ebp + 0x2c]
cmp word [eax], bx
je 0x4973c0
lea esi, [ebp - 0xc]
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x3c], eax
mov dword [ebp + 0x68], 1
je 0x4973d2
mov dword [ebp + 0x68], ebx
cmp byte [ebp + 0x67], bl
je 0x49768c
mov edi, 0x4dbcb4
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
call fcn.00441a93
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
xor eax, eax
cmp byte [ebp + 0x57], bl
je 0x497419
cmp dword [ebp + 0x68], ebx
setne al
lea eax, [eax + eax + 0x10000]
push eax
push dword [ebp + 0x50]
call fcn.00449028
pop ecx
pop ecx
mov ebx, eax
jmp 0x497b7a
cmp dword [ebp + 0x68], ebx
setne al
dec eax
cmp byte [ebp + 0x6f], bl
mov dword [ebp + 0x58], eax
je 0x497465
mov ecx, dword [ebp + 0x5c]
push ebx
push 0xffffffffffffffff
push ebx
push dword [ebp + 0x60]
mov dword [ebp + 0x58], ebx
call fcn.00410c6f
mov edx, eax
cmp edx, ebx
jne 0x49744a
mov ebx, 0x80070057
jmp 0x497b7a
cmp dword [ebp + 4], ebx
jl 0x497468
mov eax, dword [ebp]
jg 0x497458
cmp eax, ebx
jb 0x497468
mov ecx, dword [edx + 4]
mov dword [ecx], eax
mov eax, dword [ebp + 4]
mov dword [ecx + 4], eax
jmp 0x497468
mov edx, dword [ebp + 0x44]
cmp dword [ebp + 0x30], ebx
je 0x497538
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.0044a0e0
mov eax, dword [ebp + 0x60]
cmp word [eax], bx
pop ecx
pop ecx
je 0x497495
add dword [ebp + 0x60], 2
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 0x60]
push eax
call fcn.0044a0e0
mov eax, dword [ebp + 0x24]
or eax, dword [ebp + 0x28]
pop ecx
pop ecx
je 0x4974b2
mov eax, dword [ebp + 0x60]
mov word [eax], bx
xor eax, eax
inc eax
cmp dword [ebp + 8], ebx
je 0x4974bc
xor eax, eax
cmp dword [ebp + 0x28], ebx
jg 0x49751d
jl 0x4974cc
cmp dword [ebp + 0x24], 0x100000
jae 0x49751d
cmp word [esi], bx
jne 0x49751d
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.00444a2e
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.0044414b
jmp 0x497b72
push dword [ebp - 8]
push dword [ebp + 0x30]
push eax
push esi
push dword [ebp + 0x50]
call fcn.004521d3
add esp, 0x14
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x58], eax
jmp 0x4974d8
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 0x49755e
cmp cx, 0x2a
je 0x49755e
or eax, 2
cmp dword [ebp + 0x68], ebx
je 0x49756b
cmp dword [ebp + 0x28], ebx
jg 0x49756b
or eax, 1
mov ecx, dword [ebp + 0x48]
cmp word [ecx], bx
jne 0x497578
or eax, 0x10000
cmp byte [ebp + 0x6f], bl
jne 0x497584
cmp edx, ebx
jg 0x497584
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.00496833
add esp, 0x1c
cmp esi, ebx
mov dword [ebp + 0x68], eax
je 0x497664
mov edi, dword [esi]
cmp edi, ebx
je 0x497664
mov eax, dword [ebp + 0x2c]
cmp word [eax], 0x7e
jne 0x4975df
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 0x497664
mov eax, dword [ebp + 0x2c]
mov ax, word [eax]
cmp ax, 0x2e
je 0x497611
cmp ax, 0x40
jne 0x497655
mov edi, dword [ebp + 0x7c]
cmp edi, ebx
jne 0x497624
mov edi, dword [ebp + 0x5c]
push edi
push edi
call fcn.0041292d
mov edi, dword [edi + 0x28]
cmp edi, ebx
pop ecx
pop ecx
jne 0x497624
mov eax, dword [ebp + 0x2c]
add eax, 2
push eax
push dword [esi]
push dword [ebp + 0x5c]
call fcn.004470b2
jmp 0x497661
mov eax, dword [ebp + 0x2c]
add eax, 2
push eax
lea ecx, [ebp + 0x7c]
call fcn.0044df7a
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.00444fba
lea ecx, [ebp + 0x7c]
call fcn.0043e48d
jmp 0x497664
push dword [ebp + 0x2c]
push ecx
push dword [ebp + 0x5c]
call fcn.0042c35a
add esp, 0xc
cmp byte [ebp + 0x6f], bl
je 0x4974d8
mov eax, dword [ebp + 0x48]
cmp word [eax], bx
je 0x497684
push eax
push dword [ebp + 0x58]
push dword [ebp + 0x5c]
call fcn.004470b2
add esp, 0xc
mov ebx, dword [ebp + 0x68]
jmp 0x497b7a
cmp byte [ebp + 0x6f], bl
jne 0x4976ae
mov eax, dword [ebp + 0x60]
cmp word [eax], bx
jne 0x4976ae
cmp byte [ebp + 0x57], bl
je 0x497440
mov eax, dword [ebp + 0x50]
cmp word [eax], bx
je 0x497440
cmp byte [ebp + 0x43], bl
je 0x497760
push 0xffffffffffffffff
push str.22:INDATA_mount_wimsvr__
lea ecx, [ebp + 0x7c]
call fcn.0044dfb0
push dword [ebp + 0x50]
lea ecx, [ebp + 0x7c]
mov word [ebp - 0xb4], bx
call fcn.00444a7c
mov esi, 0x4c3d24
push esi
lea ecx, [ebp + 0x7c]
call fcn.00444a7c
push dword [ebp + 0x60]
lea ecx, [ebp + 0x7c]
call fcn.00444a7c
push esi
lea ecx, [ebp + 0x7c]
call fcn.00444a7c
mov eax, dword [ebp + 0x44]
cmp eax, ebx
jl 0x497722
cdq
push edx
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.0049a8ca
add esp, 0xc
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp + 0x7c]
call fcn.00444a7c
push esi
lea ecx, [ebp + 0x7c]
call fcn.00444a7c
push dword [ebp + 0x48]
lea ecx, [ebp + 0x7c]
call fcn.00444a7c
push 0x4c3d9c
lea ecx, [ebp + 0x7c]
call fcn.00444a7c
push dword [ebp + 0x78]
lea ecx, [ebp + 0x7c]
call fcn.00444a7c
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x5c]
call fcn.00422182
mov ebx, eax
jmp 0x497b72
mov esi, 0x4dbcdc
push esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
push dword [ebp + 0x14]
lea ecx, [ebp + 0x78]
call fcn.0043fa15
lea ecx, [ebp + 0x78]
call fcn.0043f9fc
push esi
mov dword [ebp + 0x30], eax
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp dword [ebp + 0x30], ebx
jge 0x4977a5
push str.WIM_DLL_ERR_r_n
push dword [ebp + 0x5c]
call fcn.00410fbb
pop ecx
pop ecx
xor ebx, ebx
inc ebx
jmp 0x497b7a
cmp byte [ebp + 0x6f], bl
je 0x4978c6
cmp dword [0x4db27c], ebx
jne 0x4977be
push 0x78
pop ebx
jmp 0x497b7a
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 0x4977d9
mov word [eax], bx
inc eax
inc eax
mov dword [ebp + 0x28], eax
cmp word [esi], bx
je 0x497440
lea ecx, [ebp + 0x68]
call fcn.00444a10
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2c
jne 0x497815
add dword [ebp + 0x78], 2
push 1
push 0x2c
lea eax, [ebp + 0x78]
push eax
lea ecx, [ebp - 0x18]
call fcn.004581ad
push ebx
lea ecx, [ebp + 0x68]
push ecx
push eax
call fcn.0044785b
add esp, 0xc
push dword [ebp + 0x68]
call fcn.004130a1
pop ecx
lea ecx, [ebp + 0x58]
mov edi, eax
call fcn.00444a10
mov esi, dword [ebp + 0x60]
cmp word [esi], bx
je 0x497850
cmp word [esi + 2], 0x3a
je 0x497850
lea eax, [ebp + 0x58]
push eax
push esi
call fcn.0041343b
pop ecx
pop ecx
push dword [ebp + 0x58]
lea ecx, [ebp + 0x20]
call fcn.0044dfe2
mov esi, dword [eax]
cmp word [edi], bx
je 0x497875
cmp word [edi + 2], 0x3a
je 0x497875
lea eax, [ebp + 0x58]
push eax
push edi
call fcn.0041343b
pop ecx
pop ecx
push dword [ebp + 0x58]
lea ecx, [ebp + 0x68]
call fcn.0044dfe2
mov edi, dword [eax]
push 0x20
lea ecx, [ebp + 0x7c]
call fcn.00444a2e
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.00451fee
mov eax, dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x5c]
add esp, 0x1c
add eax, 4
push eax
push dword [ebp + 0x50]
call fcn.0044414b
lea ecx, [ebp + 0x7c]
call fcn.0043e48d
lea ecx, [ebp + 0x58]
call fcn.0043e48d
lea ecx, [ebp + 0x68]
jmp 0x497b75
cmp byte [ebp + 0x57], bl
mov dword [ebp + 0x4c], ebx
jne 0x497aba
mov esi, dword [ebp + 0x50]
cmp word [esi], bx
je 0x497aba
mov eax, dword [ebp + 0x48]
cmp word [eax], 0x2a
jne 0x497908
push 0x105
lea ecx, [ebp + 0x48]
call fcn.00444a55
mov eax, dword [ebp + 0x48]
mov word [eax], bx
push dword [ebp + 0x48]
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
cmp dword [0x4db270], ebx
je 0x49779d
push dword [ebp + 0x60]
call fcn.004ac5b9
test eax, eax
pop ecx
jne 0x49793f
push dword [ebp + 0x60]
lea ecx, [ebp + 0x7c]
call fcn.0044df7a
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x5c]
call fcn.0041c02b
lea ecx, [ebp + 0x7c]
call fcn.0043e48d
push dword [ebp + 0x60]
call fcn.004ac5b9
test eax, eax
pop ecx
je 0x49779d
cmp dword [ebp + 0x58], ebx
jne 0x497964
push esi
call fcn.004ac751
test eax, eax
pop ecx
je 0x49779d
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 0x497987
test byte [ebp - 0x3c], 1
jne 0x497992
mov eax, dword [ebp + 0x48]
cmp word [eax], bx
mov dword [ebp + 0x68], eax
jne 0x497995
mov dword [ebp + 0x68], ebx
cmp dword [ebp + 0x58], ebx
mov dword [ebp + 0x7c], ebx
je 0x4979b2
cmp dword [ebp + 0x30], ebx
jne 0x4979a9
mov dword [ebp + 0x7c], 0x100
cmp dword [ebp + 0x34], ebx
je 0x4979b2
or byte [ebp + 0x7d], 2
xor eax, eax
inc eax
cmp dword [ebp + 0x58], ebx
je 0x4979c6
lea eax, [ebp + 0x7c]
push eax
push esi
call fcn.0048070e
pop ecx
pop ecx
mov edi, dword [ebp + 0x44]
sar eax, 8
movzx esi, al
dec esi
cmp edi, 0x80000000
jne 0x4979db
xor edi, edi
inc edi
push dword [ebp + 0x50]
call fcn.004ac751
test eax, eax
pop ecx
je 0x497a3c
cmp dword [ebp + 0x30], ebx
je 0x497a08
cmp edi, ebx
jge 0x4979f4
xor edi, edi
inc edi
push dword [ebp + 0x68]
push edi
push dword [ebp + 0x50]
push dword [ebp + 0x60]
call fcn.00451e59
add esp, 0x10
jmp 0x497a1f
cmp edi, ebx
jge 0x497a0f
xor edi, edi
inc edi
push dword [ebp + 0x68]
push edi
push dword [ebp + 0x50]
push dword [ebp + 0x60]
call dword [0x4db270]
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.00410fbb
add esp, 0x18
cmp dword [ebp + 0x58], ebx
je 0x497a53
cmp dword [ebp + 0x34], ebx
jne 0x497a53
mov eax, dword [ebp + 0x7c]
cmp ax, bx
je 0x497a53
call fcn.00440276
cmp esi, ebx
jl 0x497a7d
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.00463bfb
lea ecx, [ebp + 0x18]
call fcn.0043e48d
lea ecx, [ebp + 0x48]
call fcn.0043e48d
lea ecx, [ebp + 0x1c]
call fcn.0043e48d
lea ecx, [ebp + 0x20]
call fcn.0043e48d
lea ecx, [ebp + 0x38]
call fcn.0043e48d
lea ecx, [ebp - 0x18]
call fcn.0043e48d
xor eax, eax
cmp dword [ebp + 0x4c], ebx
sete al
jmp 0x497cc5
lea ecx, [ebp + 0x7c]
call fcn.00444a10
mov esi, dword [ebp + 0x60]
cmp word [esi], bx
je 0x497aed
cmp word [esi + 2], 0x3a
je 0x497aed
lea eax, [ebp + 0x7c]
push eax
push esi
call fcn.0041343b
pop ecx
pop ecx
push dword [ebp + 0x7c]
lea ecx, [ebp + 0x20]
call fcn.0044dfe2
mov esi, dword [eax]
mov dword [ebp + 0x60], esi
mov eax, dword [ebp + 0x50]
cmp word [eax], bx
je 0x497b18
cmp word [eax + 2], 0x3a
je 0x497b18
lea ecx, [ebp + 0x7c]
push ecx
push eax
call fcn.0041343b
pop ecx
pop ecx
push dword [ebp + 0x7c]
lea ecx, [ebp + 0x38]
call fcn.0044dfe2
mov eax, dword [eax]
mov dword [ebp + 0x50], eax
or dword [ebp + 0x34], 0xffffffff
cmp word [esi], bx
jne 0x497b55
cmp word [eax], bx
je 0x497b50
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.00451fee
add esp, 0x1c
test eax, eax
je 0x497b6d
lea esi, [ebp - 0x314]
mov dword [ebp + 0x60], esi
cmp word [esi], bx
je 0x497b6d
cmp dword [0x4db274], ebx
jne 0x497b62
xor ebx, ebx
inc ebx
jmp 0x497b72
push esi
call fcn.004ac5b9
test eax, eax
pop ecx
jne 0x497bb1
mov ebx, 0x80070057
lea ecx, [ebp + 0x7c]
call fcn.0043e48d
lea ecx, [ebp + 0x18]
call fcn.0043e48d
lea ecx, [ebp + 0x48]
call fcn.0043e48d
lea ecx, [ebp + 0x1c]
call fcn.0043e48d
lea ecx, [ebp + 0x20]
call fcn.0043e48d
lea ecx, [ebp + 0x38]
call fcn.0043e48d
lea ecx, [ebp - 0x18]
call fcn.0043e48d
mov eax, ebx
jmp 0x497cc5
mov eax, dword [ebp + 0x50]
cmp word [eax], bx
mov dword [ebp + 0x3c], eax
jne 0x497bbf
mov dword [ebp + 0x3c], ebx
cmp word [esi], bx
mov dword [ebp + 0x68], esi
jne 0x497bca
mov dword [ebp + 0x68], ebx
cmp dword [ebp + 0x44], 0x80000000
jne 0x497bd6
mov dword [ebp + 0x44], ebx
xor edi, edi
inc edi
cmp dword [ebp + 0x34], ebx
mov esi, edi
jg 0x497c2e
cmp dword [ebp + 0x30], ebx
je 0x497c00
xor eax, eax
cmp dword [ebp + 0x44], ebx
push ebx
setne al
push eax
push dword [ebp + 0x60]
call fcn.00441937
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x497c29
cmp dword [ebp + 0x44], 0x80000000
je 0x497c12
cmp dword [ebp + 0x44], ebx
je 0x497c12
mov eax, edi
jmp 0x497c14
xor eax, eax
push eax
push ebx
push dword [ebp + 0x3c]
push dword [ebp + 0x68]
call dword [0x4db274]
mov esi, eax
neg esi
sbb esi, esi
inc esi
cmp dword [ebp + 0x34], ebx
je 0x497c8b
cmp esi, ebx
je 0x497c8b
cmp dword [0x4db278], ebx
je 0x497c8b
cmp dword [0x4db2b0], ebx
setne al
cmp al, bl
je 0x497c62
xor eax, eax
cmp dword [ebp + 0x44], ebx
push edi
setne al
push eax
push dword [ebp + 0x60]
call fcn.00441937
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x497c8b
cmp dword [ebp + 0x44], 0x80000000
je 0x497c74
cmp dword [ebp + 0x44], ebx
je 0x497c74
mov eax, edi
jmp 0x497c76
xor eax, eax
push eax
push ebx
push dword [ebp + 0x3c]
push dword [ebp + 0x68]
call dword [0x4db278]
mov esi, eax
neg esi
sbb esi, esi
inc esi
lea ecx, [ebp + 0x7c]
call fcn.0043e48d
lea ecx, [ebp + 0x18]
call fcn.0043e48d
lea ecx, [ebp + 0x48]
call fcn.0043e48d
lea ecx, [ebp + 0x1c]
call fcn.0043e48d
lea ecx, [ebp + 0x20]
call fcn.0043e48d
lea ecx, [ebp + 0x38]
call fcn.0043e48d
lea ecx, [ebp - 0x18]
call fcn.0043e48d
mov eax, esi
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8