joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c930
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e77f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x612864]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi], vtable.CBrowseDialog.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
call fcn.0040b030
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.0040b030
mov word [esi + 0x60], 0
mov dword [esi + 0x64], 0xffffffff
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 5
call fcn.0040b030
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 6
call fcn.0040b030
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42dcf0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov eax, dword [edi]
cmp eax, dword [esi + 8]
jne case.0x42dd1f.154
mov eax, dword [edi + 8]
add eax, 0x9b
cmp eax, 0x99
ja case.0x42dd1f.154
movzx eax, byte [eax + 0x42de24]
jmp dword [eax*4 + 0x42de0c]
cmp byte [0x612851], 0
je case.0x42dd1f.154
call fcn.0042db60
pop edi
xor al, al
pop esi
pop ebp
ret 8
cmp byte [0x612851], 0
jne case.0x42dd1f.154
call fcn.0042db60
pop edi
xor al, al
pop esi
pop ebp
ret 8
mov eax, dword [edi + 0x10]
cmp eax, dword [esi + 0x40]
jne 0x42dd79
cmp byte [esi + 0x44], 0
sete al
mov byte [esi + 0x44], al
call fcn.0042eba0
pop edi
xor al, al
pop esi
pop ebp
ret 8
test eax, eax
mov dword [esi + 0x40], eax
sete al
mov byte [esi + 0x44], al
call fcn.0042eba0
pop edi
xor al, al
pop esi
pop ebp
ret 8
push ebx
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movzx ecx, word [edi + 0xc]
shr eax, 0xf
mov edx, ecx
and al, 1
cmp edx, 8
je 0x42ddce
cmp edx, 0x52
je 0x42ddbd
cmp ecx, 0x76
jne 0x42ddca
mov ecx, esi
call fcn.0042d4c0
jmp 0x42ddd5
test al, al
je 0x42ddca
mov ecx, esi
call fcn.0042eba0
jmp 0x42ddd5
xor bl, bl
jmp 0x42ddd7
mov ecx, esi
call fcn.0042e0a0
mov bl, 1
push 0
push 0
push 0x8001
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
mov al, bl
pop ebx
pop edi
pop esi
pop ebp
ret 8
push 0
push 0
push 0x8001
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
xor al, al
pop esi
pop ebp
ret 8

Function at 0x42dd91
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov eax, dword [edi]
cmp eax, dword [esi + 8]
jne case.0x42dd1f.154
mov eax, dword [edi + 8]
add eax, 0x9b
cmp eax, 0x99
ja case.0x42dd1f.154
movzx eax, byte [eax + 0x42de24]
jmp dword [eax*4 + 0x42de0c]
cmp byte [0x612851], 0
je case.0x42dd1f.154
call fcn.0042db60
pop edi
xor al, al
pop esi
pop ebp
ret 8
cmp byte [0x612851], 0
jne case.0x42dd1f.154
call fcn.0042db60
pop edi
xor al, al
pop esi
pop ebp
ret 8
mov eax, dword [edi + 0x10]
cmp eax, dword [esi + 0x40]
jne 0x42dd79
cmp byte [esi + 0x44], 0
sete al
mov byte [esi + 0x44], al
call fcn.0042eba0
pop edi
xor al, al
pop esi
pop ebp
ret 8
test eax, eax
mov dword [esi + 0x40], eax
sete al
mov byte [esi + 0x44], al
call fcn.0042eba0
pop edi
xor al, al
pop esi
pop ebp
ret 8
push ebx
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movzx ecx, word [edi + 0xc]
shr eax, 0xf
mov edx, ecx
and al, 1
cmp edx, 8
je 0x42ddce
cmp edx, 0x52
je 0x42ddbd
cmp ecx, 0x76
jne 0x42ddca
mov ecx, esi
call fcn.0042d4c0
jmp 0x42ddd5
test al, al
je 0x42ddca
mov ecx, esi
call fcn.0042eba0
jmp 0x42ddd5
xor bl, bl
jmp 0x42ddd7
mov ecx, esi
call fcn.0042e0a0
mov bl, 1
push 0
push 0
push 0x8001
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
mov al, bl
pop ebx
pop edi
pop esi
pop ebp
ret 8
push 0
push 0
push 0x8001
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
xor al, al
pop esi
pop ebp
ret 8
Function at 0x4304c0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ed42
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x612864]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1d4]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1a4], eax
call fcn.0040b030
cmp byte [edi], 0
mov dword [ebp - 4], 0
je 0x430568
push dword [edi + 0xc]
lea eax, [ebp - 0x1e0]
push dword [edi + 8]
push eax
call fcn.004302f0
push eax
push 0xdb0
lea eax, [ebp - 0x1b0]
mov byte [ebp - 4], 1
push eax
call fcn.00430240
push eax
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 2
call fcn.0040b130
push dword [ebp - 0x1b0]
call fcn.0043f6fc
push dword [ebp - 0x1e0]
mov byte [ebp - 4], 0
call fcn.0043f6fc
add esp, 8
lea eax, [edi + 0x18]
mov ecx, eax
mov dword [ebp - 0x1a0], eax
call fcn.0040c1c0
mov esi, eax
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 1]
push ecx
lea ecx, [ebp - 0x1c8]
call fcn.0040adf0
mov eax, dword [edi + 0x18]
lea ecx, [ebp - 0x1bc]
add eax, 2
mov byte [ebp - 4], 3
lea eax, [eax + esi*2]
push eax
call fcn.0040afd0
lea eax, [ebp - 0x1c8]
mov byte [ebp - 4], 4
push eax
mov ecx, ebx
call fcn.00430430
lea eax, [ebp - 0x1bc]
mov ecx, ebx
push eax
call fcn.00430430
lea eax, [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0x19c]
call fcn.0040ae50
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 5
call fcn.0040b5a0
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x19c]
call fcn.0040b400
lea ecx, [ebp - 0x19c]
call fcn.0040b5a0
lea eax, [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x19c]
call fcn.0040b400
lea ecx, [ebp - 0x19c]
call fcn.0040b5a0
cmp byte [edi + 1], 0
je 0x430688
push 0x3f4
lea eax, [ebp - 0x1e0]
push eax
call fcn.00411a10
push eax
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 6
call fcn.0040b400
push dword [ebp - 0x1e0]
mov byte [ebp - 4], 5
call fcn.0043f6fc
add esp, 4
lea ecx, [ebp - 0x19c]
push 0x4517ac
call fcn.0040b440
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.00411920
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x19c]
call fcn.0040b440
push dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebx + 4]
call edi
push dword [ebp - 0x19c]
push eax
call fcn.00412460
push 0
push dword [ebp - 0x1a0]
lea eax, [ebp - 0x1b0]
push eax
call fcn.0040cb80
push pe_nt_image_headers32
push 0x160
lea eax, [ebp - 0x190]
push eax
push 0x80
push dword [ebp - 0x1b0]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x1b0]
mov esi, eax
call fcn.0043f6fc
add esp, 4
test esi, esi
je 0x43070b
push dword [ebp - 0x1a4]
push dword [ebx + 4]
call edi
push 0
push dword [ebp - 0x190]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x19c]
call fcn.0043f6fc
push dword [ebp - 0x1bc]
call fcn.0043f6fc
push dword [ebp - 0x1c8]
call fcn.0043f6fc
push dword [ebp - 0x1d4]
call fcn.0043f6fc
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043f4c0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x431e00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x28
mov eax, dword [edx]
push esi
mov esi, ecx
cmp eax, dword [esi + 0xb4]
jne 0x431e32
cmp dword [edx + 8], 0xffffff65
jne 0x431e32
movzx eax, word [edx + 0xc]
sub eax, 0x2d
je 0x431e78
sub eax, 0x14
je 0x431e3b
sub eax, 2
je 0x431e78
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x431e32
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 2
push eax
push 0xffffffffffffffff
push 0x102b
push dword [esi + 0xb4]
mov dword [ebp - 0x1c], 2
call dword [sym.imp.USER32.dll_SendMessageA]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x431e32
mov ecx, esi
call fcn.00430f50
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x434100
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c4
mov eax, dword [0x612864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x616498], 0
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
jne 0x434180
push esi
push edx
lea eax, [ebp - 0x2c4]
push eax
call fcn.0040c750
push 0x4010
push 0x160
lea ecx, [ebp - 0x164]
push ecx
mov ecx, dword [ebp + 0xc]
or ecx, 0x80
push ecx
push dword [eax]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x2c4]
mov esi, eax
call fcn.0043f6fc
mov ecx, dword [ebp - 0x160]
add esp, 4
mov eax, esi
mov dword [edi], ecx
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043f4c0
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [0x616490]
test eax, eax
je 0x4341a7
push 0x4010
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
mov ecx, dword [ebp + 0xc]
or ecx, 0x80
push ecx
push edx
call eax
mov ecx, dword [ebp - 0x2b4]
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0043f4c0
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4341c0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x612864]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
mov edx, 0x4011
test al, al
mov ecx, 0x4110
lea eax, [ebp - 0x164]
cmovne ecx, edx
push ecx
push 0x160
push eax
push 0x90
push 0x4506a4
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043f4c0
mov esp, ebp
pop ebp
ret 4
Function at 0x434c60
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f325
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x612864]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 8]
cmp edi, dword [ebp + 0xc]
je 0x434e41
nop dword [eax]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00434b80
cmp dword [ebp - 0x1c], 0
jne 0x434e32
cmp dword [ebx + 8], 0x15555555
je 0x434e55
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
push 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
call fcn.0043f6b5
mov ecx, dword [edi]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [esi + 8], ecx
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x1c]
inc ecx
mov dword [ebp - 0x14], eax
movss xmm3, dword [ebx]
mov dword [ebp - 4], 1
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x4521c0]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x4521c0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
seta al
test al, al
je 0x434dd5
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x30], xmm0
fld qword [ebp - 0x30]
fstp qword [esp]
call fcn.004438a0
fstp qword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x30]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.0043ff20
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x14]
cmp eax, ecx
jae 0x434dae
cmp eax, 0x200
jae 0x434dac
shl eax, 3
cmp eax, ecx
jae 0x434dae
mov eax, ecx
push eax
mov ecx, ebx
call fcn.004362f0
push dword [ebp - 0x10]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00434b80
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
jmp 0x434dd8
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov edi, dword [ebp - 0x28]
mov dword [ebx + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ecx
mov dword [ecx], esi
mov dword [edx + 4], esi
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x24], 0
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
jne 0x434e14
mov dword [ecx + eax*8], esi
jmp 0x434e27
cmp dword [ecx + eax*8], edx
jne 0x434e1e
mov dword [ecx + eax*8], esi
jmp 0x434e2b
mov edx, dword [ebp - 0x14]
cmp dword [ecx + eax*8 + 4], edx
jne 0x434e2b
mov dword [ecx + eax*8 + 4], esi
mov dword [ebp - 4], 0xffffffff
add edi, 4
mov dword [ebp + 8], edi
cmp edi, dword [ebp + 0xc]
jne 0x434ca0
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
push str.unordered_map_set_too_long
call fcn.00440669
int3
Function at 0x4362f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0xc], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x436443
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.004361f0
mov ecx, dword [ebx + 4]
lea eax, [edi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x436416
movzx eax, byte [ecx + 8]
mov edx, dword [edx]
xor eax, 0x811c9dc5
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp - 4], eax
cmp ebx, esi
jne 0x43638e
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x436409
mov eax, dword [eax + 4]
movzx edi, word [ecx + 8]
cmp di, word [eax + 8]
jne 0x4363ca
mov eax, dword [eax]
mov dword [ebp - 8], eax
cmp eax, ecx
je 0x4363c2
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 8]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ecx
jmp 0x436409
mov edi, eax
cmp ebx, eax
je 0x4363e6
mov eax, dword [eax + 4]
mov edi, eax
movzx esi, word [ecx + 8]
cmp si, word [eax + 8]
mov esi, dword [ebp + 8]
je 0x43641f
cmp ebx, eax
jne 0x4363d0
mov eax, dword [ecx + 4]
mov dword [ebp - 8], eax
mov dword [eax], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov edi, dword [ebp - 8]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], ecx
mov ebx, dword [ebp - 0xc]
mov ecx, edx
cmp edx, esi
jne 0x436352
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov esi, eax
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x436409
push str.invalid_hash_bucket_count
call fcn.00440669
int3
Function at 0x446293
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x45441c
push 0x454414
push str.FlsAlloc
push 0x1e
call fcn.00446171
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4462c7
push dword [ebp + 8]
mov ecx, esi
call dword [0x450308]
call esi
jmp 0x4462cd
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x446311
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x45442c
push 0x454424
push str.FlsGetValue
push 0x20
call fcn.00446171
mov esi, eax
add esp, 0x10
test esi, esi
je 0x446348
push dword [ebp + 8]
mov ecx, esi
call dword [0x450308]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x447bdb
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x447c78
push ebx
push esi
call fcn.00447ba4
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00445f44
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x447c25
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x447c77
push edi
push eax
call fcn.00445c31
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x447c45
call fcn.00445bf7
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x447c76
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00445f44
add esp, 0x20
test eax, eax
jne 0x447c64
push edi
call fcn.00445bf7
jmp 0x447c6c
push ebx
call fcn.00445bf7
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x407e15
Capabilities:
Terminate process

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

Function at 0x41a87e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x41a88d
pop dword [ebp - 0x4c]
mov eax, 0x5251f1ab
add eax, 0xadefb6e2
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xf85e8cae
add dword [ebp - 0x5c], 0x55f3b89d
mov dword [ebp - 0x58], 0xc998ce32
add dword [ebp - 0x58], 0x689a7e13
mov dword [ebp - 0x54], 0x88402059
add dword [ebp - 0x54], 0xc40c23d5
mov dword [ebp - 0x50], 0xc730069
add dword [ebp - 0x50], 0xf38cff97
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x6ad33a85
add eax, 0x956ef5ef
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x73c6227c
add dword [ebp - 0x5c], 0xac46da
mov dword [ebp - 0x58], 0xe12da513
add dword [ebp - 0x58], 0x603ebc62
mov dword [ebp - 0x54], 0xdc5ad105
add dword [ebp - 0x54], 0x87149b67
mov dword [ebp - 0x50], 0x161b3fd8
sub dword [ebp - 0x50], 0x161b3fd8
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x64f86858
add eax, 0x9b49c8cc
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x3a97d
push 0
call eax
mov ecx, 0xc3a2936e
add ecx, 0x3c5da361
xor edi, edi
add edi, eax
mov ebx, 0x62fddad2
add ebx, 0x9d45692e
add ebx, dword [ebp - 0x4c]
mov esi, 0x14db2cb9
xor dword [ebp - 0x38], 0x75ea2202
mov edx, dword [ebx]
add dword [ebp - 0x14], esi
xor edx, esi
xor dword [ebp - 0x24], 0x34d8d8c9
mov dword [edi], edx
add dword [ebp - 0x10], ecx
add edi, 0xb5b083df
add edi, 0x4a4f7c25
add ebx, 0x3cdc6cdb
add ebx, 0xc3239329
loop 0x41a9ab
add eax, 0xd90cf0d8
sub eax, 0xd90c22c9
xor ebx, ebx
add ebx, eax
add eax, 0x8895e977
add eax, 0x776a168e
mov ecx, 0x400000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x4024c0
Capabilities:
Encrypt data using aes mixcolumns step

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov ecx, 0x4d500c
call fcn.0047b83a
mov byte [ebp - 1], 0
mov eax, 1
imul ecx, eax, 0
mov dl, byte [ebp + 0xc]
mov byte [ebp + ecx - 0xc], dl
mov dword [ebp - 8], 1
jmp 0x4024f8
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x402533
mov ecx, dword [ebp - 8]
movzx edx, byte [ebp + ecx - 0xd]
shl edx, 1
mov eax, dword [ebp - 8]
mov byte [ebp + eax - 0xc], dl
mov ecx, dword [ebp - 8]
movzx edx, byte [ebp + ecx - 0xd]
and edx, 0x80
je 0x402531
mov eax, dword [ebp - 8]
movzx ecx, byte [ebp + eax - 0xc]
xor ecx, 0x1b
mov edx, dword [ebp - 8]
mov byte [ebp + edx - 0xc], cl
jmp 0x4024ef
mov dword [ebp - 8], 0
jmp 0x402545
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x40256c
movzx edx, byte [ebp + 8]
mov ecx, dword [ebp - 8]
sar edx, cl
and edx, 1
je 0x40256a
mov eax, dword [ebp - 8]
movzx ecx, byte [ebp + eax - 0xc]
movzx edx, byte [ebp - 1]
xor edx, ecx
mov byte [ebp - 1], dl
jmp 0x40253c
movzx eax, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 8
Function at 0x40a9a0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov dword [ebp - 8], ecx
mov ecx, 0x4d522b
call fcn.0047b83a
push 0
lea ecx, [ebp - 0x18]
call fcn.00406fc0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0040a440
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40a9fe
mov edx, dword [ebp - 4]
mov dword [ebp - 0x1c], edx
lea ecx, [ebp - 0x18]
call fcn.004071a0
mov eax, dword [ebp - 0x1c]
jmp 0x40aa80
mov dword [ebp - 0xc], 0x100
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x22c]
push edx
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x40aa5e
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0040a9a0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40aa55
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
lea ecx, [ebp - 0x18]
call fcn.004071a0
mov eax, dword [ebp - 0x20]
jmp 0x40aa80
mov dword [ebp - 0xc], 0x100
jmp 0x40aa05
lea ecx, [ebp - 0x18]
call fcn.004080c0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.004085a0
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x18]
call fcn.004071a0
mov eax, dword [ebp - 0x24]
mov esp, ebp
pop ebp
ret 4

Function at 0x40aa90
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov ecx, 0x4d5229
call fcn.0047b83a
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x40aaf9
push 0x4a6338
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40aac6
mov eax, 1
jmp 0x40ab17
push str.RegDeleteKeyTransactedW
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40aaf7
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0xc]
jmp 0x40ab17
jmp 0x40ab12
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x40ab12
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x40ab17
mov eax, 1
mov esp, ebp
pop ebp
ret 8