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

Disassembly:
sub esp, 0x668
mov eax, dword [0x4b77c0]
xor eax, esp
mov dword [esp + 0x664], eax
mov eax, dword [0x4b5868]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, 0xffffffff
jne 0x44c8ce
push 0x208
lea eax, [esp + 0x25c]
push eax
push 0
call esi
lea ecx, [esp + 0x258]
push 0x5c
push ecx
call fcn.0046e4dd
add esp, 8
test eax, eax
je 0x44c8f9
mov ecx, 0x496cf8
mov edx, eax
sub edx, ecx
lea ecx, [ecx]
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x44c7c0
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [0x4b5868], eax
cmp dword [esp + 0x24], 0
jne 0x44c8f9
mov eax, dword [0x4e006c]
test eax, eax
je 0x44c804
push eax
call fcn.0046bcd4
add esp, 4
mov eax, dword [esp + 0x28]
push eax
call fcn.0046bdb1
add esp, 4
mov dword [0x4e006c], eax
test eax, eax
je 0x44c8f9
push 0x208
lea ecx, [esp + 0x25c]
push ecx
push 0
call esi
lea edx, [esp + 0x258]
push 0x5c
push edx
lea esi, [esp + 0x3c]
call fcn.0046e4dd
lea ecx, [eax + 2]
mov eax, esi
add esp, 8
sub ecx, eax
lea esp, [esp]
movzx eax, word [esi]
mov word [ecx + esi], ax
add esi, 2
test ax, ax
jne 0x44c850
push 0
push 0
push 3
push 0
push 0
push SysReAllocStringLen
lea ecx, [esp + 0x270]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44c8f9
mov eax, dword [esp + 0x28]
mov ecx, dword [0x4e006c]
push 0
lea edx, [esp + 8]
push edx
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 4]
xor eax, eax
cmp edx, dword [esp + 0x28]
pop esi
setne al
dec eax
and eax, dword [0x4e006c]
mov ecx, dword [esp + 0x664]
xor ecx, esp
call fcn.0046be7b
add esp, 0x668
ret
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44c7e7
mov edx, dword [0x4b5868]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [0x4b5868], 0xffffffff
mov ecx, dword [esp + 0x668]
pop esi
xor ecx, esp
xor eax, eax
call fcn.0046be7b
add esp, 0x668
ret
Function at 0x44d740
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x110
mov eax, dword [0x4b77c0]
xor eax, esp
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x124]
push ebp
mov ebp, dword [esp + 0x124]
push esi
mov esi, dword [esp + 0x124]
push edi
mov edi, dword [esp + 0x134]
mov dword [esp + 0xc], eax
xor eax, eax
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edi
mov byte [esp + 0x20], 0
mov dword [esp + 0x21], eax
mov dword [esp + 0x25], eax
mov dword [esp + 0x29], eax
mov dword [esp + 0x2d], eax
mov dword [esp + 0x31], eax
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
push 0x65
lea edx, [esp + 0x4c]
push edx
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [esp + 0x1c], eax
call esi
lea eax, [esp + 0x48]
mov byte [esp + 0x44], 0
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44d7e0
sub eax, ecx
lea ecx, [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x50]
push edx
call fcn.0045b800
add esp, 0xc
xor eax, eax
mov edi, edi
mov cl, byte [esp + eax + 0x1c]
mov byte [esp + eax + 0x48], cl
inc eax
test cl, cl
jne 0x44d800
push 0x65
lea eax, [esp + 0xb4]
push eax
push ebp
call esi
lea eax, [esp + 0xb0]
mov byte [esp + 0x44], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44d830
lea ecx, [esp + 0x1c]
sub eax, edx
push ecx
push eax
lea edx, [esp + 0xb8]
push edx
call fcn.0045b800
add esp, 0xc
xor eax, eax
mov cl, byte [esp + eax + 0x1c]
mov byte [esp + eax + 0xb0], cl
inc eax
test cl, cl
jne 0x44d851
lea edx, [esp + 0xb0]
lea ecx, [esp + 0x48]
lea esp, [esp]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x44d890
test al, al
je 0x44d88c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x44d890
add ecx, 2
add edx, 2
test al, al
jne 0x44d870
xor eax, eax
jmp 0x44d895
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x44d8ad
mov ebp, 1
cmp dword [esp + 0x10], ebp
jge 0x44d8af
cmp dword [esp + 0x138], eax
jne 0x44d8af
xor ebp, ebp
mov eax, dword [esp + 0x18]
test eax, eax
je 0x44d8c9
mov ecx, 0x19
lea esi, [esp + 0x48]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
test edi, edi
je 0x44d8dc
mov ecx, 0x19
lea esi, [esp + 0xb0]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edx, [esp + 0x48]
mov ecx, 0x65
mov esi, ecx
mov eax, edx
lea esp, [esp]
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x44d8f0
lea esp, [esp]
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x44d900
lea edx, [esp + 0xb0]
mov ecx, 0x65
mov esi, ecx
mov eax, edx
lea esp, [esp]
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x44d920
lea esp, [esp]
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x44d930
mov eax, dword [esp + 0xc]
push ebp
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0046be7b
add esp, 0x110
ret
Function at 0x44d960
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0xd0
mov eax, dword [0x4b77c0]
xor eax, esp
mov dword [esp + 0xcc], eax
push ebx
push esi
mov esi, dword [esp + 0xdc]
test esi, esi
jne 0x44d9c2
mov esi, dword [esp + 0xe0]
mov edx, dword [esi]
xor eax, eax
test edx, edx
jle 0x44da1f
mov cl, byte [eax + esi + 4]
cmp cl, 0x7f
jae 0x44d9a9
cmp cl, 0x20
jb 0x44d9a9
inc eax
cmp eax, edx
jl 0x44d994
jmp 0x44da1f
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xcc]
xor ecx, esp
call fcn.0046be7b
add esp, 0xd0
ret
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
cmp ebx, 0x64
jg 0x44d9a9
push edi
push 0x65
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor edi, edi
test ebx, ebx
jle 0x44d9fb
movzx eax, word [esp + edi*2 + 0xc]
cmp ax, 0x7f
jae 0x44d9fb
cmp ax, 0x20
jb 0x44d9fb
inc edi
cmp edi, ebx
jl 0x44d9e5
lea edx, [esp + 0xc]
mov ecx, 0xca
mov esi, ecx
mov eax, edx
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x44da08
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x44da11
cmp edi, ebx
pop edi
jl 0x44d9a9
mov ecx, dword [esp + 0xd4]
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0046be7b
add esp, 0xd0
ret
Function at 0x44ddc0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x108
mov eax, dword [0x4b77c0]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x114]
mov cl, byte [esp + 0x124]
push ebx
mov ebx, dword [esp + 0x124]
push ebp
mov ebp, dword [esp + 0x114]
push esi
mov esi, dword [esp + 0x124]
push edi
push esi
push eax
lea edx, [esp + 0x9c]
mov dword [esp + 0x18], 0
push edx
mov byte [esp + 0x1f], cl
call fcn.0046dd00
mov eax, dword [esp + 0x1c]
push 0x40
mov dword [esp + esi + 0xa4], eax
mov eax, dword [esp + 0x130]
lea ecx, [esp + 0x24]
push ecx
add esi, 4
push esi
lea edx, [esp + 0xac]
push edx
push eax
push ebp
call fcn.0044da90
mov eax, dword [esp + 0x150]
add esp, 0x24
cmp eax, 1
mov ecx, 0x10
lea esi, [esp + 0x14]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
jle 0x44deab
mov esi, ebx
lea ecx, [esp + 0x54]
sub esi, ecx
lea edi, [eax - 1]
lea esp, [esp]
mov ecx, dword [esp + 0x120]
push 0x40
lea edx, [esp + 0x58]
push edx
push 0x40
lea eax, [esp + 0x20]
push eax
push ecx
push ebp
call fcn.0044da90
add esp, 0x18
xor eax, eax
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 0x44de91
sub edi, 1
jne 0x44de70
lea edx, [esp + 0x14]
mov ecx, 0x40
mov esi, ecx
mov eax, edx
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x44deb8
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x44dec1
lea edx, [esp + 0x54]
mov ecx, 0x40
mov esi, ecx
mov eax, edx
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x44ded7
pop edi
pop esi
pop ebp
pop ebx
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x44dee4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0046be7b
add esp, 0x108
ret
Function at 0x44e360
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xb0
mov eax, dword [0x4b77c0]
xor eax, esp
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xbc]
mov cl, byte [esp + 0xcc]
push ebx
mov ebx, dword [esp + 0xb8]
push esi
mov esi, dword [esp + 0xd0]
push edi
mov edi, dword [esp + 0xcc]
push edi
push eax
lea edx, [esp + 0x40]
mov dword [esp + 0x14], 0
push edx
mov byte [esp + 0x1b], cl
call fcn.0046dd00
mov eax, dword [esp + 0x18]
push 0x14
mov dword [esp + edi + 0x48], eax
lea ecx, [esp + 0x20]
push ecx
add edi, 4
push edi
mov edi, dword [esp + 0xdc]
lea edx, [esp + 0x50]
push edx
push edi
push ebx
call fcn.0044e040
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esi], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0xf4]
add esp, 0x24
cmp eax, 1
mov dword [esi + 0x10], ecx
jle 0x44e44b
lea edx, [esp + 0x24]
push ebp
sub esi, edx
lea ebp, [eax - 1]
push 0x14
lea eax, [esp + 0x2c]
push eax
push 0x14
lea ecx, [esp + 0x20]
push ecx
push edi
push ebx
call fcn.0044e040
add esp, 0x18
xor eax, eax
lea ecx, [ecx]
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 0x44e430
sub ebp, 1
jne 0x44e413
pop ebp
lea edx, [esp + 0x10]
mov ecx, 0x14
mov esi, ecx
mov eax, edx
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x44e458
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x44e461
lea edx, [esp + 0x24]
mov ecx, 0x14
mov esi, ecx
mov eax, edx
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x44e477
pop edi
pop esi
pop ebx
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x44e483
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.0046be7b
add esp, 0xb0
ret
Function at 0x44e5d0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0x164
mov eax, dword [0x4b77c0]
xor eax, esp
mov dword [esp + 0x160], eax
mov eax, dword [esp + 0x170]
push ebx
mov ebx, dword [esp + 0x170]
cmp ebx, 0x40
push ebp
mov ebp, dword [esp + 0x180]
push esi
push edi
mov edi, dword [esp + 0x178]
mov dword [esp + 0x10], eax
jle 0x44e669
lea ecx, [esp + 0x74]
push ecx
call fcn.00467750
push ebx
lea edx, [esp + 0x7c]
push edi
push edx
call fcn.00468ce0
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0xe8]
push ecx
call fcn.00468e90
lea edx, [esp + 0x8c]
mov ecx, 0x60
add esp, 0x18
lea edi, [esp + 0xd4]
mov ebx, 0x14
mov esi, ecx
mov eax, edx
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x44e657
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x44e660
push 0x41
lea edx, [esp + 0xec]
push 0x36
push edx
call fcn.0046bf90
push 0x41
lea eax, [esp + 0x13c]
push 0x5c
push eax
call fcn.0046bf90
add esp, 0x18
test ebx, ebx
jle 0x44e6b4
lea edx, [esp + 0xe8]
lea esi, [esp + 0x12c]
sub edx, edi
mov eax, edi
sub esi, edi
mov cl, byte [eax]
xor byte [edx + eax], cl
xor byte [esi + eax], cl
inc eax
sub ebx, 1
jne 0x44e6a6
lea ecx, [esp + 0x14]
push ecx
call fcn.00467750
push 0x40
lea edx, [esp + 0xf0]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00468ce0
mov ecx, dword [esp + 0x194]
mov edx, dword [esp + 0x20]
push ecx
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.00468ce0
lea ecx, [esp + 0x30]
push ecx
push ebp
call fcn.00468e90
lea edx, [esp + 0x38]
push edx
call fcn.00467750
push 0x40
lea eax, [esp + 0x158]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.00468ce0
push 0x14
lea edx, [esp + 0x4c]
push ebp
push edx
call fcn.00468ce0
add esp, 0x40
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.00468e90
lea edx, [esp + 0xf0]
mov ecx, 0x41
add esp, 8
mov esi, ecx
mov eax, edx
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x44e740
lea esp, [esp]
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x44e750
lea edx, [esp + 0x12c]
mov ecx, 0x41
mov esi, ecx
mov eax, edx
lea esp, [esp]
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x44e770
lea esp, [esp]
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x44e780
lea edx, [esp + 0xd4]
mov ecx, 0x14
mov esi, ecx
mov eax, edx
lea esp, [esp]
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x44e7a0
lea esp, [esp]
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x44e7b0
lea edx, [esp + 0x14]
mov ecx, 0x60
mov esi, ecx
mov eax, edx
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x44e7c6
pop edi
pop esi
pop ebp
pop ebx
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x44e7d3
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.0046be7b
add esp, 0x164
ret
Function at 0x44e800
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xb0
mov eax, dword [0x4b77c0]
xor eax, esp
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xbc]
mov cl, byte [esp + 0xcc]
push ebx
mov ebx, dword [esp + 0xb8]
push esi
mov esi, dword [esp + 0xd0]
push edi
mov edi, dword [esp + 0xcc]
push edi
push eax
lea edx, [esp + 0x40]
mov dword [esp + 0x14], 0
push edx
mov byte [esp + 0x1b], cl
call fcn.0046dd00
mov eax, dword [esp + 0x18]
mov dword [esp + edi + 0x44], eax
lea ecx, [esp + 0x1c]
push ecx
add edi, 4
push edi
mov edi, dword [esp + 0xd8]
lea edx, [esp + 0x4c]
push edx
push edi
push ebx
call fcn.0044e5d0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esi], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0xf0]
add esp, 0x20
cmp eax, 1
mov dword [esi + 0x10], ecx
jle 0x44e8eb
lea edx, [esp + 0x24]
push ebp
sub esi, edx
lea ebp, [eax - 1]
lea eax, [esp + 0x28]
push eax
push 0x14
lea ecx, [esp + 0x1c]
push ecx
push edi
push ebx
call fcn.0044e5d0
add esp, 0x14
xor eax, eax
lea esp, [esp]
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 0x44e8d0
sub ebp, 1
jne 0x44e8b1
pop ebp
lea edx, [esp + 0x10]
mov ecx, 0x14
mov esi, ecx
mov eax, edx
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x44e8f8
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x44e901
lea edx, [esp + 0x24]
mov ecx, 0x14
mov esi, ecx
mov eax, edx
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x44e917
pop edi
pop esi
pop ebx
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x44e923
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.0046be7b
add esp, 0xb0
ret
Function at 0x44eda0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x108
mov eax, dword [0x4b77c0]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x114]
mov cl, byte [esp + 0x124]
push ebx
mov ebx, dword [esp + 0x124]
push ebp
mov ebp, dword [esp + 0x114]
push esi
mov esi, dword [esp + 0x124]
push edi
push esi
push eax
lea edx, [esp + 0x9c]
mov dword [esp + 0x18], 0
push edx
mov byte [esp + 0x1f], cl
call fcn.0046dd00
mov eax, dword [esp + 0x1c]
push 0x40
mov dword [esp + esi + 0xa4], eax
mov eax, dword [esp + 0x130]
lea ecx, [esp + 0x24]
push ecx
add esi, 4
push esi
lea edx, [esp + 0xac]
push edx
push eax
push ebp
call fcn.0044ea70
mov eax, dword [esp + 0x150]
add esp, 0x24
cmp eax, 1
mov ecx, 0x10
lea esi, [esp + 0x14]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
jle 0x44ee8b
mov esi, ebx
lea ecx, [esp + 0x54]
sub esi, ecx
lea edi, [eax - 1]
lea esp, [esp]
mov ecx, dword [esp + 0x120]
push 0x40
lea edx, [esp + 0x58]
push edx
push 0x40
lea eax, [esp + 0x20]
push eax
push ecx
push ebp
call fcn.0044ea70
add esp, 0x18
xor eax, eax
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 0x44ee71
sub edi, 1
jne 0x44ee50
lea edx, [esp + 0x14]
mov ecx, 0x40
mov esi, ecx
mov eax, edx
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x44ee98
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x44eea1
lea edx, [esp + 0x54]
mov ecx, 0x40
mov esi, ecx
mov eax, edx
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x44eeb7
pop edi
pop esi
pop ebp
pop ebx
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x44eec4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0046be7b
add esp, 0x108
ret
Function at 0x44f810
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x220
mov eax, dword [0x4b77c0]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [0x4b5874]
test eax, eax
je 0x44fa4a
mov eax, dword [0x4b586c]
sub eax, 1
push esi
je 0x44f85a
sub eax, 1
je 0x44f853
sub eax, 1
je 0x44f853
mov esi, dword [esp + 4]
mov byte [0], 0
jmp 0x44f85f
mov esi, 0x40
jmp 0x44f85f
mov esi, 0x14
mov eax, 0x140
cdq
idiv esi
test edx, edx
je 0x44f872
mov byte [0], 0
push edi
xor edi, edi
jmp 0x44f880
mov eax, dword [0x4b586c]
sub eax, 1
je 0x44f914
sub eax, 1
je 0x44f8e0
sub eax, 1
je 0x44f8a4
mov byte [0], 0
jmp 0x44f951
lea ecx, [esp + 0x13c]
push ecx
call fcn.0046a810
mov eax, dword [0x4e0208]
lea edx, [esp + 0x140]
push edx
push 0xa00
push eax
call fcn.0046a890
lea ecx, [esp + 0x1f4]
push ecx
lea edx, [esp + 0x150]
push edx
call fcn.0046aa50
jmp 0x44f94e
lea eax, [esp + 0xc]
push eax
call fcn.00466550
mov edx, dword [0x4e0208]
lea ecx, [esp + 0x10]
push ecx
push 0x140
push edx
call fcn.004662c0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1f8]
push ecx
call fcn.00466580
jmp 0x44f94e
lea edx, [esp + 0xdc]
push edx
call fcn.00467750
mov eax, dword [0x4e0208]
push 0x140
push eax
lea ecx, [esp + 0xe8]
push ecx
call fcn.00468ce0
lea edx, [esp + 0xec]
push edx
lea eax, [esp + 0x1f8]
push eax
call fcn.00468e90
add esp, 0x18
xor eax, eax
test esi, esi
jle 0x44f96f
mov ecx, dword [0x4e0208]
add ecx, edi
nop
mov dl, byte [esp + eax + 0x1e4]
xor byte [ecx + eax], dl
inc eax
cmp eax, esi
jl 0x44f960
add edi, esi
cmp edi, 0x140
jl 0x44f880
lea edx, [esp + 0x1e4]
mov ecx, 0x40
mov esi, ecx
mov eax, edx
pop edi
mov edi, edi
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x44f990
lea esp, [esp]
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x44f9a0
mov eax, dword [0x4b586c]
sub eax, 1
je 0x44fa1b
sub eax, 1
je 0x44f9ec
sub eax, 1
je 0x44f9c8
mov byte [0], cl
jmp 0x44fa49
lea edx, [esp + 0x138]
mov ecx, 0xa8
mov esi, ecx
mov eax, edx
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x44f9d8
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x44f9e1
jmp 0x44fa49
lea edx, [esp + 8]
mov ecx, 0xd0
mov esi, ecx
mov eax, edx
lea esp, [esp]
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x44fa00
lea esp, [esp]
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x44fa10
jmp 0x44fa49
lea edx, [esp + 0xd8]
mov ecx, 0x60
mov esi, ecx
mov eax, edx
jmp 0x44fa30
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x44fa30
lea esp, [esp]
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x44fa40
pop esi
mov ecx, dword [esp + 0x21c]
xor ecx, esp
mov eax, 1
call fcn.0046be7b
add esp, 0x220
ret
Function at 0x4506e0
Capabilities:
Create new key via cryptacquirecontext
Create thread
Log keystrokes via application hook

Disassembly:
call fcn.0042e1f0
cmp eax, 0x140
jle 0x4506f3
mov byte [0], 0
cmp dword [0x4e020c], 0
je 0x4506ff
xor eax, eax
ret
push esi
push 0x4e3920
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp dword [0x4e0208], 0
mov dword [0x4e020c], 1
jne 0x45076b
push 0x140
call fcn.0046bdb1
mov esi, eax
add esp, 4
mov dword [0x4e0208], esi
test esi, esi
je 0x450827
push 0x140
push 0
push esi
mov dword [0x4e0218], 0
mov dword [0x4e021c], 0
call fcn.0046bf90
add esp, 0xc
push 0x140
push esi
call dword [sym.imp.KERNEL32.dll_VirtualLock]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
call esi
mov edi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
push eax
push 0
push 0x4500c0
push 2
call edi
mov dword [0x4e0228], eax
test eax, eax
jne 0x450798
push eax
call fcn.00434ad0
add esp, 4
call esi
push eax
push 0
push 0x44fef0
push 7
call edi
pop edi
mov dword [0x4e0224], eax
push 0
test eax, eax
jne 0x4507cb
call fcn.00434ad0
add esp, 4
push 1
call fcn.0044f680
add esp, 4
mov eax, 1
pop esi
ret
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push 1
push 0
push 0
push 0x4e3938
call esi
test eax, eax
jne 0x4507fd
push 8
push 1
push eax
push eax
push 0x4e3938
call esi
mov dword [0x4e0234], 0
test eax, eax
je 0x450807
mov dword [0x4e0234], 1
push 0
push 0
push 0
push 0x450670
push 0
push 0
call fcn.004705a7
add esp, 0x18
mov dword [0x4e0220], eax
test eax, eax
jne 0x450838
push 1
call fcn.0044f680
add esp, 4
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x450840
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x10]
lea eax, [esp]
push eax
push 0x20019
push 0
push ecx
push SysStringLen
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4508a1
mov eax, dword [esp + 0x18]
lea edx, [esp + 4]
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4508a7
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 0xc
ret
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [esp + 8], 4
sete al
add esp, 0xc
ret
Function at 0x4508c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0xc]
lea eax, [esp]
push eax
push 0x20019
push 0
push ecx
push SysStringLen
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x450919
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x45091f
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 8
ret
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [esp + 4], 7
sete al
add esp, 8
ret

Function at 0x450940
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0xc]
lea eax, [esp]
push eax
push 0x20019
push 0
push ecx
push SysStringLen
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x450999
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x45099f
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 8
ret
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [esp + 4], 1
sete al
add esp, 8
ret

Function at 0x4509c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x41c
mov eax, dword [0x4b77c0]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [esp + 0x428]
push ebx
mov ebx, dword [esp + 0x424]
push ebp
mov ebp, dword [esp + 0x42c]
push esi
mov esi, dword [esp + 0x438]
push edi
mov edi, dword [esp + 0x440]
dec edi
push edi
push eax
push esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x410
call fcn.0046d760
push 0x410
lea eax, [esp + 0x28]
push 0
push eax
call fcn.0046bf90
add esp, 0x18
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push 0
push ebx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x450a71
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x450a71
push edi
lea edx, [esp + 0x1c]
push edx
push esi
call fcn.0046d760
add esp, 0xc
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x428]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046be7b
add esp, 0x41c
ret