joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a3295
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a32cd
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004a1322
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004a12fa
jmp 0x4a32d9
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a4986
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4a49c8
call fcn.004aa705
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a49c8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a49bf
xor eax, eax
jmp 0x4a49d0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a49d6
pop edi
pop esi
pop ebx
ret 4

Function at 0x4aac35
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4aac63
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4aac81
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004aab9b
jmp 0x4aac81
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4aac81
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004aab9b
test edi, edi
mov eax, edi
jne 0x4aac6b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x66df2831
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0xc205cd6
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
nop
nop
nop
mov ebx, 0x407ef8
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x4dfc03fc
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x44d83f99
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4076c4
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x42600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
xor edi, edi
mov dword [ebp - 0x210], ecx
lea eax, [ebp - 0x20c]
mov esi, edx
push edi
push eax
call fcn.004095f0
add esp, 0xc
lea ecx, [ebp - 0x20c]
call fcn.004072b0
lea eax, [ebp - 0x20c]
push eax
push edi
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebx, eax
test ebx, ebx
jne 0x407756
push ecx
push str.ReadSharedMemory__:
push ecx
mov edi, 0x82
mov ecx, esi
mov edx, edi
call fcn.00403b0e
lea ecx, [esi + 0x208]
mov edx, edi
push ecx
push str.Could_not_open_file_mapping_object.
push ecx
call fcn.00403b0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x410], eax
xor eax, eax
jmp 0x407820
push 0x1e78
push edi
push edi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x4077aa
push ecx
push str.ReadSharedMemory__:
push ecx
mov edi, 0x82
mov ecx, esi
mov edx, edi
call fcn.00403b0e
lea ecx, [esi + 0x208]
mov edx, edi
push ecx
push str.Could_not_map_view_of_file.
push ecx
call fcn.00403b0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov dword [esi + 0x410], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40774f
mov eax, dword [ebp - 0x210]
test eax, eax
jne 0x4077c6
call fcn.0040d306
mov dword [eax], 0x16
call fcn.0040d23a
jmp 0x4077d5
push 0x1034
push edi
push eax
call fcn.00408e00
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
push str.ReadSharedMemory__:
push ecx
mov edx, 0x82
mov ecx, esi
call fcn.00403b0e
lea eax, [ebp - 0x20c]
push eax
push str.succeeded._mapping_obj_name:__s
lea eax, [esi + 0x208]
push 0x104
push eax
call fcn.00406b11
and dword [esi + 0x410], 0
xor eax, eax
add esp, 0x10
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407989
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408e84
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x25147a4f
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x3cd134ae
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebx
pcmpeqw mm7, mm7
push ecx
pxor mm6, mm6
push esi
psllw mm7, 0xf
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
sub eax, 4
jl 0x401093
jmp 0x401040
movq mm0, qword [esi]
pxor mm0, mm7
movq mm3, mm0
movq mm1, qword [ebx + esi]
punpcklwd mm0, mm6
pxor mm1, mm7
movq mm2, qword [esi + ebx*2]
movq mm4, mm1
pxor mm2, mm7
add edi, 0x10
prefetcht0 byte [esi + ebx*2 + 0x40]
punpcklwd mm1, mm6
movq mm5, mm2
punpcklwd mm2, mm6
paddd mm0, mm1
punpckhwd mm3, mm6
paddd mm0, mm2
punpckhwd mm4, mm6
paddd mm3, mm4
punpckhwd mm5, mm6
movq qword [edi - 0x10], mm0
paddd mm3, mm5
add esi, 8
movq qword [edi - 8], mm3
sub eax, 4
jge 0x401040
add eax, 4
jle 0x4010c6
push edx
movzx ecx, word [esi]
xor ecx, 0x8000
movzx edx, word [ebx + esi]
xor edx, 0x8000
add ecx, edx
movzx edx, word [esi + ebx*2]
xor edx, 0x8000
add ecx, edx
add esi, 2
mov dword [edi], ecx
add edi, 4
dec eax
jg 0x401099
pop edx
pop edi
pop esi
pop ecx
pop ebx
ret

Function at 0x417e10
Capabilities:
Query or enumerate registry value

Disassembly:
mov al, byte [0x633042]
mov cl, byte [0x63bf94]
mov edx, dword [0x63303c]
xor cl, al
mov eax, dword [0x633048]
and edx, 0xc
and eax, 0xff
sub esp, 0x14
imul edx, eax
mov eax, dword [0x633038]
mov byte [0x63bf94], cl
mov ecx, dword [0x633034]
push ebx
mov ebx, dword [0x633030]
and ecx, 4
add ebx, ecx
xor eax, edx
push esi
mov dword [0x633030], ebx
mov dword [0x633038], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x636c6c
mov esi, eax
call fcn.00628da0
add esp, 4
test eax, eax
je 0x417e82
pop esi
xor eax, eax
pop ebx
add esp, 0x14
ret
mov ecx, dword [0x633030]
mov eax, dword [0x633034]
mov dword [esp + 0x18], 0
mov ebx, 1
lea edx, [ecx + ecx]
mov dword [esp + 8], 0
or edx, eax
lea eax, [esp + 8]
mov dword [esp + 0x14], edx
push eax
fild qword [esp + 0x18]
push ebx
push 0
push str.CLSIDa893aa73_054f_4dbc_9e53_f4ee5fe07fd3InProcServer32
push SysReAllocStringLen
fadd qword [0x633058]
fstp qword [0x633058]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov dword [0x63bf8c], eax
jne 0x417f4b
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
push 0x636c6c
push edx
push eax
mov dword [esp + 0x1c], eax
push eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], 0x208
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov dword [0x63bf8c], eax
jne 0x417f13
cmp dword [esp + 0xc], ebx
je 0x417f15
xor bl, bl
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x417f2c
pop esi
xor eax, eax
pop ebx
add esp, 0x14
ret
mov eax, dword [0x63bf8c]
test eax, eax
jne 0x417f4b
test esi, esi
jle 0x417f45
and esi, 0xffff
or esi, 0x80070000
mov dword [0x63bf8c], esi
pop esi
mov eax, 0x80004005
pop ebx
add esp, 0x14
ret
Function at 0x441841
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x18
xor eax, 0xf97188f
mov fs, word [ebp + 0x131f3002]
and ebx, dword [edi + 0x4c]
inc ebx
xor dword [ecx + 0x4079ac0f], edx
shrd dword [ecx + 0x40], edi, 0xc1
xor eax, 0xf502ebf
inc edi
shrd dword [ecx + 0x40], edi, 0xc1
xor eax, 0xf502ebf
inc edi
test byte [ecx - 0x2b], bl
cmp ebx, esi
xor cl, byte [esi - 0x5bcb3090]
aas
clc
inc edx
cmp byte [edx], 0xff
inc ebp
mov bl, 0x67
adc eax, edx
inc ebp
fidivr word [0x9d243517]
jns 0x44182e
fisub dword [ebx]
push ds
mov eax, 0xa7b92ce2
je 0x44189b
inc esi
dec esi
mov edi, 0x7539c995
les ebp, [esi + 5]
and byte [0x2cb3c799], dh
push es
inc edx
inc dword [ebx - 0x7a]
mov bl, 0xb8
sal byte [eax - 0x53d184ab], 1
call 0xecda2d52
mov dl, 0xbc
lodsb al, byte [esi]
leave
push eax
sub eax, 0xfede3440
push ecx
salc
xchg ebx, eax
fist word [ecx]
int3

Function at 0x6282a1
Capabilities:
Encode data using xor

Disassembly:
xlatb
jo 0x62831d
sbb al, 0xa4
int3
xchg byte [ebx + 0x7008d4d7], dl
invalid
loopne 0x628368
and cl, byte [ebx + 0x48]
adc bh, byte [edi]
adc al, 0x47
sub al, 0x34
int3
jl 0x628370
call 0x964b364f
pop edx
pop esi
jnp 0x6282f6
js 0x6282c9
push ecx
adc dword [ecx], ebx
jmp 0xc51e1400
or eax, dword [edi + edi*4]
and dword [ebx], 0xffffffd5
push esi
shl byte [eax], 0x46
stosd dword es:[edi], eax
and byte [esi - 0x55], al
invalid

Function at 0x62a18d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x633418
cmp edx, dword [eax]
je 0x62a1af
add eax, 8
inc ecx
cmp eax, 0x6334a8
jl 0x62a1a0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x633418]
jne 0x62a2dd
mov eax, dword [0x63bfa8]
cmp eax, 1
je 0x62a2b7
test eax, eax
jne 0x62a1e0
cmp dword [0x633344], 1
je 0x62a2b7
cmp edx, 0xfc
je 0x62a2dd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x62a217
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0062ab70
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062b000
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x62a25a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062b000
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62fc24
push edi
call fcn.0062ced0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0062ab70
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0062ab80
lea eax, [ebp - 0xa0]
push 0x62fc04
push eax
call fcn.0062ab80
push dword [esi + 0x63341c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0062ab80
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062ce44
add esp, 0x2c
pop edi
jmp 0x62a2dd
lea eax, [ebp + 8]
lea esi, [esi + 0x63341c]
push 0
push eax
push dword [esi]
call fcn.0062b000
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x430490
Capabilities:
Get hostname

Disassembly:
sub esp, 0x42c
mov eax, dword [0x434004]
xor eax, esp
mov dword [esp + 0x428], eax
cmp edi, 0x182
jne 0x4304bb
lea eax, [esp + 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
jmp 0x4304f5
cmp edi, 0x19f
jne 0x4304f5
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
push str.fihiresaduduvakuzafanenazewuduhe
push str.vabunayadedifecibu
push str.yosavagenisusoluselidesuli
push str.nibezitihomoyaradilocaxihenazigo
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_RaiseException]
push esi
xor esi, esi
test edi, edi
jle 0x430562
lea esp, [esp]
lea ecx, [esp + 8]
mov dword [esp + 4], 5
mov dword [esp + 8], 0
call fcn.00430480
mov eax, dword [esp + 8]
add eax, 0x46
mov dword [esp + 4], eax
sub dword [esp + 4], 0x46
mov cl, byte [esp + 4]
xor byte [ebx + esi], cl
cmp edi, 0xf
jne 0x43055d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
inc esi
cmp esi, edi
jl 0x430500
pop esi
cmp edi, 0x2d
jne 0x43057c
mov dword [0x50e500], 0xa62e7790
mov dword [0x50e504], 0xffffffff
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.00401000
add esp, 0x42c
ret
Function at 0x1001437
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
xor edi, edi
push edi
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 8]
push edi
push 0x900
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov esi, eax
cmp esi, edi
je 0x10014a4
push edi
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp - 4]
push dword [0x1004024]
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x1001499
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [esi + esi]
push eax
push dword [ebp - 4]
push dword [0x1004024]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x10014bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp + 8]
push 0x1001120
call dword [sym.imp.msvcrt.dll_wprintf]
add esp, 0xc
pop edi
pop esi
leave
ret

Function at 0x100168f
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100402c]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FormatMessageW]
push edi
xor ebx, ebx
push ebx
mov dword [ebp - 4], eax
mov edi, 0x100
push edi
lea eax, [ebp - 0x204]
push eax
push ebx
push dword [ebp + 8]
push ebx
push 0x1000
call esi
cmp eax, ebx
mov dword [ebp - 0x208], eax
jne 0x1001735
push 2
push ebx
push 0x1001174
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push ebx
push edi
lea ecx, [ebp - 0x204]
push ecx
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x20c], eax
push eax
push 0x800
call esi
cmp dword [ebp - 0x20c], ebx
mov dword [ebp - 0x208], eax
je 0x1001714
push dword [ebp - 0x20c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x208], ebx
jne 0x1001735
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp + 8]
push 0xc0002725
call fcn.01001437
add esp, 0xc
jmp 0x100177e
push ebx
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x208]
lea eax, [ebp - 0x204]
push eax
push dword [0x1004024]
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x100177e
push ebx
lea eax, [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x208]
add eax, eax
push eax
lea eax, [ebp - 0x204]
push eax
push dword [0x1004024]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01002965
leave
ret 4

Function at 0x1001956
Capabilities:
Unload minifilter driver

Disassembly:
push 0x1c
push 0x1001210
call fcn.01002bfc
mov dword [ebp - 0x24], 8
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], esi
cmp dword [ebp + 8], 3
je 0x100198a
mov dword [ebp - 0x24], 2
jmp 0x10019b1
push 0xa
call fcn.010013d5
mov dword [ebp - 0x2c], eax
cmp eax, esi
je 0x10019a8
mov eax, dword [ebp + 0xc]
push dword [eax + 8]
call sub.FLTLIB.DLL_FilterUnload
mov dword [ebp - 0x20], eax
jmp 0x10019b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
or dword [ebp - 4], 0xffffffff
call fcn.010019c4
mov eax, ecx
call fcn.01002c37
ret 8
Function at 0x1002a7d
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1001340
call fcn.01002bfc
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1002ab8
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002ab8
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1002ad0
cmp eax, 0x20b
je 0x1002abd
mov dword [ebp - 0x1c], edi
jmp 0x1002ae4
cmp dword [ecx + 0x84], 0xe
jbe 0x1002ab8
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x1002ade
cmp dword [ecx + 0x74], 0xe
jbe 0x1002ab8
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1004044], 0xffffffff
or dword [0x1004048], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1004040]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100403c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x100404c], eax
call fcn.01002cd4
cmp dword [0x1004030], edi
jne 0x1002b3f
push fcn.01002cd4
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01002cbd
push 0x1004010
push 0x100400c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1004038]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1004034]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x34], eax
push 0x1004008
push section..data
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___winitenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.01002776
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x1002bb6
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1002beb
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01002c37
ret
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x431072
nop
mov ebx, 0x40915c
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0xa037e9
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x431060
nop
nop
mov eax, section..reloc
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4310d2
nop
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x22714fb6
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4055a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x4055cc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x4055f4
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x4055fa
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x405684
jg 0x405611
test esi, esi
je 0x405684
test ecx, ecx
jl 0x405667
jg 0x40561b
test eax, eax
je 0x405667
cmp edi, ecx
jg 0x40562f
jl 0x405625
cmp esi, eax
jae 0x40562f
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
add edx, ecx
sub esi, ecx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
test edi, edi
jl 0x405684
jg 0x40566a
test esi, esi
je 0x405684
jmp 0x40566a
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x405684
push eax
push esi
push 1
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc