joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417b10
Capabilities:
Enumerate files on windows
Read file on windows

Disassembly:
sub esp, 0x668
mov eax, dword [0x4527b8]
mov dword [esp + 0x664], eax
mov eax, dword [0x450708]
cmp eax, 0xffffffff
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jne 0x417c62
push 0x410
lea eax, [esp + 0x25c]
push eax
push 0
call esi
lea ecx, [esp + 0x258]
push 0x5c
push ecx
call fcn.0041e677
add esp, 8
test eax, eax
je 0x417c8d
push 0x4418d8
push eax
call fcn.0041d456
add esp, 8
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [0x450708], eax
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x417c8d
mov eax, dword [0x466e30]
test eax, eax
je 0x417ba6
push eax
call fcn.0041d905
add esp, 4
mov eax, dword [esp + 0x28]
push eax
call fcn.0041db4b
add esp, 4
test eax, eax
mov dword [0x466e30], eax
je 0x417c8d
push 0x410
lea ecx, [esp + 0x25c]
push ecx
push 0
call esi
lea edx, [esp + 0x258]
push 0x5c
push edx
call fcn.0041e677
lea ecx, [esp + 0x3c]
push ecx
add eax, 2
push eax
call fcn.0041d456
add esp, 0x10
push 0
push 0
push 3
push 0
push 0
push 0x80000000
lea edx, [esp + 0x270]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x417c8d
mov ecx, dword [esp + 0x28]
mov edx, dword [0x466e30]
push 0
lea eax, [esp + 8]
push eax
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 4]
mov esi, dword [esp + 0x28]
xor eax, eax
cmp ecx, esi
mov ecx, dword [0x466e30]
setne al
pop esi
dec eax
and eax, ecx
mov ecx, dword [esp + 0x664]
call fcn.0041d4a3
add esp, 0x668
ret
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x417b88
mov edx, dword [0x450708]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [0x450708], 0xffffffff
mov ecx, dword [esp + 0x668]
xor eax, eax
pop esi
call fcn.0041d4a3
add esp, 0x668
ret
Function at 0x418af0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x4527b8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
push esi
mov dword [esp + 0xa8], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edi, eax
push 0x41
lea eax, [esp + 0x14]
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowTextA]
call esi
mov edx, dword [ebp + 0x14]
push 0x41
lea ecx, [esp + 0x5c]
push ecx
push edx
call esi
lea esi, [esp + 0x58]
lea eax, [esp + 0x10]
lea esp, [esp]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x418b68
test cl, cl
je 0x418b64
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x418b68
add eax, 2
add esi, 2
test cl, cl
jne 0x418b40
xor eax, eax
jmp 0x418b6d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x418b75
xor edx, edx
jmp 0x418b8a
cmp edi, 1
jge 0x418b85
mov eax, dword [ebp + 0x20]
test eax, eax
jne 0x418b85
xor edx, edx
jmp 0x418b8a
mov edx, 1
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x418b9d
mov ecx, 0x10
lea esi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0x1c]
test edi, edi
je 0x418bb0
mov ecx, 0x10
lea esi, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0x58]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, dword [ebp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esp + 0xa4]
call fcn.0041d4a3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x418bf0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x88
mov eax, dword [0x4527b8]
push esi
push edi
mov edi, dword [esp + 0x94]
test edi, edi
mov dword [esp + 0x8c], eax
jne 0x418c4b
mov edx, dword [esp + 0x98]
mov esi, dword [edx]
xor ecx, ecx
test esi, esi
jle 0x418c31
mov edi, edi
mov al, byte [ecx + edx + 4]
cmp al, 0x7f
jae 0x418c8c
cmp al, 0x20
jb 0x418c8c
inc ecx
cmp ecx, esi
jl 0x418c20
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x84]
call fcn.0041d4a3
add esp, 0x88
ret
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, eax
cmp esi, 0x40
jg 0x418c8c
push 0x41
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
test esi, esi
jle 0x418c31
lea ecx, [ecx]
mov cx, word [esp + eax*2 + 8]
cmp cx, 0x7f
jae 0x418c88
cmp cx, 0x20
jb 0x418c88
inc eax
cmp eax, esi
jl 0x418c70
jmp 0x418c31
cmp eax, esi
jge 0x418c31
mov ecx, dword [esp + 0x8c]
pop edi
xor eax, eax
pop esi
call fcn.0041d4a3
add esp, 0x88
ret
Function at 0x4191d0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0x194
mov eax, dword [0x4527b8]
push ebp
push esi
mov esi, dword [esp + 0x1a4]
cmp esi, 0x40
mov dword [esp + 0x198], eax
push edi
jle 0x41923a
lea eax, [esp + 0xc4]
push eax
call fcn.00438060
mov edx, dword [esp + 0x1a8]
lea ecx, [esp + 0xc8]
push ecx
push esi
push edx
call fcn.004380a0
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x19c]
push ecx
call fcn.00438160
add esp, 0x18
lea ebp, [esp + 0x188]
mov esi, 0x14
jmp 0x419241
mov ebp, dword [esp + 0x1a4]
lea edx, [esp + 0xc]
push edx
call fcn.00438060
add esp, 4
xor eax, eax
test esi, esi
jle 0x419274
mov edi, ebp
lea ecx, [esp + 0x120]
sub edi, ecx
nop
lea ecx, [esp + eax + 0x120]
mov dl, byte [edi + ecx]
xor dl, 0x36
inc eax
cmp eax, esi
mov byte [ecx], dl
jl 0x419260
cmp esi, 0x40
jge 0x41929a
mov ecx, 0x40
sub ecx, esi
mov edx, ecx
shr ecx, 2
lea edi, [esp + esi + 0x120]
mov eax, 0x36363636
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x124]
push 0x40
push ecx
call fcn.004380a0
mov eax, dword [esp + 0x1bc]
mov ecx, dword [esp + 0x1b8]
lea edx, [esp + 0x18]
push edx
push eax
push ecx
call fcn.004380a0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x190]
push eax
call fcn.00438160
lea ecx, [esp + 0x88]
push ecx
call fcn.00438060
add esp, 0x24
xor eax, eax
test esi, esi
jle 0x419314
mov edi, ebp
lea edx, [esp + 0x120]
sub edi, edx
jmp 0x419300
lea ecx, [esp + eax + 0x120]
mov dl, byte [edi + ecx]
xor dl, 0x5c
inc eax
cmp eax, esi
mov byte [ecx], dl
jl 0x419300
cmp esi, 0x40
jge 0x41933a
mov ecx, 0x40
sub ecx, esi
mov edx, ecx
shr ecx, 2
lea edi, [esp + esi + 0x120]
mov eax, 0x5c5c5c5c
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x124]
push 0x40
push ecx
call fcn.004380a0
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x184]
push 0x14
push eax
call fcn.004380a0
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x17c]
push edx
call fcn.00438160
mov ecx, dword [esp + 0x1d8]
add esp, 0x20
cmp ecx, 0x14
jle 0x41938b
mov ecx, 0x14
test ecx, ecx
jle 0x4193ab
mov edi, dword [esp + 0x1b4]
mov eax, ecx
shr ecx, 2
lea esi, [esp + 0x160]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
pop ebp
call fcn.0041d4a3
add esp, 0x194
ret
Function at 0x4193d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xb0
mov eax, dword [0x4527b8]
mov dword [esp + 0xac], eax
mov al, byte [esp + 0xcc]
push ebx
push esi
mov esi, dword [esp + 0xc4]
push edi
mov dword [esp + 0xc], 0
mov byte [esp + 0xf], al
mov eax, dword [esp + 0xcc]
mov ecx, eax
mov edx, ecx
shr ecx, 2
mov ebx, dword [esp + 0xc0]
lea edi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0xc4]
push 0x14
mov dword [esp + eax + 0x3c], ecx
lea edx, [esp + 0x14]
push edx
add eax, 4
push eax
lea eax, [esp + 0x44]
push eax
push edi
push ebx
call fcn.004191d0
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, esi
mov dword [ecx], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0xe8]
add esp, 0x18
cmp eax, 1
mov dword [ecx + 0x10], edx
jle 0x4194c9
lea ecx, [esp + 0x24]
push ebp
sub esi, ecx
lea ebp, [eax - 1]
jmp 0x419490
push 0x14
lea edx, [esp + 0x2c]
push edx
push 0x14
lea eax, [esp + 0x20]
push eax
push edi
push ebx
call fcn.004191d0
add esp, 0x18
xor eax, eax
lea ebx, [ebx]
mov dl, byte [esp + eax + 0x28]
lea ecx, [esp + eax + 0x28]
xor byte [esi + ecx], dl
mov byte [esp + eax + 0x14], dl
inc eax
cmp eax, 0x14
jl 0x4194b0
dec ebp
jne 0x419490
pop ebp
mov ecx, dword [esp + 0xb8]
pop edi
pop esi
pop ebx
call fcn.0041d4a3
add esp, 0xb0
ret
Function at 0x4195c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x16c
mov eax, dword [0x4527b8]
push ebx
mov ebx, dword [ebp + 0xc]
cmp ebx, 0x40
push esi
mov dword [esp + 0x170], eax
push edi
jle 0x419622
lea eax, [esp + 0x110]
push eax
call fcn.00438250
mov ecx, dword [ebp + 8]
push ebx
push ecx
lea edx, [esp + 0x11c]
push edx
call fcn.0043a360
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0043a430
add esp, 0x18
lea edx, [esp + 0xc]
mov ebx, 0x14
jmp 0x419625
mov edx, dword [ebp + 8]
test ebx, ebx
mov ecx, 0x10
mov eax, 0x36363636
lea edi, [esp + 0xc8]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 0x10
mov eax, 0x5c5c5c5c
lea edi, [esp + 0x80]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
jle 0x419671
lea ecx, [esp + 0xc8]
lea esi, [esp + 0x80]
sub ecx, edx
mov eax, edx
sub esi, edx
mov dl, byte [eax]
xor byte [ecx + eax], dl
xor byte [esi + eax], dl
inc eax
dec ebx
jne 0x419665
lea edx, [esp + 0x20]
push edx
call fcn.00438250
push 0x40
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.0043a360
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push edx
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.0043a360
mov esi, dword [ebp + 0x18]
lea edx, [esp + 0x3c]
push edx
push esi
call fcn.0043a430
lea eax, [esp + 0x44]
push eax
call fcn.00438250
push 0x40
lea ecx, [esp + 0xac]
push ecx
lea edx, [esp + 0x50]
push edx
call fcn.0043a360
push 0x14
lea eax, [esp + 0x58]
push esi
push eax
call fcn.0043a360
add esp, 0x40
lea ecx, [esp + 0x20]
push ecx
push esi
call fcn.0043a430
mov ecx, dword [esp + 0x17c]
add esp, 8
call fcn.0041d4a3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x419700
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xb0
mov eax, dword [0x4527b8]
mov dword [esp + 0xac], eax
mov al, byte [esp + 0xcc]
push ebx
push esi
mov esi, dword [esp + 0xc4]
push edi
mov dword [esp + 0xc], 0
mov byte [esp + 0xf], al
mov eax, dword [esp + 0xcc]
mov ecx, eax
mov edx, ecx
shr ecx, 2
mov ebx, dword [esp + 0xc0]
lea edi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0xc4]
mov dword [esp + eax + 0x38], ecx
lea edx, [esp + 0x10]
push edx
add eax, 4
push eax
lea eax, [esp + 0x40]
push eax
push edi
push ebx
call fcn.004195c0
mov esi, dword [esp + 0xe8]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, esi
mov dword [ecx], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0xe4]
add esp, 0x14
cmp eax, 1
mov dword [ecx + 0x10], edx
jle 0x4197f9
lea ecx, [esp + 0x24]
push ebp
sub esi, ecx
lea ebp, [eax - 1]
lea esp, [esp]
lea edx, [esp + 0x28]
push edx
push 0x14
lea eax, [esp + 0x1c]
push eax
push edi
push ebx
call fcn.004195c0
add esp, 0x14
xor eax, eax
jmp 0x4197e0
mov dl, byte [esp + eax + 0x28]
lea ecx, [esp + eax + 0x28]
xor byte [esi + ecx], dl
mov byte [esp + eax + 0x14], dl
inc eax
cmp eax, 0x14
jl 0x4197e0
dec ebp
jne 0x4197c0
pop ebp
mov ecx, dword [esp + 0xb8]
pop edi
pop esi
pop ebx
call fcn.0041d4a3
add esp, 0xb0
ret
Function at 0x4198f0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0x2fc
mov eax, dword [0x4527b8]
push ebp
push esi
mov esi, dword [esp + 0x30c]
cmp esi, 0x40
mov dword [esp + 0x300], eax
push edi
jle 0x419961
lea eax, [esp + 0x25c]
push eax
call fcn.0043bdc0
mov eax, dword [esp + 0x310]
lea ecx, [esp + 0x260]
push ecx
lea edx, [esi*8]
push edx
push eax
call fcn.0043be40
lea ecx, [esp + 0xdc]
push ecx
lea edx, [esp + 0x270]
push edx
call fcn.0043c020
add esp, 0x18
lea ebp, [esp + 0xcc]
mov esi, 0x40
jmp 0x419968
mov ebp, dword [esp + 0x30c]
lea eax, [esp + 0x10c]
push eax
call fcn.0043bdc0
add esp, 4
xor eax, eax
test esi, esi
jle 0x419997
mov edi, ebp
lea ecx, [esp + 0xc]
sub edi, ecx
lea ecx, [esp + eax + 0xc]
mov dl, byte [edi + ecx]
xor dl, 0x36
inc eax
cmp eax, esi
mov byte [ecx], dl
jl 0x419986
cmp esi, 0x40
jge 0x4199ba
mov ecx, 0x40
sub ecx, esi
mov edx, ecx
shr ecx, 2
lea edi, [esp + esi + 0xc]
mov eax, 0x36363636
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x10c]
push eax
lea ecx, [esp + 0x10]
push 0x200
push ecx
call fcn.0043be40
mov eax, dword [esp + 0x324]
lea edx, [esp + 0x118]
push edx
mov edx, dword [esp + 0x324]
lea ecx, [eax*8]
push ecx
push edx
call fcn.0043be40
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x128]
push ecx
call fcn.0043c020
lea edx, [esp + 0x1d4]
push edx
call fcn.0043bdc0
add esp, 0x24
xor eax, eax
test esi, esi
jle 0x419a41
mov edi, ebp
lea ecx, [esp + 0xc]
sub edi, ecx
jmp 0x419a30
lea ecx, [esp + eax + 0xc]
mov dl, byte [edi + ecx]
xor dl, 0x5c
inc eax
cmp eax, esi
mov byte [ecx], dl
jl 0x419a30
cmp esi, 0x40
jge 0x419a64
mov ecx, 0x40
sub ecx, esi
mov edx, ecx
shr ecx, 2
lea edi, [esp + esi + 0xc]
mov eax, 0x5c5c5c5c
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x1b4]
push eax
lea ecx, [esp + 0x10]
push 0x200
push ecx
call fcn.0043be40
lea edx, [esp + 0x1c0]
push edx
lea eax, [esp + 0x9c]
push 0x200
push eax
call fcn.0043be40
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x1d0]
push edx
call fcn.0043c020
mov ecx, dword [esp + 0x340]
add esp, 0x20
cmp ecx, 0x40
jle 0x419abb
mov ecx, 0x40
test ecx, ecx
jle 0x419ad8
mov edi, dword [esp + 0x31c]
mov eax, ecx
shr ecx, 2
lea esi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x304]
pop edi
pop esi
pop ebp
call fcn.0041d4a3
add esp, 0x2fc
ret
Function at 0x419af0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x108
mov eax, dword [0x4527b8]
push ebx
mov dword [esp + 0x108], eax
mov al, byte [esp + 0x128]
push ebp
push esi
mov esi, dword [esp + 0x120]
push edi
mov dword [esp + 0x10], 0
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x128]
mov ecx, eax
mov edx, ecx
mov ebx, dword [esp + 0x120]
shr ecx, 2
mov ebp, dword [esp + 0x11c]
lea edi, [esp + 0x94]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push 0x40
mov dword [esp + eax + 0x98], ecx
lea edx, [esp + 0x18]
push edx
add eax, 4
push eax
lea eax, [esp + 0xa0]
push eax
push ebx
push ebp
call fcn.004198f0
mov eax, dword [esp + 0x148]
mov ecx, 0x10
lea esi, [esp + 0x2c]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x144]
add esp, 0x18
cmp ecx, 1
jle 0x419bd8
mov esi, eax
lea edx, [esp + 0x54]
sub esi, edx
lea edi, [ecx - 1]
nop
push 0x40
lea eax, [esp + 0x58]
push eax
push 0x40
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebp
call fcn.004198f0
add esp, 0x18
xor eax, eax
lea ebx, [ebx]
mov dl, byte [esp + eax + 0x54]
lea ecx, [esp + eax + 0x54]
xor byte [esi + ecx], dl
mov byte [esp + eax + 0x14], dl
inc eax
cmp eax, 0x40
jl 0x419bc0
dec edi
jne 0x419ba0
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
call fcn.0041d4a3
add esp, 0x108
ret

Function at 0x41a230
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1a8
mov eax, dword [0x4527b8]
mov dword [esp + 0x1a4], eax
mov eax, dword [0x450714]
test eax, eax
push esi
je 0x41a36c
mov eax, dword [0x45070c]
dec eax
je 0x41a27b
dec eax
je 0x41a27b
dec eax
je 0x41a274
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1a4]
call fcn.0041d4a3
add esp, 0x1a8
ret
mov esi, 0x40
jmp 0x41a280
mov esi, 0x14
push ebx
push edi
xor edi, edi
mov eax, dword [0x45070c]
dec eax
je 0x41a301
dec eax
je 0x41a2d0
dec eax
jne 0x41a33c
lea eax, [esp + 0x108]
push eax
call fcn.0043bdc0
mov edx, dword [0x466e50]
lea ecx, [esp + 0x10c]
push ecx
push 0xa00
push edx
call fcn.0043be40
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x11c]
push ecx
call fcn.0043c020
jmp 0x41a339
lea edx, [esp + 0xc]
push edx
call fcn.00438060
mov ecx, dword [0x466e50]
lea eax, [esp + 0x10]
push eax
push 0x140
push ecx
call fcn.004380a0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x7c]
push eax
call fcn.00438160
jmp 0x41a339
lea ecx, [esp + 0xa8]
push ecx
call fcn.00438250
mov edx, dword [0x466e50]
push 0x140
push edx
lea eax, [esp + 0xb4]
push eax
call fcn.0043a360
lea ecx, [esp + 0xb8]
push ecx
lea edx, [esp + 0x7c]
push edx
call fcn.0043a430
add esp, 0x18
xor eax, eax
test esi, esi
jle 0x41a35c
mov ecx, dword [0x466e50]
mov dl, byte [esp + eax + 0x68]
add ecx, eax
mov bl, byte [ecx + edi]
add ecx, edi
xor bl, dl
inc eax
cmp eax, esi
mov byte [ecx], bl
jl 0x41a342
add edi, esi
cmp edi, 0x140
jl 0x41a284
pop edi
pop ebx
mov ecx, dword [esp + 0x1a8]
mov eax, 1
pop esi
call fcn.0041d4a3
add esp, 0x1a8
ret
Function at 0x41b010
Capabilities:
Create new key via cryptacquirecontext
Log keystrokes via application hook

Disassembly:
mov eax, dword [0x466e54]
test eax, eax
je 0x41b01c
xor eax, eax
ret
push esi
push edi
push 0x468ac0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x140
mov dword [0x466e54], 1
call fcn.0041db4b
mov edi, eax
add esp, 4
test edi, edi
mov dword [0x466e50], edi
je 0x41b10a
xor eax, eax
mov ecx, 0x50
rep stosd dword es:[edi], eax
mov eax, dword [0x466e50]
push 0x140
push eax
call dword [sym.imp.KERNEL32.dll_VirtualLock]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call esi
mov edi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
push eax
push 0
push 0x41a9f0
push 2
call edi
test eax, eax
mov dword [0x466e68], eax
jne 0x41b096
push eax
call fcn.00411070
add esp, 4
call esi
push eax
push 0
push 0x41a800
push 7
call edi
test eax, eax
mov dword [0x466e64], eax
push 0
jne 0x41b0c4
call fcn.00411070
add esp, 4
call fcn.0041a0e0
pop edi
mov eax, 1
pop esi
ret
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push 1
push 0
push 0
push 0x468ad8
call esi
test eax, eax
jne 0x41b0f1
push 8
push 1
push eax
push eax
push 0x468ad8
call esi
test eax, eax
jne 0x41b0f1
mov dword [0x468ad8], eax
push 0
push 0x2000
push 0x41afa0
call fcn.0041fd48
add esp, 0xc
cmp eax, 0xffffffff
jne 0x41b117
call fcn.0041a0e0
pop edi
mov eax, 1
pop esi
ret
pop edi
xor eax, eax
pop esi
ret

Function at 0x41b120
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x14]
lea ecx, [esp]
push ecx
push 0x20019
push 0
push edx
push 0x80000001
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41b154
xor eax, eax
pop ecx
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push esi
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 8]
push ecx
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 4]
mov esi, eax
neg esi
sbb esi, esi
push ecx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
mov eax, esi
neg eax
sbb eax, eax
and eax, ecx
pop esi
pop ecx
ret

Function at 0x41b1a0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edx
push 0x80000001
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41b20c
mov edx, dword [esp + 0x14]
mov eax, edx
push esi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41b1e0
mov ecx, dword [esp + 4]
sub eax, esi
inc eax
push eax
mov eax, dword [esp + 0x18]
push edx
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
add esp, 8
ret
Function at 0x41b210
Capabilities:
Set registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edx
push 0x80000001
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x41b24c
xor eax, eax
add esp, 8
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push esi
push eax
mov eax, dword [esp + 8]
push ecx
push 3
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 4]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
add esp, 8
ret

Function at 0x41b290
Capabilities:
Delete registry value

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push 0x20006
push 0
push ecx
push 0x80000001
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41b2d1
mov edx, dword [esp + 0xc]
mov eax, dword [esp]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret
Function at 0x41d802
Capabilities:
Terminate process

Disassembly:
push 8
push 0x442478
call fcn.00420b48
push 8
call fcn.004214a6
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x46715c], esi
jne 0x41d836
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x467158], esi
mov al, byte [ebp + 0x10]
mov byte [0x467154], al
cmp dword [ebp + 0xc], edi
jne 0x41d880
cmp dword [0x46df90], edi
je 0x41d870
mov eax, dword [0x46df8c]
sub eax, 4
mov dword [0x46df8c], eax
cmp eax, dword [0x46df90]
jb 0x41d870
mov eax, dword [eax]
cmp eax, edi
je 0x41d851
call eax
jmp 0x41d851
push 0x450028
mov eax, 0x450020
call fcn.0041d780
pop ecx
push 0x450030
mov eax, 0x45002c
call fcn.0041d780
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x41d8b1
cmp dword [ebp + 0x10], edi
jne 0x41d8bf
mov dword [0x46715c], esi
push dword [ebp + 8]
call fcn.0041d73e
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x41d8be
push 8
call fcn.004213f1
pop ecx
ret
call fcn.00420b83
ret