joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10033e80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x10033e8f
pop dword [ebp - 0x14]
mov eax, 0x10033e8f
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x193c8b53
sub dword [ebp - 0x24], 0xcaea4608
mov dword [ebp - 0x20], 0x5a69e85f
sub dword [ebp - 0x20], 0x28369c1a
mov dword [ebp - 0x1c], 0x8b161ccf
sub dword [ebp - 0x1c], 0x3ec9d8a1
mov dword [ebp - 0x18], 0x5824ee93
sub dword [ebp - 0x18], 0x5824ee93
lea eax, [ebp - 0x24]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xb026f03b
add dword [ebp - 0x24], 0xc44b791b
mov dword [ebp - 0x20], 0x2a6bc688
sub dword [ebp - 0x20], 0xe8ff6513
mov dword [ebp - 0x1c], 0xb3eef480
add dword [ebp - 0x1c], 0xaf8077ec
mov dword [ebp - 0x18], 0x231aea55
add dword [ebp - 0x18], 0xdce515ab
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x79227b1
sub eax, 0xf78db6cd
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x41247
push 0
call eax
mov ecx, 0xbb447917
sub ecx, 0xbb4435f0
xor esi, esi
add esi, eax
mov edi, 0x10063000
add edi, dword [ebp - 0x14]
mov ebx, 0x3ae95255
sub ebx, 0x12e6455a
mov dword [ebp - 4], 0x22a7fff0
mov edx, dword [edi]
xor dword [ebp - 0xc], 0xa201e13
add edx, ebx
xor dword [ebp - 8], edi
mov dword [esi], edx
add dword [ebp - 8], 0xa1b881c2
add esi, 0x7bcb9d52
sub esi, 0x7bcb9d4e
add edi, 0x3ffa528b
add edi, 0xc005ad79
loop 0x10033fa3
add eax, 0x16ff1e96
sub eax, 0x16fe1f27
xor ebx, ebx
add ebx, eax
add eax, 0x1f10c791
add eax, 0xe0ef3874
mov ecx, 0xe4fa7486
sub ecx, 0xd4fa7486
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x406730
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x40673f
pop dword [ebp - 0x40]
mov eax, 0x10608154
sub eax, 0x10201a15
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xd77e06d3
add dword [ebp - 0x50], 0x76d43e78
mov dword [ebp - 0x4c], 0xc5e152d8
add dword [ebp - 0x4c], 0x6c51f96d
mov dword [ebp - 0x48], 0xe9cdea31
add dword [ebp - 0x48], 0x627e59fd
mov dword [ebp - 0x44], 0xa5f7f4a2
sub dword [ebp - 0x44], 0xa5f7f4a2
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x74d791ea
sub dword [ebp - 0x50], 0x652894
mov dword [ebp - 0x4c], 0x9136d190
add dword [ebp - 0x4c], 0xb0358fe5
mov dword [ebp - 0x48], 0xa8bb47d8
add dword [ebp - 0x48], 0xbab42494
mov dword [ebp - 0x44], 0xffe8cb4f
sub dword [ebp - 0x44], 0xffe8cb4f
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0xcd636d96
add eax, 0x32ddc2a6
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3af08
push 0
call eax
mov ecx, 0xc05d8c56
add ecx, 0x3fa2bcd8
xor edi, edi
add edi, eax
mov ebx, 0x41a000
add ebx, dword [ebp - 0x40]
mov esi, 0x1503c4cb
sub esi, 0xd799a990
xor dword [ebp - 0x34], 0xd11012c8
mov edx, dword [ebx]
sub dword [ebp - 0x14], 0xc490e4d2
xor edx, esi
sub dword [ebp - 0x1c], ecx
mov dword [edi], edx
sub dword [ebp - 0x20], ebx
add edi, 0x4a501d57
sub edi, 0x4a501d53
add ebx, 0xdc513f6f
add ebx, 0x23aec095
loop 0x406858
add eax, 0x1178b
mov ebx, eax
add eax, 0xcbd5813e
sub eax, 0xcbd58139
mov ecx, 0x659cabbf
add ecx, 0x9aa35441
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x410280
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 4
mov esi, ecx
call main
pop ecx
xor ecx, ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x41029c
mov dword [eax], ecx
jmp 0x41029e
mov eax, ecx
push ecx
push ecx
push esi
push 0x410310
push ecx
push ecx
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov ecx, dword [esi + 0x10]
pop esi
mov dword [ecx], eax
leave
ret
Function at 0x10010f8
Capabilities:
Parse pe header

Disassembly:
push 0x70
push 0x1001090
call fcn.010012e0
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x1001135
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001135
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x100114d
cmp eax, 0x20b
je 0x100113a
mov dword [ebp - 0x1c], ebx
jmp 0x1001161
cmp dword [ecx + 0x84], 0xe
jbe 0x1001135
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x100115b
cmp dword [ecx + 0x74], 0xe
jbe 0x1001135
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1002014], 0xffffffff
or dword [0x1002018], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1002010]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100200c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x100201c], eax
call fcn.010012dc
cmp dword [section..data], ebx
jne 0x10011bc
push fcn.010012dc
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.010012ca
push 0x1001064
push 0x1001060
call sub.msvcrt.dll__initterm
mov eax, dword [0x1002008]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x1002004]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x100105c
push 0x1001058
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
cmp byte [esi], 0x22
jne 0x1001252
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x1001226
cmp al, 0x22
jne 0x1001218
cmp byte [esi], 0x22
jne 0x100122f
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x1001239
cmp al, 0x20
jbe 0x100122b
mov dword [ebp - 0x4c], ebx
lea eax, [ebp - 0x78]
push eax
jmp 0x100df6f
cmp byte [esi], 0x20
jbe 0x100122f
inc esi
mov dword [ebp - 0x34], esi
jmp 0x1001252

Function at 0x1009376
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp ecx, dword [edx + 0x18]
lea edi, [eax + ebx]
je 0x100df61
jmp 0x100931a
ret 4
sbb eax, dword [esp + 4]
jne 0x10093da
lea esi, [ebx]
jmp 0x100944c
pop eax
cmp byte [edi], 1
ja 0x100931d
xor eax, 0x2f546820
jmp 0x10092b8
push 0
pop eax
imul eax, eax, 0xf
jmp 0x100938c
mov edx, ebx
jmp 0x100937d
mov esi, ebx
mov eax, ebx
add eax, dword [ebx + 0x3c]
add edx, dword [eax + 0x78]
jmp 0x10093d4
push eax
movzx eax, byte [edi]
lea edi, [edi + 1]
sub dword [esp], eax
jmp 0x1009306
movzx eax, word [esi]
pop esi
add esi, dword [edi + eax*4]
jmp 0x1009266
push 0xffffffffffffffff
add esi, dword [edx + 0x20]
pop ecx
lodsd eax, dword [esi]
inc ecx
jmp 0x1009242
lea edi, [ebx]
add edi, dword [edx + 0x1c]
add esi, dword [edx + 0x24]
lea esi, [esi + ecx*2]
push ebx
jmp 0x10093ab
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x10089348
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi]
mov ecx, dword [esi + 4]
test eax, eax
jle 0x100893a3
push edi
mov edi, dword [ebp + 0x10]
sub dword [ebp + 0xc], edi
mov dword [ebp + 8], eax
mov edi, edi
inc bl
lea edi, [edi + 1]
movzx ebx, bl
mov dl, byte [esi + ebx + 8]
add cl, dl
movzx ecx, cl
mov al, byte [esi + ecx + 8]
mov byte [esi + ebx + 8], al
add al, dl
movzx eax, al
mov byte [esi + ecx + 8], dl
movzx edx, byte [eax + esi + 8]
mov eax, dword [ebp + 0xc]
xor dl, byte [eax + edi - 1]
sub dword [ebp + 8], 1
mov byte [edi - 1], dl
jne 0x10089368
mov eax, dword [ebp + 0x14]
pop edi
mov dword [esi], ebx
mov dword [esi + 4], ecx
pop esi
pop ebx
pop ebp
ret

Function at 0x104e29d5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
leave
add dword [esp], 0x3e65
xchg dword [esp], ebx
push ebx
mov ebx, dword [esp + 4]
lea ebx, [ebx + 0x32]
xchg dword [esp + 4], ebx
mov dword [esp + 4], ebx
mov ebx, dword [esp]
lea esp, [esp + 4]
xchg dword [esp + 4], ebx
push edi
mov edi, dword [esp + 4]
lea edi, [edi + 0x58]
xchg dword [esp + 4], edi
mov dword [esp + 4], edi
mov edi, dword [esp]
lea esp, [esp + 4]
xchg dword [esp], ebx
push ecx
mov ecx, dword [esp + 4]
lea ecx, [ecx + 0x63]
xchg dword [esp + 4], ecx
mov dword [esp + 4], ecx
mov ecx, dword [esp]
lea esp, [esp + 4]
popfd
push esi
mov esi, dword [esp + 4]
lea esi, [esi + 0x17]
xchg dword [esp + 4], esi
mov dword [esp + 4], esi
mov esi, dword [esp]
lea esp, [esp + 4]
jmp fcn.10089348

Function at 0x104e6c8a
Capabilities:
Execute anti-debugging instructions

Disassembly:
call fcn.104e8220
mov al, 3
nop
sbb eax, 0x9df6a1c0
nop
add byte [eax], al
lea edi, [eax - 8]
push ecx
mov ecx, dword [esp + 4]
lea ecx, [ecx + 0x68]
xchg dword [esp + 4], ecx
mov dword [esp + 4], ecx
mov ecx, dword [esp]
lea esp, [esp + 4]
xchg ecx, edi
mov edi, 0x339d2b8e
push ecx
xchg ecx, edi
pop edi
pushfd
pushfd
add ebp, 0x62
popfd
lea ebp, [ebp - 0x62]
push 0x339d2b8e
push eax
mov eax, dword [esp + 4]
xor ecx, eax
mov eax, dword [esp]
lea esp, [esp + 8]
popfd
push edi
mov edi, dword [esp + 4]
lea edi, [edi + 0x46]
xchg dword [esp + 4], edi
mov dword [esp + 4], edi
mov edi, dword [esp]
lea esp, [esp + 4]
shr edi, 1
pushfd
add ebp, 0xc
popfd
lea ebp, [ebp - 0xc]
je 0x10087780
lea esp, [esp]
push edx
mov edx, dword [esp + 4]
lea edx, [edx + 0x33]
xchg dword [esp + 4], edx
mov dword [esp + 4], edx
mov edx, dword [esp]
lea esp, [esp + 4]
jmp 0x104e2158
push ecx
mov ecx, dword [esp + 4]
lea ecx, [ecx + 0x43]
xchg dword [esp + 4], ecx
mov dword [esp + 4], ecx
mov ecx, dword [esp]
lea esp, [esp + 4]
add dword [esp], 0xffb64deb
xchg dword [esp], eax
push esi
mov esi, dword [esp + 4]
lea esi, [esi + 0x59]
xchg dword [esp + 4], esi
mov dword [esp + 4], esi
mov esi, dword [esp]
lea esp, [esp + 4]
xchg dword [esp + 4], eax
push ecx
mov ecx, dword [esp + 4]
lea ecx, [ecx + 0x44]
xchg dword [esp + 4], ecx
mov dword [esp + 4], ecx
mov ecx, dword [esp]
lea esp, [esp + 4]
xchg dword [esp], eax
push ebp
mov ebp, esp
leave
popfd
push ecx
mov ecx, esi
pop ecx
jmp 0x1004ba1c
Function at 0x42b860
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x422025
lea edi, [esi - 0x21025]
push edi
jmp 0x42b87a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42b881
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42b870
mov eax, 1
add ebx, ebx
jne 0x42b893
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42b888
jne 0x42b8a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42b888
xor ecx, ecx
sub eax, 3
jb 0x42b8b8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42b92a
mov ebp, eax
add ebx, ebx
jne 0x42b8c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42b8d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42b8f4
inc ecx
add ebx, ebx
jne 0x42b8e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42b8d5
jne 0x42b8f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42b8d5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42b914
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42b905
jmp 0x42b876
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42b914
add edi, ecx
jmp 0x42b876
pop esi
mov edi, esi
mov ecx, 0x10f4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42b932
cmp byte [edi], 5
jne 0x42b932
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x42b937
lea edi, [esi + 0x29000]
mov eax, dword [edi]
or eax, eax
je 0x42b9af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2c400]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2c43c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42b964
mov ecx, edi
jns 0x42b993
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2c444]
or eax, eax
je 0x42b9a9
mov dword [ebx], eax
add ebx, 4
jmp 0x42b981
call dword [esi + 0x2c440]
mov ebp, dword [esi + 0x2c448]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1af]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42b9e3
sub esp, 0xffffff80
jmp 0x4033e4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402890
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x41f1d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x878
call fcn.00404274
mov esi, eax
add esp, 4
test esi, esi
jne 0x4028d3
push str.Failed_at_stopping_trace_and_autologger_sessions_due_to_insufficient_memory._n
call fcn.00403c2e
add esp, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404041
mov esp, ebp
pop ebp
ret
push edi
push 0x878
push 0
push esi
call fcn.00404050
add esp, 0xc
mov dword [esi], 0x878
mov eax, dword [0x41aa58]
mov dword [esi + 0x18], eax
mov eax, dword [0x41aa5c]
push 1
mov dword [esi + 0x1c], eax
mov eax, dword [0x41aa60]
push esi
push str.QCDriver
mov dword [esi + 0x20], eax
mov eax, dword [0x41aa64]
push 0
push 0
mov dword [esi + 0x24], eax
mov dword [esi + 0x70], 0x78
mov dword [esi + 0x6c], 0x478
call dword [sym.imp.ADVAPI32.dll_ControlTraceA]
mov edi, eax
cmp edi, 0x1069
je 0x40293e
mov eax, str.stopping_trace_session
call fcn.00402b40
push 0x94
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.00404050
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x94], 6
jb 0x40299a
push 1
push esi
push str.QCDriverSession
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ControlTraceA]
mov edi, eax
cmp edi, 0x1069
je 0x40299a
mov eax, str.stopping_autologger_session
call fcn.00402b40
push esi
call fcn.004041fb
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
xor ecx, ebp
pop esi
call fcn.00404041
mov esp, ebp
pop ebp
ret

Function at 0x402bb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0
mov eax, 0xaaaaaaab
mul dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push dword [ebp + 8]
mov esi, edx
shr esi, 3
push 0x80000002
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebx, eax
test ebx, ebx
jne 0x402c54
push edi
xor edi, edi
test esi, esi
jle 0x402c48
mov esi, dword [ebp + 0xc]
add esi, 8
lea ebx, [ebx]
mov dl, byte [esi - 4]
cmp dl, 1
jne 0x402c1e
mov ebx, dword [esi]
mov eax, ebx
lea ecx, [eax + 1]
mov dword [ebp + 8], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402c12
sub eax, dword [ebp + 8]
jmp 0x402c25
mov ebx, esi
mov eax, 4
push eax
push ebx
movsx eax, dl
push eax
push 0
push dword [esi - 8]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
test ebx, ebx
jne 0x402c48
inc edi
add esi, 0xc
cmp edi, dword [ebp - 4]
jl 0x402c00
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x402c60
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x41f1d0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x94
lea eax, [ebp - 0x98]
push 0
push eax
mov edi, ecx
call fcn.00404050
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x94], 6
sbb eax, eax
inc eax
cmp dword [ebp + 8], 0
je 0x402dae
test eax, eax
je 0x402d1b
test edi, edi
jne 0x402cc3
test esi, esi
je 0x402cd5
mov dword [0x41f0f8], ebx
mov dword [0x41f158], edi
mov dword [0x41f164], esi
push 0x54
push 0x41f0f0
push str.SYSTEMCurrentControlSetControlWMIAutologgerQcDriverSession_
call fcn.00402bb0
test eax, eax
jne 0x402d7f
push 0x24
push 0x41f150
push str.SYSTEMCurrentControlSetControlWMIAutologgerQcDriverSession5F02CA82_B28B_4a95_BA2C_FBED52DDD3DC
call fcn.00402bb0
mov edi, eax
mov eax, str.configuring_autologger_for_reboot
call fcn.00402b40
test edi, edi
jne 0x402d7f
push str.C:QCDriverAutoLog.etl
push str.Autologger_file_path:__s_n
jmp 0x402d77
test edi, edi
jne 0x402d23
test esi, esi
je 0x402d35
mov dword [0x41f17c], ebx
mov dword [0x41f1ac], edi
mov dword [0x41f1b8], esi
push 0x24
push 0x41f174
push str.SYSTEMCurrentControlSetControlWMIGlobalLogger_
call fcn.00402bb0
mov edi, eax
test edi, edi
jne 0x402d5f
push 0x24
push 0x41f1a4
push str.SYSTEMCurrentControlSetControlWMIGlobalLogger5F02CA82_B28B_4a95_BA2C_FBED52DDD3DC
call fcn.00402bb0
mov edi, eax
mov eax, str.configuring_globallogger_for_reboot
call fcn.00402b40
test edi, edi
jne 0x402d7f
push str.C:QCDriverGlobalLog.etl
push str.Globallogger_file_path:__s_n
call fcn.00403c2e
add esp, 8
test ebx, ebx
jne 0x402d90
push str.You_have_set_an_unlimited_log_file_size.
call fcn.00403c2e
add esp, 4
push str.Please_remember_to_disable_logging_when_done._n
call fcn.00403c2e
add esp, 4
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404041
mov esp, ebp
pop ebp
ret 4
push 0xc
test eax, eax
je 0x402dcc
push 0x41f144
push str.SYSTEMCurrentControlSetControlWMIAutologgerQcDriverSession_
call fcn.00402bb0
mov edi, eax
mov eax, str.disabling_autologger_for_reboot
jmp 0x402de2
push 0x41f198
push str.SYSTEMCurrentControlSetControlWMIGlobalLogger_
call fcn.00402bb0
mov edi, eax
mov eax, str.disabling_globallogger_for_reboot
call fcn.00402b40
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00404041
mov esp, ebp
pop ebp
ret 4

Function at 0x404041
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41f1d0]
jne 0x40404b
repz ret
jmp fcn.004040ca
Function at 0x40dd22
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41f1d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405ddd
and dword [ebp - 0x14], 0
cmp dword [0x420cfc], 0
mov dword [ebp - 0x18], eax
jne 0x40ddd5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40de7d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40de7d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x420cfc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x420d00], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x420d04], eax
call edi
push eax
call esi
mov dword [0x420d0c], eax
test eax, eax
je 0x40ddd5
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x420d08], eax
mov eax, dword [0x420d08]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40de2e
cmp dword [0x420d0c], ecx
je 0x40de2e
push eax
call esi
push dword [0x420d0c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40de2e
test ebx, ebx
je 0x40de2e
call edi
test eax, eax
je 0x40de25
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40de25
test byte [ebp - 8], 1
jne 0x40de2e
or dword [ebp + 0x10], 0x200000
jmp 0x40de61
mov eax, dword [0x420d00]
cmp eax, dword [ebp - 0x18]
je 0x40de61
push eax
call esi
test eax, eax
je 0x40de61
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40de61
mov eax, dword [0x420d04]
cmp eax, dword [ebp - 0x18]
je 0x40de61
push eax
call esi
test eax, eax
je 0x40de61
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x420cfc]
call esi
test eax, eax
je 0x40de7d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40de7f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404041
leave
ret
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x4085a6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x4085b5
pop dword [ebp - 0x10]
mov eax, 0xc249793c
sub eax, 0xc208f387
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x76fc35c4
sub dword [ebp - 0x20], 0x28a9f079
mov dword [ebp - 0x1c], 0xf1c209
sub dword [ebp - 0x1c], 0xcebe75c4
mov dword [ebp - 0x18], 0xe0b4a855
add dword [ebp - 0x18], 0x6b979bd9
mov dword [ebp - 0x14], 0xc433c5a9
sub dword [ebp - 0x14], 0xc433c5a9
lea eax, [ebp - 0x20]
push eax
mov eax, 0xa5ae99e0
sub eax, 0xa56c696c
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x2d79f93b
sub dword [ebp - 0x20], 0xb9078fe5
mov dword [ebp - 0x1c], 0x77a0d53b
add dword [ebp - 0x1c], 0xc9cb8c3a
mov dword [ebp - 0x18], 0x2e0d81b4
sub dword [ebp - 0x18], 0xca9e1548
mov dword [ebp - 0x14], 0x4f288027
sub dword [ebp - 0x14], 0x4f288027
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x7fbf0b19
add eax, 0x8083260b
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3e4fc
push 0
call eax
mov ecx, 0xa037ea9
add ecx, 0xf5fccbbb
xor edi, edi
add edi, eax
mov edx, 0x434400
add edx, dword [ebp - 0x10]
mov esi, 0x73a31975
sub esi, 0xb5194537
mov ebx, dword [edx]
mov dword [ebp - 0xc], 0xeec80bf1
xor ebx, esi
xor dword [ebp - 0xc], 0xe308e9e4
mov dword [edi], ebx
sub dword [ebp - 8], 0xfbf85dca
add edi, 4
add edx, 4
loop 0x4086d3
add eax, 0x9fb58572
add eax, 0x604b96f1
mov ebx, eax
add eax, 0x128c6e93
sub eax, 0x128c6e8e
mov ecx, 0x57fd1b0b
add ecx, 0xa842e4f5
add ecx, dword [ebp - 0x10]
call ebx
leave
ret