joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402da0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4176c0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x42f06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], vtable.StringStorage.0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00401570
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4296c0
push ecx
call fcn.00405c40
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], vtable.StringStorage.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00401570
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4296c0
push ecx
call fcn.00405c40
add esp, 0xc
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
push edi
mov byte [ebp - 4], 3
call fcn.00401a90
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.00401b70
push ecx
push 0
push dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
push dword [esi + 4]
call fcn.004035a0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x402ea2
xor bl, bl
mov dword [ebp - 0x48], vtable.RegistryKey.0
jmp 0x402eda
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 3
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov dword [ebp - 0x48], vtable.RegistryKey.0
mov eax, dword [ebp - 0x44]
sete bl
test eax, eax
je 0x402eda
cmp eax, dword [ebp - 0x40]
je 0x402ed3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x3c]
call fcn.004032f0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], vtable.StringStorage.0
test edx, edx
je 0x402f31
mov ecx, dword [ebp - 0x10]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x402f12
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402f81
push ecx
push edx
call fcn.0040462c
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.StringStorage.0
test edx, edx
je 0x402f6b
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x402f61
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402f86
push ecx
push edx
call fcn.0040462c
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.0040a023
call fcn.0040a023
int3
Function at 0x403680
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x417820
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x42f06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
cmp dword [edi + 4], 0
jne 0x4036c9
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push ecx
push 1
push dword [ebp + 8]
lea ecx, [ebp - 0x3c]
mov bl, 1
push edi
call fcn.004035a0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], 0
call fcn.004038d0
test al, al
je 0x40374f
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x40374f
push ecx
push esi
lea ecx, [ebp - 0x20]
call fcn.00403be0
push 0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x20]
call fcn.004038d0
test esi, esi
je 0x403741
xor edi, edi
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x3c]
push dword [edi + eax + 4]
call fcn.00403680
neg al
lea edi, [edi + 0x10]
sbb al, al
and bl, al
sub esi, 1
jne 0x403721
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.004019b0
jmp 0x403751
xor bl, bl
mov eax, dword [edi + 4]
test eax, eax
jne 0x40375c
xor dl, dl
jmp 0x40376b
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
sete dl
xor ecx, ecx
movzx eax, bl
test dl, dl
mov dword [ebp - 0x3c], vtable.RegistryKey.0
cmovne ecx, eax
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x403799
cmp ecx, dword [ebp - 0x34]
je 0x403792
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x30]
call fcn.004032f0
mov al, byte [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4037c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x417848
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x42f06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
jne 0x403807
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
push 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push ecx
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4037f1
mov eax, dword [ebp - 0x10]
push ecx
inc eax
lea ecx, [ebp - 0x20]
push eax
call fcn.00402f90
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x20]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push 0
push ebx
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40385e
xor bl, bl
jmp 0x403879
mov eax, dword [ebp - 0x10]
cmp word [esi + eax*2], 0
je 0x40386e
xor ecx, ecx
mov word [esi + eax*2], cx
mov ecx, dword [ebp + 0xc]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov bl, 1
test esi, esi
je 0x4038a9
mov ecx, dword [ebp - 0x18]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x40389f
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4038bf
push ecx
push esi
call fcn.0040462c
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0040a023
int3
Function at 0x4038d0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x417888
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x42f06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
cmp dword [esi + 4], 0
jne 0x403919
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x30], vtable.StringStorage.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00401570
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4296c0
push ecx
call fcn.00405c40
add esp, 0xc
mov dword [ebp - 4], 1
mov edi, 0x400
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push eax
push 0x401
mov ecx, eax
call fcn.00401570
push edi
push dword [ebp - 0x20]
push ebx
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov esi, eax
test esi, esi
je 0x4039ea
cmp esi, 0xea
jne 0x4039f6
add edi, 0x400
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x20]
lea eax, [edi + 1]
push eax
call fcn.00401570
mov eax, dword [ebp - 0x14]
push edi
push dword [ebp - 0x20]
push ebx
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov esi, eax
test esi, esi
jne 0x4039b5
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
push dword [ebp - 0x20]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x403a48
mov eax, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
lea edx, [eax + eax]
mov eax, ecx
cmp edx, 0x1000
jb 0x403a29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403ae1
push edx
push ecx
call fcn.0040462c
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
test esi, esi
jne 0x403ab3
cmp dword [ebp + 8], 0
mov esi, dword [ebp - 0x10]
je 0x403a5f
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x2c]
call dword [eax + 4]
add esi, 0x10
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
inc ebx
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x30], vtable.StringStorage.0
test edx, edx
je 0x403921
mov ecx, dword [ebp - 0x24]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x403aa4
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403ae1
push ecx
push edx
call fcn.0040462c
add esp, 8
jmp 0x403921
lea ecx, [ebp - 0x30]
call fcn.004032f0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x403ac4
mov dword [eax], ebx
cmp esi, 0x103
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0040a023
int3
Function at 0x42e001
Capabilities:
Packed with generic packer

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
nop
nop
pushal
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x42dfcc
ror byte [eax + edx*4], 0x90
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x945ac0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2e9000]
push edi
jmp 0x945ada
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x945ae1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x945ad0
mov eax, 1
add ebx, ebx
jne 0x945af3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x945b04
jne 0x945b23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x945b23
dec eax
add ebx, ebx
jne 0x945b10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x945ae8
add ebx, ebx
jne 0x945b1f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x945b75
xor ecx, ecx
sub eax, 3
jb 0x945b3b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x945baa
sar eax, 1
mov ebp, eax
jmp 0x945b46
add ebx, ebx
jne 0x945b46
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x945b14
inc ecx
add ebx, ebx
jne 0x945b54
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x945b14
add ebx, ebx
jne 0x945b61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x945b56
jne 0x945b72
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x945b56
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x945b94
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x945b86
jmp 0x945ad6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x945b94
add edi, ecx
jmp 0x945ad6
pop esi
mov edi, esi
mov ecx, 0xfa64
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x945bb2
cmp byte [edi], 0x2f
jne 0x945bb2
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 0x945bb7
lea edi, [esi + 0x541000]
mov eax, dword [edi]
or eax, eax
je 0x945c2f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x55c9c8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x55cb30]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x945be4
mov ecx, edi
jns 0x945c13
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 + 0x55cb34]
or eax, eax
je 0x945c29
mov dword [ebx], eax
add ebx, 4
jmp 0x945c01
call dword [esi + 0x55cb44]
mov ebp, dword [esi + 0x55cb38]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
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 0x945c63
sub esp, 0xffffff80
jmp 0x5ecd10
Function at 0x10005936
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x10005945
pop dword [ebp - 0x14]
mov eax, 0x46944b68
add eax, 0xc96c0ddd
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x65ecfa0d
add dword [ebp - 0x24], 0xe8654b3e
mov dword [ebp - 0x20], 0x10517cf8
add dword [ebp - 0x20], 0x21e1cf4d
mov dword [ebp - 0x1c], 0x165ba94b
add dword [ebp - 0x1c], 0x35f09ae3
mov dword [ebp - 0x18], 0x38e6bcfc
sub dword [ebp - 0x18], 0x38e6bcfc
lea eax, [ebp - 0x24]
push eax
mov eax, 0x67b305c9
add eax, 0xa84efa3b
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x4b0bdad5
add dword [ebp - 0x24], 0x29668e81
mov dword [ebp - 0x20], 0xa30f3a3b
sub dword [ebp - 0x20], 0x61a2d8c6
mov dword [ebp - 0x1c], 0x360b04bb
add dword [ebp - 0x1c], 0x2d6467b1
mov dword [ebp - 0x18], 0xcccfad6d
sub dword [ebp - 0x18], 0xcccfad6d
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3c6cd
push 0
call eax
mov ecx, 0xd031bb65
add ecx, 0x2fce8c00
mov edi, eax
mov esi, 0x1002bc00
add esi, dword [ebp - 0x14]
mov ebx, 0x8c5e140
sub ebx, 0xb7659bb0
mov dword [ebp - 0xc], 0x47378141
mov edx, dword [esi]
add dword [ebp - 4], 0x6d07c3e2
sub edx, ebx
xor dword [ebp - 8], edx
mov dword [edi], edx
xor dword [ebp - 8], eax
add edi, 0x34f5bb36
sub edi, 0x34f5bb32
add esi, 0x401b8e80
add esi, 0xbfe47184
loop 0x10005a5c
add eax, 0x11067
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x8d8aeab2
add ecx, 0x8275154e
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x72881c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x441881
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x30]
call fcn.0072617c
xor ebx, ebx
lea ecx, [esi + 0x180]
mov dword [esp + 0x18], ebx
call fcn.007281cc
lea ecx, [esi + 0x1d4]
mov byte [esp + 0x18], 1
call fcn.007286ac
lea ecx, [esi + 0x1e0]
mov byte [esp + 0x18], 2
call fcn.007278ac
lea ecx, [esi + 0x248]
mov byte [esp + 0x18], 3
call fcn.0072532c
lea ecx, [esi + 0x6a8]
mov byte [esp + 0x18], 4
call fcn.00727dac
lea ecx, [esi + 0xb78]
mov byte [esp + 0x18], 5
call fcn.00725cfc
mov eax, dword [esp + 0x20]
mov dword [esi], case.0x71b6c4.33043
mov byte [esi + 0xc], bl
mov dword [esi + 8], eax
mov dword [esi + 0x170], eax
mov ecx, 0x80
xor eax, eax
lea edi, [esi + 0xcac]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x20]
mov edi, 0x4c71d8
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov ecx, 0x2002
rep stosd dword es:[edi], eax
mov ecx, 0x2002
mov edi, 0x4cf1e0
rep stosd dword es:[edi], eax
lea edi, [esi + 0xc6c]
mov ecx, 0x10
mov eax, 1
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x766900
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x455c0c]
test eax, eax
jne 0x766918
call fcn.007669a0
mov dword [0x455c0c], 1
mov ecx, dword [esp + 4]
or eax, 0xffffffff
dec ecx
js 0x766948
push ebx
push esi
lea esi, [ecx + 1]
mov ecx, dword [esp + 0x10]
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
shr edx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x45540c]
xor eax, edx
inc ecx
dec esi
jne 0x76692b
pop esi
pop ebx
not eax
ret

Function at 0x766950
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x455c10]
test eax, eax
jne 0x766968
call fcn.007669e0
mov dword [0x455c10], 1
mov ecx, dword [esp + 4]
or eax, 0xffffffff
dec ecx
js 0x76699b
push esi
lea esi, [ecx + 1]
mov ecx, dword [esp + 0xc]
push edi
xor edx, edx
mov edi, eax
mov dl, byte [ecx]
and edi, 0xff
xor edx, edi
shr eax, 8
mov edx, dword [edx*4 + 0x45580c]
xor eax, edx
inc ecx
dec esi
jne 0x76697b
pop edi
pop esi
not eax
ret

Function at 0x7669a0
Capabilities:
Hash data using crc32b

Disassembly:
push esi
xor edx, edx
mov ecx, 0x45540c
mov eax, edx
mov esi, 8
shl eax, 0x18
test eax, 0x80000000
je 0x7669c2
add eax, eax
xor eax, 0x4c11db7
jmp 0x7669c4
shl eax, 1
dec esi
jne 0x7669b2
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x455808
jle 0x7669a8
pop esi
ret

Function at 0x7669e0
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor edx, edx
mov ecx, 0x45580c
mov eax, edx
mov esi, 8
test al, 1
je 0x7669fc
shr eax, 1
xor eax, 0xedb88320
jmp 0x7669fe
shr eax, 1
dec esi
jne 0x7669ef
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x455c08
jle 0x7669e8
pop esi
ret
Function at 0x77f340
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x441891
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x30]
call fcn.0077cca0
xor ebx, ebx
lea ecx, [esi + 0x180]
mov dword [esp + 0x18], ebx
call fcn.0077ecf0
lea ecx, [esi + 0x1d4]
mov byte [esp + 0x18], 1
call fcn.0077f1d0
lea ecx, [esi + 0x1e0]
mov byte [esp + 0x18], 2
call fcn.0077e3d0
lea ecx, [esi + 0x248]
mov byte [esp + 0x18], 3
call fcn.0077be50
lea ecx, [esi + 0x6a8]
mov byte [esp + 0x18], 4
call fcn.0077e8d0
lea ecx, [esi + 0xb78]
mov byte [esp + 0x18], 5
call fcn.0077c820
mov eax, dword [esp + 0x20]
mov dword [esi], case.0x71b6c4.33043
mov byte [esi + 0xc], bl
mov dword [esi + 8], eax
mov dword [esi + 0x170], eax
mov ecx, 0x80
xor eax, eax
lea edi, [esi + 0xcac]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x20]
mov edi, 0x4c71d8
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov ecx, 0x2002
rep stosd dword es:[edi], eax
mov ecx, 0x2002
mov edi, 0x4cf1e0
rep stosd dword es:[edi], eax
lea edi, [esi + 0xc6c]
mov ecx, 0x10
mov eax, 1
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x402a7e
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
push edi
mov edi, dword [esp + 0xc]
cmp dword [esp + 0x10], esi
jbe 0x402acb
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x58
push 0x41f390
push 0x45e6b0
mov byte [edi + esi], al
call fcn.00401374
push eax
call fcn.004019f8
mov al, byte [edi + esi]
add esp, 0xc
sub al, 0x14
xor al, 0x74
add al, 0x4e
xor al, 0x70
sub al, 0x65
xor al, 0x22
sub al, 0x73
xor al, 0x2a
mov byte [edi + esi], al
inc esi
cmp esi, dword [esp + 0x10]
jb 0x402a8c
pop edi
pop esi
ret

Function at 0x402f68
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x45d500]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x41f3b0
lea ecx, [ebp - 0x1c]
call fcn.00401af2
push 0xc
call fcn.004065e4
xor esi, esi
pop ecx
test eax, eax
je 0x402fa1
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
call fcn.00401b4b
jmp 0x402fa3
mov eax, esi
mov eax, dword [eax + 4]
shl eax, 2
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0x40
push 0x4ac
push 0x45d040
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
call dword [sym.imp.KERNEL32.DLL_FreeConsole]
push esi
push esi
push esi
push 0x402a6c
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
call fcn.00402a52
mov edx, 0x45d040
add edx, 0x188
mov esi, 0x429040
push esi
call edx
lea ecx, [ebp - 0x1c]
call fcn.00402918
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00406622
leave
ret

Function at 0x4071ff
Capabilities:
Parse pe header

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

Function at 0x411ef9
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x422500
push 0x4224f8
push 0x420d94
push 0x1e
call fcn.00411d66
mov esi, eax
add esp, 0x10
test esi, esi
je 0x411f2d
push dword [ebp + 8]
mov ecx, esi
call dword [0x41f140]
call esi
jmp 0x411f33
call dword [sym.imp.KERNEL32.DLL_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x414426
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004140c8

Function at 0x414431
Capabilities:
Read file on windows

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

Function at 0x41482b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00407370
mov eax, dword [0x45d500]
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.004132bd
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41486d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4149c9
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0041dd40
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 + 0x45f048]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004159fb
mov ecx, dword [esi*4 + 0x45f048]
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 0x4149c2
cmp eax, dword [edi + ecx + 0x24]
jne 0x4149c2
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 0x4149c2
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004159fb
add esp, 0x14
test edx, edx
jl 0x4149c2
jg 0x414938
test eax, eax
jb 0x4149c2
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4149c2
jl 0x414952
cmp dword [ebp - 0x1008], eax
ja 0x4149c2
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x414970
test ebx, ebx
je 0x4149a9
cmp ecx, edi
jae 0x4149a9
mov al, byte [ecx]
cmp al, 0xd
jne 0x41498a
lea eax, [edi - 1]
cmp ecx, eax
jae 0x414996
cmp byte [ecx + 1], 0xa
jne 0x414996
inc ecx
jmp 0x414996
movzx eax, al
movsx eax, byte [eax + 0x45d7d0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x414970
cmp edx, ebx
jne 0x414970
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4149c7
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00406622
leave
ret