Function at 0x498615
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.0043e7bd
push 4
pop edi
push edi
lea eax, [ebp + 0x78]
push eax
push str._svr
call fcn.00446fac
xor ebx, ebx
add esp, 0x10
cmp al, bl
mov byte [ebp + 0x43], al
jne 0x498667
push edi
lea eax, [ebp + 0x78]
push eax
push str._vhd
call fcn.00446fac
add esp, 0xc
test al, al
mov byte [ebp + 0x67], 1
jne 0x49866a
mov byte [ebp + 0x67], bl
mov al, byte [ebp + 0x67]
or al, byte [ebp + 0x43]
jne 0x49885e
push edi
lea eax, [ebp + 0x78]
push eax
push str._udm
call fcn.00446fac
add esp, 0xc
test al, al
je 0x49885e
mov esi, dword [ebp + 0x78]
push edi
lea eax, [ebp + 0x78]
push eax
push str.upud
mov dword [ebp + 0x34], ebx
call fcn.00446fac
add esp, 0xc
test al, al
je 0x4986b5
mov dword [ebp + 0x34], 0x80000000
jmp 0x4986d0
push 6
lea eax, [ebp + 0x78]
push eax
push str.listud
call fcn.00446fac
add esp, 0xc
test al, al
je 0x4987f6
lea ecx, [ebp + 0x4c]
mov dword [ebp + 0x1c], ebx
call fcn.00444f6c
mov ecx, dword [ebp + 0x5c]
push 1
push ebx
lea eax, [ebp + 0x4c]
push eax
push dword [ebp + 0x78]
call fcn.004553cd
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.00446fac
mov ecx, dword [ebp + 0x78]
add esp, 0xc
cmp ecx, ebx
je 0x498721
mov dx, word [ecx]
cmp dx, 0x2d
je 0x498721
cmp dx, 0x5c
je 0x498721
mov al, 1
cmp al, bl
je 0x49873d
push 0xd
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x7c]
push eax
mov dword [ebp + 0x7c], ecx
call fcn.0041a4ff
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.00446fac
add esp, 0xc
test al, al
je 0x498783
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2a
jne 0x498771
add dword [ebp + 0x78], 2
push 0x3d
pop esi
mov dword [ebp + 0x28], ebx
jmp 0x498783
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00451c15
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.0041a4ff
add esp, 0xc
mov dword [ebp + 0x78], eax
xor edi, edi
cmp word [eax], bx
je 0x4987a7
mov edi, eax
lea ecx, [ebp + 0x68]
call fcn.00444f6c
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.0043c37c
mov ecx, dword [ebp + 0x5c]
add esp, 0x18
push dword [ebp + 0x68]
push dword [ebp + 0x7c]
call fcn.00444692
lea ecx, [ebp + 0x68]
call fcn.0043e825
lea ecx, [ebp + 0x4c]
call fcn.0043e825
xor eax, eax
jmp 0x4995ab
movzx esi, word [esi]
mov eax, esi
or eax, 0x20
cmp ax, 0x61
jb 0x49880a
cmp ax, 0x7a
jbe 0x498827
mov eax, esi
call fcn.00444a8b
test al, al
jne 0x498827
cmp si, 0x61
jb 0x498821
cmp si, 0x66
jbe 0x498827
cmp si, 0x78
jne 0x49882e
mov eax, str.22:INDATA
jmp 0x498833
mov eax, str.22:INDATA_mount
push 0xffffffffffffffff
push eax
lea ecx, [ebp + 0x7c]
call fcn.0044e85d
push dword [ebp + 0x78]
lea ecx, [ebp + 0x7c]
call fcn.00444fd8
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x5c]
call fcn.004223de
mov esi, eax
lea ecx, [ebp + 0x7c]
jmp 0x4995a4
push dword [ebp + 0x5c]
lea ecx, [ebp - 0x18]
call fcn.0044732d
mov edi, 0x4c1a3c
push edi
lea ecx, [ebp + 0x38]
call fcn.0044e827
push edi
lea ecx, [ebp + 0x20]
call fcn.0044e827
push edi
lea ecx, [ebp + 0x1c]
call fcn.0044e827
push edi
lea ecx, [ebp + 0x48]
call fcn.0044e827
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 0x4988c2
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 0x498ae5
lea eax, [esi + 2]
push 5
push eax
push str.query
call fcn.0043fbc2
add esp, 0xc
test al, al
je 0x498909
mov byte [ebp + 0x6f], 1
jmp 0x498ab8
push 3
lea eax, [esi + 2]
push eax
push 0x4cdf30
call fcn.0043fbc2
add esp, 0xc
test al, al
je 0x498975
lea eax, [ebp + 0x78]
add esi, 8
push eax
mov dword [ebp + 0x78], esi
call fcn.0043e7bd
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x14], eax
lea eax, [ebp + 0x78]
push eax
call fcn.00405b76
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
pop ecx
pop ecx
je 0x49894f
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.0043993e
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x14], eax
lea eax, [ebp + 0x78]
push eax
call fcn.0043e7bd
jmp 0x498ac1
push 1
lea eax, [esi + 2]
push eax
push 0x4c74a8
call fcn.0043fbc2
add esp, 0xc
test al, al
je 0x498995
mov byte [ebp + 0x57], 1
jmp 0x498ab8
push 1
lea eax, [esi + 2]
push eax
push 0x4cdf2c
call fcn.0043fbc2
add esp, 0xc
test al, al
jne 0x498a36
push 2
lea eax, [esi + 2]
push eax
push 0x4cdf28
call fcn.0043fbc2
add esp, 0xc
test al, al
je 0x4989d3
or dword [ebp + 0x28], 0xffffffff
mov dword [ebp + 0x4c], ebx
jmp 0x498ab8
push 1
lea eax, [esi + 2]
push eax
push 0x4c7494
call fcn.0043fbc2
add esp, 0xc
test al, al
je 0x4989f6
mov dword [ebp + 0x30], 2
jmp 0x498ab8
push 2
lea eax, [esi + 2]
push eax
push 0x4cdf24
call fcn.0043fbc2
add esp, 0xc
test al, al
je 0x498a19
mov dword [ebp + 0x30], 3
jmp 0x498ab8
push 3
lea eax, [esi + 2]
push eax
push 0x4cdf20
call fcn.0043fbc2
add esp, 0xc
test al, al
je 0x498a3f
lea eax, [ebp + 0xc]
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x4c], 1
jmp 0x498ab8
push 1
lea eax, [esi + 2]
push eax
push 0x4cc870
call fcn.0043fbc2
add esp, 0xc
test al, al
je 0x498a5f
mov dword [ebp + 8], 1
jmp 0x498ab8
push 1
lea eax, [esi + 2]
push eax
push 0x4cdf1c
call fcn.0043fbc2
add esp, 0xc
test al, al
je 0x498a7f
mov dword [ebp + 0x10], 2
jmp 0x498ab8
push 2
lea eax, [esi + 2]
push eax
push 0x4cdf18
call fcn.0043fc19
add esp, 0xc
test al, al
je 0x498ae5
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.0044a93d
lea eax, [ebp + 0x78]
push eax
call fcn.00405b76
add esp, 0xc
lea eax, [ebp + 0x78]
push eax
call fcn.00409344
mov esi, dword [ebp + 0x78]
movzx eax, word [esi]
cmp dword [ebp + 0x58], eax
pop ecx
je 0x4988e9
jmp 0x498ae5
cmp ax, 0x21
jne 0x498aed
inc esi
inc esi
mov dword [ebp + 0x34], 1
mov dword [ebp + 0x78], esi
mov ax, word [esi]
cmp ax, bx
jne 0x498ad3
lea eax, [ebp + 0x78]
push eax
call fcn.0043e7bd
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.0043993e
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 0x498b29
cmp cx, 0x2f
jne 0x498b4e
cmp cx, dx
jne 0x498b45
cmp word [eax + 2], dx
jne 0x498b45
mov cx, word [eax + 4]
cmp cx, 0x3f
je 0x498b3f
cmp cx, 0x2e
jne 0x498b45
cmp word [eax + 6], dx
je 0x498b4e
mov dword [ebp + 0x58], 1
jmp 0x498b51
mov dword [ebp + 0x58], ebx
cmp byte [ebp + 0x6f], bl
jne 0x498ba3
cmp dword [ebp + 0x58], ebx
je 0x498ba3
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.00444fb1
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.00405b5e
add esp, 0xc
lea ecx, [ebp + 0x68]
call fcn.0043e825
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x498bc5
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.0043993e
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 0x498beb
cmp byte [ebp + 0x67], bl
je 0x498cb5
jmp 0x498c23
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x498c6c
add dword [ebp + 0x78], 2
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x22
jne 0x498c04
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.00458b67
push eax
call fcn.004480a1
add esp, 0xc
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x498c45
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.0043993e
mov dword [ebp + 0x78], eax
cmp byte [ebp + 0x6f], bl
je 0x498c6c
cmp byte [ebp + 0x67], bl
je 0x498cb5
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x498ca6
add dword [ebp + 0x78], 2
lea eax, [ebp]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.004412ad
pop ecx
pop ecx
jmp 0x498ca6
cmp byte [ebp + 0x67], bl
je 0x498cb5
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x498ca6
inc eax
inc eax
mov dword [ebp + 0x78], eax
mov dword [ebp + 0x2c], eax
push 0x2c
lea eax, [ebp + 0x78]
call fcn.00405bbb
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
pop ecx
je 0x498c9b
mov word [eax], bx
add dword [ebp + 0x78], 2
mov eax, dword [ebp + 0x2c]
cmp word [eax], bx
je 0x498ca6
lea esi, [ebp - 0xc]
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x3c], eax
mov dword [ebp + 0x68], 1
je 0x498cb8
mov dword [ebp + 0x68], ebx
cmp byte [ebp + 0x67], bl
je 0x498f72
mov edi, 0x4ddcd4
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.00441e8d
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
cmp byte [ebp + 0x57], bl
je 0x498cff
cmp dword [ebp + 0x68], ebx
setne al
lea eax, [eax + eax + 0x10000]
push eax
push dword [ebp + 0x50]
call fcn.00449606
pop ecx
pop ecx
mov ebx, eax
jmp 0x499460
cmp dword [ebp + 0x68], ebx
setne al
dec eax
cmp byte [ebp + 0x6f], bl
mov dword [ebp + 0x58], eax
je 0x498d4b
mov ecx, dword [ebp + 0x5c]
push ebx
push 0xffffffffffffffff
push ebx
push dword [ebp + 0x60]
mov dword [ebp + 0x58], ebx
call fcn.00410e94
mov edx, eax
cmp edx, ebx
jne 0x498d30
mov ebx, 0x80070057
jmp 0x499460
cmp dword [ebp + 4], ebx
jl 0x498d4e
mov eax, dword [ebp]
jg 0x498d3e
cmp eax, ebx
jb 0x498d4e
mov ecx, dword [edx + 4]
mov dword [ecx], eax
mov eax, dword [ebp + 4]
mov dword [ecx + 4], eax
jmp 0x498d4e
mov edx, dword [ebp + 0x44]
cmp dword [ebp + 0x30], ebx
je 0x498e1e
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.0044a93d
mov eax, dword [ebp + 0x60]
cmp word [eax], bx
pop ecx
pop ecx
je 0x498d7b
add dword [ebp + 0x60], 2
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 0x60]
push eax
call fcn.0044a93d
mov eax, dword [ebp + 0x24]
or eax, dword [ebp + 0x28]
pop ecx
pop ecx
je 0x498d98
mov eax, dword [ebp + 0x60]
mov word [eax], bx
xor eax, eax
inc eax
cmp dword [ebp + 8], ebx
je 0x498da2
xor eax, eax
cmp dword [ebp + 0x28], ebx
jg 0x498e03
jl 0x498db2
cmp dword [ebp + 0x24], 0x100000
jae 0x498e03
cmp word [esi], bx
jne 0x498e03
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.00444f8a
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.00444692
jmp 0x499458
push dword [ebp - 8]
push dword [ebp + 0x30]
push eax
push esi
push dword [ebp + 0x50]
call fcn.00452a78
add esp, 0x14
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x58], eax
jmp 0x498dbe
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 0x498e44
cmp cx, 0x2a
je 0x498e44
or eax, 2
cmp dword [ebp + 0x68], ebx
je 0x498e51
cmp dword [ebp + 0x28], ebx
jg 0x498e51
or eax, 1
mov ecx, dword [ebp + 0x48]
cmp word [ecx], bx
jne 0x498e5e
or eax, 0x10000
cmp byte [ebp + 0x6f], bl
jne 0x498e6a
cmp edx, ebx
jg 0x498e6a
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.00498119
add esp, 0x1c
cmp esi, ebx
mov dword [ebp + 0x68], eax
je 0x498f4a
mov edi, dword [esi]
cmp edi, ebx
je 0x498f4a
mov eax, dword [ebp + 0x2c]
cmp word [eax], 0x7e
jne 0x498ec5
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 0x498f4a
mov eax, dword [ebp + 0x2c]
mov ax, word [eax]
cmp ax, 0x2e
je 0x498ef7
cmp ax, 0x40
jne 0x498f3b
mov edi, dword [ebp + 0x7c]
cmp edi, ebx
jne 0x498f0a
mov edi, dword [ebp + 0x5c]
push edi
push edi
call fcn.00412b52
mov edi, dword [edi + 0x28]
cmp edi, ebx
pop ecx
pop ecx
jne 0x498f0a
mov eax, dword [ebp + 0x2c]
add eax, 2
push eax
push dword [esi]
push dword [ebp + 0x5c]
call fcn.00447664
jmp 0x498f47
mov eax, dword [ebp + 0x2c]
add eax, 2
push eax
lea ecx, [ebp + 0x7c]
call fcn.0044e827
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.00445532
lea ecx, [ebp + 0x7c]
call fcn.0043e825
jmp 0x498f4a
push dword [ebp + 0x2c]
push ecx
push dword [ebp + 0x5c]
call fcn.0042c5b8
add esp, 0xc
cmp byte [ebp + 0x6f], bl
je 0x498dbe
mov eax, dword [ebp + 0x48]
cmp word [eax], bx
je 0x498f6a
push eax
push dword [ebp + 0x58]
push dword [ebp + 0x5c]
call fcn.00447664
add esp, 0xc
mov ebx, dword [ebp + 0x68]
jmp 0x499460
cmp byte [ebp + 0x6f], bl
jne 0x498f94
mov eax, dword [ebp + 0x60]
cmp word [eax], bx
jne 0x498f94
cmp byte [ebp + 0x57], bl
je 0x498d26
mov eax, dword [ebp + 0x50]
cmp word [eax], bx
je 0x498d26
cmp byte [ebp + 0x43], bl
je 0x499046
push 0xffffffffffffffff
push str.22:INDATA_mount_wimsvr__
lea ecx, [ebp + 0x7c]
call fcn.0044e85d
push dword [ebp + 0x50]
lea ecx, [ebp + 0x7c]
mov word [ebp - 0xb4], bx
call fcn.00444fd8
mov esi, 0x4c5dbc
push esi
lea ecx, [ebp + 0x7c]
call fcn.00444fd8
push dword [ebp + 0x60]
lea ecx, [ebp + 0x7c]
call fcn.00444fd8
push esi
lea ecx, [ebp + 0x7c]
call fcn.00444fd8
mov eax, dword [ebp + 0x44]
cmp eax, ebx
jl 0x499008
cdq
push edx
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.0049c1b8
add esp, 0xc
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp + 0x7c]
call fcn.00444fd8
push esi
lea ecx, [ebp + 0x7c]
call fcn.00444fd8
push dword [ebp + 0x48]
lea ecx, [ebp + 0x7c]
call fcn.00444fd8
push 0x4c5e34
lea ecx, [ebp + 0x7c]
call fcn.00444fd8
push dword [ebp + 0x78]
lea ecx, [ebp + 0x7c]
call fcn.00444fd8
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x5c]
call fcn.004223de
mov ebx, eax
jmp 0x499458
mov esi, 0x4ddcfc
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 0x14]
lea ecx, [ebp + 0x78]
call fcn.0043fda2
lea ecx, [ebp + 0x78]
call fcn.0043fd89
push esi
mov dword [ebp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp + 0x30], ebx
jge 0x49908b
push str.WIM_DLL_ERR_r_n
push dword [ebp + 0x5c]
call fcn.004111e0
pop ecx
pop ecx
xor ebx, ebx
inc ebx
jmp 0x499460
cmp byte [ebp + 0x6f], bl
je 0x4991ac
cmp dword [0x4dd290], ebx
jne 0x4990a4
push 0x78
pop ebx
jmp 0x499460
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 0x4990bf
mov word [eax], bx
inc eax
inc eax
mov dword [ebp + 0x28], eax
cmp word [esi], bx
je 0x498d26
lea ecx, [ebp + 0x68]
call fcn.00444f6c
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2c
jne 0x4990fb
add dword [ebp + 0x78], 2
push 1
push 0x2c
lea eax, [ebp + 0x78]
push eax
lea ecx, [ebp - 0x18]
call fcn.00458b67
push ebx
lea ecx, [ebp + 0x68]
push ecx
push eax
call fcn.00447e0d
add esp, 0xc
push dword [ebp + 0x68]
call fcn.004132c6
pop ecx
lea ecx, [ebp + 0x58]
mov edi, eax
call fcn.00444f6c
mov esi, dword [ebp + 0x60]
cmp word [esi], bx
je 0x499136
cmp word [esi + 2], 0x3a
je 0x499136
lea eax, [ebp + 0x58]
push eax
push esi
call fcn.00413660
pop ecx
pop ecx
push dword [ebp + 0x58]
lea ecx, [ebp + 0x20]
call fcn.0044e88f
mov esi, dword [eax]
cmp word [edi], bx
je 0x49915b
cmp word [edi + 2], 0x3a
je 0x49915b
lea eax, [ebp + 0x58]
push eax
push edi
call fcn.00413660
pop ecx
pop ecx
push dword [ebp + 0x58]
lea ecx, [ebp + 0x68]
call fcn.0044e88f
mov edi, dword [eax]
push 0x20
lea ecx, [ebp + 0x7c]
call fcn.00444f8a
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.00452893
mov eax, dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x5c]
add esp, 0x1c
add eax, 4
push eax
push dword [ebp + 0x50]
call fcn.00444692
lea ecx, [ebp + 0x7c]
call fcn.0043e825
lea ecx, [ebp + 0x58]
call fcn.0043e825
lea ecx, [ebp + 0x68]
jmp 0x49945b
cmp byte [ebp + 0x57], bl
mov dword [ebp + 0x4c], ebx
jne 0x4993a0
mov esi, dword [ebp + 0x50]
cmp word [esi], bx
je 0x4993a0
mov eax, dword [ebp + 0x48]
cmp word [eax], 0x2a
jne 0x4991ee
push 0x105
lea ecx, [ebp + 0x48]
call fcn.00444fb1
mov eax, dword [ebp + 0x48]
mov word [eax], bx
push dword [ebp + 0x48]
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp dword [0x4dd284], ebx
je 0x499083
push dword [ebp + 0x60]
call fcn.004ade73
test eax, eax
pop ecx
jne 0x499225
push dword [ebp + 0x60]
lea ecx, [ebp + 0x7c]
call fcn.0044e827
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x5c]
call fcn.0041c291
lea ecx, [ebp + 0x7c]
call fcn.0043e825
push dword [ebp + 0x60]
call fcn.004ade73
test eax, eax
pop ecx
je 0x499083
cmp dword [ebp + 0x58], ebx
jne 0x49924a
push esi
call fcn.004ae00b
test eax, eax
pop ecx
je 0x499083
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 0x49926d
test byte [ebp - 0x3c], 1
jne 0x499278
mov eax, dword [ebp + 0x48]
cmp word [eax], bx
mov dword [ebp + 0x68], eax
jne 0x49927b
mov dword [ebp + 0x68], ebx
cmp dword [ebp + 0x58], ebx
mov dword [ebp + 0x7c], ebx
je 0x499298
cmp dword [ebp + 0x30], ebx
jne 0x49928f
mov dword [ebp + 0x7c], 0x100
cmp dword [ebp + 0x34], ebx
je 0x499298
or byte [ebp + 0x7d], 2
xor eax, eax
inc eax
cmp dword [ebp + 0x58], ebx
je 0x4992ac
lea eax, [ebp + 0x7c]
push eax
push esi
call fcn.00481d93
pop ecx
pop ecx
mov edi, dword [ebp + 0x44]
sar eax, 8
movzx esi, al
dec esi
cmp edi, 0x80000000
jne 0x4992c1
xor edi, edi
inc edi
push dword [ebp + 0x50]
call fcn.004ae00b
test eax, eax
pop ecx
je 0x499322
cmp dword [ebp + 0x30], ebx
je 0x4992ee
cmp edi, ebx
jge 0x4992da
xor edi, edi
inc edi
push dword [ebp + 0x68]
push edi
push dword [ebp + 0x50]
push dword [ebp + 0x60]
call fcn.004526fe
add esp, 0x10
jmp 0x499305
cmp edi, ebx
jge 0x4992f5
xor edi, edi
inc edi
push dword [ebp + 0x68]
push edi
push dword [ebp + 0x50]
push dword [ebp + 0x60]
call dword [0x4dd284]
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.004111e0
add esp, 0x18
cmp dword [ebp + 0x58], ebx
je 0x499339
cmp dword [ebp + 0x34], ebx
jne 0x499339
mov eax, dword [ebp + 0x7c]
cmp ax, bx
je 0x499339
call fcn.00440603
cmp esi, ebx
jl 0x499363
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.00464a29
lea ecx, [ebp + 0x18]
call fcn.0043e825
lea ecx, [ebp + 0x48]
call fcn.0043e825
lea ecx, [ebp + 0x1c]
call fcn.0043e825
lea ecx, [ebp + 0x20]
call fcn.0043e825
lea ecx, [ebp + 0x38]
call fcn.0043e825
lea ecx, [ebp - 0x18]
call fcn.0043e825
xor eax, eax
cmp dword [ebp + 0x4c], ebx
sete al
jmp 0x4995ab
lea ecx, [ebp + 0x7c]
call fcn.00444f6c
mov esi, dword [ebp + 0x60]
cmp word [esi], bx
je 0x4993d3
cmp word [esi + 2], 0x3a
je 0x4993d3
lea eax, [ebp + 0x7c]
push eax
push esi
call fcn.00413660
pop ecx
pop ecx
push dword [ebp + 0x7c]
lea ecx, [ebp + 0x20]
call fcn.0044e88f
mov esi, dword [eax]
mov dword [ebp + 0x60], esi
mov eax, dword [ebp + 0x50]
cmp word [eax], bx
je 0x4993fe
cmp word [eax + 2], 0x3a
je 0x4993fe
lea ecx, [ebp + 0x7c]
push ecx
push eax
call fcn.00413660
pop ecx
pop ecx
push dword [ebp + 0x7c]
lea ecx, [ebp + 0x38]
call fcn.0044e88f
mov eax, dword [eax]
mov dword [ebp + 0x50], eax
or dword [ebp + 0x34], 0xffffffff
cmp word [esi], bx
jne 0x49943b
cmp word [eax], bx
je 0x499436
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.00452893
add esp, 0x1c
test eax, eax
je 0x499453
lea esi, [ebp - 0x314]
mov dword [ebp + 0x60], esi
cmp word [esi], bx
je 0x499453
cmp dword [0x4dd288], ebx
jne 0x499448
xor ebx, ebx
inc ebx
jmp 0x499458
push esi
call fcn.004ade73
test eax, eax
pop ecx
jne 0x499497
mov ebx, 0x80070057
lea ecx, [ebp + 0x7c]
call fcn.0043e825
lea ecx, [ebp + 0x18]
call fcn.0043e825
lea ecx, [ebp + 0x48]
call fcn.0043e825
lea ecx, [ebp + 0x1c]
call fcn.0043e825
lea ecx, [ebp + 0x20]
call fcn.0043e825
lea ecx, [ebp + 0x38]
call fcn.0043e825
lea ecx, [ebp - 0x18]
call fcn.0043e825
mov eax, ebx
jmp 0x4995ab
mov eax, dword [ebp + 0x50]
cmp word [eax], bx
mov dword [ebp + 0x3c], eax
jne 0x4994a5
mov dword [ebp + 0x3c], ebx
cmp word [esi], bx
mov dword [ebp + 0x68], esi
jne 0x4994b0
mov dword [ebp + 0x68], ebx
cmp dword [ebp + 0x44], 0x80000000
jne 0x4994bc
mov dword [ebp + 0x44], ebx
xor edi, edi
inc edi
cmp dword [ebp + 0x34], ebx
mov esi, edi
jg 0x499514
cmp dword [ebp + 0x30], ebx
je 0x4994e6
xor eax, eax
cmp dword [ebp + 0x44], ebx
push ebx
setne al
push eax
push dword [ebp + 0x60]
call fcn.00441d31
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x49950f
cmp dword [ebp + 0x44], 0x80000000
je 0x4994f8
cmp dword [ebp + 0x44], ebx
je 0x4994f8
mov eax, edi
jmp 0x4994fa
xor eax, eax
push eax
push ebx
push dword [ebp + 0x3c]
push dword [ebp + 0x68]
call dword [0x4dd288]
mov esi, eax
neg esi
sbb esi, esi
inc esi
cmp dword [ebp + 0x34], ebx
je 0x499571
cmp esi, ebx
je 0x499571
cmp dword [0x4dd28c], ebx
je 0x499571
cmp dword [0x4dd2c4], ebx
setne al
cmp al, bl
je 0x499548
xor eax, eax
cmp dword [ebp + 0x44], ebx
push edi
setne al
push eax
push dword [ebp + 0x60]
call fcn.00441d31
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x499571
cmp dword [ebp + 0x44], 0x80000000
je 0x49955a
cmp dword [ebp + 0x44], ebx
je 0x49955a
mov eax, edi
jmp 0x49955c
xor eax, eax
push eax
push ebx
push dword [ebp + 0x3c]
push dword [ebp + 0x68]
call dword [0x4dd28c]
mov esi, eax
neg esi
sbb esi, esi
inc esi
lea ecx, [ebp + 0x7c]
call fcn.0043e825
lea ecx, [ebp + 0x18]
call fcn.0043e825
lea ecx, [ebp + 0x48]
call fcn.0043e825
lea ecx, [ebp + 0x1c]
call fcn.0043e825
lea ecx, [ebp + 0x20]
call fcn.0043e825
lea ecx, [ebp + 0x38]
call fcn.0043e825
lea ecx, [ebp - 0x18]
call fcn.0043e825
mov eax, esi
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8