joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410e90
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov dword [ebp - 8], ecx
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, eax
mov ecx, dword [ebp - 8]
call fcn.004111e0
mov dword [eax], esi
mov ecx, dword [ebp - 8]
call fcn.004111e0
cmp dword [eax], 0
je 0x410ed9
mov ecx, dword [ebp - 8]
call fcn.004111e0
cmp dword [eax], 0xffffffff
je 0x410ed9
mov dword [ebp - 0xc], 0
jmp 0x410ee0
mov dword [ebp - 0xc], 0x8007000e
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x410f36
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, eax
mov ecx, dword [ebp - 8]
call fcn.00411200
mov dword [eax], esi
mov ecx, dword [ebp - 8]
call fcn.00411200
cmp dword [eax], 0
je 0x410f29
mov ecx, dword [ebp - 8]
call fcn.00411200
cmp dword [eax], 0xffffffff
je 0x410f29
mov dword [ebp - 0x10], 0
jmp 0x410f30
mov dword [ebp - 0x10], 0x8007000e
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jl 0x410f81
push 0
push 0
mov edx, dword [ebp - 8]
push edx
push 0x411040
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 0xc], 0
je 0x410f74
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], 0xffffffff
je 0x410f74
mov dword [ebp - 0x14], 0
jmp 0x410f7b
mov dword [ebp - 0x14], 0x8007000e
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jge 0x411026
mov edx, dword [ebp - 8]
cmp dword [edx + 0xc], 0
je 0x410fb4
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], 0xffffffff
je 0x410fb4
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 8]
call fcn.004111e0
cmp dword [eax], 0
je 0x410fed
mov ecx, dword [ebp - 8]
call fcn.004111e0
cmp dword [eax], 0xffffffff
je 0x410fed
mov ecx, dword [ebp - 8]
call fcn.004111e0
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
call fcn.004111e0
mov dword [eax], 0
mov ecx, dword [ebp - 8]
call fcn.00411200
cmp dword [eax], 0
je 0x411026
mov ecx, dword [ebp - 8]
call fcn.00411200
cmp dword [eax], 0xffffffff
je 0x411026
mov ecx, dword [ebp - 8]
call fcn.00411200
mov edx, dword [eax]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
call fcn.00411200
mov dword [eax], 0
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x425ad0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x425af4
cmp dword [ebp - 4], 0
je 0x425b89
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xd8]
add edx, 0x10
cmp edx, 0xffffffff
ja 0x425b7d
push 0xc4
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x425b7b
mov dword [ebp - 0xc], 0
jmp 0x425b34
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x10
jae 0x425b52
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0xc
mov edx, dword [ebp - 8]
lea eax, [edx + ecx + 4]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00425bc0
jmp 0x425b2b
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xd8]
add ecx, 0x10
mov edx, dword [ebp - 0x14]
mov dword [edx + 0xd8], ecx
jmp 0x425b89
push 0x4019b8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
int3
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x425bad
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
jmp 0x425baf
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x431e10
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x437110]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0xc], 0
jne 0x431e33
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
jmp 0x431e7c
mov ecx, dword [ebp + 8]
push ecx
push 0x400
lea edx, [ebp - 0x410]
push edx
call fcn.004322b0
push 0x4043a8
push 0x400
lea eax, [ebp - 0x410]
push eax
call fcn.00432310
mov ecx, dword [ebp + 0xc]
push ecx
push 0x400
lea edx, [ebp - 0x410]
push edx
call fcn.00432310
lea eax, [ebp - 0x410]
mov dword [ebp - 0xc], eax
push 0
lea ecx, [ebp - 8]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
mov edx, dword [ebp - 0xc]
push edx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x431eda
mov eax, dword [ebp + 0x14]
push eax
call sub.msvcrt.dll_strlen
add esp, 4
add eax, 1
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 1
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00432a95
mov esp, ebp
pop ebp
ret 0x10
Function at 0x431f00
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x437110]
xor eax, ebp
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x431f78
push 0x200
lea eax, [ebp - 0x208]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x431f60
lea edx, [ebp - 0x208]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00431f00
jmp 0x431f32
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00432a95
mov esp, ebp
pop ebp
ret 8

Function at 0x432f80
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x432f93
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x432f8f
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret

Function at 0x432fc0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x432fff
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x432ff5
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x433001
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x432fe5
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x417f70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x14000]
push edi
jmp 0x417f8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x417f91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x417f80
mov eax, 1
add ebx, ebx
jne 0x417fa3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x417f98
jne 0x417fb4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417f98
xor ecx, ecx
sub eax, 3
jb 0x417fc8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41803a
mov ebp, eax
add ebx, ebx
jne 0x417fd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x417fe0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x418004
inc ecx
add ebx, ebx
jne 0x417ff0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x417fe5
jne 0x418001
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417fe5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x418024
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x418015
jmp 0x417f86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x418024
add edi, ecx
jmp 0x417f86
pop esi
mov edi, esi
mov ecx, 0x315
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x418042
cmp byte [edi], 4
jne 0x418042
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 0x418047
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x4180bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x18000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18078]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x418074
mov ecx, edi
jns 0x4180a3
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 + 0x1807c]
or eax, eax
je 0x4180b9
mov dword [ebx], eax
add ebx, 4
jmp 0x418091
call dword [esi + 0x1808c]
mov ebp, dword [esi + 0x18080]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x4180f3
sub esp, 0xffffff80
jmp section.UPX0

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

Disassembly:
pushal
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x50f2f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x83000]
lea eax, [edi + 0xcf740]
push dword [eax]
mov dword [eax], 0xc79d9093
push eax
push edi
jmp 0x50f31a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x50f321
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50f310
mov eax, 1
add ebx, ebx
jne 0x50f333
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50f344
jne 0x50f363
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50f363
dec eax
add ebx, ebx
jne 0x50f350
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x50f328
add ebx, ebx
jne 0x50f35f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x50f3b5
xor ecx, ecx
sub eax, 3
jb 0x50f37b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50f3ea
sar eax, 1
mov ebp, eax
jmp 0x50f386
add ebx, ebx
jne 0x50f386
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50f354
inc ecx
add ebx, ebx
jne 0x50f394
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50f354
add ebx, ebx
jne 0x50f3a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50f396
jne 0x50f3b2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50f396
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50f3d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50f3c6
jmp 0x50f316
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50f3d4
add edi, ecx
jmp 0x50f316
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x50f3f6
cmp byte [edi], 0x11
jne 0x50f3f6
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 0x50f3fb
lea edi, [esi + 0x108000]
mov eax, dword [edi]
or eax, eax
je 0x50f473
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x10ff98]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x11013c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50f428
mov ecx, edi
jns 0x50f457
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 + 0x110144]
or eax, eax
je 0x50f46d
mov dword [ebx], eax
add ebx, 4
jmp 0x50f445
call dword [esi + 0x110140]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x50f4a4
cmp al, 0xef
ja 0x50f497
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x50f479
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x50f486
mov ebp, dword [esi + 0x110148]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x50f4d8
sub esp, 0xffffff80
jmp 0x420577
Function at 0x40b5a1
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
call dword [sym.imp.USER32.DLL_GetFocus]
mov esi, dword [sym.imp.USER32.DLL_GetKeyState]
mov edi, eax
mov bl, pe_nt_image_headers32
test edi, edi
je 0x40b61d
push 9
call esi
test bl, al
je 0x40b61d
push 0x11
call esi
test bl, al
jne 0x40b61d
push 0x10
call esi
test bl, al
jne 0x40b61d
push 0x12
call esi
test bl, al
jne 0x40b61d
push 5
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.USER32.DLL_GetClassNameA]
push 4
lea eax, [esp + 0x14]
push 0x41141c
push eax
call sub.MSVCRT.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x40b61d
push eax
push eax
push 0x44e
push edi
call dword [sym.imp.USER32.DLL_SendMessageA]
test eax, 0x800
jne 0x40b61d
xor eax, eax
jmp 0x40b69f
push ebp
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x40b646
push 0x11
call esi
test bl, al
jne 0x40b63e
push 0x10
call esi
test bl, al
jne 0x40b63e
push 0x12
call esi
test bl, al
je 0x40b646
push 1
push ebp
call fcn.0040b55a
mov esi, dword [sym.imp.USER32.DLL_GetPropA]
test edi, edi
je 0x40b65c
push 0x411410
push edi
call esi
test eax, eax
jne 0x40b69c
push 0x4113a8
push ebp
call esi
mov esi, eax
test esi, esi
je 0x40b69c
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.USER32.DLL_GetWindowThreadProcessId]
test eax, eax
je 0x40b69c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x10], eax
jne 0x40b69c
dec esi
push esi
push dword [0x413b48]
call fcn.0040e4da
test eax, eax
je 0x40b69c
mov eax, dword [eax + 8]
jmp 0x40b69e
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x40b761
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
push edi
push 0x411468
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor edi, edi
mov dword [0x413a1c], eax
cmp eax, edi
je 0x40b794
push 0x41145c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x413a20], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [0x413a18], 1
mov dword [ebp - 0x1c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x40b7d2
cmp dword [ebp - 0xc], 1
je 0x40b7e3
cmp dword [ebp - 0xc], 2
jne 0x40b7d2
cmp dword [ebp - 0x18], 5
jb 0x40b7e3
jne 0x40b7d2
cmp dword [ebp - 0x14], edi
jne 0x40b7d2
mov dword [0x413a18], edi
cmp dword [0x413a18], edi
je 0x40b7e9
call fcn.0040b6a8
test eax, eax
jne 0x40b7e9
mov dword [0x413a18], edi
pop edi
add ebp, 0x78
leave
ret

Function at 0x40c48e
Capabilities:
Delete file
Set file attributes

Disassembly:
cmp dword [esp + 4], 0
je 0x40c4b7
test byte [esp + 8], 2
je 0x40c4ab
push pe_nt_image_headers32
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x40c4b9
xor eax, eax
ret 8
Function at 0x438c8e
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x438a14
sub ecx, ecx
add ecx, 0x98d6a6b4
call fcn.00438cd5
mov edx, 0x9ac0db1
xor dword [edi], esi
mov edx, 0x4d6eabb6
sub edx, 0x589b1a30
sub ecx, 0xbb1f4ecb
inc edi
push 0xe026937c
mov ecx, dword [esp]
add esp, 4
inc edx
push 0xe21038eb
pop edx
cmp edi, ebx
jne fcn.00438c8e
dec ecx
or edx, ecx
ret
Function at 0x4051e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458170
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x477140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.00425349
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0042226c
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.00404fd0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4067b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe38
push ebx
push esi
mov ebx, ecx
mov esi, 0x46f9f0
push edi
mov ecx, 0x38b
mov dword [ebp - 4], ebx
lea edi, [ebp - 0xe38]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
cmp dword [0x47a3e0], 2
movsw word es:[edi], word [esi]
jl 0x406900
movaps xmm4, xmmword [0x470b20]
movaps xmm3, xmmword [0x470bb0]
movaps xmm5, xmmword [0x470b50]
movaps xmm6, xmmword [0x470ba0]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0xe38]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + ecx*2 - 0xe38], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0xe30]
xorps xmm1, xmm0
movq qword [ebp + ecx*2 - 0xe30], xmm1
add ecx, 8
cmp ecx, 0x710
jl 0x406800
cmp ecx, 0x717
jge 0x40692e
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
imul eax, eax, 0x3a
sub edx, eax
add edx, 0x32
xor word [ebp + ecx*2 - 0xe38], dx
inc ecx
cmp ecx, 0x717
jl 0x406900
xorps xmm0, xmm0
lea ecx, [ebp - 0xe38]
movups xmmword [ebx], xmm0
mov dword [ebx + 0x10], 0
lea edx, [ecx + 2]
mov dword [ebx + 0x14], 0
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406950
sub ecx, edx
lea eax, [ebp - 0xe38]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.004061e0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406980
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp word [0x4708c6], 0
movups xmm0, xmmword [str.Q_YMCGXNNqAQQzSJ]
push esi
mov esi, ecx
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 4], esi
movq xmm0, qword [0x4708c0]
movq qword [ebp - 0x10], xmm0
je 0x406acb
xor ecx, ecx
cmp dword [0x47a3e0], 2
jl 0x406aa3
movaps xmm2, xmmword [0x470b20]
mov eax, str.Q_YMCGXNNqAQQzSJ
movaps xmm3, xmmword [0x470bb0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 8
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x470b50]
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x470b30]
pshuflw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
paddw xmm1, xmmword [0x470ba0]
movq xmm0, qword [eax]
xorps xmm1, xmm0
movaps xmm0, xmm2
movq qword [ebp - 0x20], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x470b50]
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [ebp - 0x18]
paddw xmm1, xmmword [0x470ba0]
xorps xmm1, xmm0
movq qword [ebp - 0x18], xmm1
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
imul eax, eax, 0x3a
sub edx, eax
add edx, 0x32
xor word [ebp + ecx*2 - 0x20], dx
inc ecx
cmp ecx, 0xc
jl 0x406aa3
xorps xmm0, xmm0
lea ecx, [ebp - 0x20]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edx, [ecx + 2]
mov dword [esi + 0x14], 0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406ae5
sub ecx, edx
lea eax, [ebp - 0x20]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004061e0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x406b10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp word [0x470836], 0
movups xmm0, xmmword [str.gCPTBRJ]
push esi
mov esi, ecx
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 4], esi
movq xmm0, qword [str.TXDy_s___eQ___Y]
movq qword [ebp - 0x10], xmm0
je 0x406c5b
xor ecx, ecx
cmp dword [0x47a3e0], 2
jl 0x406c33
movaps xmm2, xmmword [0x470b20]
mov eax, str.gCPTBRJ
movaps xmm3, xmmword [0x470bb0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 8
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x470b50]
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x470b30]
pshuflw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
paddw xmm1, xmmword [0x470ba0]
movq xmm0, qword [eax]
xorps xmm1, xmm0
movaps xmm0, xmm2
movq qword [ebp - 0x20], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x470b50]
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [ebp - 0x18]
paddw xmm1, xmmword [0x470ba0]
xorps xmm1, xmm0
movq qword [ebp - 0x18], xmm1
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
imul eax, eax, 0x3a
sub edx, eax
add edx, 0x32
xor word [ebp + ecx*2 - 0x20], dx
inc ecx
cmp ecx, 0xc
jl 0x406c33
xorps xmm0, xmm0
lea ecx, [ebp - 0x20]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edx, [ecx + 2]
mov dword [esi + 0x14], 0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406c75
sub ecx, edx
lea eax, [ebp - 0x20]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004061e0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret