joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403660
Capabilities:
Access peb ldr_data
Create process on windows
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x487048
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x38
xor esi, esi
lea eax, [esp + 0x18]
push esi
push eax
call fcn.0046c870
push str.upgrade.exe
lea ecx, [esp + 0x1c]
push 0x4b90c8
push ecx
mov dword [esp + 0x28], 0x3c
mov dword [esp + 0x2c], 0x40
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call fcn.00406070
add esp, 0x18
mov dword [esp + 0x54], esi
mov edx, dword [esp + 0xc]
push 0x494704
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], edx
call fcn.00406500
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 5
mov dword [esp + 0x34], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x403767
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40372e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x54], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403756
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x50
ret
push esi
call fcn.004694d3
int3
Function at 0x404860
Capabilities:
Read .ini file

Disassembly:
push ecx
push str.param.ini
lea eax, [esp + 4]
push 0x4b90c8
push eax
call fcn.00406070
mov eax, dword [eax]
add esp, 0xc
push eax
push 0x652
push str.DLLVER
push str.VERSION
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [esi + 0x38], eax
mov eax, dword [esp]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4048b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x38]
pop ecx
ret
Function at 0x406740
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x406759
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x406794
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x406790
lea ebx, [ebx]
cmp esi, eax
jae 0x406794
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x406780
cmp esi, eax
jb 0x40679a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x409630
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x486f50
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
xor ebp, ebp
push 0xffffffffffffffff
push ebp
mov ecx, 0x4b928c
mov dword [0x4b9050], ebp
call fcn.0044de30
lea ecx, [esp + 0x20]
call fcn.0044dd71
mov dword [esp + 0x3c], ebp
call fcn.0044d630
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x409693
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x44]
add ecx, 0x1c
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 1
call fcn.0044e016
mov eax, dword [esp + 0x28]
cmp eax, ebp
mov dword [esp + 0x1c], eax
jg 0x409724
mov esi, dword [0x4b9050]
mov byte [esp + 0x3c], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4096f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0044de0f
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4
mov eax, dword [esp + 0x28]
test ebp, ebp
jl 0x4097e3
cmp ebp, eax
jge 0x4097e3
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + ebp*4]
mov esi, dword [esp + 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x409790
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x409782
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x409782
push eax
call fcn.00406990
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x409779
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x18], ebx
jmp 0x409790
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.004068a0
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4097b4
test al, 0x10
je 0x4097b4
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x18]
push edx
call fcn.004097f0
jmp 0x4097d1
mov ecx, dword [0x4b9294]
add dword [0x4b9050], 1
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, 0x4b928c
call fcn.0044e042
add ebp, 1
cmp ebp, dword [esp + 0x1c]
jl 0x409720
jmp 0x4096c5
call fcn.0044d52a
int3
Function at 0x409db0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [0x4b92a0]
sub esp, 0x3c
push edi
push eax
mov edi, 1
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x409dea
mov ecx, dword [0x4b92a0]
push edi
xor eax, eax
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [esi], eax
mov eax, edi
pop edi
add esp, 0x3c
ret
mov edx, dword [0x4b92a0]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 4]
push eax
mov dword [esp + 8], 0x3c
mov dword [esp + 0xc], 0x40
mov dword [esp + 0x14], str.open
mov dword [esp + 0x24], 5
mov dword [esp + 0x18], edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov ecx, dword [esp + 0x3c]
mov dword [esi], ecx
pop edi
add esp, 0x3c
ret
Function at 0x411770
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48b690
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4117b5
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4117df
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0
mov ecx, dword [ebp + 8]
push 0x407
mov dword [esp + 0x34], 0
xor esi, esi
call fcn.0044c45a
test eax, eax
je 0x41182c
mov ecx, dword [eax + 0x20]
push esi
push esi
push pe_nt_image_headers32
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x41182c
mov esi, 2
cmp dword [0x4b8f40], 0
je 0x411901
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x411853
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
mov byte [esp + 0x30], 1
mov edi, dword [esp + 0x10]
cmp edi, 2
push 2
lea ecx, [esp + 0x10]
jne 0x41187e
push 0x496770
jmp 0x411883
push 0x496774
call fcn.004068a0
push str.hjSet.exe
lea ecx, [esp + 0x14]
push 0x4b90c8
push ecx
call fcn.00406070
mov esi, dword [esp + 0x18]
mov eax, dword [eax]
add esp, 0xc
push 0
push 0
push esi
push eax
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4118d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
call fcn.00411970
lea eax, [esi - 0x10]
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41190b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41190b
push esi
lea ecx, [esp + 0x18]
call fcn.00441960
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411933
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0x411953
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x414c30
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x486a58
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x414c6c
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 8], eax
movsx ecx, byte [esp + 0x1c]
push ecx
lea edx, [esp + 0xc]
push str._c:_
push edx
mov dword [esp + 0x20], 0
call fcn.004067e0
mov esi, dword [esp + 0x14]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x414ce6
lea eax, [esi - 0x10]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414cd0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
push 0x4975c4
push esi
call fcn.00469941
add esp, 8
test eax, eax
je 0x414cac
push 0x4975c8
push esi
call fcn.00469941
add esp, 8
or edx, 0xffffffff
test eax, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
je 0x414cbd
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414d2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x414d50
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x486d70
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov bl, cl
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x414d93
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], 0
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x414dc5
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov edx, 1
mov byte [esp + 0x24], dl
mov edi, dword [eax - 0xc]
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
lea esi, [edi + 1]
sub ecx, esi
or ecx, edx
jge 0x414dfe
push esi
lea ecx, [esp + 0x18]
call fcn.00406390
mov eax, dword [esp + 0x14]
test esi, esi
mov byte [edi + eax], bl
jl 0x414e24
cmp esi, dword [eax - 8]
jg 0x414e24
mov dword [eax - 0xc], esi
lea edi, [esp + 0x14]
mov byte [esi + eax], 0
call fcn.00415dc0
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jge 0x414e2e
push 0x80070057
call fcn.00401db0
mov ecx, dword [0x4b9260]
movsx esi, byte [eax]
push ecx
movsx edi, bl
push edi
lea edx, [esp + 0x20]
push str._c:RECYCLER88_slocal
push edx
sub esi, 0x61
call fcn.004067e0
mov ebp, dword [esp + 0x28]
add esp, 0x10
push ebp
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
je 0x414e87
push 0
push 0x2000000
push 3
push 0
push 0
push 0xc0000000
push ebp
call ebx
cmp eax, 0xffffffff
je 0x414e87
mov dword [esi*4 + 0x4b8fc8], eax
mov eax, dword [0x4b9260]
push eax
push edi
lea ecx, [esp + 0x20]
push str._c:RECYCLER_slocal
push ecx
call fcn.004067e0
mov edi, dword [esp + 0x28]
add esp, 0x10
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x414ed0
push 0
push 0x2000000
push 3
push 0
push 0
push 0xc0000000
push edi
call ebx
cmp eax, 0xffffffff
je 0x414ed0
mov dword [esi*4 + 0x4b8f60], eax
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414ef5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414f19
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x41c2b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x487f95
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
call fcn.00435450
lea edi, [esp + 0x14]
mov dword [esp + 0x90], 0
call fcn.00435950
mov ecx, dword [esp + 0x9c]
mov eax, dword [ecx]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0040a140
cmp dword [0x4b8f40], 0
je 0x41c42c
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41c334
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
mov byte [esp + 0x90], 1
mov ecx, dword [esp + 0x18]
mov edx, dword [0x4b9124]
push ecx
push edx
lea eax, [esp + 0x14]
push str._s__s_0
push eax
call fcn.004067e0
push str.hjDriver.exe
lea ecx, [esp + 0x24]
push 0x4b90c8
push ecx
call fcn.00406070
mov esi, dword [esp + 0x28]
mov eax, dword [eax]
add esp, 0x1c
push 0
push 0
push esi
push eax
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41c3b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.driverparam.ini
lea ecx, [esp + 0x14]
push 0x4b90c8
push ecx
call fcn.00406070
mov eax, dword [eax]
mov edx, dword [esp + 0x24]
add esp, 0xc
push eax
push edx
push str.Disable
push str.DRIVER
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c406
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x90], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c469
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41c469
lea ecx, [esp + 0x18]
push ecx
call fcn.00436670
test eax, eax
push 0
push 0
je 0x41c45f
mov edx, dword [esp + 0xa0]
mov eax, dword [edx + 0x20]
push 0x4d0
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x498108
jmp 0x41c464
push 0x498138
call fcn.0044f968
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x94], 0xffffffff
call fcn.00435560
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x88
ret 8
Function at 0x41c4a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x487f95
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
call fcn.00435450
lea edi, [esp + 0x14]
mov dword [esp + 0x90], 0
call fcn.00435950
mov ecx, dword [esp + 0x9c]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
jge 0x41c4ff
push 0x80070057
call fcn.00401db0
mov dl, byte [eax]
mov byte [esp + 0xc], dl
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00424ef0
cmp dword [0x4b8f40], 0
je 0x41c633
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41c53b
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
mov byte [esp + 0x90], 1
mov ecx, dword [esp + 0x18]
mov edx, dword [0x4b9124]
push ecx
push edx
lea eax, [esp + 0x14]
push str._s__s_2
push eax
call fcn.004067e0
push str.hjDriver.exe
lea ecx, [esp + 0x24]
push 0x4b90c8
push ecx
call fcn.00406070
mov esi, dword [esp + 0x28]
mov eax, dword [eax]
add esp, 0x1c
push 0
push 0
push esi
push eax
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41c5be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.driverparam.ini
lea ecx, [esp + 0x14]
push 0x4b90c8
push ecx
call fcn.00406070
mov eax, dword [eax]
mov edx, dword [esp + 0x24]
add esp, 0xc
push eax
push edx
push str.Disable
push str.DRIVER
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c60d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x90], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c670
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41c670
lea ecx, [esp + 0x18]
push ecx
call fcn.00436670
test eax, eax
push 0
push 0
je 0x41c666
mov edx, dword [esp + 0xa0]
mov eax, dword [edx + 0x20]
push 0x4d0
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x49818c
jmp 0x41c66b
push 0x4981b8
call fcn.0044f968
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x94], 0xffffffff
call fcn.00435560
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x88
ret 8
Function at 0x41c6a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48a9b0
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
cmp dword [0x4b8f40], 0
je 0x41c812
push 0x494704
lea ecx, [esp + 0x18]
call fcn.00406500
mov dword [esp + 0x98], 0
lea ecx, [esi + 0x2618]
push edi
mov dword [esi + 0x2620], 0
mov dword [esi + 0x2624], 0
call fcn.00406820
lea eax, [esp + 0x14]
lea ecx, [esi + 0x261c]
push eax
call fcn.00406820
or ebx, 0xffffffff
mov dword [esp + 0x98], ebx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c74f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41c769
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x98], 1
mov ecx, dword [edi]
mov edx, dword [0x4b9124]
push ecx
push edx
lea eax, [esp + 0x1c]
push str._s__s_1
push eax
call fcn.004067e0
push str.hjDriver.exe
lea ecx, [esp + 0x2c]
push 0x4b90c8
push ecx
call fcn.00406070
mov esi, dword [esp + 0x30]
mov eax, dword [eax]
add esp, 0x1c
push 0
push 0
push esi
push eax
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41c7ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x98], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x41c886
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41c886
lea ecx, [esp + 0x1c]
push ecx
call fcn.00435450
mov dword [esp + 0x98], 2
mov edi, dword [edi]
cmp dword [edi - 0xc], 0
jge 0x41c839
push 0x80070057
call fcn.00401db0
mov bl, byte [edi]
lea edx, [esp + 0x1c]
push edx
call fcn.00435f80
test eax, eax
push 0
push 0
je 0x41c867
mov eax, dword [esi + 0x20]
push 0x4d1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x498204
jmp 0x41c86c
push 0x498230
call fcn.0044f968
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x9c], 0xffffffff
call fcn.00435560
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x8c
ret
Function at 0x41c8a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48a9b0
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
cmp dword [0x4b8f40], 0
je 0x41ca12
push 0x494704
lea ecx, [esp + 0x18]
call fcn.00406500
lea eax, [esp + 0x14]
mov dword [esp + 0x98], 0
lea ecx, [esi + 0x2618]
push eax
mov dword [esi + 0x2620], 0
mov dword [esi + 0x2624], 0
call fcn.00406820
lea ecx, [esi + 0x261c]
push edi
call fcn.00406820
or ebx, 0xffffffff
mov dword [esp + 0x98], ebx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c94f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41c969
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x98], 1
mov ecx, dword [edi]
mov edx, dword [0x4b9124]
push ecx
push edx
lea eax, [esp + 0x1c]
push str._s__s_3
push eax
call fcn.004067e0
push str.hjDriver.exe
lea ecx, [esp + 0x2c]
push 0x4b90c8
push ecx
call fcn.00406070
mov esi, dword [esp + 0x30]
mov eax, dword [eax]
add esp, 0x1c
push 0
push 0
push esi
push eax
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41c9ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x98], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x41ca86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41ca86
lea ecx, [esp + 0x1c]
push ecx
call fcn.00435450
mov dword [esp + 0x98], 2
mov edi, dword [edi]
cmp dword [edi - 0xc], 0
jge 0x41ca39
push 0x80070057
call fcn.00401db0
mov bl, byte [edi]
lea edx, [esp + 0x1c]
push edx
call fcn.004361b0
test eax, eax
push 0
push 0
je 0x41ca67
mov eax, dword [esi + 0x20]
push 0x4d1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x49827c
jmp 0x41ca6c
push 0x4982a8
call fcn.0044f968
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x9c], 0xffffffff
call fcn.00435560
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x8c
ret