Function at 0x401ac0
Capabilities:
Check if file exists
Create directory
Create process on windows
Delete file
Extract resource via kernel32 functions
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52e952
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x579680]
xor eax, esp
mov dword [esp + 0x29c], eax
push esi
push edi
mov eax, dword [0x579680]
xor eax, esp
push eax
lea eax, [esp + 0x2b0]
mov dword fs:[0], eax
push str.Installing...
push 0x3ed
mov ecx, ebx
call fcn.00416639
mov eax, dword [ebx + 0xd4]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x402
push eax
call esi
mov ecx, 0x82
call fcn.00408f30
mov ecx, dword [ebx + 0xd4]
push 0
push 6
push 0x402
push ecx
call esi
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [esp + 0xc], 0
test esi, esi
je 0x402056
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [esp + 0xc], 0
je 0x402056
lea esi, [esp + 0xc]
call fcn.00408eb0
mov eax, dword [eax]
push eax
lea eax, [esp + 0x98]
push 0x104
push eax
call fcn.005085d6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401bc7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0x557f18
lea ecx, [esp + 0x98]
push ecx
call edi
mov esi, dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
push 0
lea edx, [esp + 0x98]
push edx
push 0
call esi
push str.amd64
lea eax, [esp + 0x98]
push eax
call edi
push 0
lea ecx, [esp + 0x98]
push ecx
push 0
call esi
push str.WdfCoInstaller01009.dll
lea edx, [esp + 0x98]
push edx
call edi
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x558770
push 0x8a
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x401ca9
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x10], eax
test eax, eax
je 0x401ca9
push 0
push 0
push 2
push 0
push 0
push 0x40000000
lea ecx, [esp + 0xac]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 0
test esi, esi
je 0x401ca3
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebx + 0xd4]
push 0
push 0xc
push 0x402
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea esi, [esp + 0xc]
call fcn.00408eb0
mov eax, dword [eax]
push eax
lea eax, [esp + 0x98]
push 0x104
push eax
call fcn.005085d6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401d00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x557f18
lea ecx, [esp + 0x98]
push ecx
call edi
mov esi, dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
push 0
lea edx, [esp + 0x98]
push edx
push 0
call esi
push str.amd64
lea eax, [esp + 0x98]
push eax
call edi
push 0
lea ecx, [esp + 0x98]
push ecx
push 0
call esi
push 0x558738
lea edx, [esp + 0x98]
push edx
call edi
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x558770
push 0x8b
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x401ddc
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x10], eax
test eax, eax
je 0x401ddc
push 0
push 0
push 2
push 0
push 0
push 0x40000000
lea ecx, [esp + 0xac]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 0
test esi, esi
je 0x401dd6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebx + 0xd4]
push 0
push 0x10
push 0x402
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea esi, [esp + 0xc]
call fcn.00408eb0
mov eax, dword [eax]
push eax
lea eax, [esp + 0x98]
push 0x104
push eax
call fcn.005085d6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401e33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x557f18
lea ecx, [esp + 0x98]
push ecx
call edi
mov esi, dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
push 0
lea edx, [esp + 0x98]
push edx
push 0
call esi
push str.amd64
lea eax, [esp + 0x98]
push eax
call edi
push 0
lea ecx, [esp + 0x98]
push ecx
push 0
call esi
push 0x558750
lea edx, [esp + 0x98]
push edx
call edi
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x558770
push 0x8c
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x401f0f
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x10], eax
test eax, eax
je 0x401f0f
push 0
push 0
push 2
push 0
push 0
push 0x40000000
lea ecx, [esp + 0xac]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 0
test esi, esi
je 0x401f09
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebx + 0xd4]
push 0
push 0x11
push 0x402
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea esi, [esp + 0xc]
call fcn.00408eb0
mov eax, dword [eax]
push eax
lea eax, [esp + 0x98]
push 0x104
push eax
call fcn.005085d6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401f66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x557f18
lea ecx, [esp + 0x98]
push ecx
call edi
push 0
lea edx, [esp + 0x98]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
push str.androidwinusba64.cat
lea eax, [esp + 0x98]
push eax
call edi
lea ecx, [esp + 0x94]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x558770
push 0x80
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x40201d
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40201d
push 0
push 0
push 2
push 0
push 0
push 0x40000000
lea edx, [esp + 0xac]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 0
test esi, esi
je 0x402017
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebx + 0xd4]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0x12
push 0x402
push edx
call esi
mov ecx, 0x86
call fcn.00408f30
mov eax, dword [ebx + 0xd4]
push 0
push 0x14
push 0x402
push eax
call esi
jmp 0x40240d
lea esi, [esp + 0xc]
call fcn.00408eb0
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x98]
push 0x104
push ecx
call fcn.005085d6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402097
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0x557f18
lea ecx, [esp + 0x98]
push ecx
call edi
mov esi, dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
push 0
lea edx, [esp + 0x98]
push edx
push 0
call esi
push str.i386
lea eax, [esp + 0x98]
push eax
call edi
push 0
lea ecx, [esp + 0x98]
push ecx
push 0
call esi
push str.WdfCoInstaller01009.dll
lea edx, [esp + 0x98]
push edx
call edi
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x558770
push 0x87
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x402179
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x10], eax
test eax, eax
je 0x402179
push 0
push 0
push 2
push 0
push 0
push 0x40000000
lea ecx, [esp + 0xac]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 0
test esi, esi
je 0x402173
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebx + 0xd4]
push 0
push 0xc
push 0x402
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea esi, [esp + 0xc]
call fcn.00408eb0
mov eax, dword [eax]
push eax
lea eax, [esp + 0x98]
push 0x104
push eax
call fcn.005085d6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4021d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x557f18
lea ecx, [esp + 0x98]
push ecx
call edi
mov esi, dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
push 0
lea edx, [esp + 0x98]
push edx
push 0
call esi
push str.i386
lea eax, [esp + 0x98]
push eax
call edi
push 0
lea ecx, [esp + 0x98]
push ecx
push 0
call esi
push 0x558738
lea edx, [esp + 0x98]
push edx
call edi
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x558770
push 0x88
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x4022ac
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x10], eax
test eax, eax
je 0x4022ac
push 0
push 0
push 2
push 0
push 0
push 0x40000000
lea ecx, [esp + 0xac]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 0
test esi, esi
je 0x4022a6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebx + 0xd4]
push 0
push 0x10
push 0x402
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea esi, [esp + 0xc]
call fcn.00408eb0
mov eax, dword [eax]
push eax
lea eax, [esp + 0x98]
push 0x104
push eax
call fcn.005085d6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402303
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x557f18
lea ecx, [esp + 0x98]
push ecx
call edi
mov esi, dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
push 0
lea edx, [esp + 0x98]
push edx
push 0
call esi
push str.i386
lea eax, [esp + 0x98]
push eax
call edi
push 0
lea ecx, [esp + 0x98]
push ecx
push 0
call esi
push 0x558750
lea edx, [esp + 0x98]
push edx
call edi
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x558770
push 0x89
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x4023d9
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4023d9
push 0
push 0
push 2
push 0
push 0
push 0x40000000
lea ecx, [esp + 0xac]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 0
test esi, esi
je 0x4023d3
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebx + 0xd4]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0x11
push 0x402
push ecx
call esi
mov ecx, 0x83
call fcn.00408f30
mov edx, dword [ebx + 0xd4]
push 0
push 0x12
push 0x402
push edx
call esi
mov eax, dword [ebx + 0xd4]
push 0
push 0x15
push 0x402
push eax
call esi
push 0
call sub.SETUPAPI.dll_CMP_WaitNoPendingInstallEvents
test eax, eax
je 0x402453
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push str.Installing...__Waiting_for_DevMgr_
push 0x3ed
mov ecx, ebx
call fcn.00416639
push 0x1f4
call esi
push 0
call sub.SETUPAPI.dll_CMP_WaitNoPendingInstallEvents
test eax, eax
jne 0x402430
push str.Installing...__Final_
push 0x3ed
mov ecx, ebx
call fcn.00416639
mov ecx, dword [ebx + 0xd4]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0x20
push 0x402
push ecx
call esi
lea edi, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.004076f0
test eax, eax
jne 0x4024c7
call fcn.004074a0
test eax, eax
je 0x4024c7
push str._Tip__ADB_Driver_already_installed
push 0x3ed
mov ecx, ebx
call fcn.00416639
mov edx, dword [ebx + 0xd4]
push 0
push 0
push 0x402
push edx
call esi
mov eax, 1
jmp 0x402a66
call fcn.00407950
test eax, eax
je 0x40251d
push str._Tip__Please_download_Samsung_USB_Driver_to_continue
push 0x3ed
mov ecx, ebx
call fcn.00416639
push 0
push 0
push str._Tip__Please_download_Samsung_USB_Driver__Click_OK_to_continue
call fcn.0040f879
mov eax, dword [ebx + 0x20]
push 3
push 0
push 0
push str.http:__adbdriver.com_downloads_
push 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebx + 0xd4]
push 0
push 0
push 0x402
push ecx
call esi
jmp 0x402a64
call fcn.004074a0
test eax, eax
jne 0x40254e
push str._Error__Device_not_found
push 0x3ed
mov ecx, ebx
call fcn.00416639
mov edx, dword [ebx + 0xd4]
push 0
push 0
push 0x402
push edx
call esi
jmp 0x402a64
mov eax, dword [ebx + 0xd4]
push 0
push 0x21
push 0x402
push eax
call esi
call fcn.00408c60
test eax, eax
je 0x402759
lea esi, [esp + 0xc]
call fcn.00408eb0
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x98]
push 0x104
push ecx
call fcn.005085d6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4025ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0x557f18
lea ecx, [esp + 0x98]
push ecx
call esi
push 0x557f24
lea edx, [esp + 0x98]
push edx
call esi
call fcn.0041a492
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4025ec
push 0x80004005
call fcn.004071a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push ecx
mov dword [esp + 0x2bc], 0
lea edx, [esp + 0x98]
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
lea esi, [esp + 0x1c]
call fcn.00406ca0
mov edx, esi
mov ecx, ebx
call fcn.004045d0
test eax, eax
je 0x4026fe
lea ecx, [esp + 0x10]
call fcn.00406fe0
push ecx
mov byte [esp + 0x2bc], 1
mov eax, esi
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
lea edi, [esp + 0x18]
call fcn.004067b0
call fcn.00409240
add esp, 4
push 0
test eax, eax
je 0x402672
mov ecx, dword [ebx + 0xd4]
push 0x64
push 0x402
push ecx
jmp 0x402680
mov edx, dword [ebx + 0xd4]
push 0
push 0x402
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, ebx
call fcn.00404870
call fcn.00409160
mov esi, dword [esp + 0x10]
push esi
push 0x3ed
mov ecx, ebx
call fcn.00416639
push str._Error__Windows_8_x64_driver_signature_verification_failed
push esi
call fcn.0050834d
add esp, 8
test eax, eax
jne 0x4026f3
push eax
push 0xa2
lea ecx, [esp + 0x24]
call fcn.0040d408
mov esi, vtable.CDriverSignatureDlg.0
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2b8], 2
call fcn.0040da24
mov byte [esp + 0x2b8], 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], esi
call fcn.0040d378
lea ecx, [esp + 0x10]
call fcn.00407010
jmp 0x402725
push str._Failed__Load_x64_ADB_Driver_installer_failed
push 0x3ed
mov ecx, ebx
call fcn.00416639
mov eax, dword [ebx + 0xd4]
push 0
push 0
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x2b8], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402a64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x402a64
call fcn.0041a492
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402773
push 0x80004005
call fcn.004071a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x557fac
push 0x557fb0
push 0x557fb8
lea ecx, [esp + 0x1c]
push 0x557fc0
push ecx
mov dword [esp + 0x2cc], 3
call fcn.00407270
add esp, 0x14
lea esi, [esp + 0xc]
call fcn.00408eb0
mov eax, dword [eax]
push eax
lea edx, [esp + 0x1a0]
push 0x104
push edx
call fcn.005085d6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4027f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0x557f18
lea ecx, [esp + 0x1a0]
push ecx
call esi
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x1a0]
push eax
call esi
call fcn.0041a492
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40282e
push 0x80004005
call fcn.004071a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x557fcc
push 0x557fd0
push 0x2a
push 0x557fd8
push 0x557fe4
push 0x557fe8
push 0x557ff0
lea ecx, [esp + 0x30]
push 0x557ff4
push ecx
mov byte [esp + 0x2dc], 4
call fcn.00407270
mov edx, dword [ebx + 0xd4]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x24
push 0
push 0x2c
push 0x402
push edx
call esi
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push 1
lea ecx, [esp + 0x1a4]
push ecx
push edx
push 0
call sub.newdev.dll_UpdateDriverForPlugAndPlayDevicesA
test eax, eax
je 0x40290a
mov ecx, ebx
call fcn.00404870
call fcn.00409160
call fcn.004095c0
mov ecx, ebx
test eax, eax
je 0x4028cd
push str._Done__Installation_Success__You_must_restart_your_computer_to_task_effect.
jmp 0x4028d2
push str._Done__Installation_Success
push 0x3ed
call fcn.00416639
mov eax, dword [ebx + 0xd4]
push 0
push 0x64
push 0x402
push eax
call esi
lea ecx, [esp + 0x14]
call fcn.00407010
lea ecx, [esp + 0x10]
call fcn.00407010
mov eax, 1
jmp 0x402a66
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 2
jne 0x40293d
push str._Error__File_missing
push 0x3ed
mov ecx, ebx
call fcn.00416639
mov ecx, dword [ebx + 0xd4]
push 0
push 0
push 0x402
push ecx
jmp 0x402a50
cmp edi, 0x57
jne 0x40294c
push str._Error__Invalid_parameter_on_path
jmp 0x402a34
cmp edi, 5
jne 0x402977
push str._Error__Access_denied
push 0x3ed
mov ecx, ebx
call fcn.00416639
mov eax, dword [ebx + 0xd4]
push 0
push 0
push 0x402
push eax
jmp 0x402a50
cmp edi, 0xe000020b
jne 0x402986
push str._Error__Device_not_found
jmp 0x40291c
cmp edi, 0xe0000304
je 0x402a2f
cmp edi, 0xe000023f
je 0x402a2f
cmp edi, 0xe0000247
je 0x402a2f
cmp edi, 0xe000024b
jne 0x4029bc
push str._Error__Driver_signature_verification_failed
jmp 0x402a34
cmp edi, 0xe000022f
jne 0x4029cb
push str._Error__No_cat_file_for_inf
jmp 0x402956
cmp edi, 0xe0000235
jne 0x4029dd
push str._Error__x64_OS
jmp 0x40291c
lea ecx, [esp + 0xc]
call fcn.00406fe0
push edi
lea edx, [esp + 0x10]
push str.Error0x_08x
push edx
mov byte [esp + 0x2c4], 5
call fcn.00407270
mov eax, dword [esp + 0x18]
add esp, 0xc
push eax
push 0x3ed
mov ecx, ebx
call fcn.00416639
mov ecx, dword [ebx + 0xd4]
push 0
push 0
push 0x402
push ecx
call esi
lea ecx, [esp + 0xc]
call fcn.00407010
jmp 0x402a52
push str._Error__Select_Install_this_driver_software_anyway__please_try_again.
push 0x3ed
mov ecx, ebx
call fcn.00416639
mov edx, dword [ebx + 0xd4]
push 0
push 0
push 0x402
push edx
call esi
lea ecx, [esp + 0x14]
call fcn.00407010
lea ecx, [esp + 0x10]
call fcn.00407010
xor eax, eax
mov ecx, dword [esp + 0x2b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.00507bff
mov esp, ebp
pop ebp
ret