Function at 0x1009d042
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.1003f9c4
push 4
pop edi
push edi
lea eax, [ebp + 0x78]
push eax
push str._svr
call fcn.10048195
xor ebx, ebx
add esp, 0x10
cmp al, bl
mov byte [ebp + 0x43], al
jne 0x1009d094
push edi
lea eax, [ebp + 0x78]
push eax
push str._vhd
call fcn.10048195
add esp, 0xc
test al, al
mov byte [ebp + 0x67], 1
jne 0x1009d097
mov byte [ebp + 0x67], bl
mov al, byte [ebp + 0x67]
or al, byte [ebp + 0x43]
jne 0x1009d28b
push edi
lea eax, [ebp + 0x78]
push eax
push str._udm
call fcn.10048195
add esp, 0xc
test al, al
je 0x1009d28b
mov esi, dword [ebp + 0x78]
push edi
lea eax, [ebp + 0x78]
push eax
push str.upud
mov dword [ebp + 0x34], ebx
call fcn.10048195
add esp, 0xc
test al, al
je 0x1009d0e2
mov dword [ebp + 0x34], 0x80000000
jmp 0x1009d0fd
push 6
lea eax, [ebp + 0x78]
push eax
push str.listud
call fcn.10048195
add esp, 0xc
test al, al
je 0x1009d223
lea ecx, [ebp + 0x4c]
mov dword [ebp + 0x1c], ebx
call fcn.10046123
mov ecx, dword [ebp + 0x5c]
push 1
push ebx
lea eax, [ebp + 0x4c]
push eax
push dword [ebp + 0x78]
call fcn.10057b62
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.10048195
mov ecx, dword [ebp + 0x78]
add esp, 0xc
cmp ecx, ebx
je 0x1009d14e
mov dx, word [ecx]
cmp dx, 0x2d
je 0x1009d14e
cmp dx, 0x5c
je 0x1009d14e
mov al, 1
cmp al, bl
je 0x1009d16a
push 0xd
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x7c]
push eax
mov dword [ebp + 0x7c], ecx
call fcn.1001a65a
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.10048195
add esp, 0xc
test al, al
je 0x1009d1b0
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2a
jne 0x1009d19e
add dword [ebp + 0x78], 2
push 0x3d
pop esi
mov dword [ebp + 0x28], ebx
jmp 0x1009d1b0
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1005381f
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.1001a65a
add esp, 0xc
mov dword [ebp + 0x78], eax
xor edi, edi
cmp word [eax], bx
je 0x1009d1d4
mov edi, eax
lea ecx, [ebp + 0x68]
call fcn.10046123
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.1003d5a1
mov ecx, dword [ebp + 0x5c]
add esp, 0x18
push dword [ebp + 0x68]
push dword [ebp + 0x7c]
call fcn.100457c2
lea ecx, [ebp + 0x68]
call fcn.1003f96c
lea ecx, [ebp + 0x4c]
call fcn.1003f96c
xor eax, eax
jmp 0x1009dfd8
movzx esi, word [esi]
mov eax, esi
or eax, 0x20
cmp ax, 0x61
jb 0x1009d237
cmp ax, 0x7a
jbe 0x1009d254
mov eax, esi
call fcn.10045bd6
test al, al
jne 0x1009d254
cmp si, 0x61
jb 0x1009d24e
cmp si, 0x66
jbe 0x1009d254
cmp si, 0x78
jne 0x1009d25b
mov eax, str._._22:INDATA
jmp 0x1009d260
mov eax, str._._22:INDATA_mount
push 0xffffffffffffffff
push eax
lea ecx, [ebp + 0x7c]
call fcn.10050221
push dword [ebp + 0x78]
lea ecx, [ebp + 0x7c]
call fcn.1004618f
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x5c]
call fcn.1002335d
mov esi, eax
lea ecx, [ebp + 0x7c]
jmp 0x1009dfd1
push dword [ebp + 0x5c]
lea ecx, [ebp - 0x18]
call fcn.10048516
mov edi, 0x100c6a64
push edi
lea ecx, [ebp + 0x38]
call fcn.100501eb
push edi
lea ecx, [ebp + 0x20]
call fcn.100501eb
push edi
lea ecx, [ebp + 0x1c]
call fcn.100501eb
push edi
lea ecx, [ebp + 0x48]
call fcn.100501eb
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 0x1009d2ef
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 0x1009d512
lea eax, [esi + 2]
push 5
push eax
push str.query
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1009d336
mov byte [ebp + 0x6f], 1
jmp 0x1009d4e5
push 3
lea eax, [esi + 2]
push eax
push 0x100d3454
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1009d3a2
lea eax, [ebp + 0x78]
add esi, 8
push eax
mov dword [ebp + 0x78], esi
call fcn.1003f9c4
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x14], eax
lea eax, [ebp + 0x78]
push eax
call fcn.10005b74
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
pop ecx
pop ecx
je 0x1009d37c
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.1003aaa0
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x14], eax
lea eax, [ebp + 0x78]
push eax
call fcn.1003f9c4
jmp 0x1009d4ee
push 1
lea eax, [esi + 2]
push eax
push 0x100cc620
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1009d3c2
mov byte [ebp + 0x57], 1
jmp 0x1009d4e5
push 1
lea eax, [esi + 2]
push eax
push 0x100d3450
call fcn.10040d9e
add esp, 0xc
test al, al
jne 0x1009d463
push 2
lea eax, [esi + 2]
push eax
push 0x100d344c
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1009d400
or dword [ebp + 0x28], 0xffffffff
mov dword [ebp + 0x4c], ebx
jmp 0x1009d4e5
push 1
lea eax, [esi + 2]
push eax
push 0x100cc60c
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1009d423
mov dword [ebp + 0x30], 2
jmp 0x1009d4e5
push 2
lea eax, [esi + 2]
push eax
push 0x100d3448
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1009d446
mov dword [ebp + 0x30], 3
jmp 0x1009d4e5
push 3
lea eax, [esi + 2]
push eax
push 0x100d3444
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1009d46c
lea eax, [ebp + 0xc]
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x4c], 1
jmp 0x1009d4e5
push 1
lea eax, [esi + 2]
push eax
push 0x100d1c58
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1009d48c
mov dword [ebp + 8], 1
jmp 0x1009d4e5
push 1
lea eax, [esi + 2]
push eax
push 0x100d3440
call fcn.10040d9e
add esp, 0xc
test al, al
je 0x1009d4ac
mov dword [ebp + 0x10], 2
jmp 0x1009d4e5
push 2
lea eax, [esi + 2]
push eax
push 0x100d343c
call fcn.10040df5
add esp, 0xc
test al, al
je 0x1009d512
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.1004bbf7
lea eax, [ebp + 0x78]
push eax
call fcn.10005b74
add esp, 0xc
lea eax, [ebp + 0x78]
push eax
call fcn.10008e60
mov esi, dword [ebp + 0x78]
movzx eax, word [esi]
cmp dword [ebp + 0x58], eax
pop ecx
je 0x1009d316
jmp 0x1009d512
cmp ax, 0x21
jne 0x1009d51a
inc esi
inc esi
mov dword [ebp + 0x34], 1
mov dword [ebp + 0x78], esi
mov ax, word [esi]
cmp ax, bx
jne 0x1009d500
lea eax, [ebp + 0x78]
push eax
call fcn.1003f9c4
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.1003aaa0
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 0x1009d556
cmp cx, 0x2f
jne 0x1009d57b
cmp cx, dx
jne 0x1009d572
cmp word [eax + 2], dx
jne 0x1009d572
mov cx, word [eax + 4]
cmp cx, 0x3f
je 0x1009d56c
cmp cx, 0x2e
jne 0x1009d572
cmp word [eax + 6], dx
je 0x1009d57b
mov dword [ebp + 0x58], 1
jmp 0x1009d57e
mov dword [ebp + 0x58], ebx
cmp byte [ebp + 0x6f], bl
jne 0x1009d5d0
cmp dword [ebp + 0x58], ebx
je 0x1009d5d0
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.10046168
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.10005b3b
add esp, 0xc
lea ecx, [ebp + 0x68]
call fcn.1003f96c
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x1009d5f2
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.1003aaa0
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 0x1009d618
cmp byte [ebp + 0x67], bl
je 0x1009d6e2
jmp 0x1009d650
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x1009d699
add dword [ebp + 0x78], 2
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x22
jne 0x1009d631
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.1005b693
push eax
call fcn.1004930e
add esp, 0xc
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x1009d672
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.1003aaa0
mov dword [ebp + 0x78], eax
cmp byte [ebp + 0x6f], bl
je 0x1009d699
cmp byte [ebp + 0x67], bl
je 0x1009d6e2
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x1009d6d3
add dword [ebp + 0x78], 2
lea eax, [ebp]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.10042530
pop ecx
pop ecx
jmp 0x1009d6d3
cmp byte [ebp + 0x67], bl
je 0x1009d6e2
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x1009d6d3
inc eax
inc eax
mov dword [ebp + 0x78], eax
mov dword [ebp + 0x2c], eax
push 0x2c
lea eax, [ebp + 0x78]
call fcn.100a1095
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
pop ecx
je 0x1009d6c8
mov word [eax], bx
add dword [ebp + 0x78], 2
mov eax, dword [ebp + 0x2c]
cmp word [eax], bx
je 0x1009d6d3
lea esi, [ebp - 0xc]
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x3c], eax
mov dword [ebp + 0x68], 1
je 0x1009d6e5
mov dword [ebp + 0x68], ebx
cmp byte [ebp + 0x67], bl
je 0x1009d99f
mov edi, 0x100e38ec
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.100431a1
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
cmp byte [ebp + 0x57], bl
je 0x1009d72c
cmp dword [ebp + 0x68], ebx
setne al
lea eax, [eax + eax + 0x10000]
push eax
push dword [ebp + 0x50]
call fcn.1004a8b2
pop ecx
pop ecx
mov ebx, eax
jmp 0x1009de8d
cmp dword [ebp + 0x68], ebx
setne al
dec eax
cmp byte [ebp + 0x6f], bl
mov dword [ebp + 0x58], eax
je 0x1009d778
mov ecx, dword [ebp + 0x5c]
push ebx
push 0xffffffffffffffff
push ebx
push dword [ebp + 0x60]
mov dword [ebp + 0x58], ebx
call fcn.10010cdd
mov edx, eax
cmp edx, ebx
jne 0x1009d75d
mov ebx, 0x80070057
jmp 0x1009de8d
cmp dword [ebp + 4], ebx
jl 0x1009d77b
mov eax, dword [ebp]
jg 0x1009d76b
cmp eax, ebx
jb 0x1009d77b
mov ecx, dword [edx + 4]
mov dword [ecx], eax
mov eax, dword [ebp + 4]
mov dword [ecx + 4], eax
jmp 0x1009d77b
mov edx, dword [ebp + 0x44]
cmp dword [ebp + 0x30], ebx
je 0x1009d84b
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.1004bbf7
mov eax, dword [ebp + 0x60]
cmp word [eax], bx
pop ecx
pop ecx
je 0x1009d7a8
add dword [ebp + 0x60], 2
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 0x60]
push eax
call fcn.1004bbf7
mov eax, dword [ebp + 0x24]
or eax, dword [ebp + 0x28]
pop ecx
pop ecx
je 0x1009d7c5
mov eax, dword [ebp + 0x60]
mov word [eax], bx
xor eax, eax
inc eax
cmp dword [ebp + 8], ebx
je 0x1009d7cf
xor eax, eax
cmp dword [ebp + 0x28], ebx
jg 0x1009d830
jl 0x1009d7df
cmp dword [ebp + 0x24], 0x100000
jae 0x1009d830
cmp word [esi], bx
jne 0x1009d830
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.10046141
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.100457c2
jmp 0x1009de85
push dword [ebp - 8]
push dword [ebp + 0x30]
push eax
push esi
push dword [ebp + 0x50]
call fcn.10054810
add esp, 0x14
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x58], eax
jmp 0x1009d7eb
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 0x1009d871
cmp cx, 0x2a
je 0x1009d871
or eax, 2
cmp dword [ebp + 0x68], ebx
je 0x1009d87e
cmp dword [ebp + 0x28], ebx
jg 0x1009d87e
or eax, 1
mov ecx, dword [ebp + 0x48]
cmp word [ecx], bx
jne 0x1009d88b
or eax, 0x10000
cmp byte [ebp + 0x6f], bl
jne 0x1009d897
cmp edx, ebx
jg 0x1009d897
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.1009cb46
add esp, 0x1c
cmp esi, ebx
mov dword [ebp + 0x68], eax
je 0x1009d977
mov edi, dword [esi]
cmp edi, ebx
je 0x1009d977
mov eax, dword [ebp + 0x2c]
cmp word [eax], 0x7e
jne 0x1009d8f2
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 0x1009d977
mov eax, dword [ebp + 0x2c]
mov ax, word [eax]
cmp ax, 0x2e
je 0x1009d924
cmp ax, 0x40
jne 0x1009d968
mov edi, dword [ebp + 0x7c]
cmp edi, ebx
jne 0x1009d937
mov edi, dword [ebp + 0x5c]
push edi
push edi
call fcn.10012b49
mov edi, dword [edi + 0x28]
cmp edi, ebx
pop ecx
pop ecx
jne 0x1009d937
mov eax, dword [ebp + 0x2c]
add eax, 2
push eax
push dword [esi]
push dword [ebp + 0x5c]
call fcn.1004884d
jmp 0x1009d974
mov eax, dword [ebp + 0x2c]
add eax, 2
push eax
lea ecx, [ebp + 0x7c]
call fcn.100501eb
push ebx
push ebx
push 0xffffffffffffffff
push ebx
push dword [esi]
lea eax, [ebp + 0x7c]
push eax
push dword [edi + 0x1a4]
mov ecx, edi
call fcn.1004671b
lea ecx, [ebp + 0x7c]
call fcn.1003f96c
jmp 0x1009d977
push dword [ebp + 0x2c]
push ecx
push dword [ebp + 0x5c]
call fcn.1002d145
add esp, 0xc
cmp byte [ebp + 0x6f], bl
je 0x1009d7eb
mov eax, dword [ebp + 0x48]
cmp word [eax], bx
je 0x1009d997
push eax
push dword [ebp + 0x58]
push dword [ebp + 0x5c]
call fcn.1004884d
add esp, 0xc
mov ebx, dword [ebp + 0x68]
jmp 0x1009de8d
cmp byte [ebp + 0x6f], bl
jne 0x1009d9c1
mov eax, dword [ebp + 0x60]
cmp word [eax], bx
jne 0x1009d9c1
cmp byte [ebp + 0x57], bl
je 0x1009d753
mov eax, dword [ebp + 0x50]
cmp word [eax], bx
je 0x1009d753
cmp byte [ebp + 0x43], bl
je 0x1009da73
push 0xffffffffffffffff
push str._._22:INDATA_mount_wimsvr__
lea ecx, [ebp + 0x7c]
call fcn.10050221
push dword [ebp + 0x50]
lea ecx, [ebp + 0x7c]
mov word [ebp - 0xb4], bx
call fcn.1004618f
mov esi, 0x100cae94
push esi
lea ecx, [ebp + 0x7c]
call fcn.1004618f
push dword [ebp + 0x60]
lea ecx, [ebp + 0x7c]
call fcn.1004618f
push esi
lea ecx, [ebp + 0x7c]
call fcn.1004618f
mov eax, dword [ebp + 0x44]
cmp eax, ebx
jl 0x1009da35
cdq
push edx
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.100a0e43
add esp, 0xc
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp + 0x7c]
call fcn.1004618f
push esi
lea ecx, [ebp + 0x7c]
call fcn.1004618f
push dword [ebp + 0x48]
lea ecx, [ebp + 0x7c]
call fcn.1004618f
push 0x100caf0c
lea ecx, [ebp + 0x7c]
call fcn.1004618f
push dword [ebp + 0x78]
lea ecx, [ebp + 0x7c]
call fcn.1004618f
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x5c]
call fcn.1002335d
mov ebx, eax
jmp 0x1009de85
mov esi, 0x100e3914
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 0x14]
lea ecx, [ebp + 0x78]
call fcn.10040f7e
lea ecx, [ebp + 0x78]
call fcn.10040f65
push esi
mov dword [ebp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp + 0x30], ebx
jge 0x1009dab8
push str.WIM_DLL_ERR_r_n
push dword [ebp + 0x5c]
call fcn.10011029
pop ecx
pop ecx
xor ebx, ebx
inc ebx
jmp 0x1009de8d
cmp byte [ebp + 0x6f], bl
je 0x1009dbd9
cmp dword [0x100e32a8], ebx
jne 0x1009dad1
push 0x78
pop ebx
jmp 0x1009de8d
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 0x1009daec
mov word [eax], bx
inc eax
inc eax
mov dword [ebp + 0x28], eax
cmp word [esi], bx
je 0x1009d753
lea ecx, [ebp + 0x68]
call fcn.10046123
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2c
jne 0x1009db28
add dword [ebp + 0x78], 2
push 1
push 0x2c
lea eax, [ebp + 0x78]
push eax
lea ecx, [ebp - 0x18]
call fcn.1005b693
push ebx
lea ecx, [ebp + 0x68]
push ecx
push eax
call fcn.1004907a
add esp, 0xc
push dword [ebp + 0x68]
call fcn.100132bf
pop ecx
lea ecx, [ebp + 0x58]
mov edi, eax
call fcn.10046123
mov esi, dword [ebp + 0x60]
cmp word [esi], bx
je 0x1009db63
cmp word [esi + 2], 0x3a
je 0x1009db63
lea eax, [ebp + 0x58]
push eax
push esi
call fcn.10013659
pop ecx
pop ecx
push dword [ebp + 0x58]
lea ecx, [ebp + 0x20]
call fcn.1005026c
mov esi, dword [eax]
cmp word [edi], bx
je 0x1009db88
cmp word [edi + 2], 0x3a
je 0x1009db88
lea eax, [ebp + 0x58]
push eax
push edi
call fcn.10013659
pop ecx
pop ecx
push dword [ebp + 0x58]
lea ecx, [ebp + 0x68]
call fcn.1005026c
mov edi, dword [eax]
push 0x20
lea ecx, [ebp + 0x7c]
call fcn.10046141
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.1005462b
mov eax, dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x5c]
add esp, 0x1c
add eax, 4
push eax
push dword [ebp + 0x50]
call fcn.100457c2
lea ecx, [ebp + 0x7c]
call fcn.1003f96c
lea ecx, [ebp + 0x58]
call fcn.1003f96c
lea ecx, [ebp + 0x68]
jmp 0x1009de88
cmp byte [ebp + 0x57], bl
mov dword [ebp + 0x4c], ebx
jne 0x1009ddcd
mov esi, dword [ebp + 0x50]
cmp word [esi], bx
je 0x1009ddcd
mov eax, dword [ebp + 0x48]
cmp word [eax], 0x2a
jne 0x1009dc1b
push 0x105
lea ecx, [ebp + 0x48]
call fcn.10046168
mov eax, dword [ebp + 0x48]
mov word [eax], bx
push dword [ebp + 0x48]
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp dword [0x100e329c], ebx
je 0x1009dab0
push dword [ebp + 0x60]
call fcn.100b36d9
test eax, eax
pop ecx
jne 0x1009dc52
push dword [ebp + 0x60]
lea ecx, [ebp + 0x7c]
call fcn.100501eb
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x5c]
call fcn.1001c43f
lea ecx, [ebp + 0x7c]
call fcn.1003f96c
push dword [ebp + 0x60]
call fcn.100b36d9
test eax, eax
pop ecx
je 0x1009dab0
cmp dword [ebp + 0x58], ebx
jne 0x1009dc77
push esi
call fcn.100b3871
test eax, eax
pop ecx
je 0x1009dab0
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 0x1009dc9a
test byte [ebp - 0x3c], 1
jne 0x1009dca5
mov eax, dword [ebp + 0x48]
cmp word [eax], bx
mov dword [ebp + 0x68], eax
jne 0x1009dca8
mov dword [ebp + 0x68], ebx
cmp dword [ebp + 0x58], ebx
mov dword [ebp + 0x7c], ebx
je 0x1009dcc5
cmp dword [ebp + 0x30], ebx
jne 0x1009dcbc
mov dword [ebp + 0x7c], 0x100
cmp dword [ebp + 0x34], ebx
je 0x1009dcc5
or byte [ebp + 0x7d], 2
xor eax, eax
inc eax
cmp dword [ebp + 0x58], ebx
je 0x1009dcd9
lea eax, [ebp + 0x7c]
push eax
push esi
call fcn.10086119
pop ecx
pop ecx
mov edi, dword [ebp + 0x44]
sar eax, 8
movzx esi, al
dec esi
cmp edi, 0x80000000
jne 0x1009dcee
xor edi, edi
inc edi
push dword [ebp + 0x50]
call fcn.100b3871
test eax, eax
pop ecx
je 0x1009dd4f
cmp dword [ebp + 0x30], ebx
je 0x1009dd1b
cmp edi, ebx
jge 0x1009dd07
xor edi, edi
inc edi
push dword [ebp + 0x68]
push edi
push dword [ebp + 0x50]
push dword [ebp + 0x60]
call fcn.10054496
add esp, 0x10
jmp 0x1009dd32
cmp edi, ebx
jge 0x1009dd22
xor edi, edi
inc edi
push dword [ebp + 0x68]
push edi
push dword [ebp + 0x50]
push dword [ebp + 0x60]
call dword [0x100e329c]
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.10011029
add esp, 0x18
cmp dword [ebp + 0x58], ebx
je 0x1009dd66
cmp dword [ebp + 0x34], ebx
jne 0x1009dd66
mov eax, dword [ebp + 0x7c]
cmp ax, bx
je 0x1009dd66
call fcn.100417df
cmp esi, ebx
jl 0x1009dd90
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.100663a0
lea ecx, [ebp + 0x18]
call fcn.1003f96c
lea ecx, [ebp + 0x48]
call fcn.1003f96c
lea ecx, [ebp + 0x1c]
call fcn.1003f96c
lea ecx, [ebp + 0x20]
call fcn.1003f96c
lea ecx, [ebp + 0x38]
call fcn.1003f96c
lea ecx, [ebp - 0x18]
call fcn.1003f96c
xor eax, eax
cmp dword [ebp + 0x4c], ebx
sete al
jmp 0x1009dfd8
lea ecx, [ebp + 0x7c]
call fcn.10046123
mov esi, dword [ebp + 0x60]
cmp word [esi], bx
je 0x1009de00
cmp word [esi + 2], 0x3a
je 0x1009de00
lea eax, [ebp + 0x7c]
push eax
push esi
call fcn.10013659
pop ecx
pop ecx
push dword [ebp + 0x7c]
lea ecx, [ebp + 0x20]
call fcn.1005026c
mov esi, dword [eax]
mov dword [ebp + 0x60], esi
mov eax, dword [ebp + 0x50]
cmp word [eax], bx
je 0x1009de2b
cmp word [eax + 2], 0x3a
je 0x1009de2b
lea ecx, [ebp + 0x7c]
push ecx
push eax
call fcn.10013659
pop ecx
pop ecx
push dword [ebp + 0x7c]
lea ecx, [ebp + 0x38]
call fcn.1005026c
mov eax, dword [eax]
mov dword [ebp + 0x50], eax
or dword [ebp + 0x34], 0xffffffff
cmp word [esi], bx
jne 0x1009de68
cmp word [eax], bx
je 0x1009de63
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.1005462b
add esp, 0x1c
test eax, eax
je 0x1009de80
lea esi, [ebp - 0x314]
mov dword [ebp + 0x60], esi
cmp word [esi], bx
je 0x1009de80
cmp dword [0x100e32a0], ebx
jne 0x1009de75
xor ebx, ebx
inc ebx
jmp 0x1009de85
push esi
call fcn.100b36d9
test eax, eax
pop ecx
jne 0x1009dec4
mov ebx, 0x80070057
lea ecx, [ebp + 0x7c]
call fcn.1003f96c
lea ecx, [ebp + 0x18]
call fcn.1003f96c
lea ecx, [ebp + 0x48]
call fcn.1003f96c
lea ecx, [ebp + 0x1c]
call fcn.1003f96c
lea ecx, [ebp + 0x20]
call fcn.1003f96c
lea ecx, [ebp + 0x38]
call fcn.1003f96c
lea ecx, [ebp - 0x18]
call fcn.1003f96c
mov eax, ebx
jmp 0x1009dfd8
mov eax, dword [ebp + 0x50]
cmp word [eax], bx
mov dword [ebp + 0x3c], eax
jne 0x1009ded2
mov dword [ebp + 0x3c], ebx
cmp word [esi], bx
mov dword [ebp + 0x68], esi
jne 0x1009dedd
mov dword [ebp + 0x68], ebx
cmp dword [ebp + 0x44], 0x80000000
jne 0x1009dee9
mov dword [ebp + 0x44], ebx
xor edi, edi
inc edi
cmp dword [ebp + 0x34], ebx
mov esi, edi
jg 0x1009df41
cmp dword [ebp + 0x30], ebx
je 0x1009df13
xor eax, eax
cmp dword [ebp + 0x44], ebx
push ebx
setne al
push eax
push dword [ebp + 0x60]
call fcn.10043029
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x1009df3c
cmp dword [ebp + 0x44], 0x80000000
je 0x1009df25
cmp dword [ebp + 0x44], ebx
je 0x1009df25
mov eax, edi
jmp 0x1009df27
xor eax, eax
push eax
push ebx
push dword [ebp + 0x3c]
push dword [ebp + 0x68]
call dword [0x100e32a0]
mov esi, eax
neg esi
sbb esi, esi
inc esi
cmp dword [ebp + 0x34], ebx
je 0x1009df9e
cmp esi, ebx
je 0x1009df9e
cmp dword [0x100e32a4], ebx
je 0x1009df9e
cmp dword [0x100e32dc], ebx
setne al
cmp al, bl
je 0x1009df75
xor eax, eax
cmp dword [ebp + 0x44], ebx
push edi
setne al
push eax
push dword [ebp + 0x60]
call fcn.10043029
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x1009df9e
cmp dword [ebp + 0x44], 0x80000000
je 0x1009df87
cmp dword [ebp + 0x44], ebx
je 0x1009df87
mov eax, edi
jmp 0x1009df89
xor eax, eax
push eax
push ebx
push dword [ebp + 0x3c]
push dword [ebp + 0x68]
call dword [0x100e32a4]
mov esi, eax
neg esi
sbb esi, esi
inc esi
lea ecx, [ebp + 0x7c]
call fcn.1003f96c
lea ecx, [ebp + 0x18]
call fcn.1003f96c
lea ecx, [ebp + 0x48]
call fcn.1003f96c
lea ecx, [ebp + 0x1c]
call fcn.1003f96c
lea ecx, [ebp + 0x20]
call fcn.1003f96c
lea ecx, [ebp + 0x38]
call fcn.1003f96c
lea ecx, [ebp - 0x18]
call fcn.1003f96c
mov eax, esi
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8