joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fe08
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0040f9f9
push eax
push esi
push dword [ebp + 8]
call fcn.0040f9ae
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0040f9e9
les ebx, [ebp - 0xa]
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.0040f9e9
mov al, byte [0x8deba717]
test dword [edi + edi*8 - 1], edi
call dword [eax - 0x18]
sbb al, 0xfb
invalid
Function at 0x411393
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push es
add byte [eax], al
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x411564
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
invalid
invalid
Function at 0x403808
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x403829
jl 0x403820
test edi, edi
jne 0x403829
xor eax, eax
xor edx, edx
jmp 0x4038ea
cmp dword [ebx + 0x38], 0
je 0x40383e
push eax
push edi
push dword [ebp + 8]
call fcn.004038f0
jmp 0x4038ea
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x403885
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x403885
cmp eax, edi
jb 0x40385f
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.00405bb0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x40388b
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x4038df
mov ecx, ebx
call fcn.00402f02
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x4038ca
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.00409d92
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x4038df
jmp 0x40389d
test edx, edx
je 0x4038df
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00409d92
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x405395
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4053d4
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4053d4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4053d4
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4053d4
cmp dword [ecx + 0x74], 0xe
jbe 0x4053d4
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40f6a6
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4202c8
push 0x4202c0
push str.FlsAlloc
push 0x1e
call fcn.0040f513
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40f6da
push dword [ebp + 8]
mov ecx, esi
call dword [0x41d138]
call esi
jmp 0x40f6e0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40f724
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4202d8
push 0x4202d0
push str.FlsGetValue
push 0x20
call fcn.0040f513
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40f75b
push dword [ebp + 8]
mov ecx, esi
call dword [0x41d138]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x410c73
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00410ae4

Function at 0x41106d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00405500
mov eax, dword [0x42a010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0040fcd9
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4110af
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41120b
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0041bc20
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x42b908]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00412064
mov ecx, dword [esi*4 + 0x42b908]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x411204
cmp eax, dword [edi + ecx + 0x24]
jne 0x411204
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x411204
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00412064
add esp, 0x14
test edx, edx
jl 0x411204
jg 0x41117a
test eax, eax
jb 0x411204
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x411204
jl 0x411194
cmp dword [ebp - 0x1008], eax
ja 0x411204
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4111b2
test ebx, ebx
je 0x4111eb
cmp ecx, edi
jae 0x4111eb
mov al, byte [ecx]
cmp al, 0xd
jne 0x4111cc
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4111d8
cmp byte [ecx + 1], 0xa
jne 0x4111d8
inc ecx
jmp 0x4111d8
movzx eax, al
movsx eax, byte [eax + 0x42a298]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4111b2
cmp edx, ebx
jne 0x4111b2
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x411209
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00404769
leave
ret
Function at 0x411502
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x42b908]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x411542
cmp byte [ebx], 0xa
jne 0x411542
or byte [eax + edi + 0x28], 4
jmp 0x411547
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x411645
mov al, byte [edx]
cmp al, 0x1a
je 0x411627
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x411576
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41159b
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4115a5
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x411558
jmp 0x411645
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x411622
cmp dword [ebp - 0xc], 0
je 0x411622
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x42b908]
test byte [eax + edi + 0x28], 0x48
je 0x4115fc
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4115e7
mov byte [esi], dl
jmp 0x4115f8
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x42b908]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x411645
cmp byte [ebp - 1], 0xa
jne 0x41160b
cmp esi, ebx
jne 0x41160b
mov byte [esi], 0xa
jmp 0x411644
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00412082
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x411645
mov byte [esi], 0xd
jmp 0x411644
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x42b908]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x411641
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x411645
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41164e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x42b908]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x411691
cmp word [esi], dx
jne 0x411691
or byte [edi + eax + 0x28], 4
jmp 0x411696
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4117e9
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4117c9
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4116d8
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41170e
cmp eax, edx
jae 0x41171a
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4116b0
jmp 0x4117e9
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4117c5
cmp dword [ebp - 0x14], 0
je 0x4117c5
mov eax, dword [ebx*4 + 0x42b908]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41179d
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x411766
mov word [esi], cx
jmp 0x411799
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x42b908]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x42b908]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x42b908]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4117e9
pop ebx
cmp word [ebp - 4], bx
jne 0x4117ae
cmp esi, dword [ebp + 0xc]
jne 0x4117ae
mov word [esi], bx
jmp 0x4117e6
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00412082
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4117e9
push 0xd
jmp 0x4117e2
mov ecx, dword [ebx*4 + 0x42b908]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4117e0
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4117e9
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41680d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4168aa
push ebx
push esi
call fcn.004167d6
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0041545b
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x416857
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4168a9
push edi
push eax
call fcn.00412261
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x416877
call fcn.0040f1db
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4168a8
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041545b
add esp, 0x20
test eax, eax
jne 0x416896
push edi
call fcn.0040f1db
jmp 0x41689e
push ebx
call fcn.0040f1db
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x41bbe0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41bc0d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41bc0d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x43b654
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x43b3c1
sub eax, 0xe83091cf
call fcn.0043b686
or esi, eax
sub esi, eax
inc esi
xor dword [edx], ecx
sub esi, 0xdeed592d
inc edx
mov eax, eax
add eax, esi
cmp edx, ebx
jne fcn.0043b654
sub eax, 0x2ca14fe0
add eax, eax
ret

Function at 0x10001193
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, str.dpmmBmbvusjWfmjGebfSfmjGfubfsDXfuvdfyFmmfiT
push edi
mov eax, esi
call fcn.1000117f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
push str.shell32.dll
mov byte [0x10003029], bl
mov byte [0x10003034], bl
mov byte [0x1000303d], bl
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x10003035
push str.kernel32.dll
mov dword [ebp - 4], eax
call esi
push eax
call edi
push 0x1000303e
push str.kernel32.dll
mov dword [ebp - 8], eax
call esi
push eax
call edi
push 1
push ebx
push ebx
push 0x10002058
push ebx
push ebx
mov edi, eax
call dword [ebp - 4]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push str.desktop.ini
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x10003060], eax
cmp eax, 0xffffffff
je 0x100013f5
push 0x40
mov esi, 0x1000
push esi
push esi
push ebx
call edi
push ebx
push 0x10003064
push esi
push eax
push dword [0x10003060]
mov dword [0x1000305c], eax
call dword [ebp - 8]
mov eax, dword [0x1000305c]
mov cl, byte [eax]
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
movzx ecx, cl
xor ecx, 0x4e
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
xor esi, esi
cmp dword [0x10003064], esi
jbe 0x10001375
mov eax, dword [0x1000305c]
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003064]
jb 0x1000135c
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
call dword [0x1000305c]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x13960
Capabilities:
Install driver

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, edx
and edi, 0xfffff000
mov esi, dword [edi]
movzx eax, byte [esi + 0x1b]
inc eax
shl eax, 6
mov ecx, eax
mov eax, esi
sub eax, ecx
cmp dword [edx + 0x10], edi
jne 0x3e053
cmp word [edx + 4], 0x20
jne 0x3e053
mov ecx, dword [edx + 0xc]
lea ebx, [edx + 0x20]
cmp ecx, ebx
jne 0x3e053
mov ecx, dword [edx + 0x18]
add ecx, dword [edx + 0x10]
cmp ecx, dword [edx + 0xc]
jne 0x3e053
mov eax, dword [sym.imp.ntoskrnl.exe_KeTickCount]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 4]
mov ebx, dword [ebp + 8]
cmp eax, dword [ebx + 8]
mov ecx, dword [ecx]
jne 0x14fe9
cmp eax, dword [esi + 0x14]
jl 0x139ec
jg 0x14fd2
cmp ecx, dword [esi + 0x10]
ja 0x14fd2
movzx ebx, word [edi + 0xe]
mov dword [edi + 0x18], ecx
xor ecx, ecx
mov dword [edi + 0x1c], eax
lea eax, [esi + 0x20]
inc ecx
lock xadd dword [eax], ecx
lea ecx, [edi + 0x10]
call dword [sym.imp.ntoskrnl.exe_InterlockedPushEntrySList]
test ebx, ebx
jne 0x1831f
cmp dword [ebp - 4], ebx
jne 0x1831f
pop edi
pop esi
pop ebx
leave
ret 4
mov dword [ebp - 4], 1
jmp 0x139ec
push esi
call fcn.00013b65
jmp 0x18388
pause
jmp 0x139c1
movzx eax, byte fs:[0x51]
movzx ecx, byte [esi + 0x1b]
cmp eax, ecx
jne 0x18391
call dword [sym.imp.HAL.dll_KeRaiseIrqlToDpcLevel]
mov byte [ebp + 0xb], al
movzx eax, byte fs:[0x51]
movzx ecx, byte [esi + 0x1b]
cmp eax, ecx
jne 0x18388
test ebx, ebx
je 0x1837e
cmp word [edi + 0xe], 0
je 0x1837e
cmp word [edi + 0x14], 0
je 0x1837e
lea eax, [edi + 4]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [edx], ecx
mov dword [ecx + 4], edx
xor ebx, ebx
mov word [edi + 0xe], bx
mov ecx, dword [esi + 4]
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [ecx], eax
dec word [esi + 0x18]
mov dword [esi + 4], eax
cmp dword [ebp - 4], 0
jne 0x14fde
mov cl, byte [ebp + 0xb]
call dword [sym.imp.HAL.dll_KfLowerIrql]
test ebx, ebx
je 0x13a1a
mov byte [esi + 0x1a], 1
jmp 0x13a1a
Function at 0x13a26
Capabilities:
Install driver

Disassembly:
mov ax, word [edi + 0xc]
mov ecx, dword [ebp + 8]
cmp ax, word [ecx + 6]
jne 0x13ade
mov ecx, dword [esi]
mov edx, dword [ecx]
mov dword [esi], edx
mov dword [edx + 4], esi
lea edx, [esi + 8]
mov eax, dword [edx + 4]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov dword [eax], ecx
mov dword [edx + 4], ecx
mov word [edi + 0xe], 1
inc word [esi + 0x18]
jmp 0x13ade
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
and dword [eax], 0
push ebx
push esi
push edi
movzx eax, byte fs:[0x51]
lea esi, [eax + 1]
shl esi, 6
add esi, dword [ebp + 8]
cmp byte [esi + 0x1a], 0
jne 0x13b4a
mov eax, dword [sym.imp.ntoskrnl.exe_KeTickCount]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 8]
mov ecx, dword [ecx]
jne 0x14f65
cmp eax, dword [esi + 0x14]
jl 0x13a83
jg 0x13b55
cmp ecx, dword [esi + 0x10]
ja 0x13b55
mov edi, dword [esi]
cmp edi, esi
je 0x14f4d
add edi, 0xfffffffc
lea ecx, [edi + 0x10]
call dword [sym.imp.ntoskrnl.exe_InterlockedPopEntrySList]
test eax, eax
je 0x14ed0
mov ebx, eax
mov ecx, edi
mov eax, 0xfffff000
and ecx, eax
cmp edi, ecx
jne 0x3e043
cmp esi, dword [edi]
jne 0x3e043
cmp word [edi + 0xe], 0
jne 0x3e043
mov ecx, ebx
and ecx, eax
cmp ecx, edi
jne 0x3e043
cmp word [edi + 0x14], 0
je 0x1391d
inc dword [esi + 0x1c]
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x20]
cmp eax, dword [esi + 0x24]
ja 0x15003
and dword [ebx], 0
mov eax, dword [ebp + 8]
movzx eax, word [eax + 4]
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0xc]
mov dword [ecx], eax
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8
cmp word [esi + 0x18], 0x40
jbe 0x13a50
push esi
call fcn.00013b65
jmp 0x13a83
push edi
push dword [ebp + 8]
call fcn.00014e5b
jmp 0x13aa1
push esi
push dword [ebp + 8]
call fcn.00014ee3
mov ebx, eax
test ebx, ebx
jne 0x13ade
jmp 0x13b05
pause
jmp 0x13a58
mov dword [esi + 0x24], eax
jmp 0x13af0
mov edi, dword [ebp + 8]
push 0x44
push edi
push esi
push esi
push 0x1200c8
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push esi
push dword [ebp - 4]
call sub.ntoskrnl.exe_ZwDeviceIoControlFile
mov ecx, dword [ebp - 4]
mov dword [edi + 4], ecx
pop edi
pop esi
pop ebx
leave
ret 4
cmp eax, esi
jne 0x298ec
jmp 0x298ca
push esi
push edi
push ebx
push 2
push 0xc2
call dword [sym.imp.ntoskrnl.exe_KeBugCheckEx]
push eax
push esi
push edx
push 3
push 0xc2
call dword [sym.imp.ntoskrnl.exe_KeBugCheckEx]
lea eax, [ebp - 0x1c]
push eax
call sub.ntoskrnl.exe_ZwLoadDriver
cmp eax, esi
jne 0x298ec
push esi
push esi
push esi
push 3
push esi
push 0x80
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x34]
push eax
push ebx
lea eax, [ebp - 4]
push eax
call edi
jmp 0x298f3
Function at 0x148bc
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x60]
mov eax, dword [eax + 0x18]
push edi
mov edi, dword [eax + 0xc]
mov byte [ebp - 1], 0
xor eax, eax
lea ecx, [esi + 0x38]
xchg dword [ecx], eax
test eax, eax
je 0x165ef
lea ecx, [edi + 0x24]
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
dec dword [edi + 4]
je 0x39fb9
mov ebx, dword [ebp + 0xc]
mov ecx, 0xc0000120
cmp ebx, ecx
je 0x39fc2
cmp byte [esi + 0x24], 0
jne 0x20b94
cmp byte [edi + 8], 0
jne 0x20b94
mov dl, al
lea ecx, [edi + 0x24]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
cmp byte [ebp - 1], 0
jne 0x39fd3
mov eax, dword [ebp + 0x10]
mov dl, 2
mov ecx, esi
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], eax
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc
lea eax, [ebp + 8]
push eax
call dword [sym.imp.ntoskrnl.exe_IoAcquireCancelSpinLock]
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_IoReleaseCancelSpinLock]
jmp 0x148e4
and dword [ebp + 0x10], 0
mov ebx, ecx
mov dword [esi + 0x18], ecx
jmp 0x1491a
mov byte [ebp - 1], 1
jmp 0x148f6
cmp dword [ebp + 0x10], 0
je 0x14906
xor ebx, ebx
jmp 0x1491a
push 0
push 0
add edi, 0xc
push edi
call dword [sym.imp.ntoskrnl.exe_KeSetEvent]
jmp 0x1492f

Function at 0x14950
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea ebx, [edi + 0x24]
mov ecx, ebx
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov esi, dword [ebp + 0xc]
cmp byte [esi + 0x24], 0
mov dl, al
jne 0x20a06
cmp byte [edi + 9], 0
jne 0x20a06
mov ecx, dword [esi + 0x60]
or byte [ecx + 3], 1
mov eax, dword [ebp + 0x10]
lea ecx, [esi + 0x38]
xchg dword [ecx], eax
inc dword [edi + 4]
xor ecx, ecx
mov eax, 0x4fa80
inc ecx
lock xadd dword [eax], ecx
inc ecx
je 0x14991
mov dword [esi + 0x44], ecx
xor ecx, ecx
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x48], ecx
mov dword [esi + 0x40], ecx
mov ecx, ebx
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
mov ecx, ebx
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
and dword [esi + 0x1c], 0
mov edi, 0xc0000120
mov dl, 2
mov ecx, esi
mov dword [esi + 0x18], edi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, edi
jmp 0x149b8