Function at 0x402f40
Capabilities:
Create process on windows
Delete file
Delete registry key
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425dc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x850
push ebx
push esi
push edi
lea eax, [ebp - 0x654]
mov dword [ebp - 0x10], esp
mov ebx, ecx
push 0x434310
push eax
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
test byte [ebx + 0x84], 0x10
je 0x402fea
mov ecx, dword [0x430458]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebx + 0x8c]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
lea eax, [edx*8 + 0xbd7]
push eax
push ecx
call fcn.00419d0a
mov edx, dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 8
lea eax, [ebp - 0x654]
push edx
push eax
call esi
mov eax, dword [ebx + 0x84]
lea ecx, [ebp - 0x14]
or ah, 2
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x84], eax
call fcn.0041a7ec
jmp 0x402ff0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebx + 0x84]
test al, 0xc0
je 0x403624
lea ecx, [ebp - 0x254]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
or ecx, 0xffffffff
lea edi, [ebp - 0x254]
xor eax, eax
lea edx, [ebp - 0x150]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [ebp - 0x254]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, str.System32Drivers_
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x254]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x427670
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x150]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.inf_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x758]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x150]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
lea edx, [ebp - 0x150]
rep movsb byte es:[edi], byte [esi]
mov edi, str.ePass.inf
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x758]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.ePass.pnf
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebx + 0x84]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test dl, 0x40
lea esi, [ebp - 0x34]
je 0x403172
mov edi, str.Win98
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [ebp - 0x18], esi
mov esi, edi
mov edi, dword [ebp - 0x18]
mov eax, ecx
jmp 0x40318c
mov edi, str.Win2000
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp - 0x18], esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [ebp - 0x18]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test dl, 1
rep movsb byte es:[edi], byte [esi]
je 0x4033f2
lea ecx, [ebp - 0x254]
push ecx
push str.epass98.sys
call fcn.00402e00
add esp, 8
test eax, eax
je 0x403224
lea edx, [ebp - 0x150]
push edx
push str.ePass.inf
call fcn.00402e00
add esp, 8
test eax, eax
je 0x403224
mov eax, dword [0x430458]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x8c]
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x14]
lea eax, [eax + eax*4]
mov dword [ebp - 4], 1
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
lea eax, [edx*8 + 0xbc8]
push eax
push ecx
call fcn.00419d0a
mov edx, dword [ebp - 0x14]
add esp, 0xc
lea eax, [ebp - 0x654]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
jmp 0x403285
mov ecx, dword [0x430458]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebx + 0x8c]
lea edx, [ebp - 0x34]
push edx
lea edx, [ebp - 0x14]
lea eax, [eax + eax*4]
mov dword [ebp - 4], 2
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [eax*8 + 0xbc9]
push ecx
push edx
call fcn.00419d0a
mov eax, dword [ebp - 0x14]
add esp, 0xc
lea ecx, [ebp - 0x654]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebx + 0x84]
mov dword [ebp - 4], 0xffffffff
or ah, 2
lea ecx, [ebp - 0x14]
mov dword [ebx + 0x84], eax
call fcn.0041a7ec
test byte [ebx + 0x84], 0x40
je 0x4032f1
lea edx, [ebp - 0x18]
push edx
push str.EnumUSB
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov eax, dword [ebp - 0x18]
push str.VID_096EPID_0002
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x254]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x254]
push str.infDrvidx.bin
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0x254]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebx + 0x84]
test al, 0x80
jne 0x40330e
test al, 0x40
je 0x40339c
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x40339c
push str.newdev.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, 5
mov esi, str.USBVid_096ePid_0002
lea edi, [ebp - 0x4c]
mov edx, dword [0x430458]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x85c]
push 0x104
push eax
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [ebp - 0x85c]
push str.infePass.inf
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40338d
push str.UpdateDriverForPlugAndPlayDevicesA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40338d
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x85c]
push edx
push 0
lea edx, [ebp - 0x4c]
push ecx
push edx
push 0
call eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.0041a7ec
mov eax, dword [0x430458]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x8c]
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x14]
lea eax, [eax + eax*4]
mov dword [ebp - 4], 4
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
lea eax, [edx*8 + 0xbe3]
push eax
push ecx
call fcn.00419d0a
mov edx, dword [ebp - 0x14]
add esp, 0xc
lea eax, [ebp - 0x654]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.0041a7ec
test byte [ebx + 0x84], 2
je 0x40361e
mov eax, dword [ebx + 0x94]
test eax, eax
je 0x40352b
lea ecx, [ebp - 0x254]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
or ecx, 0xffffffff
lea edi, [ebp - 0x254]
xor eax, eax
lea edx, [ebp - 0x150]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [ebp - 0x254]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, str.System32DriversiToken.sys
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x150]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.inf_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x758]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x150]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x150]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.iToken.inf
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x758]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.iToken.pnf
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x254]
push 0x180
push eax
call fcn.0040c9c8
lea ecx, [ebp - 0x150]
push 0x180
push ecx
call fcn.0040c9c8
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x10
lea edx, [ebp - 0x254]
push edx
call esi
lea eax, [ebp - 0x150]
push eax
call esi
lea ecx, [ebp - 0x758]
push ecx
call esi
test byte [ebx + 0x84], 0x40
je 0x4035a7
lea edx, [ebp - 0x18]
push edx
push str.EnumUSB
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov eax, dword [ebp - 0x18]
push str.VID_096EPID_0002
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test byte [ebx + 0x84], 0xc0
je 0x4035c7
push str.iToken
call fcn.00404670
push str.ePass
call fcn.00404670
add esp, 8
mov edx, dword [0x430458]
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 5
push eax
mov eax, dword [ebx + 0x8c]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
lea eax, [ebp - 0x14]
lea edx, [ecx*8 + 0xbcb]
push edx
push eax
call fcn.00419d0a
mov ecx, dword [ebp - 0x14]
add esp, 0xc
lea edx, [ebp - 0x654]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.0041a7ec
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebx + 0x84]
test al, 0x20
je 0x4038bf
test al, 1
je 0x403785
mov eax, dword [0x430458]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 6
call fcn.00401750
cmp eax, 3
ja case.default.0x403657
jmp dword [eax*4 + 0x403c74]
mov eax, dword [ebx + 0x8c]
push str.WinNT
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
lea eax, [ebp - 0x14]
lea edx, [ecx*8 + 0xbc8]
push edx
push eax
call fcn.00419d0a
mov ecx, dword [ebp - 0x14]
add esp, 0xc
lea edx, [ebp - 0x654]
push ecx
push edx
call esi
mov eax, dword [ebx + 0x8c]
lea edx, [ebp - 0x14]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [eax*8 + 0xbe1]
push ecx
push edx
call fcn.00419d0a
mov eax, dword [ebp - 0x14]
add esp, 8
lea ecx, [ebp - 0x654]
push eax
push ecx
call esi
jmp case.default.0x403657
mov eax, dword [ebx + 0x8c]
lea ecx, [ebp - 0x14]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
lea eax, [edx*8 + 0xbc5]
push eax
push ecx
call fcn.00419d0a
mov edx, dword [ebp - 0x14]
add esp, 8
lea eax, [ebp - 0x654]
push edx
push eax
jmp 0x403765
mov eax, dword [ebx + 0x8c]
push str.WinNT
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
lea eax, [ebp - 0x14]
lea edx, [ecx*8 + 0xbc8]
push edx
push eax
call fcn.00419d0a
mov ecx, dword [ebp - 0x14]
add esp, 0xc
lea edx, [ebp - 0x654]
push ecx
push edx
call esi
mov eax, dword [ebx + 0x84]
or al, 8
jmp 0x403770
mov eax, dword [ebx + 0x8c]
lea edx, [ebp - 0x14]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [eax*8 + 0xbc4]
push ecx
push edx
call fcn.00419d0a
mov eax, dword [ebp - 0x14]
add esp, 8
lea ecx, [ebp - 0x654]
push eax
push ecx
call esi
mov eax, dword [ebx + 0x84]
or ah, 2
mov dword [ebx + 0x84], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.0041a7ec
test byte [ebx + 0x84], 2
je 0x4038bf
mov edx, dword [0x430458]
mov dword [ebp - 0x14], edx
mov eax, dword [ebx + 0x94]
mov dword [ebp - 4], 7
test eax, eax
je 0x4037b3
call fcn.004018e0
jmp 0x4037b8
call fcn.00401830
cmp eax, 3
ja case.default.0x4037c1
jmp dword [eax*4 + 0x403c84]
mov eax, dword [ebx + 0x8c]
push str.WinNT
lea edx, [ebp - 0x14]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [eax*8 + 0xbcb]
push ecx
push edx
call fcn.00419d0a
mov eax, dword [ebp - 0x14]
add esp, 0xc
lea ecx, [ebp - 0x654]
push eax
push ecx
call esi
jmp case.default.0x4037c1
mov eax, dword [ebx + 0x8c]
lea ecx, [ebp - 0x14]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
lea eax, [edx*8 + 0xbc5]
push eax
push ecx
call fcn.00419d0a
mov edx, dword [ebp - 0x14]
add esp, 8
lea eax, [ebp - 0x654]
push edx
push eax
jmp 0x40389f
mov eax, dword [ebx + 0x8c]
push str.WinNT
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
lea eax, [ebp - 0x14]
lea edx, [ecx*8 + 0xbcb]
push edx
push eax
call fcn.00419d0a
mov ecx, dword [ebp - 0x14]
add esp, 0xc
lea edx, [ebp - 0x654]
push ecx
push edx
call esi
mov eax, dword [ebx + 0x84]
or al, 8
jmp 0x4038aa
mov eax, dword [ebx + 0x8c]
lea edx, [ebp - 0x14]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [eax*8 + 0xbc4]
push ecx
push edx
call fcn.00419d0a
mov eax, dword [ebp - 0x14]
add esp, 8
lea ecx, [ebp - 0x654]
push eax
push ecx
call esi
mov eax, dword [ebx + 0x84]
or ah, 2
mov dword [ebx + 0x84], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.0041a7ec
test byte [ebx + 0x84], 0xe0
je 0x403bb8
lea edx, [ebp - 0x150]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
or ecx, 0xffffffff
lea edi, [ebp - 0x150]
xor eax, eax
lea edx, [ebp - 0x254]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [ebp - 0x150]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, str._regsvr32__s
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x254]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4301e8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x254]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.epsModu.dll
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x430458]
mov ecx, edx
and ecx, 3
mov dword [ebp - 0x14], eax
rep movsb byte es:[edi], byte [esi]
mov al, byte [ebx + 0x84]
mov dword [ebp - 4], 8
mov esi, 1
test al, 1
je 0x403acc
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 9
push ecx
push str.epsModu.dll
call fcn.00402e00
add esp, 8
jmp 0x403a21
test esi, esi
mov dword [ebp - 4], 8
je 0x403acc
lea edi, [ebp - 0x254]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x150]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x150]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x20
mov eax, dword [ebx + 0x8c]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
jge 0x403aa4
lea ecx, [eax + eax*4]
lea eax, [ebp - 0x14]
lea edx, [ecx*8 + 0xbd9]
push edx
push eax
call fcn.00419d0a
mov ecx, dword [ebp - 0x14]
add esp, 8
lea edx, [ebp - 0x654]
push ecx
push edx
jmp 0x403ac6
lea eax, [eax + eax*4]
lea edx, [ebp - 0x14]
lea ecx, [eax*8 + 0xbda]
push ecx
push edx
call fcn.00419d0a
mov eax, dword [ebp - 0x14]
add esp, 8
lea ecx, [ebp - 0x654]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
test byte [ebx + 0x84], 2
je 0x403ba3
mov edi, 0x4301e4
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x150]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x150]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x254]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x150]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x20
mov eax, dword [ebx + 0x8c]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
jge 0x403b7b
lea ecx, [eax + eax*4]
lea eax, [ebp - 0x14]
lea edx, [ecx*8 + 0xbdb]
push edx
push eax
call fcn.00419d0a
mov ecx, dword [ebp - 0x14]
add esp, 8
lea edx, [ebp - 0x654]
push ecx
push edx
jmp 0x403b9d
lea eax, [eax + eax*4]
lea edx, [ebp - 0x14]
lea ecx, [eax*8 + 0xbdc]
push ecx
push edx
call fcn.00419d0a
mov eax, dword [ebp - 0x14]
add esp, 8
lea ecx, [ebp - 0x654]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.0041a7ec
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
test byte [ebx + 0x84], 8
je 0x403c15
mov edx, dword [0x430458]
mov dword [ebp - 0x18], edx
mov eax, dword [ebx + 0x8c]
push str.Win2000
lea edx, [ebp - 0x18]
mov dword [ebp - 4], 0xb
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [eax*8 + 0xbcd]
push ecx
push edx
call fcn.00419d0a
mov eax, dword [ebp - 0x18]
add esp, 0xc
lea ecx, [ebp - 0x654]
push eax
push ecx
call esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.0041a7ec
mov eax, dword [ebx + 0x84]
test al, 4
je 0x403c24
test ah, 2
je 0x403c5e
mov eax, dword [ebx + 0x80]
test eax, eax
jne 0x403c46
push 0x40
lea edx, [ebp - 0x654]
push str.Rockey_Install
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x403c5e
lea eax, [ebp - 0x654]
lea ecx, [ebx + 0x68]
push eax
call fcn.0041a975
push 0
mov ecx, ebx
call fcn.0041e29d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret