joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4042b0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4286cb
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x43e6bc]
xor eax, esp
mov dword [esp + 0x45c], eax
push ebx
push esi
mov eax, dword [0x43e6bc]
xor eax, esp
push eax
lea eax, [esp + 0x46c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x47c]
xor ebx, ebx
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x478], ebx
call fcn.00403bb0
add esp, 4
test al, al
jne 0x404338
cmp dword [esp + 0x64], 0x10
jb 0x40432e
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0040d16a
add esp, 4
mov eax, 0x4e24
jmp 0x4044bc
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x404340
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x54]
call fcn.00402f80
mov eax, dword [esp + 0x50]
mov esi, 0x10
cmp dword [esp + 0x64], esi
jae 0x404369
lea eax, [esp + 0x50]
push eax
lea edx, [esp + 0x6c]
push str.Excute_file:__s_n
push edx
call fcn.00416ae4
lea eax, [esp + 0x74]
push eax
call fcn.00403d60
mov eax, dword [esp + 0x60]
add esp, 0x10
cmp dword [esp + 0x64], esi
jae 0x404394
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40449a
cmp dword [esp + 0x64], esi
mov dword [esp + 0x10], 0x3c
mov dword [esp + 0x14], 0x40
jb 0x4043c3
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x20], ecx
jmp 0x4043cb
lea edx, [esp + 0x50]
mov dword [esp + 0x20], edx
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x28], 0x42ad4d
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], str.open
mov dword [esp + 0x30], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x404436
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x6c]
push str.Error_:_Excute_error__error_code:__ld_n
push ecx
mov dword [esp + 0x18], eax
call fcn.00416ae4
lea edx, [esp + 0x74]
push edx
call fcn.00403d60
mov esi, dword [esp + 0x1c]
add esp, 0x10
lea ecx, [esp + 0x4c]
call fcn.004027d0
cmp esi, 2
je 0x4044ba
mov eax, esi
jmp 0x4044bc
mov eax, dword [esp + 0x48]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
mov dword [esp + 0xc], eax
je 0x404467
mov ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x4c]
call fcn.004027d0
mov eax, esi
jmp 0x4044bc
mov eax, dword [esp + 0x48]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [esp + 0xc]
push ecx
lea edx, [esp + 0x6c]
push str.Info__:_Excute_end__return_code:__ld_n
push edx
call fcn.00416ae4
lea eax, [esp + 0x74]
push eax
call fcn.00403d60
add esp, 0x10
jmp 0x4044a7
push str.Info__:_File_not_found__return._n
call fcn.00403d60
add esp, 4
cmp dword [esp + 0x64], esi
jb 0x4044ba
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0040d16a
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x46c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x45c]
xor ecx, esp
call fcn.0041613d
add esp, 0x46c
ret
Function at 0x4044f0
Capabilities:
Delete registry value
Persist via windows service
Set registry value

Disassembly:
sub esp, 8
push 0
lea eax, [esp + 4]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push str.SYSTEMCurrentControlSetServicesewusbnet
push 0x80000002
mov dword [esp + 0x28], 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x404544
push str.INFO:_RegResetInfo_Open_Key_ewusbnet__error._n
call fcn.00403d60
mov ecx, dword [esp + 4]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x4e25
add esp, 8
ret
cmp byte [0x43fbf0], 0
jne 0x40456c
mov edx, dword [esp]
push str.NetworkCardNotRemovalable
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 8
ret
mov ecx, dword [esp]
push 4
lea eax, [esp + 8]
push eax
push 4
push 0
push str.NetworkCardNotRemovalable
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x40455c
push str.INFO:_RegResetInfo_SetValue_NetworkCardNotRemovalable__1__error._n
call fcn.00403d60
mov edx, dword [esp + 4]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x4e25
add esp, 8
ret
Function at 0x4045b0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x428708
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43e6bc]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
call fcn.0040d647
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4045f1
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
cmp dword [0x452520], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], 0
jbe 0x404763
mov esi, 0x44e4a4
cmp byte [esp + 0x34], 0
je 0x40470a
mov eax, dword [esi - 0x184]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0x2001f
push 0
push 0
push 0
lea ebp, [esi - 0x140]
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x404680
push eax
push ebp
lea ecx, [esp + 0x1c]
push str._nInfo__:_Open_Key___s__error:__lx._n
push ecx
call fcn.004034f0
mov edx, dword [esp + 0x24]
push edx
call fcn.00403d60
add esp, 0x14
jmp 0x404746
lea edi, [esi - 0x40]
push edi
push ebp
lea eax, [esp + 0x1c]
push str._nInfo__:_Install_registry:___s_s__n
push eax
call fcn.004034f0
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00403d60
mov ecx, dword [esi]
add esp, 0x14
cmp ecx, 4
jne 0x4046b8
mov eax, dword [esp + 0x18]
push ecx
lea edx, [esi + 8]
push edx
push ecx
push 0
push edi
push eax
jmp 0x4046d6
lea ebp, [esi + 0xc]
mov eax, ebp
lea ebx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4046c0
sub eax, ebx
push eax
push ebp
push ecx
mov ecx, dword [esp + 0x24]
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4046fd
push eax
lea edx, [esp + 0x18]
push str.Info__:_RegSetValueEx_error_status_:__lx_n
push edx
call fcn.004034f0
mov eax, dword [esp + 0x20]
push eax
call fcn.00403d60
add esp, 0x10
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x404746
cmp dword [esi + 4], 0
je 0x404746
lea edi, [esi - 0x40]
push edi
lea ebp, [esi - 0x140]
push ebp
lea edx, [esp + 0x1c]
push str._nInfo__:_Delete_registry:___s_s__n
push edx
call fcn.004034f0
mov eax, dword [esp + 0x24]
push eax
call fcn.00403d60
mov ecx, dword [esi - 0x184]
add esp, 0x14
push edi
push ebp
push ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
mov eax, dword [esp + 0x1c]
add eax, 1
add esi, 0x210
cmp eax, dword [0x452520]
mov dword [esp + 0x1c], eax
jb 0x404623
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x2c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40478b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x405ce0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x130
mov eax, dword [0x43e6bc]
xor eax, esp
mov dword [esp + 0x12c], eax
push esi
mov esi, dword [esp + 0x138]
push 0x12c
lea eax, [esp + 8]
push 0
push eax
call fcn.00416150
add esp, 0xc
push 0x12c
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x405d49
push str.Error_:_GetWindowsDirectory_fail._n
call fcn.00403d60
add esp, 4
xor al, al
pop esi
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.0041613d
add esp, 0x130
ret
lea eax, [esp + 4]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x405d50
sub eax, edx
push eax
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.00403070
mov ecx, dword [esp + 0x130]
pop esi
xor ecx, esp
mov al, 1
call fcn.0041613d
add esp, 0x130
ret
Function at 0x406470
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x254
mov eax, dword [0x43e6bc]
xor eax, esp
mov dword [esp + 0x250], eax
push esi
push edi
mov ecx, 0xb
lea esi, [esp + 0x260]
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
push 0x104
mov dword [esp + 0x18], eax
lea eax, [esp + 0x54]
push 0
push eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], 0x104
mov dword [esp + 0x14], 4
call fcn.00416150
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SOFTWAREHuawei_technologiesCurrentDriver
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x406511
push str.INFO:_DriverInfo_Open_Key_error._n
call fcn.00403d60
add esp, 4
jmp 0x40664d
cmp dword [esp + 0x20], 2
jne 0x406632
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x18]
xor esi, esi
push esi
push esi
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x168]
push eax
push esi
push ecx
call edi
test eax, eax
jne 0x406632
lea ecx, [ecx]
lea edx, [esp + 0x154]
push str.MajorVersion
push edx
add esi, 1
call fcn.00415c20
add esp, 8
test eax, eax
je 0x406583
mov eax, dword [esp + 8]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00417890
add esp, 0xc
lea eax, [esp + 0x154]
push str.MinorVersion
push eax
call fcn.00415c20
add esp, 8
test eax, eax
je 0x4065b3
mov ecx, dword [esp + 8]
push ecx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00417890
add esp, 0xc
lea ecx, [esp + 0x154]
push str.Customization
push ecx
call fcn.00415c20
add esp, 8
test eax, eax
je 0x4065e3
mov edx, dword [esp + 8]
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00417890
add esp, 0xc
push 0x104
lea edx, [esp + 0x54]
push 0
push edx
mov dword [esp + 0x18], 0x104
mov dword [esp + 0x14], 4
call fcn.00416150
add esp, 0xc
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x18]
push 0
push 0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x168]
push eax
push esi
push ecx
call edi
test eax, eax
je 0x406550
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SOFTWAREHuawei_technologiesCurrentDriver
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov ecx, dword [esp + 0x258]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.0041613d
add esp, 0x254
ret
Function at 0x406670
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x428876
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x43e6bc]
xor eax, esp
mov dword [esp + 0x90], eax
push esi
push edi
mov eax, dword [0x43e6bc]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
push 0x2001f
push 0
push str.SYSTEMCurrentControlSetControlCOM_Name_Arbiter
push 0x80000002
mov dword [esp + 0x28], 0x80
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push str.ComDB
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
or edi, 0xffffffff
test esi, esi
je 0x406765
call fcn.0040d647
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x406711
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
push esi
lea ecx, [esp + 0x10]
push str.RegQueryValueEx_errorcode:__d
push ecx
mov dword [esp + 0xb4], 0
call fcn.004034f0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0xa8], edi
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406765
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0040d647
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40677f
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
movzx ecx, byte [esp + 0x25]
movzx edx, byte [esp + 0x24]
movzx eax, byte [esp + 0x23]
push ecx
movzx ecx, byte [esp + 0x26]
push edx
movzx edx, byte [esp + 0x29]
push eax
movzx eax, byte [esp + 0x2c]
push ecx
movzx ecx, byte [esp + 0x2f]
push edx
movzx edx, byte [esp + 0x32]
push eax
movzx eax, byte [esp + 0x35]
push ecx
movzx ecx, byte [esp + 0x38]
push edx
push eax
push ecx
lea edx, [esp + 0x34]
push str.ComDB_before_install:__d__d__d__d__d__d__d__d__d__d_n
push edx
mov dword [esp + 0xd8], 1
call fcn.004034f0
mov esi, dword [esp + 0x3c]
push esi
call fcn.00403d60
lea eax, [esi - 0x10]
add esp, 0x34
mov dword [esp + 0xa8], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x406812
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.0041613d
add esp, 0xa0
ret
Function at 0x406840
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4288b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x43e6bc]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x43e6bc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
lea eax, [esp + 8]
push eax
mov dword [esp + 0x34], 0
call fcn.00403bb0
add esp, 4
test al, al
jne 0x4068b6
cmp dword [esp + 0x20], 0x10
jb 0x4069a6
mov ecx, dword [esp + 0xc]
push ecx
jmp 0x40699e
push 0x104
push 0
push esi
call fcn.00416150
mov edx, dword [esp + 0x18]
add esp, 0xc
cmp dword [esp + 0x20], 0x10
jae 0x4068d5
lea edx, [esp + 0xc]
mov ecx, esi
mov al, byte [edx]
mov byte [ecx], al
add edx, 1
add ecx, 1
test al, al
jne 0x4068d7
call fcn.004040b0
test eax, eax
mov eax, esi
je 0x406919
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x4068f3
mov edx, dword [str.DriverX64]
mov dword [eax], edx
mov ecx, dword [0x42b624]
mov dword [eax + 4], ecx
mov edx, dword [0x42b628]
mov dword [eax + 8], edx
jmp 0x406944
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x406920
mov ecx, dword [str.DriverX86]
mov dword [eax], ecx
mov edx, dword [0x42b618]
mov dword [eax + 4], edx
mov ecx, dword [0x42b61c]
mov dword [eax + 8], ecx
push str.Info_t:_Driver_path:
call fcn.00403d60
push esi
call fcn.00403d60
push 0x42b5fc
call fcn.00403d60
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x406985
cmp dword [esp + 0x20], 0x10
jb 0x406981
mov edx, dword [esp + 0xc]
push edx
call fcn.0040d16a
add esp, 4
xor eax, eax
jmp 0x4069ab
push str.Error_:_Driver_path_is_not_founded._n
call fcn.00403d60
add esp, 4
cmp dword [esp + 0x20], 0x10
jb 0x4069a6
mov eax, dword [esp + 0xc]
push eax
call fcn.0040d16a
add esp, 4
mov eax, 0x4e24
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0041613d
add esp, 0x2c
ret
Function at 0x409d80
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
je 0x409d98
mov eax, 0x4e24
pop esi
ret
push esi
call fcn.004097b0
mov eax, dword [0x44701c]
push eax
push 0x447020
push esi
call fcn.004072d0
push 1
push str.hwgpssensor.dll
push esi
call fcn.004072d0
mov ecx, dword [0x43fd14]
push ecx
push 0x43fd18
push esi
call fcn.004072d0
add esp, 0x28
xor eax, eax
pop esi
ret
Function at 0x40b230
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x428e78
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x43e6bc]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43e6bc]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov esi, dword [esp + 0x54]
xor edi, edi
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], edi
mov byte [esp + 0x28], 0
push 0x100
push edi
push 0x43fc10
mov dword [esp + 0x58], edi
call fcn.00416150
lea eax, [esp + 0x30]
push eax
call fcn.00403bb0
add esp, 0x10
test al, al
jne 0x40b2bc
cmp dword [esp + 0x3c], 0x10
jb 0x40b2b2
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0040d16a
add esp, 4
mov eax, 0x4e24
jmp 0x40b3f9
mov edx, dword [esp + 0x28]
mov ebp, 0x10
cmp dword [esp + 0x3c], ebp
jae 0x40b2cf
lea edx, [esp + 0x28]
mov ecx, 0x43fc10
mov al, byte [edx]
mov byte [ecx], al
add edx, 1
add ecx, 1
test al, al
jne 0x40b2d4
mov eax, 0x43fc10
add eax, 0xffffffff
lea ebx, [ebx]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x40b2f0
mov edx, dword [str.Driver_]
mov ecx, dword [0x42c280]
mov dword [eax], edx
mov dl, byte [0x42c284]
mov dword [eax + 4], ecx
mov byte [eax + 8], dl
mov eax, 0x43fc10
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x40b320
mov ecx, dword [str.install.xml]
mov edx, dword [0x42c274]
mov dword [eax], ecx
mov ecx, dword [0x42c278]
push esi
push str.DriverVersion
mov dword [eax + 4], edx
push 0x43fc10
mov dword [eax + 8], ecx
call fcn.0040a6a0
add esp, 0xc
test eax, eax
je 0x40b383
mov dword [esi + 0x20], 0x64
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov byte [0x43fbf1], 1
call fcn.0040af20
cmp dword [esp + 0x3c], ebp
mov esi, eax
jb 0x40b3f7
mov edx, dword [esp + 0x28]
push edx
jmp 0x40b3ef
mov ebx, dword [sym.imp.SHLWAPI.dll_StrToIntA]
push esi
call ebx
cmp byte [esi], 0
mov dword [esp + 0x14], eax
je 0x40b3c5
lea ebp, [esp + 0x14]
lea esp, [esp]
cmp byte [esi + edi], 0x2e
jne 0x40b3b3
lea eax, [esi + edi + 1]
push eax
add ebp, 4
call ebx
mov dword [ebp], eax
add edi, 1
cmp byte [esi + edi], 0
jne 0x40b3a0
mov eax, dword [esp + 0x14]
mov ebp, 0x10
mov ecx, dword [esp + 0x1c]
imul eax, eax, 0x64
add eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
call fcn.0040af20
cmp dword [esp + 0x3c], ebp
mov esi, eax
jb 0x40b3f7
mov eax, dword [esp + 0x28]
push eax
call fcn.0040d16a
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0041613d
add esp, 0x3c
ret
Function at 0x40d080
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push esi
push 0x42c400
push eax
mov dword [esp + 0x10], ecx
xor bl, bl
call fcn.00417241
mov esi, eax
add esp, 8
test esi, esi
je 0x40d102
push ebp
push edi
push 2
push 0
push esi
call fcn.0041870d
push esi
call fcn.00418618
push 0
push 0
push esi
mov ebp, eax
call fcn.0041870d
lea ecx, [ebp + 1]
push 0
push ecx
call fcn.00402040
push esi
push 1
mov edi, eax
push ebp
push edi
call fcn.00417162
add esp, 0x34
cmp eax, 1
jne 0x40d0ed
mov ecx, dword [esp + 0x10]
push edi
mov byte [edi + ebp], bl
call fcn.0040cf00
mov bl, al
push esi
call fcn.00416e4a
push edi
call fcn.0040d16a
add esp, 8
test bl, bl
pop edi
pop ebp
jne 0x40d10d
mov ecx, dword [esp + 8]
push 0
call fcn.0040cf00
pop esi
mov al, bl
pop ebx
pop ecx
ret 4

Function at 0x41613d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43e6bc]
jne 0x416147
repz ret
jmp fcn.0041d0e6
Function at 0x416ec6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x416f03
cmp dword [ebp + 0x14], edi
je 0x416f03
cmp ecx, edi
jne 0x416f0a
call fcn.00418bde
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0041735a
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x416f1e
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x416f3f
cmp ebx, 0xffffffff
je 0x416f2e
push ebx
push edi
push ecx
call fcn.00416150
add esp, 0xc
cmp esi, edi
je 0x416eeb
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x416eeb
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x416f5b
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x416f62
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x417053
test word [esi + 0xc], 0x10c
je 0x416fb6
mov eax, dword [esi + 4]
test eax, eax
je 0x416fb6
jl 0x4170b4
cmp ebx, eax
mov edi, ebx
jb 0x416f87
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x41705b
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00416c55
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x41704b
cmp ebx, dword [ebp - 0xc]
jb 0x417023
cmp dword [ebp - 0xc], 0
je 0x416fe0
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x416fd5
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x416fdc
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x416feb
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x416feb
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x417087
push eax
push dword [ebp - 8]
push esi
call fcn.0041ef41
pop ecx
push eax
call fcn.0041f9a3
add esp, 0xc
test eax, eax
je 0x4170c6
cmp eax, 0xffffffff
je 0x4170b4
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x41704b
push esi
call fcn.0041f2c2
cmp eax, 0xffffffff
pop ecx
je 0x4170b8
cmp dword [ebp - 4], 0
je 0x417087
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x416f6a
mov eax, dword [ebp + 0x14]
jmp 0x416f05
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x417072
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00416150
add esp, 0xc
call fcn.00418bde
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x416efb
cmp dword [ebp + 0xc], 0xffffffff
je 0x41709d
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00416150
add esp, 0xc
call fcn.00418bde
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x416efb
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x416f05
or dword [esi + 0xc], 0x10
jmp 0x4170b8