Function at 0x498481
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.0043e611
push 4
pop edi
push edi
lea eax, [ebp + 0x78]
push eax
push str._svr
call fcn.00446de5
xor ebx, ebx
add esp, 0x10
cmp al, bl
mov byte [ebp + 0x43], al
jne 0x4984d3
push edi
lea eax, [ebp + 0x78]
push eax
push str._vhd
call fcn.00446de5
add esp, 0xc
test al, al
mov byte [ebp + 0x67], 1
jne 0x4984d6
mov byte [ebp + 0x67], bl
mov al, byte [ebp + 0x67]
or al, byte [ebp + 0x43]
jne 0x4986ca
push edi
lea eax, [ebp + 0x78]
push eax
push str._udm
call fcn.00446de5
add esp, 0xc
test al, al
je 0x4986ca
mov esi, dword [ebp + 0x78]
push edi
lea eax, [ebp + 0x78]
push eax
push str.upud
mov dword [ebp + 0x34], ebx
call fcn.00446de5
add esp, 0xc
test al, al
je 0x498521
mov dword [ebp + 0x34], 0x80000000
jmp 0x49853c
push 6
lea eax, [ebp + 0x78]
push eax
push str.listud
call fcn.00446de5
add esp, 0xc
test al, al
je 0x498662
lea ecx, [ebp + 0x4c]
mov dword [ebp + 0x1c], ebx
call fcn.00444e32
mov ecx, dword [ebp + 0x5c]
push 1
push ebx
lea eax, [ebp + 0x4c]
push eax
push dword [ebp + 0x78]
call fcn.0045522d
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.00446de5
mov ecx, dword [ebp + 0x78]
add esp, 0xc
cmp ecx, ebx
je 0x49858d
mov dx, word [ecx]
cmp dx, 0x2d
je 0x49858d
cmp dx, 0x5c
je 0x49858d
mov al, 1
cmp al, bl
je 0x4985a9
push 0xd
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x7c]
push eax
mov dword [ebp + 0x7c], ecx
call fcn.0041a317
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.00446de5
add esp, 0xc
test al, al
je 0x4985ef
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2a
jne 0x4985dd
add dword [ebp + 0x78], 2
push 0x3d
pop esi
mov dword [ebp + 0x28], ebx
jmp 0x4985ef
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00451a75
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.0041a317
add esp, 0xc
mov dword [ebp + 0x78], eax
xor edi, edi
cmp word [eax], bx
je 0x498613
mov edi, eax
lea ecx, [ebp + 0x68]
call fcn.00444e32
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.0043c1ea
mov ecx, dword [ebp + 0x5c]
add esp, 0x18
push dword [ebp + 0x68]
push dword [ebp + 0x7c]
call fcn.0044451e
lea ecx, [ebp + 0x68]
call fcn.0043e679
lea ecx, [ebp + 0x4c]
call fcn.0043e679
xor eax, eax
jmp 0x499417
movzx esi, word [esi]
mov eax, esi
or eax, 0x20
cmp ax, 0x61
jb 0x498676
cmp ax, 0x7a
jbe 0x498693
mov eax, esi
call fcn.00444917
test al, al
jne 0x498693
cmp si, 0x61
jb 0x49868d
cmp si, 0x66
jbe 0x498693
cmp si, 0x78
jne 0x49869a
mov eax, str.22:INDATA
jmp 0x49869f
mov eax, str.22:INDATA_mount
push 0xffffffffffffffff
push eax
lea ecx, [ebp + 0x7c]
call fcn.0044e6a3
push dword [ebp + 0x78]
lea ecx, [ebp + 0x7c]
call fcn.00444e9e
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x5c]
call fcn.004221d9
mov esi, eax
lea ecx, [ebp + 0x7c]
jmp 0x499410
push dword [ebp + 0x5c]
lea ecx, [ebp - 0x18]
call fcn.00447166
mov edi, 0x4c0a1c
push edi
lea ecx, [ebp + 0x38]
call fcn.0044e66d
push edi
lea ecx, [ebp + 0x20]
call fcn.0044e66d
push edi
lea ecx, [ebp + 0x1c]
call fcn.0044e66d
push edi
lea ecx, [ebp + 0x48]
call fcn.0044e66d
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 0x49872e
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 0x498951
lea eax, [esi + 2]
push 5
push eax
push str.query
call fcn.0043fa6d
add esp, 0xc
test al, al
je 0x498775
mov byte [ebp + 0x6f], 1
jmp 0x498924
push 3
lea eax, [esi + 2]
push eax
push 0x4ccf18
call fcn.0043fa6d
add esp, 0xc
test al, al
je 0x4987e1
lea eax, [ebp + 0x78]
add esi, 8
push eax
mov dword [ebp + 0x78], esi
call fcn.0043e611
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x14], eax
lea eax, [ebp + 0x78]
push eax
call fcn.00405b4a
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
pop ecx
pop ecx
je 0x4987bb
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.00439738
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x14], eax
lea eax, [ebp + 0x78]
push eax
call fcn.0043e611
jmp 0x49892d
push 1
lea eax, [esi + 2]
push eax
push 0x4c6490
call fcn.0043fa6d
add esp, 0xc
test al, al
je 0x498801
mov byte [ebp + 0x57], 1
jmp 0x498924
push 1
lea eax, [esi + 2]
push eax
push 0x4ccf14
call fcn.0043fa6d
add esp, 0xc
test al, al
jne 0x4988a2
push 2
lea eax, [esi + 2]
push eax
push 0x4ccf10
call fcn.0043fa6d
add esp, 0xc
test al, al
je 0x49883f
or dword [ebp + 0x28], 0xffffffff
mov dword [ebp + 0x4c], ebx
jmp 0x498924
push 1
lea eax, [esi + 2]
push eax
push 0x4c647c
call fcn.0043fa6d
add esp, 0xc
test al, al
je 0x498862
mov dword [ebp + 0x30], 2
jmp 0x498924
push 2
lea eax, [esi + 2]
push eax
push 0x4ccf0c
call fcn.0043fa6d
add esp, 0xc
test al, al
je 0x498885
mov dword [ebp + 0x30], 3
jmp 0x498924
push 3
lea eax, [esi + 2]
push eax
push 0x4ccf08
call fcn.0043fa6d
add esp, 0xc
test al, al
je 0x4988ab
lea eax, [ebp + 0xc]
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x4c], 1
jmp 0x498924
push 1
lea eax, [esi + 2]
push eax
push 0x4cb858
call fcn.0043fa6d
add esp, 0xc
test al, al
je 0x4988cb
mov dword [ebp + 8], 1
jmp 0x498924
push 1
lea eax, [esi + 2]
push eax
push 0x4ccf04
call fcn.0043fa6d
add esp, 0xc
test al, al
je 0x4988eb
mov dword [ebp + 0x10], 2
jmp 0x498924
push 2
lea eax, [esi + 2]
push eax
push 0x4ccf00
call fcn.0043fac4
add esp, 0xc
test al, al
je 0x498951
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.0044a751
lea eax, [ebp + 0x78]
push eax
call fcn.00405b4a
add esp, 0xc
lea eax, [ebp + 0x78]
push eax
call fcn.00405b6e
mov esi, dword [ebp + 0x78]
movzx eax, word [esi]
cmp dword [ebp + 0x58], eax
pop ecx
je 0x498755
jmp 0x498951
cmp ax, 0x21
jne 0x498959
inc esi
inc esi
mov dword [ebp + 0x34], 1
mov dword [ebp + 0x78], esi
mov ax, word [esi]
cmp ax, bx
jne 0x49893f
lea eax, [ebp + 0x78]
push eax
call fcn.0043e611
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.00439738
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 0x498995
cmp cx, 0x2f
jne 0x4989ba
cmp cx, dx
jne 0x4989b1
cmp word [eax + 2], dx
jne 0x4989b1
mov cx, word [eax + 4]
cmp cx, 0x3f
je 0x4989ab
cmp cx, 0x2e
jne 0x4989b1
cmp word [eax + 6], dx
je 0x4989ba
mov dword [ebp + 0x58], 1
jmp 0x4989bd
mov dword [ebp + 0x58], ebx
cmp byte [ebp + 0x6f], bl
jne 0x498a0f
cmp dword [ebp + 0x58], ebx
je 0x498a0f
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.00444e77
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.00405b32
add esp, 0xc
lea ecx, [ebp + 0x68]
call fcn.0043e679
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x498a31
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.00439738
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 0x498a57
cmp byte [ebp + 0x67], bl
je 0x498b21
jmp 0x498a8f
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x498ad8
add dword [ebp + 0x78], 2
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x22
jne 0x498a70
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.004589f9
push eax
call fcn.00447eda
add esp, 0xc
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x498ab1
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.00439738
mov dword [ebp + 0x78], eax
cmp byte [ebp + 0x6f], bl
je 0x498ad8
cmp byte [ebp + 0x67], bl
je 0x498b21
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x498b12
add dword [ebp + 0x78], 2
lea eax, [ebp]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0044113e
pop ecx
pop ecx
jmp 0x498b12
cmp byte [ebp + 0x67], bl
je 0x498b21
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x498b12
inc eax
inc eax
mov dword [ebp + 0x78], eax
mov dword [ebp + 0x2c], eax
push 0x2c
lea eax, [ebp + 0x78]
call fcn.00405b85
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
pop ecx
je 0x498b07
mov word [eax], bx
add dword [ebp + 0x78], 2
mov eax, dword [ebp + 0x2c]
cmp word [eax], bx
je 0x498b12
lea esi, [ebp - 0xc]
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x3c], eax
mov dword [ebp + 0x68], 1
je 0x498b24
mov dword [ebp + 0x68], ebx
cmp byte [ebp + 0x67], bl
je 0x498dde
mov edi, 0x4dccdc
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.00441d19
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
cmp byte [ebp + 0x57], bl
je 0x498b6b
cmp dword [ebp + 0x68], ebx
setne al
lea eax, [eax + eax + 0x10000]
push eax
push dword [ebp + 0x50]
call fcn.0044941a
pop ecx
pop ecx
mov ebx, eax
jmp 0x4992cc
cmp dword [ebp + 0x68], ebx
setne al
dec eax
cmp byte [ebp + 0x6f], bl
mov dword [ebp + 0x58], eax
je 0x498bb7
mov ecx, dword [ebp + 0x5c]
push ebx
push 0xffffffffffffffff
push ebx
push dword [ebp + 0x60]
mov dword [ebp + 0x58], ebx
call fcn.00410d4d
mov edx, eax
cmp edx, ebx
jne 0x498b9c
mov ebx, 0x80070057
jmp 0x4992cc
cmp dword [ebp + 4], ebx
jl 0x498bba
mov eax, dword [ebp]
jg 0x498baa
cmp eax, ebx
jb 0x498bba
mov ecx, dword [edx + 4]
mov dword [ecx], eax
mov eax, dword [ebp + 4]
mov dword [ecx + 4], eax
jmp 0x498bba
mov edx, dword [ebp + 0x44]
cmp dword [ebp + 0x30], ebx
je 0x498c8a
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.0044a751
mov eax, dword [ebp + 0x60]
cmp word [eax], bx
pop ecx
pop ecx
je 0x498be7
add dword [ebp + 0x60], 2
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 0x60]
push eax
call fcn.0044a751
mov eax, dword [ebp + 0x24]
or eax, dword [ebp + 0x28]
pop ecx
pop ecx
je 0x498c04
mov eax, dword [ebp + 0x60]
mov word [eax], bx
xor eax, eax
inc eax
cmp dword [ebp + 8], ebx
je 0x498c0e
xor eax, eax
cmp dword [ebp + 0x28], ebx
jg 0x498c6f
jl 0x498c1e
cmp dword [ebp + 0x24], 0x100000
jae 0x498c6f
cmp word [esi], bx
jne 0x498c6f
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.00444e50
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.0044451e
jmp 0x4992c4
push dword [ebp - 8]
push dword [ebp + 0x30]
push eax
push esi
push dword [ebp + 0x50]
call fcn.004528d8
add esp, 0x14
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x58], eax
jmp 0x498c2a
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 0x498cb0
cmp cx, 0x2a
je 0x498cb0
or eax, 2
cmp dword [ebp + 0x68], ebx
je 0x498cbd
cmp dword [ebp + 0x28], ebx
jg 0x498cbd
or eax, 1
mov ecx, dword [ebp + 0x48]
cmp word [ecx], bx
jne 0x498cca
or eax, 0x10000
cmp byte [ebp + 0x6f], bl
jne 0x498cd6
cmp edx, ebx
jg 0x498cd6
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.00497f85
add esp, 0x1c
cmp esi, ebx
mov dword [ebp + 0x68], eax
je 0x498db6
mov edi, dword [esi]
cmp edi, ebx
je 0x498db6
mov eax, dword [ebp + 0x2c]
cmp word [eax], 0x7e
jne 0x498d31
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 0x498db6
mov eax, dword [ebp + 0x2c]
mov ax, word [eax]
cmp ax, 0x2e
je 0x498d63
cmp ax, 0x40
jne 0x498da7
mov edi, dword [ebp + 0x7c]
cmp edi, ebx
jne 0x498d76
mov edi, dword [ebp + 0x5c]
push edi
push edi
call fcn.00412996
mov edi, dword [edi + 0x28]
cmp edi, ebx
pop ecx
pop ecx
jne 0x498d76
mov eax, dword [ebp + 0x2c]
add eax, 2
push eax
push dword [esi]
push dword [ebp + 0x5c]
call fcn.0044749d
jmp 0x498db3
mov eax, dword [ebp + 0x2c]
add eax, 2
push eax
lea ecx, [ebp + 0x7c]
call fcn.0044e66d
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.004453dc
lea ecx, [ebp + 0x7c]
call fcn.0043e679
jmp 0x498db6
push dword [ebp + 0x2c]
push ecx
push dword [ebp + 0x5c]
call fcn.0042c3b3
add esp, 0xc
cmp byte [ebp + 0x6f], bl
je 0x498c2a
mov eax, dword [ebp + 0x48]
cmp word [eax], bx
je 0x498dd6
push eax
push dword [ebp + 0x58]
push dword [ebp + 0x5c]
call fcn.0044749d
add esp, 0xc
mov ebx, dword [ebp + 0x68]
jmp 0x4992cc
cmp byte [ebp + 0x6f], bl
jne 0x498e00
mov eax, dword [ebp + 0x60]
cmp word [eax], bx
jne 0x498e00
cmp byte [ebp + 0x57], bl
je 0x498b92
mov eax, dword [ebp + 0x50]
cmp word [eax], bx
je 0x498b92
cmp byte [ebp + 0x43], bl
je 0x498eb2
push 0xffffffffffffffff
push str.22:INDATA_mount_wimsvr__
lea ecx, [ebp + 0x7c]
call fcn.0044e6a3
push dword [ebp + 0x50]
lea ecx, [ebp + 0x7c]
mov word [ebp - 0xb4], bx
call fcn.00444e9e
mov esi, 0x4c4da4
push esi
lea ecx, [ebp + 0x7c]
call fcn.00444e9e
push dword [ebp + 0x60]
lea ecx, [ebp + 0x7c]
call fcn.00444e9e
push esi
lea ecx, [ebp + 0x7c]
call fcn.00444e9e
mov eax, dword [ebp + 0x44]
cmp eax, ebx
jl 0x498e74
cdq
push edx
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.0049b796
add esp, 0xc
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp + 0x7c]
call fcn.00444e9e
push esi
lea ecx, [ebp + 0x7c]
call fcn.00444e9e
push dword [ebp + 0x48]
lea ecx, [ebp + 0x7c]
call fcn.00444e9e
push 0x4c4e1c
lea ecx, [ebp + 0x7c]
call fcn.00444e9e
push dword [ebp + 0x78]
lea ecx, [ebp + 0x7c]
call fcn.00444e9e
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x5c]
call fcn.004221d9
mov ebx, eax
jmp 0x4992c4
mov esi, 0x4dcd04
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 0x14]
lea ecx, [ebp + 0x78]
call fcn.0043fc4d
lea ecx, [ebp + 0x78]
call fcn.0043fc34
push esi
mov dword [ebp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp + 0x30], ebx
jge 0x498ef7
push str.WIM_DLL_ERR_r_n
push dword [ebp + 0x5c]
call fcn.00411099
pop ecx
pop ecx
xor ebx, ebx
inc ebx
jmp 0x4992cc
cmp byte [ebp + 0x6f], bl
je 0x499018
cmp dword [0x4dc298], ebx
jne 0x498f10
push 0x78
pop ebx
jmp 0x4992cc
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 0x498f2b
mov word [eax], bx
inc eax
inc eax
mov dword [ebp + 0x28], eax
cmp word [esi], bx
je 0x498b92
lea ecx, [ebp + 0x68]
call fcn.00444e32
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2c
jne 0x498f67
add dword [ebp + 0x78], 2
push 1
push 0x2c
lea eax, [ebp + 0x78]
push eax
lea ecx, [ebp - 0x18]
call fcn.004589f9
push ebx
lea ecx, [ebp + 0x68]
push ecx
push eax
call fcn.00447c46
add esp, 0xc
push dword [ebp + 0x68]
call fcn.0041310a
pop ecx
lea ecx, [ebp + 0x58]
mov edi, eax
call fcn.00444e32
mov esi, dword [ebp + 0x60]
cmp word [esi], bx
je 0x498fa2
cmp word [esi + 2], 0x3a
je 0x498fa2
lea eax, [ebp + 0x58]
push eax
push esi
call fcn.004134a4
pop ecx
pop ecx
push dword [ebp + 0x58]
lea ecx, [ebp + 0x20]
call fcn.0044e6d5
mov esi, dword [eax]
cmp word [edi], bx
je 0x498fc7
cmp word [edi + 2], 0x3a
je 0x498fc7
lea eax, [ebp + 0x58]
push eax
push edi
call fcn.004134a4
pop ecx
pop ecx
push dword [ebp + 0x58]
lea ecx, [ebp + 0x68]
call fcn.0044e6d5
mov edi, dword [eax]
push 0x20
lea ecx, [ebp + 0x7c]
call fcn.00444e50
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.004526f3
mov eax, dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x5c]
add esp, 0x1c
add eax, 4
push eax
push dword [ebp + 0x50]
call fcn.0044451e
lea ecx, [ebp + 0x7c]
call fcn.0043e679
lea ecx, [ebp + 0x58]
call fcn.0043e679
lea ecx, [ebp + 0x68]
jmp 0x4992c7
cmp byte [ebp + 0x57], bl
mov dword [ebp + 0x4c], ebx
jne 0x49920c
mov esi, dword [ebp + 0x50]
cmp word [esi], bx
je 0x49920c
mov eax, dword [ebp + 0x48]
cmp word [eax], 0x2a
jne 0x49905a
push 0x105
lea ecx, [ebp + 0x48]
call fcn.00444e77
mov eax, dword [ebp + 0x48]
mov word [eax], bx
push dword [ebp + 0x48]
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp dword [0x4dc28c], ebx
je 0x498eef
push dword [ebp + 0x60]
call fcn.004ad0f1
test eax, eax
pop ecx
jne 0x499091
push dword [ebp + 0x60]
lea ecx, [ebp + 0x7c]
call fcn.0044e66d
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x5c]
call fcn.0041c0a9
lea ecx, [ebp + 0x7c]
call fcn.0043e679
push dword [ebp + 0x60]
call fcn.004ad0f1
test eax, eax
pop ecx
je 0x498eef
cmp dword [ebp + 0x58], ebx
jne 0x4990b6
push esi
call fcn.004ad289
test eax, eax
pop ecx
je 0x498eef
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 0x4990d9
test byte [ebp - 0x3c], 1
jne 0x4990e4
mov eax, dword [ebp + 0x48]
cmp word [eax], bx
mov dword [ebp + 0x68], eax
jne 0x4990e7
mov dword [ebp + 0x68], ebx
cmp dword [ebp + 0x58], ebx
mov dword [ebp + 0x7c], ebx
je 0x499104
cmp dword [ebp + 0x30], ebx
jne 0x4990fb
mov dword [ebp + 0x7c], pe_nt_image_headers32
cmp dword [ebp + 0x34], ebx
je 0x499104
or byte [ebp + 0x7d], 2
xor eax, eax
inc eax
cmp dword [ebp + 0x58], ebx
je 0x499118
lea eax, [ebp + 0x7c]
push eax
push esi
call fcn.00481c07
pop ecx
pop ecx
mov edi, dword [ebp + 0x44]
sar eax, 8
movzx esi, al
dec esi
cmp edi, 0x80000000
jne 0x49912d
xor edi, edi
inc edi
push dword [ebp + 0x50]
call fcn.004ad289
test eax, eax
pop ecx
je 0x49918e
cmp dword [ebp + 0x30], ebx
je 0x49915a
cmp edi, ebx
jge 0x499146
xor edi, edi
inc edi
push dword [ebp + 0x68]
push edi
push dword [ebp + 0x50]
push dword [ebp + 0x60]
call fcn.0045255e
add esp, 0x10
jmp 0x499171
cmp edi, ebx
jge 0x499161
xor edi, edi
inc edi
push dword [ebp + 0x68]
push edi
push dword [ebp + 0x50]
push dword [ebp + 0x60]
call dword [0x4dc28c]
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.00411099
add esp, 0x18
cmp dword [ebp + 0x58], ebx
je 0x4991a5
cmp dword [ebp + 0x34], ebx
jne 0x4991a5
mov eax, dword [ebp + 0x7c]
cmp ax, bx
je 0x4991a5
call fcn.004404ae
cmp esi, ebx
jl 0x4991cf
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.004648bb
lea ecx, [ebp + 0x18]
call fcn.0043e679
lea ecx, [ebp + 0x48]
call fcn.0043e679
lea ecx, [ebp + 0x1c]
call fcn.0043e679
lea ecx, [ebp + 0x20]
call fcn.0043e679
lea ecx, [ebp + 0x38]
call fcn.0043e679
lea ecx, [ebp - 0x18]
call fcn.0043e679
xor eax, eax
cmp dword [ebp + 0x4c], ebx
sete al
jmp 0x499417
lea ecx, [ebp + 0x7c]
call fcn.00444e32
mov esi, dword [ebp + 0x60]
cmp word [esi], bx
je 0x49923f
cmp word [esi + 2], 0x3a
je 0x49923f
lea eax, [ebp + 0x7c]
push eax
push esi
call fcn.004134a4
pop ecx
pop ecx
push dword [ebp + 0x7c]
lea ecx, [ebp + 0x20]
call fcn.0044e6d5
mov esi, dword [eax]
mov dword [ebp + 0x60], esi
mov eax, dword [ebp + 0x50]
cmp word [eax], bx
je 0x49926a
cmp word [eax + 2], 0x3a
je 0x49926a
lea ecx, [ebp + 0x7c]
push ecx
push eax
call fcn.004134a4
pop ecx
pop ecx
push dword [ebp + 0x7c]
lea ecx, [ebp + 0x38]
call fcn.0044e6d5
mov eax, dword [eax]
mov dword [ebp + 0x50], eax
or dword [ebp + 0x34], 0xffffffff
cmp word [esi], bx
jne 0x4992a7
cmp word [eax], bx
je 0x4992a2
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.004526f3
add esp, 0x1c
test eax, eax
je 0x4992bf
lea esi, [ebp - 0x314]
mov dword [ebp + 0x60], esi
cmp word [esi], bx
je 0x4992bf
cmp dword [0x4dc290], ebx
jne 0x4992b4
xor ebx, ebx
inc ebx
jmp 0x4992c4
push esi
call fcn.004ad0f1
test eax, eax
pop ecx
jne 0x499303
mov ebx, 0x80070057
lea ecx, [ebp + 0x7c]
call fcn.0043e679
lea ecx, [ebp + 0x18]
call fcn.0043e679
lea ecx, [ebp + 0x48]
call fcn.0043e679
lea ecx, [ebp + 0x1c]
call fcn.0043e679
lea ecx, [ebp + 0x20]
call fcn.0043e679
lea ecx, [ebp + 0x38]
call fcn.0043e679
lea ecx, [ebp - 0x18]
call fcn.0043e679
mov eax, ebx
jmp 0x499417
mov eax, dword [ebp + 0x50]
cmp word [eax], bx
mov dword [ebp + 0x3c], eax
jne 0x499311
mov dword [ebp + 0x3c], ebx
cmp word [esi], bx
mov dword [ebp + 0x68], esi
jne 0x49931c
mov dword [ebp + 0x68], ebx
cmp dword [ebp + 0x44], 0x80000000
jne 0x499328
mov dword [ebp + 0x44], ebx
xor edi, edi
inc edi
cmp dword [ebp + 0x34], ebx
mov esi, edi
jg 0x499380
cmp dword [ebp + 0x30], ebx
je 0x499352
xor eax, eax
cmp dword [ebp + 0x44], ebx
push ebx
setne al
push eax
push dword [ebp + 0x60]
call fcn.00441bbd
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x49937b
cmp dword [ebp + 0x44], 0x80000000
je 0x499364
cmp dword [ebp + 0x44], ebx
je 0x499364
mov eax, edi
jmp 0x499366
xor eax, eax
push eax
push ebx
push dword [ebp + 0x3c]
push dword [ebp + 0x68]
call dword [0x4dc290]
mov esi, eax
neg esi
sbb esi, esi
inc esi
cmp dword [ebp + 0x34], ebx
je 0x4993dd
cmp esi, ebx
je 0x4993dd
cmp dword [0x4dc294], ebx
je 0x4993dd
cmp dword [0x4dc2cc], ebx
setne al
cmp al, bl
je 0x4993b4
xor eax, eax
cmp dword [ebp + 0x44], ebx
push edi
setne al
push eax
push dword [ebp + 0x60]
call fcn.00441bbd
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x4993dd
cmp dword [ebp + 0x44], 0x80000000
je 0x4993c6
cmp dword [ebp + 0x44], ebx
je 0x4993c6
mov eax, edi
jmp 0x4993c8
xor eax, eax
push eax
push ebx
push dword [ebp + 0x3c]
push dword [ebp + 0x68]
call dword [0x4dc294]
mov esi, eax
neg esi
sbb esi, esi
inc esi
lea ecx, [ebp + 0x7c]
call fcn.0043e679
lea ecx, [ebp + 0x18]
call fcn.0043e679
lea ecx, [ebp + 0x48]
call fcn.0043e679
lea ecx, [ebp + 0x1c]
call fcn.0043e679
lea ecx, [ebp + 0x20]
call fcn.0043e679
lea ecx, [ebp + 0x38]
call fcn.0043e679
lea ecx, [ebp - 0x18]
call fcn.0043e679
mov eax, esi
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8