Function at 0x427f20
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549993
mov eax, dword fs:[0]
push eax
sub esp, 0x2e8
mov eax, dword [0x5c5b9c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0x2c8], ecx
mov dword [ebp - 0x2d0], ebx
call fcn.0043d2a1
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x427f79
push 0x80004005
call fcn.00401020
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2d4], eax
mov edi, 7
xor ecx, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x25c], edi
mov dword [ebp - 0x260], ebx
mov word [ebp - 0x270], cx
xor edx, edx
mov dword [ebp - 0x278], edi
mov dword [ebp - 0x27c], ebx
mov word [ebp - 0x28c], dx
xor eax, eax
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], ax
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x244], ebx
mov word [ebp - 0x254], cx
mov byte [ebp - 4], 4
call fcn.0043d2a1
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x428003
push 0x80004005
call fcn.00401020
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2f0], eax
mov byte [ebp - 4], 5
call fcn.00445a97
mov ecx, dword [eax + 4]
lea ecx, [ecx + 0xb8]
call fcn.004042d0
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x428031
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x270]
call fcn.004026d0
call fcn.00445a97
mov ecx, dword [eax + 4]
lea ecx, [ecx + 0xb8]
call fcn.00404330
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x428065
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28c]
call fcn.004026d0
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x270]
push ecx
lea ecx, [ebp - 0x254]
call fcn.004025d0
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x28c]
push edx
lea ecx, [ebp - 0x254]
call fcn.00405ca0
mov eax, dword [ebp - 0x2c8]
mov ecx, dword [eax + 0x18]
mov eax, ecx
lea esi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4280c0
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x238]
call fcn.004026d0
push 2
push 0xffffffffffffffff
push 0x5742f0
lea ecx, [ebp - 0x238]
call fcn.004234f0
xor ecx, ecx
mov esi, eax
mov dword [ebp - 0x294], edi
mov dword [ebp - 0x298], ebx
mov word [ebp - 0x2a8], cx
mov byte [ebp - 4], 6
cmp esi, 0xffffffff
je 0x4281c3
cmp esi, ebx
jbe 0x4281c3
push esi
push ebx
lea edx, [ebp - 0x2c4]
push edx
lea ecx, [ebp - 0x238]
call fcn.004237c0
push eax
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 7
call fcn.00406710
mov edi, 8
mov byte [ebp - 4], 6
cmp dword [ebp - 0x2b0], edi
jb 0x428160
mov eax, dword [ebp - 0x2c4]
push eax
call fcn.0043c798
add esp, 4
mov ecx, dword [ebp - 0x228]
sub ecx, esi
inc ecx
push ecx
inc esi
push esi
lea edx, [ebp - 0x2c4]
push edx
lea ecx, [ebp - 0x238]
call fcn.004237c0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 8
call fcn.00405ca0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x2b0], edi
jb 0x4281ac
mov eax, dword [ebp - 0x2c4]
push eax
call fcn.0043c798
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x2a8]
push ecx
lea ecx, [ebp - 0x238]
call fcn.004025d0
jmp 0x4281c8
mov edi, 8
mov eax, dword [ebp - 0x238]
cmp dword [ebp - 0x224], edi
jae 0x4281dc
lea eax, [ebp - 0x238]
push eax
push str.pFrom___1_s__n
push 5
call fcn.00411380
mov eax, dword [ebp - 0x254]
add esp, 0xc
cmp dword [ebp - 0x240], edi
jae 0x428200
lea eax, [ebp - 0x254]
push eax
push str.pTo___1_s__n
push 5
call fcn.00411380
mov eax, dword [ebp - 0x270]
add esp, 0xc
cmp dword [ebp - 0x25c], edi
jae 0x428224
lea eax, [ebp - 0x270]
push eax
push str.strDriverStoreRoot___1_s__n
push 5
call fcn.00411380
mov eax, dword [ebp - 0x28c]
add esp, 0xc
cmp dword [ebp - 0x278], edi
jae 0x428248
lea eax, [ebp - 0x28c]
push eax
push str.strDriverStoreModel___1_s__n
push 5
call fcn.00411380
mov esi, dword [ebp - 0x2c8]
mov ecx, dword [esi + 0x98]
add esp, 0xc
mov bl, 9
mov byte [ebp - 4], bl
test ecx, ecx
jne 0x4282d5
push 0x8c
cmp dword [esi + 4], ecx
je 0x42829c
call fcn.0043c75e
add esp, 4
mov dword [ebp - 0x2e0], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x4282c1
mov edx, dword [esi + 0x14]
push edx
push 0x67
mov ecx, eax
call fcn.00430bb0
jmp 0x4282c3
call fcn.0043c75e
add esp, 4
mov dword [ebp - 0x2e0], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x4282c1
mov ecx, dword [esi + 0x14]
push ecx
push 0x66
mov ecx, eax
call fcn.00430bb0
jmp 0x4282c3
xor eax, eax
mov ecx, eax
mov dword [esi + 0x98], eax
mov byte [ebp - 4], bl
call fcn.0042f850
jmp 0x4282da
call fcn.0042f8a0
mov eax, dword [ebp - 0x238]
mov dword [ebp - 4], 6
cmp dword [ebp - 0x224], edi
jae 0x4282f5
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x42830f
mov dword [ebp - 0x2d0], 0x2711
jmp 0x42876e
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x2cc], 0
cmp dword [ebp - 0x224], edi
jae 0x42832d
lea eax, [ebp - 0x238]
lea edx, [ebp - 0x2cc]
push edx
push eax
call fcn.00408020
add esp, 8
mov edi, eax
mov esi, edx
call fcn.00445a97
mov ecx, dword [eax + 4]
lea ecx, [ecx + 0xb8]
call fcn.00403da0
cdq
push edx
mov ebx, eax
push ebx
push str.CInstallAction::CopyDriverFiles_GetRequiredDiskspaceMB__I64uMB_n
lea eax, [ebp - 0x21c]
push 0x104
push eax
mov dword [ebp - 0x2d8], edx
call fcn.005322c4
lea ecx, [ebp - 0x21c]
push ecx
push 4
call fcn.00411380
mov eax, dword [ebp - 0x2d8]
shld eax, ebx, 0x14
push eax
shl ebx, 0x14
push ebx
push str.CInstallAction::CopyDriverFiles_GetRequiredDiskspaceMB__I64ubyte_n
lea edx, [ebp - 0x21c]
push 0x104
push edx
mov dword [ebp - 0x2dc], ebx
mov dword [ebp - 0x2d8], eax
call fcn.005322c4
lea eax, [ebp - 0x21c]
push eax
push 4
call fcn.00411380
mov eax, dword [ebp - 0x270]
add esp, 0x38
cmp dword [ebp - 0x25c], 8
jae 0x4283da
lea eax, [ebp - 0x270]
push eax
call fcn.004033a0
add esp, 4
cmp dword [ebp - 0x240], 8
mov dword [ebp - 0x2ec], eax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x2e8], edx
jae 0x428404
lea eax, [ebp - 0x254]
push 0
push eax
call fcn.00408020
add esp, 8
add edi, 0x500000
adc esi, 0
mov ebx, eax
mov dword [ebp - 0x2e0], edx
cmp esi, dword [ebp - 0x2d8]
ja 0x42843e
jb 0x428432
cmp edi, dword [ebp - 0x2dc]
jae 0x42843e
mov edi, dword [ebp - 0x2dc]
mov esi, dword [ebp - 0x2d8]
push esi
push edi
push str.CInstallAction::CopyDriverFiles_1.required____I64u_n
lea ecx, [ebp - 0x21c]
push 0x104
push ecx
call fcn.005322c4
lea edx, [ebp - 0x21c]
push edx
push 4
call fcn.00411380
mov eax, dword [ebp - 0x2e0]
push eax
push ebx
push str.CInstallAction::CopyDriverFiles_2.targetdir___I64u_n
lea ecx, [ebp - 0x21c]
push 0x104
push ecx
call fcn.005322c4
lea edx, [ebp - 0x21c]
push edx
push 4
call fcn.00411380
mov eax, dword [ebp - 0x2e8]
mov ecx, dword [ebp - 0x2ec]
push eax
push ecx
push str.CInstallAction::CopyDriverFiles_3.freesize____I64u_n
lea edx, [ebp - 0x21c]
push 0x104
push edx
call fcn.005322c4
add esp, 0x4c
lea eax, [ebp - 0x21c]
push eax
push 4
call fcn.00411380
add ebx, dword [ebp - 0x2ec]
mov eax, dword [ebp - 0x2e0]
adc eax, dword [ebp - 0x2e8]
mov ecx, ebx
mov ebx, eax
push ebx
push ecx
push str.CInstallAction::CopyDriverFiles_2__3_________I64u_n
mov dword [ebp - 0x2dc], ecx
lea ecx, [ebp - 0x21c]
push 0x104
push ecx
call fcn.005322c4
lea edx, [ebp - 0x21c]
push edx
push 4
call fcn.00411380
add esp, 0x24
cmp esi, ebx
ja 0x428710
jb 0x428520
cmp edi, dword [ebp - 0x2dc]
jae 0x428710
mov eax, dword [ebp - 0x2dc]
sub eax, edi
sbb ebx, esi
push ebx
push eax
push str.CInstallAction::CopyDriverFiles_1._enough_diskspace_by_overwriting.___I64u__n
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.005322c4
lea ecx, [ebp - 0x21c]
push ecx
push 4
call fcn.00411380
mov edx, dword [ebp - 0x2c8]
mov ecx, dword [edx + 0x98]
add esp, 0x1c
test ecx, ecx
je 0x42856c
push 0x64
push 0
call fcn.0042f720
cmp dword [ebp - 0x224], 8
mov ecx, dword [ebp - 0x238]
jae 0x428581
lea ecx, [ebp - 0x238]
mov ebx, dword [ebp - 0x2c8]
mov eax, dword [ebx + 0x98]
push eax
push ecx
mov ecx, ebx
call fcn.00425ac0
test eax, eax
jne 0x42862e
mov esi, dword [0x5c1220]
lea eax, [ebp - 0x2cc]
push eax
lea ecx, [ebp - 0x2e8]
push ecx
lea ecx, [esi + 4]
mov dword [ebp - 0x2cc], 0x2af9
call fcn.00405af0
mov eax, dword [eax]
cmp eax, dword [esi + 8]
je 0x4285d6
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x2cc], edx
jmp 0x4285e0
mov dword [ebp - 0x2cc], 0
lea eax, [ebp - 0x2e0]
push eax
lea ecx, [ebp - 0x2d8]
push ecx
lea ecx, [esi + 4]
mov dword [ebp - 0x2e0], 0x2af9
call fcn.00405af0
mov eax, dword [eax]
cmp eax, dword [esi + 8]
je 0x42860c
mov eax, dword [eax + 0x10]
jmp 0x42860e
xor eax, eax
mov edx, dword [ebp - 0x2cc]
push edx
push eax
push 0x2af9
mov ecx, ebx
call fcn.00423b70
mov dword [ebx + 8], 0xffffffff
jmp 0x42876e
mov ecx, dword [ebx + 0x98]
test ecx, ecx
je 0x428641
push 0
push 0x64
call fcn.0042f5d0
push 0
mov ecx, ebx
call fcn.00426120
test eax, eax
je 0x42876e
mov esi, ebx
mov ecx, dword [esi + 0x98]
test ecx, ecx
je 0x428671
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov dword [esi + 0x98], 0
cmp dword [esi + 0x9c], 0
je 0x428681
mov dword [esi + 8], 0x64
lea ecx, [ebp - 0x2a8]
call fcn.004021b0
mov eax, dword [ebp - 0x2f0]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4286b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x254]
call fcn.004021b0
lea ecx, [ebp - 0x238]
call fcn.004021b0
lea ecx, [ebp - 0x28c]
call fcn.004021b0
lea ecx, [ebp - 0x270]
call fcn.004021b0
mov eax, dword [ebp - 0x2d4]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428b1c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x428b1c
sub edi, dword [ebp - 0x2dc]
lea ecx, [ebp - 0x21c]
sbb esi, ebx
push esi
push edi
push str.CInstallAction::CopyDriverFiles_2._not_enough_diskspace_when_overwrite_the_target_dir.____I64u__n
push 0x104
push ecx
call fcn.005322c4
lea edx, [ebp - 0x21c]
push edx
push 4
call fcn.00411380
add edi, 0x100000
adc esi, 0
shrd edi, esi, 0x14
shr esi, 0x14
push esi
push edi
lea eax, [ebp - 0x2d4]
push 0x2716
push eax
mov dword [ebp - 0x2d0], 0x2716
call fcn.00406250
add esp, 0x2c
mov esi, dword [ebp - 0x2c8]
mov ecx, dword [esi + 0x98]
xor edi, edi
mov dword [esi + 8], 0xffffffff
cmp ecx, edi
je 0x428796
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esi + 0x98], edi
mov esi, dword [ebp - 0x2d0]
cmp esi, edi
je 0x4288ba
mov ecx, dword [ebp - 0x2d4]
cmp dword [ecx - 0xc], edi
mov edi, dword [0x5c1220]
lea edx, [ebp - 0x2e0]
lea eax, [ebp - 0x2d8]
push edx
mov dword [ebp - 0x2e0], esi
push eax
lea ecx, [edi + 4]
jle 0x428859
call fcn.00405af0
mov eax, dword [eax]
cmp eax, dword [edi + 8]
je 0x4287e7
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x2cc], ecx
jmp 0x4287f1
mov dword [ebp - 0x2cc], 0
lea edx, [ebp - 0x2e0]
push edx
lea eax, [ebp - 0x2e8]
push eax
lea ecx, [edi + 4]
mov dword [ebp - 0x2e0], esi
call fcn.00405af0
mov eax, dword [eax]
cmp eax, dword [edi + 8]
je 0x428819
mov esi, dword [eax + 0x10]
jmp 0x42881b
xor esi, esi
mov edx, dword [ebp - 0x2d4]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x428843
push 0
lea ecx, [ebp - 0x2d4]
call fcn.004012e0
mov edx, dword [ebp - 0x2d4]
mov ecx, dword [ebp - 0x2cc]
push ecx
mov ecx, dword [ebp - 0x2c8]
push esi
push edx
call fcn.00423cf0
jmp 0x4288b8
call fcn.00405af0
mov eax, dword [eax]
cmp eax, dword [edi + 8]
je 0x428870
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x2cc], ecx
jmp 0x42887a
mov dword [ebp - 0x2cc], 0
lea edx, [ebp - 0x2e0]
push edx
lea eax, [ebp - 0x2e8]
push eax
lea ecx, [edi + 4]
mov dword [ebp - 0x2e0], esi
call fcn.00405af0
mov eax, dword [eax]
cmp eax, dword [edi + 8]
je 0x4288a2
mov eax, dword [eax + 0x10]
jmp 0x4288a4
xor eax, eax
mov ecx, dword [ebp - 0x2cc]
push ecx
mov ecx, dword [ebp - 0x2c8]
push eax
push esi
call fcn.00423b70
xor edi, edi
mov ebx, 8
cmp dword [ebp - 0x294], ebx
jb 0x4288d6
mov edx, dword [ebp - 0x2a8]
push edx
call fcn.0043c798
add esp, 4
xor eax, eax
mov word [ebp - 0x2a8], ax
mov eax, dword [ebp - 0x2f0]
mov esi, 7
add eax, 0xfffffff0
mov dword [ebp - 0x294], esi
mov dword [ebp - 0x298], edi
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428916
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x240], ebx
jb 0x42892d
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.0043c798
add esp, 4
xor edx, edx
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x244], edi
mov word [ebp - 0x254], dx
cmp dword [ebp - 0x224], ebx
jb 0x428959
mov eax, dword [ebp - 0x238]
push eax
call fcn.0043c798
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x228], edi
mov word [ebp - 0x238], cx
cmp dword [ebp - 0x278], ebx
jb 0x428985
mov edx, dword [ebp - 0x28c]
push edx
call fcn.0043c798
add esp, 4
xor eax, eax
mov dword [ebp - 0x278], esi
mov dword [ebp - 0x27c], edi
mov word [ebp - 0x28c], ax
cmp dword [ebp - 0x25c], ebx
jb 0x4289b1
mov ecx, dword [ebp - 0x270]
push ecx
call fcn.0043c798
add esp, 4
xor edx, edx
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x260], edi
mov word [ebp - 0x270], dx
jmp 0x4286de
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00530f8d
mov esp, ebp
pop ebp
ret