joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cfcb
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [esi + 0x2c]
push edi
mov edi, dword [esi + 0x3c]
sub edi, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub edi, eax
lea ecx, [ebx + ecx - 0x106]
mov dword [ebp - 8], edi
cmp eax, ecx
jb 0x40d058
mov eax, dword [esi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.005642c0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x44]
sub dword [esi + 0x70], ebx
sub dword [esi + 0x6c], ebx
add esp, 0xc
sub dword [esi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x40d018
mov eax, dword [esi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x40d03a
add edi, ebx
mov dword [ebp - 8], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x40d102
mov eax, dword [esi + 0x74]
add eax, dword [esi + 0x6c]
mov ecx, dword [edi + 4]
add eax, dword [esi + 0x38]
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ecx
cmp ecx, edx
jbe 0x40d080
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x40d08a
xor eax, eax
jmp 0x40d0c3
sub ecx, dword [ebp - 4]
mov dword [edi + 4], ecx
mov ecx, dword [edi + 0x1c]
cmp dword [ecx + 0x18], 1
jne 0x40d0ad
push dword [ebp - 4]
mov ecx, dword [edi]
mov eax, dword [edi + 0x30]
call fcn.0040d8e0
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0xc]
pop ecx
push dword [ebp - 4]
push dword [edi]
push eax
call fcn.005642c0
mov eax, dword [ebp - 4]
add dword [edi], eax
add esp, 0xc
add dword [edi + 8], eax
add dword [esi + 0x74], eax
mov edi, dword [esi + 0x74]
cmp edi, 3
jb 0x40d0ee
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edi, 0x106
jae 0x40d102
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x40cfd6
pop edi
pop ebx
leave
ret
Function at 0x40f8ab
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x6015a8]
xor eax, ebp
mov dword [ebp + 0x39c], eax
mov eax, dword [ebp + 0x3a8]
push ebx
push esi
push edi
push 5
xor esi, esi
push esi
push esi
push eax
push str.open
push esi
mov dword [ebp - 0x80], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x7c], eax
cmp eax, 0x20
ja 0x40f9e8
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x78]
push eax
push 1
push esi
push str..htm
push SysReAllocString
call ebx
cmp eax, esi
jne 0x40f9e8
lea eax, [ebp - 0x78]
push eax
lea edi, [ebp - 0x74]
call fcn.0040f84b
cmp eax, esi
jne 0x40f9e8
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x5c6170
mov eax, edi
push eax
call esi
lea eax, [ebp - 0x78]
push eax
push 1
push 0
mov eax, edi
push eax
push SysReAllocString
call ebx
test eax, eax
jne 0x40f9e8
lea eax, [ebp - 0x78]
push eax
call fcn.0040f84b
test eax, eax
jne 0x40f9e8
mov eax, edi
push 0x5c6198
push eax
call fcn.005638b8
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x40f99e
lea eax, [ebp - 0x74]
push 0x5c61a4
push eax
call fcn.005638b8
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x40f99e
lea eax, [ebp - 0x74]
push eax
call ebx
lea edi, [ebp + eax*2 - 0x76]
jmp 0x40f9a3
xor eax, eax
mov word [edi], ax
push 0x5b92d0
push edi
call esi
push dword [ebp - 0x80]
push edi
call esi
lea eax, [ebp - 0x74]
push eax
call ebx
inc eax
cmp eax, 0x3fffffff
jle 0x40f9c3
xor eax, eax
jmp 0x40f9dc
lea esi, [eax + eax]
mov eax, esi
call fcn.00564cf0
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x74]
push ecx
push eax
call fcn.0040fc29
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
xor ecx, ebp
call fcn.00562d51
add ebp, 0x3a0
leave
ret 4
Function at 0x410014
Capabilities:
Get memory capacity

Disassembly:
push 0x7c
push 0x5dce90
call fcn.00565964
and dword [ebp - 0x1c], 0
push str.GetPhysicallyInstalledSystemMemory
mov ebx, 0x5b9b5c
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call esi
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
test eax, eax
je 0x410065
lea ecx, [ebp - 0x2c]
push ecx
call eax
test eax, eax
je 0x410065
fild qword [ebp - 0x2c]
fmul qword [0x5cae48]
fadd qword [0x5cae40]
call fcn.005652a0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x410128
push str.GlobalMemoryStatusEx
push ebx
call esi
push eax
call edi
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x410128
push 0x40
pop edi
push edi
push ebx
lea eax, [ebp - 0x8c]
push eax
call fcn.005635a0
add esp, 0xc
mov dword [ebp - 0x8c], edi
wait
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x8c]
push eax
call esi
test eax, eax
je 0x4100de
mov ecx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], eax
and eax, 0x7fffffff
mov dword [ebp - 0x28], eax
fild qword [ebp - 0x2c]
and dword [ebp - 0x20], 0x80000000
mov dword [ebp - 0x24], ebx
fild qword [ebp - 0x24]
fchs
faddp st(1)
jmp 0x4100f8
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x44]
fild dword [ebp - 0x44]
test eax, eax
jge 0x4100f8
fadd qword [0x5cae38]
fmul qword [0x5cae30]
fadd qword [0x5cae40]
call fcn.005652a0
mov dword [ebp - 0x1c], eax
test al, 1
je 0x410113
inc dword [ebp - 0x1c]
wait
jmp 0x410121
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
call fcn.005659a9
ret

Function at 0x410e38
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x608
mov eax, dword [0x6015a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x608], ecx
mov ecx, dword [eax + 0x810]
test ecx, ecx
je 0x410efc
push dword [ebp + 8]
call fcn.00469120
test eax, eax
je 0x410efc
push ebx
push esi
mov ecx, eax
call fcn.0046cb20
mov ebx, eax
push ebx
xor esi, esi
call fcn.00563c80
pop ecx
test eax, eax
jle 0x410eb7
push edi
mov edi, ebx
lea eax, [ebp - 0x204]
sub edi, eax
lea eax, [edi + esi]
mov al, byte [ebp + eax - 0x204]
xor al, 0xe2
mov byte [ebp + esi - 0x204], al
push ebx
inc esi
call fcn.00563c80
cmp esi, eax
pop ecx
jl 0x410e97
pop edi
mov byte [ebp + esi - 0x204], 0
mov esi, 0x200
push esi
lea eax, [ebp - 0x604]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x204]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x604]
push eax
push esi
push dword [ebp - 0x608]
call fcn.00563919
add esp, 0xc
xor eax, eax
pop esi
inc eax
pop ebx
jmp 0x410efe
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00562d51
leave
ret 8
Function at 0x410f85
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x608
mov eax, dword [0x6015a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x608], ecx
mov ecx, dword [eax + 0x810]
test ecx, ecx
je 0x411049
push dword [ebp + 8]
call fcn.00469120
test eax, eax
je 0x411049
push ebx
push esi
mov ecx, eax
call fcn.0046cb60
mov ebx, eax
push ebx
xor esi, esi
call fcn.00563c80
pop ecx
test eax, eax
jle 0x411004
push edi
mov edi, ebx
lea eax, [ebp - 0x204]
sub edi, eax
lea eax, [edi + esi]
mov al, byte [ebp + eax - 0x204]
xor al, 0xb7
mov byte [ebp + esi - 0x204], al
push ebx
inc esi
call fcn.00563c80
cmp esi, eax
pop ecx
jl 0x410fe4
pop edi
mov byte [ebp + esi - 0x204], 0
mov esi, 0x200
push esi
lea eax, [ebp - 0x604]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x204]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x604]
push eax
push esi
push dword [ebp - 0x608]
call fcn.00563919
add esp, 0xc
xor eax, eax
pop esi
inc eax
pop ebx
jmp 0x41104b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00562d51
leave
ret 8
Function at 0x425d9f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x89c
mov eax, 0x58ac1e
call fcn.0056516b
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x8a8], esi
mov edi, edx
mov dword [ebp - method.CRJK.virtual_0], vtable.CRJK.0
mov byte [ebp - 0x8a0], bl
mov dword [ebp - 4], ebx
mov eax, dword [0x6141d4]
mov dl, byte [eax]
mov cl, 0x30
add dl, cl
mov byte [ebp - 0x30], dl
mov dl, byte [eax + 4]
add dl, cl
push edi
push dword [ebp + 8]
mov byte [ebp - 0x2f], dl
mov dl, byte [eax + 8]
mov al, byte [eax + 0xc]
add al, cl
push str._X:_s_
mov byte [ebp - 0x2d], al
lea eax, [ebp - 0x430]
add dl, cl
push 0x100
push eax
mov byte [ebp - 0x2e], dl
mov byte [ebp - 0x2c], 0x35
mov byte [ebp - 0x2b], cl
mov byte [ebp - 0x2a], 0x65
mov byte [ebp - 0x29], 0x36
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x6b
mov byte [ebp - 0x26], 0x69
mov byte [ebp - 0x25], 0x75
mov byte [ebp - 0x24], 0x39
mov byte [ebp - 0x23], 0x37
mov byte [ebp - 0x22], 0x31
mov byte [ebp - 0x21], 0x61
call fcn.00460100
add esp, 0x14
push ebx
push ebx
push 0x200
lea eax, [ebp - 0x230]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x430]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x230]
push eax
call fcn.00563c80
lea edi, [eax + 0x10]
pop ecx
mov ecx, dword [esi + 0xa54]
and edi, 0xfffffff0
add ecx, edi
cmp ecx, 0x1c000
ja 0x425ee1
cmp eax, edi
jge 0x425e9b
mov edx, edi
sub edx, eax
push edx
lea ecx, [ebp + eax - 0x230]
push ebx
push ecx
call fcn.005635a0
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
lea esi, [ebp - 0x8a4]
call fcn.00420a35
lea ecx, [ebp - 0x230]
push edi
mov eax, ecx
call fcn.00421378
mov esi, dword [ebp - 0x8a8]
push edi
lea eax, [ebp - 0x230]
push eax
mov eax, dword [esi + 0xa44]
add eax, dword [esi + 0xa54]
push eax
call fcn.005642c0
add esp, 0xc
add dword [esi + 0xa54], edi
call fcn.005651ee
ret 4
Function at 0x429835
Capabilities:
Contain obfuscated stackstrings
Write file on windows

Disassembly:
push 0x4a8
mov eax, 0x58ade9
call fcn.0056516b
lea eax, [ebp - 0x4b4]
push 0x1388
push eax
mov edi, ecx
call fcn.00461b70
mov ecx, eax
call fcn.0045e0d0
test eax, eax
je 0x429a26
push 1
push edi
call fcn.00425ee9
mov eax, dword [edi + 0xa54]
xor ebx, ebx
mov byte [ebp - 0x30], 0x31
mov byte [ebp - 0x2f], 0x62
mov byte [ebp - 0x2e], 0x33
mov byte [ebp - 0x2d], 0x30
mov byte [ebp - 0x2c], 0x34
mov byte [ebp - 0x2b], 0x63
mov byte [ebp - 0x2a], 0x37
mov byte [ebp - 0x29], 0x61
mov byte [ebp - 0x28], 0x32
mov byte [ebp - 0x27], 0x64
mov byte [ebp - 0x26], 0x30
mov byte [ebp - 0x25], 0x30
mov byte [ebp - 0x24], 0x34
mov byte [ebp - 0x23], 0x37
mov byte [ebp - 0x22], 0x31
mov byte [ebp - 0x21], 0x30
mov byte [ebp - 0x20], bl
mov dword [ebp - 0x4b0], eax
mov dword [ebp - method.CRJK.virtual_0], vtable.CRJK.0
mov byte [ebp - 0x4a0], bl
lea eax, [ebp - 0x30]
push eax
lea esi, [ebp - 0x4a4]
mov dword [ebp - 4], ebx
call fcn.00420a35
mov eax, dword [edi + 0xa44]
push dword [ebp - 0x4b0]
mov ecx, eax
call fcn.00421378
lea esi, [edi + 0x404]
cmp word [esi], bx
jne 0x429950
push 0x5ca028
push 0x100
push esi
call fcn.00460100
mov ecx, dword [0x6139b8]
add esp, 0xc
cmp ecx, ebx
je 0x429950
push dword [0x6141c8]
mov eax, dword [ecx]
push ebx
call dword [eax + 0xb8]
fstp dword [ebp - 0x4a8]
fld dword [ebp - 0x4a8]
call fcn.005652a0
push eax
push str.cpuz__d.cvf
push 0x100
push esi
call fcn.00460100
add esp, 0x10
push ebx
push 0x80000080
push 2
push ebx
push ebx
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x4a8], eax
cmp eax, 0xffffffff
je 0x429a1a
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
lea ecx, [ebp - 0x4ac]
push ecx
push 0xb
lea ecx, [ebp - 0x20]
push ecx
push eax
mov byte [ebp - 0x20], 0x43
mov byte [ebp - 0x1f], 0x50
mov byte [ebp - 0x1e], 0x55
mov byte [ebp - 0x1d], 0x5a
mov byte [ebp - 0x1c], 0x43
mov byte [ebp - 0x1b], 0x56
mov byte [ebp - 0x1a], 0x46
mov byte [ebp - 0x19], 0x32
mov byte [ebp - 0x18], 0x30
mov byte [ebp - 0x17], 0x30
mov byte [ebp - 0x16], 0x23
call esi
push ebx
lea eax, [ebp - 0x4ac]
push eax
push dword [ebp - 0x4b0]
push dword [edi + 0xa44]
mov edi, dword [ebp - 0x4a8]
push edi
call esi
mov eax, dword [0x6141d4]
mov dl, byte [eax]
mov cl, 5
add dl, cl
mov byte [ebp - 0x20], dl
mov dl, byte [eax + 4]
add dl, cl
mov byte [ebp - 0x1f], dl
mov dl, byte [eax + 8]
add dl, cl
mov byte [ebp - 0x1e], dl
mov al, byte [eax + 0xc]
add al, cl
push ebx
mov byte [ebp - 0x1d], al
lea eax, [ebp - 0x4ac]
push eax
push 4
lea eax, [ebp - 0x20]
push eax
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00461b70
mov ecx, eax
call fcn.0045d9e0
call fcn.005651ee
ret
Function at 0x43b604
Capabilities:
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x188]
sub esp, 0x208
mov eax, dword [0x6015a8]
xor eax, ebp
mov dword [ebp + 0x184], eax
push ebx
xor ebx, ebx
push esi
mov esi, ecx
push edi
or edi, 0xffffffff
push 0x54
mov dword [esi], vtable.CKMDriver.0
mov byte [esi + 0x410], bl
mov byte [esi + 0x610], bl
mov byte [esi + 0x210], bl
mov byte [esi + 0xa10], bl
mov byte [esi + 0x810], bl
mov byte [esi + 4], bl
mov byte [esi + 0xb40], bl
mov dword [esi + 0x204], edi
mov dword [esi + 0xb30], ebx
mov dword [esi + 0x208], ebx
mov dword [esi + 0x20c], ebx
mov dword [esi + 0xb1c], ebx
mov dword [esi + 0xb20], ebx
mov dword [esi + 0xb24], ebx
mov dword [esi + 0xb28], ebx
mov dword [esi + 0xd44], ebx
mov dword [esi + 0xb10], edi
mov dword [esi + 0xb14], edi
mov dword [esi + 0xb18], edi
mov dword [esi + 0xb2c], edi
mov dword [esi + 0xd40], edi
mov dword [esi + 0xd48], edi
mov dword [esi + 0xd4c], edi
mov dword [esi + 0xd50], edi
mov dword [esi + 0xd54], edi
call fcn.00551d80
pop ecx
mov dword [ebp - 0x80], eax
cmp eax, ebx
je 0x43b6e2
push 0x54
push ebx
push eax
call fcn.005635a0
mov eax, dword [ebp - 0x80]
add esp, 0xc
jmp 0x43b6e4
xor eax, eax
mov dword [esi + 0xb3c], eax
mov byte [eax], bl
mov eax, dword [esi + 0xb3c]
mov dword [eax + 0x40], edi
mov eax, dword [esi + 0xb3c]
mov dword [eax + 0x44], edi
mov eax, dword [esi + 0xb3c]
mov dword [eax + 0x48], edi
mov eax, dword [esi + 0xb3c]
mov dword [eax + 0x4c], edi
mov eax, dword [esi + 0xb3c]
mov dword [eax + 0x50], edi
push 0x200
lea eax, [ebp - 0x7c]
push eax
mov dword [esi + 0xb34], ebx
mov dword [esi + 0xb38], ebx
mov byte [ebp - 0x7c], bl
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
mov dword [ebp - 0x80], eax
cmp eax, ebx
jbe 0x43b7b1
push str._temp
lea eax, [ebp - 0x7c]
push 0x200
push eax
call fcn.00460170
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, edi
je 0x43b766
test al, 0x10
jne 0x43b769
mov dword [ebp - 0x80], ebx
cmp dword [ebp - 0x80], ebx
jbe 0x43b7b1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x7c]
push eax
push str._scpuz_driver__d.log
push 0x200
lea edi, [esi + 0xb40]
push edi
call fcn.00460090
push 0x58fe34
push edi
lea edi, [esi + 0xb34]
push edi
call fcn.00564079
mov edi, dword [edi]
add esp, 0x20
cmp edi, ebx
je 0x43b7b1
push edi
call fcn.00563521
pop ecx
mov ecx, dword [ebp + 0x184]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00562d51
add ebp, 0x188
leave
ret
Function at 0x43b7f4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea eax, [ebp - 0x10]
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x2710
push dword [esi + 0xb30]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ebx, ebx
cmp eax, ebx
je 0x43b830
push eax
push str._vCloseDriver__WaitForSingleObject_error___d_n
push esi
call fcn.0043c91f
add esp, 0xc
jmp 0x43b88e
mov eax, dword [esi + 0xb10]
dec eax
je 0x43b87b
dec eax
jne 0x43b882
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
push dword [esi + 0xb3c]
call fcn.0043d5c7
lea eax, [ebp + 0xc]
push eax
push 0x28
mov dword [ebp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x43b882
push ebx
push str.SeLoadDriverPrivilege
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0043cb83
jmp 0x43b882
mov ecx, esi
call fcn.0043c8a6
push dword [esi + 0xb30]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [esi + 0xb30]
cmp eax, ebx
je 0x43b8b4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
push str._vCloseDriver__CloseHandle_mutex____d_n
push esi
call fcn.0043c91f
add esp, 0xc
mov dword [esi + 0xb30], ebx
cmp dword [ebp + 0x10], ebx
je 0x43b8ca
lea eax, [esi + 0xb40]
cmp byte [eax], bl
je 0x43b8ca
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
pop ebx
leave
ret 0xc
Function at 0x43bbb7
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x6015a8]
xor eax, ebp
mov dword [ebp + 0x188], eax
mov eax, dword [ebp + 0x194]
push ebx
push esi
push edi
push eax
mov esi, ecx
mov ecx, dword [ebp + 0x198]
push str._bInitDriver__Extract_path___s_n
push esi
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], ecx
call fcn.0043c91f
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
add esp, 0xc
lea eax, [esi + 4]
push eax
mov edi, 0x200
push edi
call ebx
lea eax, [esi + 4]
push eax
push str._bInitDriver__GetCurrentDirectory___s_n
push esi
call fcn.0043c91f
add esp, 0xc
push edi
lea eax, [ebp - 0x78]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x78]
push eax
push str._bInitDriver__GetModuleFileName___s_n
push esi
call fcn.0043c91f
add esp, 0xc
mov ecx, esi
call fcn.0043c9a2
cmp dword [ebp - 0x7c], 0
mov eax, dword [ebp + 0x19c]
mov dword [esi + 0x20c], eax
lea eax, [esi + 0x410]
je 0x43bc69
push dword [ebp - 0x7c]
push edi
push eax
call fcn.00564635
add esp, 0xc
jmp 0x43bc6d
push eax
push edi
call ebx
push str.cpuz157
push 0x40
push dword [esi + 0xb3c]
call fcn.00460090
mov eax, dword [esi + 0xb3c]
mov dword [eax + 0x40], 0x157
mov eax, dword [esi + 0xb3c]
mov ecx, dword [esi + 0xd48]
mov dword [eax + 0x4c], ecx
mov eax, dword [esi + 0xb3c]
mov ecx, dword [esi + 0xd4c]
mov dword [eax + 0x44], ecx
mov eax, dword [esi + 0xb3c]
mov ecx, dword [esi + 0xd50]
mov dword [eax + 0x48], ecx
mov eax, dword [esi + 0xb3c]
mov ecx, dword [esi + 0xd54]
mov dword [eax + 0x50], ecx
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push dword [esi + 0xb3c]
mov ecx, esi
call fcn.0043b9e6
xor ebx, ebx
mov edi, eax
inc ebx
test edi, edi
jne 0x43bd78
cmp dword [ebp - 0x7c], 0x241
jne 0x43bd78
mov ecx, esi
call fcn.0043b997
push edi
push ebx
push ebx
mov ecx, esi
call fcn.0043b7f4
push str.cpuz152
push 0x40
push dword [esi + 0xb3c]
call fcn.00460090
mov eax, dword [esi + 0xb3c]
mov dword [eax + 0x40], 0x152
mov eax, dword [esi + 0xb3c]
mov ecx, dword [esi + 0xd48]
mov dword [eax + 0x4c], ecx
mov eax, dword [esi + 0xb3c]
mov ecx, dword [esi + 0xd58]
mov dword [eax + 0x44], ecx
mov eax, dword [esi + 0xb3c]
mov ecx, dword [esi + 0xd5c]
mov dword [eax + 0x48], ecx
mov eax, dword [esi + 0xb3c]
mov ecx, dword [esi + 0xd54]
mov dword [eax + 0x50], ecx
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push dword [esi + 0xb3c]
mov ecx, esi
call fcn.0043b9e6
mov edi, eax
push dword [ebp - 0x7c]
push str._bInitDriver__bInitDriver_returned__d_n
push esi
call fcn.0043c91f
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x7c]
mov dword [eax], ecx
add esp, 0xc
mov ecx, esi
call fcn.0043b997
test edi, edi
jne 0x43bdaa
push edi
push ebx
push ebx
mov ecx, esi
call fcn.0043b7f4
xor eax, eax
jmp 0x43bdb3
and dword [esi + 0xd44], 0
mov eax, edi
mov ecx, dword [ebp + 0x188]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00562d51
add ebp, 0x18c
leave
ret 0xc
Function at 0x43c91f
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x6015a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea esi, [edi + 0xb34]
push 0x590208
add edi, 0xb40
push edi
push esi
call fcn.00564079
add esp, 0xc
cmp dword [esi], 0
je 0x43c994
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push 0x100
push eax
call fcn.00563f98
lea eax, [ebp - 0x104]
push eax
push dword [esi]
call fcn.005653fa
push dword [esi]
call fcn.00563521
add esp, 0x1c
and dword [esi], 0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00562d51
leave
ret
Function at 0x43c9a2
Capabilities:
Get system information on windows

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xd4
mov eax, dword [0x6015a8]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
push edi
mov edi, 0x9c
push edi
lea eax, [ebp - 0x28]
push 0
push eax
mov esi, ecx
call fcn.005635a0
add esp, 0xc
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], edi
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call edi
test eax, eax
jne 0x43ca15
mov ebx, 0x94
push ebx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005635a0
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], ebx
call edi
test eax, eax
jne 0x43ca15
push str._vGetOSVersion__GetVersionEx_returned_NULL_n
push esi
call fcn.0043c91f
pop ecx
pop ecx
jmp 0x43cb71
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
push edx
push ecx
push eax
push str._vGetOSVersion__m_iOSVersion___d___d._d__n
push esi
mov dword [esi + 0xb10], eax
mov dword [esi + 0xb14], ecx
mov dword [esi + 0xb18], edx
call fcn.0043c91f
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x43ca9e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetNativeSystemInfo
push ebx
call edi
test eax, eax
je 0x43ca81
lea ecx, [ebp - 0x5c]
push ecx
call eax
push str.IsWow64Process
push ebx
call edi
push str.IsWow64Process2
push ebx
mov dword [ebp - 0x2c], eax
call edi
push ebx
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx eax, word [ebp - 0x5c]
mov dword [esi + 0xb2c], eax
dec eax
dec eax
push 1
pop edi
je 0x43caf2
sub eax, 3
je 0x43cac3
dec eax
je 0x43caea
dec eax
je 0x43caf2
dec eax
dec eax
je 0x43cacb
sub eax, 3
jne 0x43caf8
mov dword [esi + 0xb28], edi
jmp 0x43caf8
cmp dword [ebp - 0x2c], 0
je 0x43caf8
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x30]
call dword [ebp - 0x2c]
test eax, eax
je 0x43caf8
mov eax, dword [ebp - 0x38]
mov dword [esi + 0xb1c], eax
jmp 0x43caf8
mov dword [esi + 0xb20], edi
jmp 0x43caf8
mov dword [esi + 0xb24], edi
xor eax, eax
cmp dword [ebp - 0x34], eax
je 0x43cb4b
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x34]
test eax, eax
je 0x43cb4b
movzx eax, word [ebp - 0x2c]
push eax
movzx eax, word [ebp - 0x30]
push eax
push str._vGetOSVersion__process_machine0x_X__native_machine0x_X_n
push esi
call fcn.0043c91f
mov eax, 0xaa64
add esp, 0x10
cmp word [ebp - 0x2c], ax
jne 0x43cb4b
and dword [esi + 0xb1c], 0
mov dword [esi + 0xb28], edi
push dword [esi + 0xb28]
push dword [esi + 0xb24]
push dword [esi + 0xb20]
push dword [esi + 0xb1c]
push str._vGetOSVersion__IsAMD64_d__IsIA64_d__IsAlpha_d__IsARM_d_n
push esi
call fcn.0043c91f
add esp, 0x18
mov ecx, dword [ebp + 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00562d51
add ebp, 0x78
leave
ret