Function at 0x41c693
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x9b8
push ebx
push esi
push edi
mov esi, ecx
push 0x49062c
mov dword [ebp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.0040a2f2
push 0x104
lea eax, [ebp - 0x944]
push eax
push 0x2711
xor ebx, ebx
push ebx
call fcn.004264fd
add esp, 0x10
lea ecx, [ebp + 0x28]
mov dword [ebp - 0x38], eax
mov dword [0x48fe3c], ebx
mov dword [0x48fe40], ebx
mov dword [ebp + 0x30], 0x80000000
call fcn.0042aeb8
push 0x47df4c
lea ecx, [ebp + 4]
mov dword [ebp - 4], ebx
call fcn.00434695
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x2c], esi
mov dword [0x48fe30], eax
mov byte [0x48fe34], bl
mov dword [0x48fe38], ebx
call fcn.0040b702
mov ecx, 0x60000
cmp eax, ecx
sbb dl, dl
inc dl
cmp eax, ecx
mov dword [ebp - 0x48], eax
mov byte [ebp + 0x37], dl
jb 0x41c745
cmp eax, 0x6ffff
mov byte [ebp + 0x5f], 1
jbe 0x41c748
mov byte [ebp + 0x5f], bl
lea ecx, [ebp + 0x58]
mov byte [ebp + 0x36], bl
mov byte [0x48fe4c], bl
call fcn.0042aeb8
push 7
pop ecx
xor eax, eax
mov esi, str._SystemRoot__
lea edi, [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x1c]
lea edi, [ebp - 0x54]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 1
stosd dword es:[edi], eax
push ebx
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00439f58
push dword [ebp + 0x58]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x28], eax
add eax, 0x1e
push eax
lea ecx, [ebp + 0x58]
call fcn.0042aeff
cmp byte [ebp + 0x5f], bl
jl 0x41c7d1
push dword [ebp + 0x58]
lea ecx, [ebp + 0x20]
call fcn.00434695
push str.System32Drvload.exe
lea ecx, [ebp + 0x20]
call fcn.0042af26
push dword [ebp + 0x20]
call fcn.0046646e
neg eax
sbb al, al
pop ecx
lea ecx, [ebp + 0x20]
and eax, 3
mov byte [ebp + 0x5f], al
call fcn.0042602e
mov al, byte [ebp + 0x5f]
mov byte [ebp + 0x18], al
mov dword [ebp + 0x60], 1
mov byte [ebp + 0x6c], bl
inc byte [ebp + 0x6c]
push 2
pop edi
push dword [ebp + 0x7c]
lea ecx, [ebp - 4]
mov byte [0x48fe35], bl
call fcn.00426075
mov eax, dword [ebp - 4]
lea ecx, [ebp + 0x70]
mov dword [ebp + 0x70], eax
mov byte [ebp + 0x57], bl
mov dword [0x48fe48], ebx
mov dword [0x48fe38], ebx
mov byte [ebp + 0x13], 2
call fcn.00409aad
push 8
push dword [ebp + 0x70]
xor esi, esi
push str.listdev:
mov byte [ebp + 0x3f], bl
mov byte [ebp + 0x5e], 2
mov byte [ebp + 0x6f], bl
mov byte [ebp + 0x5d], bl
mov byte [ebp + 0x6d], bl
mov byte [0x48fe4d], bl
mov dword [ebp + 0x14], esi
mov dword [ebp + 0x20], ebx
call fcn.00426f79
add esp, 0xc
test al, al
je 0x41c89c
mov ecx, dword [ebp + 0x70]
add ecx, 0x10
xor eax, eax
mov dword [ebp + 0x70], ecx
mov ax, word [ecx]
cmp ax, bx
mov byte [ebp + 0x6f], 0x10
je 0x41c870
call fcn.00426083
test al, al
jne 0x41c870
mov dword [ebp + 0x20], ecx
lea eax, [ebp + 0x70]
push eax
call fcn.00403adb
mov eax, dword [ebp + 0x70]
cmp word [eax], bx
pop ecx
je 0x41c888
mov word [eax], bx
add dword [ebp + 0x70], edi
lea ecx, [ebp + 0x70]
call fcn.00409aad
mov eax, dword [ebp + 0x20]
cmp word [eax], bx
je 0x41d7c8
mov eax, dword [ebp + 0x70]
cmp word [eax], 0x2a
mov byte [ebp + 0x6e], 0xff
mov dword [ebp + 0x2c], ebx
jne 0x41ccfd
push 8
lea eax, [ebp + 0x70]
push eax
push str.extract
call fcn.0042c7e8
add esp, 0xc
test al, al
je 0x41c8d4
mov byte [ebp + 0x6d], 1
mov byte [ebp + 0x5e], 1
jmp 0x41cce4
push 8
lea eax, [ebp + 0x70]
push eax
push str.nocheck
call fcn.0042c7e8
add esp, 0xc
test al, al
je 0x41c8f7
mov byte [0x48fe4d], 1
jmp 0x41cce4
push 7
lea eax, [ebp + 0x70]
push eax
push str.rescan
call fcn.0042c7e8
add esp, 0xc
test al, al
je 0x41c917
mov byte [ebp + 0x5d], 1
jmp 0x41cce4
push 9
lea eax, [ebp + 0x70]
push eax
push str.norescan
call fcn.0042c7e8
add esp, 0xc
test al, al
je 0x41c937
mov byte [ebp + 0x5d], 0xff
jmp 0x41cce4
push 6
lea eax, [ebp + 0x70]
push eax
push str.dummy
call fcn.0042c7e8
add esp, 0xc
test al, al
je 0x41c95a
mov byte [0x48fe34], 1
jmp 0x41cce4
push 4
lea eax, [ebp + 0x70]
push eax
push str.sub
call fcn.0042c7e8
add esp, 0xc
test al, al
je 0x41c97a
mov byte [ebp + 0x3f], 1
jmp 0x41cce4
push 5
lea eax, [ebp + 0x70]
push eax
push str.self
call fcn.0042c7e8
add esp, 0xc
test al, al
je 0x41c99a
mov byte [ebp + 0x3f], 2
jmp 0x41cce4
push 4
lea eax, [ebp + 0x70]
push eax
push str.7pe
call fcn.0042c7e8
add esp, 0xc
test al, al
je 0x41c9ba
mov byte [ebp + 0x18], 3
jmp 0x41cce4
push 8
lea eax, [ebp + 0x70]
push eax
push str.drvload
call fcn.0042c7e8
add esp, 0xc
test al, al
je 0x41c9dc
mov al, byte [ebp + 0x5f]
mov byte [ebp + 0x18], al
jmp 0x41cce4
push 6
lea eax, [ebp + 0x70]
push eax
push str.inner
call fcn.0042c7e8
add esp, 0xc
test al, al
je 0x41c9fc
mov byte [ebp + 0x18], 0xc0
jmp 0x41cce4
push 9
lea eax, [ebp + 0x70]
push eax
push str.nnverify
call fcn.0042c7e8
add esp, 0xc
test al, al
jne 0x41c8cb
push 8
lea eax, [ebp + 0x70]
push eax
push str.rverify
call fcn.0042c7e8
add esp, 0xc
test al, al
je 0x41ca36
mov byte [ebp + 0x5e], bl
jmp 0x41cce4
push 0xa
lea eax, [ebp + 0x70]
push eax
push str.listdevi
call fcn.0042c7e8
add esp, 0xc
test al, al
je 0x41ca5c
mov al, byte [ebp + 0x6f]
and al, 0xf2
or al, 2
mov byte [ebp + 0x6f], al
jmp 0x41cce4
push 0xa
lea eax, [ebp + 0x70]
push eax
push str.listdevc
call fcn.0042c7e8
add esp, 0xc
test al, al
je 0x41ca7c
mov al, byte [ebp + 0x6f]
and al, 0xf4
or al, 4
jmp 0x41ca54
push 4
lea eax, [ebp + 0x70]
push eax
push str.All
call fcn.0042c7e8
add esp, 0xc
test al, al
je 0x41ca9c
or byte [ebp + 0x6f], 0x20
jmp 0x41cce4
push 0xa
lea eax, [ebp + 0x70]
push eax
push 0x47de55
call fcn.0042c7e8
add esp, 0xc
test al, al
je 0x41cabc
mov byte [ebp + 0x57], 1
jmp 0x41cce4
push 0xb
lea eax, [ebp + 0x70]
push eax
push str.disverify
call fcn.0042c7e8
add esp, 0xc
test al, al
je 0x41cadc
mov byte [ebp + 0x57], 3
jmp 0x41cce4
push 7
push dword [ebp + 0x70]
push str.retid:
call fcn.00426f79
add esp, 0xc
test al, al
je 0x41cb3e
mov ecx, dword [ebp + 0x70]
add ecx, 0xe
xor eax, eax
mov dword [ebp + 0x70], ecx
mov ax, word [ecx]
cmp ax, bx
je 0x41cb19
call fcn.00426083
test al, al
jne 0x41cb19
lea eax, [ebp + 4]
mov dword [ebp - 0x3c], ecx
mov dword [0x48fe30], eax
lea eax, [ebp + 0x70]
push eax
call fcn.00403adb
mov eax, dword [ebp + 0x70]
cmp word [eax], bx
pop ecx
je 0x41cb31
mov word [eax], bx
add dword [ebp + 0x70], edi
lea ecx, [ebp + 0x70]
call fcn.00409aad
jmp 0x41cce4
push 0xa
push dword [ebp + 0x70]
push str.DevClass:
call fcn.00426f79
add esp, 0xc
test al, al
je 0x41cb78
mov ecx, dword [ebp + 0x70]
add ecx, 0x14
xor eax, eax
mov dword [ebp + 0x70], ecx
mov ax, word [ecx]
cmp ax, bx
je 0x41cb19
call fcn.00426083
test al, al
jne 0x41cb19
mov dword [0x48fe38], ecx
jmp 0x41cb19
push 7
push dword [ebp + 0x70]
push str.DevID:
call fcn.00426f79
add esp, 0xc
test al, al
je 0x41cbfc
add dword [ebp + 0x70], 0xe
mov eax, dword [ebp + 0x70]
movzx eax, word [eax]
cmp ax, bx
je 0x41cba9
call fcn.00426083
test al, al
jne 0x41cba9
mov esi, dword [ebp + 0x70]
lea eax, [ebp + 0x70]
push eax
call fcn.00403adb
mov eax, dword [ebp + 0x70]
cmp word [eax], bx
pop ecx
je 0x41cbc1
mov word [eax], bx
add dword [ebp + 0x70], edi
lea ecx, [ebp + 0x70]
call fcn.00409aad
cmp esi, ebx
je 0x41cce4
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, ebx
jle 0x41cbf5
cmp word [esi + eax*2 - 2], 0x26
jne 0x41cbed
mov word [esi + eax*2], bx
dec eax
cmp eax, ebx
jg 0x41cbdc
cmp eax, ebx
jg 0x41cce4
xor esi, esi
jmp 0x41cce4
push 7
push dword [ebp + 0x70]
push str.DevID:
call fcn.00426f79
add esp, 0xc
test al, al
je 0x41cc76
add dword [ebp + 0x70], 0xe
mov eax, dword [ebp + 0x70]
movzx eax, word [eax]
cmp ax, bx
je 0x41cc2d
call fcn.00426083
test al, al
jne 0x41cc2d
mov esi, dword [ebp + 0x70]
lea eax, [ebp + 0x70]
push eax
call fcn.00403adb
mov eax, dword [ebp + 0x70]
cmp word [eax], bx
pop ecx
je 0x41cc45
mov word [eax], bx
add dword [ebp + 0x70], edi
lea ecx, [ebp + 0x70]
call fcn.00409aad
cmp esi, ebx
je 0x41cce4
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, ebx
jle 0x41cbf5
cmp word [esi + eax*2 - 2], 0x26
jne 0x41cbed
mov word [esi + eax*2], bx
dec eax
cmp eax, ebx
jg 0x41cc60
jmp 0x41cbed
push 9
push dword [ebp + 0x70]
push str.disable:
call fcn.00426f79
add esp, 0xc
test al, al
je 0x41cc94
add dword [ebp + 0x70], edi
mov byte [ebp + 0x6e], bl
jmp 0x41ccae
push 8
push dword [ebp + 0x70]
push str.enable:
call fcn.00426f79
add esp, 0xc
test al, al
je 0x41ccda
mov byte [ebp + 0x6e], 1
mov ecx, dword [ebp + 0x70]
add ecx, 0x10
xor eax, eax
mov dword [ebp + 0x70], ecx
mov ax, word [ecx]
cmp ax, bx
je 0x41cb19
call fcn.00426083
test al, al
jne 0x41cb19
mov dword [ebp + 0x2c], ecx
jmp 0x41cb19
lea eax, [ebp + 0x70]
push eax
call fcn.00403b20
pop ecx
mov eax, dword [ebp + 0x70]
cmp word [eax], 0x2a
je 0x41c8b0
cmp byte [ebp + 0x57], bl
mov dword [ebp + 0x14], esi
jne 0x41d812
cmp byte [ebp + 0x18], bl
setl al
dec al
and eax, dword [ebp + 0x18]
or byte [ebp + 0x37], al
cmp byte [ebp + 0x6f], bl
mov byte [0x48fe4c], al
je 0x41cd1e
cmp dword [ebp + 0x20], ebx
je 0x41d826
cmp byte [ebp + 0x6e], bl
jl 0x41cd2c
cmp dword [ebp + 0x2c], ebx
jne 0x41d832
cmp dword [ebp + 0x14], ebx
push 0x200010
setne al
lea ecx, [ebp + 0x38]
mov byte [0x48fe35], al
call fcn.0042add7
mov eax, dword [ebp + 0x38]
push 8
add eax, 0x200000
push ebx
push eax
call fcn.00466780
mov eax, dword [ebp + 0x38]
lea esi, [eax + 2]
mov word [esi + 2], bx
mov word [esi], bx
mov dword [ebp + 0xc], eax
xor eax, eax
mov dword [ebp - 0x64], 0x1c
mov dword [ebp - 0x60], ebx
lea edi, [ebp - 0x5c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
cmp byte [ebp + 0x6f], bl
mov dword [ebp - 0x24], esi
stosd dword es:[edi], eax
jne 0x41cd92
cmp byte [ebp + 0x5e], 1
je 0x41cd92
lea ecx, [ebp + 0x30]
call fcn.0040b879
cmp byte [ebp + 0x5e], 2
jne 0x41cd9b
mov dword [ebp + 0x30], ebx
mov eax, dword [ebp + 0x70]
xor ecx, ecx
cmp word [eax], 0x24
mov dword [ebp + 0x50], ebx
sete cl
cmp ecx, ebx
mov dword [ebp + 0x40], ecx
je 0x41cdc1
jmp 0x41cdb6
inc dword [ebp + 0x50]
inc eax
inc eax
mov dword [ebp + 0x70], eax
cmp word [eax], 0x24
je 0x41cdb3
lea ecx, [ebp + 0x70]
call fcn.00409aad
mov edi, dword [sym.imp.SHLWAPI.dll_StrChrW]
push 0x2c
push dword [ebp + 0x70]
call edi
cmp eax, ebx
mov dword [ebp + 0x4c], eax
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x44], ebx
je 0x41ce18
add dword [ebp + 0x4c], 2
lea ecx, [ebp + 0x4c]
mov word [eax], bx
call fcn.00409aad
push 0x2c
push dword [ebp + 0x4c]
call edi
cmp eax, ebx
mov dword [ebp + 0x68], eax
je 0x41ce0f
add dword [ebp + 0x68], 2
lea ecx, [ebp + 0x68]
mov word [eax], bx
call fcn.00409aad
push dword [ebp + 0x4c]
call fcn.0040aea9
pop ecx
push dword [ebp + 0x70]
call fcn.0040aea9
cmp dword [ebp + 0x68], ebx
pop ecx
je 0x41ce56
push 0x2c
push dword [ebp + 0x68]
call edi
cmp eax, ebx
mov dword [ebp + 0x44], eax
je 0x41ce4d
mov word [eax], bx
inc eax
inc eax
lea ecx, [ebp + 0x44]
mov dword [ebp + 0x44], eax
call fcn.00409aad
push dword [ebp + 0x44]
call fcn.0040aea9
pop ecx
push dword [ebp + 0x68]
call fcn.0040aea9
pop ecx
push dword [ebp + 0x70]
call fcn.004662e5
pop ecx
push dword [ebp + 0x70]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
cmp edi, 4
jle 0x41ce90
mov eax, dword [ebp + 0x70]
lea eax, [eax + edi*2 - 8]
push str..INF
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
mov dword [ebp + 0x64], 1
je 0x41ce93
mov dword [ebp + 0x64], ebx
cmp dword [ebp - 0x18], ebx
jne 0x41cea6
cmp dword [ebp + 0x64], ebx
je 0x41cea6
mov dword [ebp - 0x1c], 1
jmp 0x41ceae
cmp dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
jne 0x41ced1
cmp edi, 4
jle 0x41ced1
mov eax, dword [ebp + 0x70]
lea eax, [eax + edi*2 - 8]
push str..CAB
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
mov dword [ebp + 0x2c], 1
je 0x41ced4
mov dword [ebp + 0x2c], ebx
cmp dword [ebp + 0x50], 1
je 0x41cef8
cmp dword [ebp + 0x64], ebx
je 0x41cee9
cmp dword [ebp + 0x40], ebx
je 0x41cee9
cmp dword [ebp + 0x68], ebx
jne 0x41cef8
cmp dword [ebp - 0x1c], ebx
je 0x41cef3
cmp dword [ebp + 0x40], ebx
jne 0x41cef8
mov byte [ebp + 0x6e], bl
jmp 0x41cefc
mov byte [ebp + 0x6e], 1
cmp dword [ebp + 0x2c], ebx
je 0x41cf2d
mov eax, dword [ebp + 0x4c]
cmp eax, ebx
je 0x41cf2d
or dword [ebp + 0x50], 0xffffffff
mov dword [ebp + 0x64], eax
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x64]
push eax
call fcn.0042dab0
mov eax, dword [ebp + 0x50]
cmp eax, ebx
pop ecx
pop ecx
jle 0x41cf2d
cmp eax, 0x14
jge 0x41cf2d
mov byte [ebp + 0x13], al
cmp byte [ebp + 0x6c], 1
jne 0x41cf7a
movsx eax, byte [ebp + 0x5d]
push eax
movsx eax, byte [0x48fe4d]
push eax
push dword [ebp + 0x40]
movsx eax, byte [0x48fe4c]
push dword [ebp - 0x1c]
push eax
push dword [ebp - 0x48]
lea eax, [ebp - 0x428]
push str.Ver_lX_bNt6_d_bINF_d_bInstall_d_notcheck_d_rescan_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x428]
push eax
push 0x47dd8c
push dword [ebp + 0x1c]
call fcn.0040b047
add esp, 0x2c
cmp byte [ebp + 0x5d], bl
jg 0x41cfab
cmp byte [ebp + 0x6f], bl
jne 0x41d022
cmp byte [ebp + 0x5d], bl
jl 0x41d016
cmp byte [0x48fe4c], bl
je 0x41d016
cmp dword [ebp - 0x1c], ebx
jne 0x41cfa3
cmp dword [ebp + 0x40], ebx
je 0x41d016
cmp byte [0x48fe4d], bl
jne 0x41d016
cmp byte [ebp + 0x6c], 1
jne 0x41cfc6
push 0x47a8e8
push 0x47dd74
push dword [ebp + 0x1c]
call fcn.0040b047
add esp, 0xc
push ebx
push ebx
lea eax, [ebp + 0x50]
push eax
mov dword [ebp + 0x50], ebx
call dword [sym.imp.SETUPAPI.dll_CM_Locate_DevNodeW]
mov edi, 0x48feb8
push 5
mov ecx, edi
mov dword [ebp + 0x64], eax
call fcn.0040b352
mov ecx, edi
push 5
call fcn.0040b352
cmp dword [ebp + 0x64], ebx
jne 0x41d007
push ebx
push dword [ebp + 0x50]
call dword [sym.imp.SETUPAPI.dll_CM_Reenumerate_DevNode]
mov ecx, edi
push 5
call fcn.0040b352
mov ecx, dword [ebp + 0x1c]
push 0x32
call fcn.0040b352
cmp byte [ebp + 0x6f], bl
jne 0x41d022
mov eax, dword [ebp + 0x70]
cmp word [eax], bx
je 0x41d8a2
lea ecx, [ebp + 0x24]
call fcn.0042aeb8
push dword [ebp + 0x70]
call fcn.0040ca55
push ebx
lea ecx, [ebp + 0x24]
push ecx
push eax
mov dword [ebp + 0x70], eax
call fcn.004334dc
mov dword [ebp + 0x70], eax
add esp, 0x10
xor eax, eax
cmp byte [ebp + 0x6f], bl
je 0x41d056
test byte [ebp + 0x6f], 0x20
jne 0x41d056
push 2
pop eax
or eax, 4
push eax
push ebx
push ebx
push ebx
call dword [0x48fdac]
cmp eax, 0xffffffff
mov dword [ebp + 0x64], eax
jne 0x41d077
cmp dword [ebp - 0x1c], ebx
mov dword [ebp + 0x64], ebx
je 0x41d8aa
test byte [ebp + 0x6f], 4
push 0
pop eax
setne al
lea ecx, [ebp + 0x48]
inc eax
mov dword [ebp - 0x34], eax
call fcn.0042aeb8
push 0x3f
xor eax, eax
pop ecx
mov word [ebp - 0x298], bx
lea edi, [ebp - 0x296]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x3f
xor eax, eax
cmp byte [ebp + 0x6d], bl
mov word [ebp - 0x198], bx
pop ecx
lea edi, [ebp - 0x196]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x64], 0x1c
jne 0x41d27e
cmp dword [ebp + 0x64], ebx
je 0x41d27e
mov eax, esi
sub eax, dword [ebp + 0xc]
mov dword [ebp + 0x50], ebx
cmp eax, 0x200000
jge 0x41d27e
push 0x1c
pop edi
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0x50]
push dword [ebp + 0x64]
call dword [0x48fdc0]
test eax, eax
je 0x41d27e
cmp byte [ebp + 0x6f], bl
je 0x41d17d
cmp dword [0x48fe38], ebx
je 0x41d13f
push ebx
push 0x80
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupDiClassNameFromGuidW]
push dword [0x48fe38]
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41d26b
test byte [ebp + 0x6f], 2
je 0x41d17d
push ebx
push 0x80
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0x64]
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdW]
mov eax, dword [ebp + 0x48]
cmp word [eax], bx
je 0x41d174
push 0x47ac0c
lea ecx, [ebp + 0x48]
call fcn.0042af26
lea eax, [ebp - 0x198]
push eax
jmp 0x41d1fa
mov eax, dword [0x48fdd0]
cmp eax, ebx
mov dword [ebp - 0x44], ebx
je 0x41d1a1
push ebx
push dword [ebp - 0x50]
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x40]
push ecx
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x40], 0x400
call eax
mov eax, dword [ebp + 0xc]
sub eax, esi
add eax, 0x200000
mov ecx, 0x800
cmp eax, ecx
mov word [esi + 2], bx
mov word [esi], bx
jle 0x41d1bd
mov eax, ecx
push ebx
push eax
push esi
push ebx
push dword [ebp - 0x34]
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0x64]
mov dword [ebp - 0x64], edi
call dword [0x48fdb0]
cmp eax, ebx
mov dword [ebp - 0x64], edi
je 0x41d26b
cmp byte [ebp + 0x6f], bl
je 0x41d204
mov eax, dword [ebp + 0x48]
cmp word [eax], bx
je 0x41d1f9
push 0x47ac0c
lea ecx, [ebp + 0x48]
call fcn.0042af26
push esi
lea ecx, [ebp + 0x48]
call fcn.0042af26
jmp 0x41d26b
push 4
push str.ACPI
push esi
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x41d26b
cmp byte [ebp + 0x6c], 1
jne 0x41d22e
push esi
push dword [ebp + 0x50]
push dword [ebp - 0x38]
push dword [ebp + 0x1c]
call fcn.0040b047
add esp, 0x10
xor ecx, ecx
xor edx, edx
xor eax, eax
mov ax, word [esi]
jmp 0x41d250
cmp ax, 0x26
jne 0x41d248
movsx eax, byte [ebp + 0x13]
inc edx
cmp edx, eax
jge 0x41d255
inc ecx
movzx eax, cx
mov ax, word [esi + eax*2]
cmp ax, bx
jne 0x41d239
movzx eax, cx
mov word [esi - 2], cx
lea esi, [esi + eax*2]
jmp 0x41d263
inc esi
inc esi
cmp word [esi], bx
jne 0x41d261
add esi, 4
inc dword [ebp + 0x50]
mov eax, esi
sub eax, dword [ebp + 0xc]
cmp eax, 0x200000
jl 0x41d0e8
cmp byte [ebp + 0x6f], bl
jne 0x41d8b6
cmp dword [ebp + 0x14], ebx
je 0x41d2c1
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [ebp - 0x24]
mov esi, eax
mov eax, dword [ebp + 0xc]
mov word [eax], si
lea eax, [esi + 1]
push eax
push dword [ebp + 0x14]
push edi
call fcn.00403ac3
lea esi, [edi + esi*2 + 2]
mov word [esi], bx
add esp, 0xc
inc esi
inc esi
mov word [esi + 4], bx
mov word [esi + 2], bx
push dword [ebp + 0x64]
mov word [esi - 2], bx
call dword [0x48fdb4]
cmp byte [ebp + 0x6d], bl
jne 0x41d2e8
push 0x47a8e8
push 0x47ac0c
push dword [ebp + 0x1c]
call fcn.0040b047
add esp, 0xc
mov eax, dword [ebp + 0x58]
mov edi, dword [ebp - 0x28]
push 8
mov esi, 0x47dd60
lea eax, [eax + edi*2]
push esi
push eax
call fcn.004669c0
add esp, 0xc
cmp dword [ebp - 0x1c], ebx
jne 0x41d994
cmp byte [ebp + 0x6e], bl
jne 0x41d994
cmp dword [ebp + 0x64], ebx
je 0x41d8cc
cmp byte [ebp + 0x6d], bl
jne 0x41d340
mov esi, dword [ebp + 0xc]
cmp word [esi], bx
je 0x41d8d8
cmp dword [ebp - 0x18], ebx
jne 0x41d8e4
cmp dword [ebp + 0x2c], ebx
je 0x41d8e4
mov esi, dword [ebp + 0x68]
cmp esi, ebx
mov dword [ebp - 0x10], ebx
je 0x41d380
cmp word [esi], bx
je 0x41d380
push esi
lea ecx, [ebp - 0x10]
call fcn.00426075
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [esi + eax*2 - 2], 0x5c
je 0x41d376
push 0x47ab8c
lea ecx, [ebp - 0x10]
call fcn.0042af26
mov eax, dword [ebp - 0x10]
mov dword [0x48fe44], eax
jmp 0x41d385
mov eax, dword [0x48fe44]
cmp byte [0x48fe4c], bl
je 0x41d417
cmp dword [ebp + 0x40], ebx
je 0x41d3f7
cmp eax, ebx
jne 0x41d3f7
mov esi, str._TEMP__
lea edi, [ebp - 0x98]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x88]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 8]
call fcn.0042aeb8
mov ecx, dword [ebp + 0x1c]
push 1
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.00439f58
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp + 0x28]
mov dword [0x48fe44], eax
call fcn.00418976
lea ecx, [ebp - 8]
mov dword [0x48fe44], eax
call fcn.0042602e
mov eax, dword [0x48fe44]
cmp byte [0x48fe4c], bl
je 0x41d417
cmp byte [ebp + 0x6d], bl
jne 0x41d417
cmp eax, ebx
je 0x41d417
cmp byte [0x48fe4d], bl
jne 0x41d417
mov dword [ebp + 0x40], 1
cmp byte [ebp + 0x36], bl
je 0x41d423
xor eax, eax
mov dword [0x48fe44], eax
cmp byte [0x48fe4d], bl
je 0x41d437
cmp eax, ebx
je 0x41d437
cmp dword [ebp + 0x44], ebx
je 0x41d437
mov dword [ebp + 0x40], ebx
mov ecx, dword [ebp - 0x28]
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 3
mov dword [ebp + 0x2c], eax
mov eax, dword [ebp + 0x58]
push 0xa
lea eax, [eax + ecx*2]
push str.INF_
push eax
call fcn.004669c0
add esp, 0xc
push 0x1040
lea ecx, [ebp - 0x20]
call fcn.0042aed6
xor eax, eax
mov dword [ebp - 0x738], ebx
mov ecx, 0x93
lea edi, [ebp - 0x734]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x738]
push eax
push dword [ebp + 0x70]
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], ebx
call fcn.004663ce
add esp, 0xc
cmp dword [ebp - 0x14], ebx
je 0x41d948
push dword [ebp + 0x70]
lea ecx, [ebp + 8]
call fcn.00434695
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x70]
call fcn.004306c9
pop ecx
pop ecx
push 0x47ab8c
lea ecx, [ebp + 8]
call fcn.0042af26
push str.DefaultInstall_132
lea ecx, [ebp]
call fcn.00434695
push dword [ebp]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call esi
push dword [ebp + 8]
mov dword [ebp - 0x18], eax
call esi
cmp dword [ebp + 0x40], ebx
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
mov word [eax + ecx*2], bx
jne 0x41d506
cmp byte [ebp + 0x6d], bl
jne 0x41d506
mov dword [ebp + 0x64], 1
jmp 0x41d50e
mov dword [ebp + 0x64], ebx
jmp 0x41d50e
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov word [eax], bx
test byte [ebp - 0x738], 0x10
mov dword [0x48fdd8], eax
mov dword [0x48fe48], ebx
jne 0x41d716
mov eax, dword [ebp + 8]
mov word [eax + ecx*2], bx
lea eax, [ebp - 0x70c]
push eax
lea ecx, [ebp + 8]
call fcn.0042af26
push dword [ebp + 0xc]
push 0x4187b0
push ebx
push dword [ebp + 8]
call dword [0x48fdc4]
cmp dword [ebp + 0x40], ebx
je 0x41d615
mov edi, dword [ebp - 0x20]
cmp edi, dword [0x48fdd8]
jae 0x41d60c
push edi
mov esi, edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp byte [ebp + 0x6c], 1
lea edi, [edi + eax*2 + 2]
jle 0x41d58d
push 0xffffffffffffffff
mov eax, esi
call fcn.0040b531
test eax, eax
pop ecx
jne 0x41d5fc
cmp byte [0x48fe4c], 3
mov dword [ebp + 0x4c], ebx
je 0x41d5b7
push dword [ebp + 0x2c]
or dword [ebp + 0x4c], 2
push edi
push esi
call fcn.0040b5b0
add esp, 0xc
cmp eax, ebx
mov dword [ebp + 0x64], eax
je 0x41d5fc
test byte [ebp + 0x4c], 1
jne 0x41d5d1
or dword [ebp + 0x4c], 1
push esi
push edi
call fcn.0040b74c
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp + 0x64], eax
je 0x41d5fc
test byte [ebp + 0x4c], 2
je 0x41d599
test byte [ebp + 0x4c], 4
jne 0x41d5fc
mov eax, dword [ebp]
mov ecx, dword [ebp - 0x18]
mov word [eax + ecx*2], bx
push edi
lea ecx, [ebp]
call fcn.0042af26
push 0x100000
push dword [ebp]
push ebx
push ebx
call fcn.0040b831
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [edi + eax*2 + 2]
jmp 0x41d560
cmp dword [ebp + 0x40], ebx
jne 0x41d716
cmp byte [0x48fe4d], bl
je 0x41d716
cmp dword [ebp + 0x44], ebx
je 0x41d716
mov eax, dword [0x48fe44]
cmp eax, ebx
je 0x41d716
push eax
lea ecx, [ebp - 0xc]
call fcn.00434695
push dword [ebp + 0x44]
lea ecx, [ebp - 0xc]
call fcn.0042af26
push dword [ebp - 0xc]
push 0x47dcfc
push dword [ebp + 0x1c]
call fcn.0040b047
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call fcn.004183c9
mov edi, eax
add esp, 0x14
cmp edi, ebx
mov esi, edi
jne 0x41d676
mov esi, 0x47a8e8
cmp byte [0x48fe4c], 3
mov dword [ebp + 0x68], ebx
je 0x41d6b4
or dword [ebp + 0x68], 2
cmp edi, ebx
je 0x41d69c
push dword [ebp + 0x2c]
push dword [ebp - 0xc]
push edi
call fcn.0040b5b0
add esp, 0xc
mov dword [ebp + 0x64], eax
inc dword [ebp + 0x68]
cmp dword [ebp + 0x68], 2
jge 0x41d707
cmp edi, ebx
je 0x41d6ae
cmp dword [ebp + 0x64], ebx
je 0x41d707
test byte [ebp + 0x68], 2
jne 0x41d6da
push esi
push dword [ebp - 0xc]
call fcn.0040b74c
mov dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x68]
or eax, 1
inc eax
cmp eax, 2
pop ecx
pop ecx
mov dword [ebp + 0x68], eax
jge 0x41d707
cmp dword [ebp + 0x64], ebx
je 0x41d707
test al, 2
je 0x41d682
test byte [ebp + 0x68], 4
jne 0x41d707
mov eax, dword [ebp]
mov ecx, dword [ebp - 0x18]
mov word [eax + ecx*2], bx
push dword [ebp - 0xc]
lea ecx, [ebp]
call fcn.0042af26
push 0x100000
push dword [ebp]
push ebx
push ebx
call fcn.0040b831
add esp, 0x10
cmp edi, ebx
je 0x41d70e
mov word [edi], bx
lea ecx, [ebp - 0xc]
call fcn.0042602e
lea eax, [ebp - 0x738]
push eax
lea ecx, [ebp - 0x14]
call fcn.00403bb2
test eax, eax
jne 0x41d50b
lea ecx, [ebp - 0x14]
call fcn.00402a12
cmp dword [ebp + 0x64], ebx
mov eax, dword [ebp + 4]
mov word [eax], 0x5f
jne 0x41d745
mov dword [ebp + 0x60], ebx
cmp dword [ebp + 0x40], ebx
je 0x41d951
cmp dword [0x48fe44], ebx
je 0x41d951
cmp byte [0x48fe4c], 1
jne 0x41d951
cmp byte [ebp + 0x36], bl
jne 0x41d951
cmp dword [ebp + 0x44], ebx
jne 0x41d951
lea ecx, [ebp]
mov dword [0x48fe44], ebx
mov byte [ebp + 0x36], 1
call fcn.0042602e
lea ecx, [ebp + 8]
call fcn.0042602e
lea ecx, [ebp - 0x14]
call fcn.00402a12
lea ecx, [ebp - 0x20]
call fcn.0042602e
lea ecx, [ebp - 0x10]
call fcn.0042602e
lea ecx, [ebp + 0x48]
call fcn.0042602e
lea ecx, [ebp + 0x24]
call fcn.0042602e
lea ecx, [ebp + 0x38]
call fcn.0042602e
jmp 0x41c7e1
lea ecx, [ebp + 0x58]
call fcn.0042602e
lea ecx, [ebp - 0x30]
call fcn.0040b88f
lea ecx, [ebp + 4]
call fcn.0042602e
lea ecx, [ebp - 4]
call fcn.0042602e
lea ecx, [ebp + 0x28]
call fcn.0041894f
lea ecx, [ebp + 0x28]
call fcn.0042602e
cmp dword [ebp + 0x30], ebx
jle 0x41d808
push ebx
push dword [ebp + 0x30]
call fcn.00429e59
pop ecx
pop ecx
mov ebx, 0x80070057
jmp 0x41dde3
xor eax, eax
mov al, byte [ebp + 0x57]
and eax, edi
shr eax, 1
push eax
push ebx
call fcn.00429e59
pop ecx
pop ecx
jmp 0x41d859
mov dword [ebp + 0x60], 0x80070057
jmp 0x41daec
push dword [ebp + 0x2c]
lea ecx, [ebp + 0x7c]
call fcn.0040f564
push pe_nt_image_headers32
push dword [eax]
movsx eax, byte [ebp + 0x6e]
push eax
call fcn.0042735a
add esp, 0xc
lea ecx, [ebp + 0x7c]
call fcn.0042602e
lea ecx, [ebp + 0x58]
call fcn.0042602e
lea ecx, [ebp - 0x30]
call fcn.0040b88f
lea ecx, [ebp + 4]
call fcn.0042602e
lea ecx, [ebp - 4]
call fcn.0042602e
lea ecx, [ebp + 0x28]
call fcn.0041894f
lea ecx, [ebp + 0x28]
call fcn.0042602e
cmp dword [ebp + 0x30], ebx
jle 0x41dde3
push ebx
push dword [ebp + 0x30]
call fcn.00429e59
pop ecx
pop ecx
jmp 0x41dde3
mov dword [ebp + 0x60], ebx
jmp 0x41dae4
mov dword [ebp + 0x60], 1
jmp 0x41dadc
push dword [ebp + 0x48]
mov ecx, dword [ebp + 0x1c]
push dword [ebp + 0x20]
call fcn.00429dbf
mov dword [ebp + 0x60], ebx
jmp 0x41dad4
mov dword [ebp + 0x60], 1
jmp 0x41dad4
mov dword [ebp + 0x60], 0x491
jmp 0x41dad4
push dword [ebp + 0x70]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
cmp eax, 1
jl 0x41d90c
mov ecx, dword [ebp + 0x70]
lea ecx, [ecx + eax*2]
mov dx, word [ecx]
cmp dx, 0x5c
je 0x41d908
cmp dx, 0x2f
jne 0x41d90c
mov word [ecx], bx
dec eax
cmp eax, ebx
jge 0x41d91c
mov dword [ebp + 0x60], 0x80070057
jmp 0x41dad4
mov ecx, dword [ebp + 0x4c]
cmp ecx, ebx
je 0x41d92a
cmp word [ecx], bx
jne 0x41d92a
xor ecx, ecx
xor eax, eax
mov al, byte [ebp + 0x3f]
or eax, 0x10
push eax
push ecx
push esi
push dword [ebp + 0x70]
call fcn.004184bb
add esp, 0x10
mov dword [ebp + 0x60], eax
jmp 0x41dad4
mov dword [ebp + 0x60], 2
jmp 0x41d97c
push 0x47a8e8
push 0x47ac0c
push dword [ebp + 0x1c]
mov dword [0x48fe44], ebx
call fcn.0040b047
add esp, 0xc
lea ecx, [ebp]
call fcn.0042602e
lea ecx, [ebp + 8]
call fcn.0042602e
lea ecx, [ebp - 0x14]
call fcn.00402a12
lea ecx, [ebp - 0x20]
call fcn.0042602e
lea ecx, [ebp - 0x10]
jmp 0x41dacf
cmp dword [ebp + 0x40], ebx
mov dword [ebp + 0x50], ebx
jne 0x41da0e
mov eax, dword [ebp + 0xc]
cmp word [eax], bx
jne 0x41da0e
cmp byte [0x48fe4d], bl
jne 0x41da0e
lea ecx, [ebp + 0x48]
call fcn.0042602e
lea ecx, [ebp + 0x24]
call fcn.0042602e
lea ecx, [ebp + 0x38]
call fcn.0042602e
lea ecx, [ebp + 0x58]
call fcn.0042602e
lea ecx, [ebp - 0x30]
call fcn.0040b88f
lea ecx, [ebp + 4]
call fcn.0042602e
lea ecx, [ebp - 4]
call fcn.0042602e
lea ecx, [ebp + 0x28]
call fcn.0041894f
lea ecx, [ebp + 0x28]
call fcn.0042602e
cmp dword [ebp + 0x30], ebx
jle 0x41da04
push ebx
push dword [ebp + 0x30]
call fcn.00429e59
pop ecx
pop ecx
mov ebx, 0x491
jmp 0x41dde3
lea eax, [edi + 4]
mov dword [ebp + 0x2c], eax
add eax, 0x3c
push eax
lea ecx, [ebp + 0x20]
call fcn.0042aed6
mov eax, dword [ebp + 0x58]
push 0x22
add edi, edi
add eax, edi
push str.System32DRIVERS
push eax
call fcn.004669c0
push dword [ebp + 0x58]
call fcn.004662e5
add esp, 0x10
test eax, eax
jne 0x41da4d
push ebx
push dword [ebp + 0x58]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp + 0x58]
push 8
add eax, edi
push esi
push eax
call fcn.004669c0
push dword [ebp + 0x58]
call fcn.004662e5
add esp, 0x10
test eax, eax
jne 0x41da74
push ebx
push dword [ebp + 0x58]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp + 0x58]
push 0xa
add edi, eax
push str.INF_
push edi
call fcn.004669c0
xor eax, eax
mov dword [ebp - 0x4e8], ebx
mov ecx, 0x93
lea edi, [ebp - 0x4e4]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x4e8]
push eax
push dword [ebp + 0x70]
lea eax, [ebp + 0x18]
push eax
mov dword [ebp + 0x18], ebx
call fcn.004663ce
add esp, 0x18
cmp dword [ebp + 0x18], ebx
jne 0x41db3d
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x60], 2
call fcn.00402a12
lea ecx, [ebp + 0x20]
call fcn.0042602e
lea ecx, [ebp + 0x48]
call fcn.0042602e
lea ecx, [ebp + 0x24]
call fcn.0042602e
lea ecx, [ebp + 0x38]
call fcn.0042602e
mov ecx, dword [ebp + 0x1c]
push ebx
call fcn.004488e0
lea ecx, [ebp + 0x58]
call fcn.0042602e
lea ecx, [ebp - 0x30]
call fcn.0040b88f
lea ecx, [ebp + 4]
call fcn.0042602e
lea ecx, [ebp - 4]
call fcn.0042602e
lea ecx, [ebp + 0x28]
call fcn.0041894f
lea ecx, [ebp + 0x28]
call fcn.0042602e
cmp dword [ebp + 0x30], ebx
jle 0x41db35
push ebx
push dword [ebp + 0x30]
call fcn.00429e59
pop ecx
pop ecx
mov ebx, dword [ebp + 0x60]
jmp 0x41dde3
push dword [ebp + 0x70]
lea ecx, [ebp + 0x60]
call fcn.00434695
lea eax, [ebp + 0x60]
push eax
push dword [ebp + 0x70]
call fcn.004306c9
pop ecx
pop ecx
push 0x47ab8c
lea ecx, [ebp + 0x60]
call fcn.0042af26
mov esi, dword [ebp + 0x68]
cmp esi, ebx
je 0x41db6f
cmp word [esi], bx
jne 0x41db74
mov esi, 0x47dcd0
mov eax, dword [ebp + 0x4c]
cmp eax, ebx
je 0x41db80
cmp word [eax], bx
jne 0x41db85
mov eax, str.DefaultInstall
push eax
lea ecx, [ebp + 0x44]
call fcn.00434695
mov edi, 0x47aff8
push edi
lea ecx, [ebp + 0x44]
call fcn.0042af26
push esi
lea ecx, [ebp + 0x44]
call fcn.0042af26
push edi
lea ecx, [ebp + 0x44]
call fcn.0042af26
push dword [ebp + 0x44]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call edi
push dword [ebp + 0x60]
mov dword [ebp - 0x38], eax
call edi
mov dword [ebp - 0x24], eax
test byte [ebp - 0x4e8], 0x10
jne 0x41dd51
mov eax, dword [ebp + 0x60]
mov ecx, dword [ebp - 0x24]
mov word [eax + ecx*2], bx
lea eax, [ebp - 0x4bc]
push eax
lea ecx, [ebp + 0x60]
call fcn.0042af26
mov esi, dword [ebp + 0x60]
lea ecx, [ebp + 0x14]
mov dword [ebp - 0x34], esi
mov byte [ebp + 0x7f], bl
call fcn.0042aeb8
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x28], ebx
mov word [eax], bx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0x14]
push eax
push esi
call fcn.004334dc
mov dword [ebp + 0x70], eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp + 0x14]
add esp, 0xc
sar eax, 1
cmp dword [ebp + 0x2c], eax
jne 0x41dc3e
push dword [ebp + 0x2c]
push dword [ebp + 0x14]
push dword [ebp + 0x58]
call fcn.00425fd2
add esp, 0xc
test al, al
je 0x41dc3e
mov byte [ebp + 0x7f], 1
push dword [ebp + 0x60]
push dword [ebp + 0xc]
call fcn.004183c9
cmp byte [0x48fe4d], bl
pop ecx
pop ecx
mov esi, eax
jne 0x41dc6d
cmp dword [ebp + 0x40], ebx
jne 0x41dc80
cmp byte [ebp + 0x37], bl
je 0x41dc64
cmp byte [ebp + 0x7f], bl
jne 0x41dc80
cmp esi, ebx
jne 0x41dc80
jmp 0x41dd49
push dword [ebp + 0x60]
push 0x47dcfc
push dword [ebp + 0x1c]
call fcn.0040b047
add esp, 0xc
cmp esi, ebx
mov dword [ebp - 8], esi
jne 0x41dc8e
mov dword [ebp - 8], 0x47a8e8
xor edi, edi
cmp dword [ebp + 0x40], ebx
mov dword [ebp + 0x7c], ebx
jne 0x41dcf1
cmp byte [0x48fe4c], 3
je 0x41dcc8
or dword [ebp + 0x7c], 2
cmp esi, ebx
mov edi, 0x100000
je 0x41dcc2
push ebx
push dword [ebp + 0x60]
push esi
call fcn.0040b5b0
add esp, 0xc
cmp eax, ebx
mov dword [ebp + 0x50], eax
je 0x41dd33
test byte [ebp + 0x7c], 1
jne 0x41dceb
push dword [ebp - 8]
or dword [ebp + 0x7c], 1
push dword [ebp + 0x60]
mov edi, 0x100000
call fcn.0040b74c
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp + 0x50], eax
je 0x41dd33
test byte [ebp + 0x7c], 2
je 0x41dca1
test byte [ebp + 0x7c], 4
jne 0x41dd33
cmp byte [0x48fe34], bl
jne 0x41dd33
mov eax, dword [ebp + 0x44]
mov ecx, dword [ebp - 0x38]
push dword [ebp - 0x34]
mov word [eax + ecx*2], bx
lea ecx, [ebp + 0x44]
call fcn.0042af26
push edi
push dword [ebp + 0x44]
push ebx
push ebx
call fcn.0040b831
add esp, 0x10
cmp eax, ebx
mov dword [ebp + 0x50], eax
jne 0x41dd33
cmp dword [0x48fe30], ebx
je 0x41dd33
mov edi, dword [ebp - 8]
call fcn.0040b554
cmp esi, ebx
je 0x41dd3a
mov word [esi], bx
mov eax, dword [ebp + 0x20]
cmp word [eax], bx
je 0x41dd49
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp + 0x14]
call fcn.0042602e
lea eax, [ebp - 0x4e8]
push eax
lea ecx, [ebp + 0x18]
call fcn.00403bb2
test eax, eax
jne 0x41dbc4
lea ecx, [ebp + 0x44]
call fcn.0042602e
lea ecx, [ebp + 0x60]
call fcn.0042602e
lea ecx, [ebp + 0x18]
call fcn.00402a12
lea ecx, [ebp + 0x20]
call fcn.0042602e
lea ecx, [ebp + 0x48]
call fcn.0042602e
lea ecx, [ebp + 0x24]
call fcn.0042602e
lea ecx, [ebp + 0x38]
call fcn.0042602e
lea ecx, [ebp + 0x58]
call fcn.0042602e
lea ecx, [ebp - 0x30]
call fcn.0040b88f
lea ecx, [ebp + 4]
call fcn.0042602e
lea ecx, [ebp - 4]
call fcn.0042602e
lea ecx, [ebp + 0x28]
call fcn.0041894f
lea ecx, [ebp + 0x28]
call fcn.0042602e
cmp dword [ebp + 0x30], ebx
jle 0x41dde0
push ebx
push dword [ebp + 0x30]
call fcn.00429e59
pop ecx
pop ecx
mov ebx, dword [ebp + 0x50]
mov eax, 0x49062c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov eax, ebx
pop ebx
add ebp, 0x74
leave
ret 4