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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x31c
mov eax, dword [0x457694]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x20]
mov dword [ebp - 0x314], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x31c], eax
mov eax, dword [ebp + 0x1c]
push esi
mov dword [ebp - 0x318], eax
call fcn.0040bca5
test eax, eax
je 0x441a48
push dword [ebp + 0x10]
push ebx
call fcn.00441893
test eax, eax
jne 0x441a79
push 1
mov edi, 0x208
push edi
lea eax, [ebp - 0x310]
push eax
call fcn.004415f1
test eax, eax
jne 0x441a5c
jmp 0x441a79
mov edi, 0x208
push edi
push esi
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push edi
lea eax, [ebp - 0x310]
push eax
push 0x405c04
push dword [ebp - 0x314]
push eax
call fcn.00452dc2
test eax, eax
jne 0x441a80
xor eax, eax
jmp 0x441b65
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea eax, [ebp - 0x310]
push eax
push dword [ebp - 0x314]
mov edi, 0x405c14
push 0x405c28
push edi
call esi
lea eax, [ebp - 0x310]
push eax
push ebx
push 0x405c34
push edi
call esi
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x14]
call fcn.0044136b
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x108]
push eax
push 0x405c58
push edi
call esi
mov eax, dword [ebp + 0x10]
dec eax
je 0x441af6
dec eax
dec eax
je 0x441af2
dec eax
je 0x441aee
dec eax
je 0x441ae9
xor eax, eax
jmp 0x441af9
push 8
pop eax
jmp 0x441af9
push 5
jmp 0x441aeb
push 2
jmp 0x441aeb
xor eax, eax
inc eax
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.0044136b
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x108]
push eax
push 0x405c3c
push edi
call esi
push dword [ebp - 0x31c]
call fcn.0040bca5
test eax, eax
jne 0x441b62
push dword [ebp - 0x31c]
push dword [ebp - 0x314]
push 0x405c48
push edi
call esi
push dword [ebp - 0x318]
call fcn.0040bca5
test eax, eax
jne 0x441b62
push dword [ebp - 0x318]
push dword [ebp - 0x314]
push 0x405c64
push edi
call esi
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0044ed62
leave
ret 0x1c

Function at 0x441ee3
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor edx, edx
cmp dword [ebp + 8], edx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x120]
setne dl
mov eax, ecx
shl eax, 0x1f
sar eax, 0x1f
cmp eax, edx
je 0x441f15
mov eax, ecx
xor eax, edx
and eax, 1
xor eax, ecx
mov ecx, dword [esi]
test ecx, ecx
mov dword [esi + 0x120], eax
je 0x441f0e
and al, 1
neg al
sbb eax, eax
and eax, 5
push eax
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.00441cad
pop esi
pop ebp
ret 4

Function at 0x441f42
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
xor eax, eax
test byte [ecx + 0x120], 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
je 0x441f4f
mov ecx, dword [ecx]
cmp ecx, eax
je 0x441f4f
lea eax, [ebp - 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
leave
ret
Function at 0x441ff3
Capabilities:
Enumerate files on windows
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push edi
mov edi, dword [0x458188]
test edi, edi
je 0x442002
mov ecx, dword [0x457a0c]
test ecx, ecx
mov dword [ebp - 8], ecx
je 0x442002
push esi
call fcn.0041e63b
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xb
push eax
mov dword [ebp - 4], eax
call esi
mov eax, dword [edi + 0x120]
not eax
and eax, 1
push eax
mov ecx, edi
call fcn.00441ec6
push 0
push 1
push 0xb
push dword [ebp - 4]
call esi
mov ecx, dword [ebp - 8]
call fcn.0041de22
push 0
push 0x200
call fcn.0041e892
pop esi
pop edi
leave
ret

Function at 0x444cb7
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
or dword [esi + 0x4c], 4
xor edi, edi
push 4
mov dword [ebp - 4], edi
call fcn.00437758
test eax, eax
jne 0x444cf1
call fcn.0041e874
cmp eax, edi
mov dword [ebp - 4], eax
je 0x444cf1
cmp dword [0x4577a8], edi
je 0x444cf1
mov ecx, dword [esi + 0x20]
cmp dword [ecx + 0x38], 2
jbe 0x444cd2
call fcn.0041dc1d
test eax, eax
mov ecx, 0x137
jne 0x444cd7
mov ecx, 0x12e
mov eax, dword [esi + 0x10]
push 0x24
push ecx
push eax
call fcn.0041d846
cmp eax, 7
jne 0x444cf1
and dword [esi + 0x4c], 0xfffffffb
jmp 0x444de7
cmp dword [ebp + 0xc], edi
jne 0x444d04
call fcn.004073bf
test al, al
je 0x444d04
xor eax, eax
inc eax
jmp 0x444d06
xor eax, eax
cmp dword [0x45772c], edi
jne 0x444df0
cmp eax, edi
jne 0x444df0
cmp dword [0x4578c8], edi
je 0x444d5c
push edi
push 0x405f70
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, edi
je 0x444d5c
lea ecx, [ebp + 0xc]
push ecx
push 0x7fffffff
push 3
push edi
push edi
push dword [0x4578c8]
mov dword [ebp + 0xc], 1
push eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
cmp dword [ebp + 0xc], 0xf0f0
je 0x444ce8
push dword [esi + 0x10]
mov ecx, dword [esi + 0x20]
call fcn.0041e57d
test eax, eax
je 0x444ddb
push dword [esi + 0x10]
mov ecx, dword [esi + 0x20]
call fcn.0041e5a5
test eax, eax
je 0x444ddb
push dword [esi + 0x10]
mov ecx, dword [esi + 0x20]
call fcn.0041e5cd
test eax, eax
je 0x444ddb
cmp dword [0x45772c], edi
jne 0x444e0f
call fcn.00413ea3
mov ecx, dword [esi + 0x28]
cmp ecx, edi
je 0x444da2
call fcn.0043d66b
cmp dword [ebp - 4], edi
je 0x444db1
mov ecx, dword [esi + 0x20]
push edi
push edi
call fcn.0041e920
call fcn.0044ff83
call fcn.00422178
mov ecx, dword [esi + 0x20]
call fcn.0041dc49
mov ecx, esi
call fcn.00444b75
mov ecx, dword [esi + 0x20]
call fcn.0041f4a5
mov ecx, esi
call fcn.004447f7
jmp 0x444e13
and dword [esi + 0x4c], 0xfffffffb
cmp dword [0x4577b4], edi
jne 0x444e13
mov ecx, esi
call fcn.004440a8
jmp 0x444e13
cmp dword [ebp - 4], edi
je 0x444dff
mov ecx, dword [esi + 0x20]
push edi
push edi
call fcn.0041e920
push edi
call fcn.00437798
push edi
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [esi + 0x4c], 0xfffffffb
pop edi
pop esi
leave
ret 8
Function at 0x44a485
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
mov esi, ecx
call fcn.00451810
mov edx, dword [ebp + 0xc]
xor edi, edi
xor ecx, ecx
cmp dword [ebp + 8], edi
push 2
setne cl
and edx, 1
shl edx, 2
pop eax
mov dword [esi], 0x406280
mov dword [esi + 0xc], 0x405664
mov dword [esi + 0x18], 0x406264
and ecx, 1
or ecx, edx
mov edx, dword [esi + 0x48]
and edx, 0xfffffffa
or ecx, edx
or ecx, eax
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x38], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov ecx, dword [0x4589c0]
cmp ecx, edi
jne 0x44a3dd
push 0xc
call fcn.0044f05c
cmp eax, edi
pop ecx
je 0x44a3d1
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov ecx, eax
jmp 0x44a3d3
xor ecx, ecx
cmp ecx, edi
mov dword [0x4589c0], ecx
je 0x44a3e9
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], esi
call fcn.004380fd
push edi
push 1
mov ebx, 0x80000001
push ebx
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
push dword [0x4575e0]
lea ecx, [ebp - 0x38]
call fcn.0044f3e7
test byte [esi + 0x48], 1
mov eax, 0x405930
jne 0x44a416
mov eax, 0x406218
push edi
push 1
push ebx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0044f3e7
push 0x1f
pop ebx
push 2
push 0x401e54
lea ecx, [ebp - 0x38]
call fcn.0044f593
cmp eax, 1
jne 0x44a43c
xor ebx, ebx
push 2
push 0x406258
lea ecx, [ebp - 0x1c]
call fcn.0044f593
test byte [esi + 0x48], 1
mov dword [esi + 0x2c], eax
jne 0x44a465
push ebx
push 0x4061dc
lea ecx, [ebp - 0x1c]
call fcn.0044f593
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x48]
not eax
and eax, 1
shl eax, 1
push eax
push 0x406208
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x28], eax
call fcn.0044f593
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x28], eax
mov dword [esi + 0x40], 0x64
call fcn.0044f73c
lea ecx, [ebp - 0x38]
call fcn.0044f73c
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x44cae6
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, ecx
cmp dword [ebx + 8], 1
lea ecx, [ebx + 0x14]
mov edi, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jne 0x44ca83
xor eax, eax
jmp 0x44cae5
mov eax, dword [ebx + 0xc]
test eax, eax
mov esi, dword [sym.imp.WINMM.dll_waveOutOpen]
lea edi, [ebx + 4]
jne 0x44ca9e
push 0x50000
push eax
push dword [ebx + 0x10]
jmp 0x44caa6
push 0x10000
push 0
push eax
push ecx
push dword [ebx]
push edi
call esi
cmp eax, 0x20
jne 0x44cada
xor ecx, ecx
cmp dword [ebx + 0x28], ecx
je 0x44cae5
mov eax, dword [ebx + 0xc]
cmp eax, ecx
jne 0x44caca
push 0x50000
push ecx
push dword [ebx + 0x10]
jmp 0x44cad1
push 0x10000
push ecx
push eax
lea eax, [ebx + 0x14]
push eax
push 0xffffffffffffffff
push edi
call esi
test eax, eax
jne 0x44cae5
mov dword [ebx + 8], 1
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x44cfd8
Capabilities:
Capture microphone audio

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push 0
push 1
push 0x80000001
push dword [0x4575e0]
lea ecx, [ebp - 0x1c]
call fcn.0044f3e7
push dword [ebp + 8]
lea ecx, [ebp - 0x1c]
push 0x401e54
call fcn.0044f4ef
lea ecx, [ebp - 0x1c]
call fcn.0044f73c
leave
ret 4
Function at 0x44f4c2
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x44f4e2
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 0xc]
push 1
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, esi
mov dword [esi + 4], eax
call fcn.0044f49a
mov eax, dword [esi + 4]
pop esi
pop ebp
ret 8

Function at 0x44f5c2
Capabilities:
Parse pe header
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push esi
mov esi, ecx
cmp dword [esi + 8], 0
mov dword [ebp - 0xc], 3
mov dword [ebp - 8], 4
je 0x44f5d2
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esi + 4], eax
cmp dword [esi + 4], 0
mov eax, dword [ebp + 0xc]
pop esi
jne 0x44f5df
mov eax, dword [ebp - 4]
leave
ret 8

Function at 0x44fcf3
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x457694]
push edi
push 9
mov dword [ebp - 4], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0xd8]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor eax, eax
cmp dword [ebp - 0xc0], 0x24a
jne 0x44fd0c
push 0x25
pop ecx
lea edi, [ebp - 0x98]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x44fd0a
push esi
xor esi, esi
push esi
push esi
push 0x80000002
push 0x406714
lea ecx, [ebp - 0xb4]
call fcn.0044f3e7
push 0xffffffffffffffff
push 0x406700
lea ecx, [ebp - 0xb4]
call fcn.0044f593
cmp eax, 2
jne 0x44fcfa
inc esi
lea ecx, [ebp - 0xb4]
call fcn.0044f73c
mov eax, esi
pop esi
jmp 0x44fd0c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
call fcn.0044ed62
leave
ret

Function at 0x44fd99
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [0x458dac], 0
push esi
je 0x44fdb9
mov eax, dword [0x458d7c]
test eax, eax
jne 0x44fdc2
push 1
push 0x406760
call fcn.0044f9e9
mov esi, eax
test esi, esi
je 0x44fdb2
push 0x18b
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x458d7c], eax
jne 0x44fdc2
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
and dword [0x458dac], 0
mov eax, dword [0x458d7c]
test eax, eax
je 0x44fdc6
pop esi
pop ebp
jmp eax
pop esi
pop ebp
jmp dword [sym.imp.USER32.dll_WinHelpA]
Function at 0x44fe44
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [0x458dac], 0
push esi
je 0x44fe20
mov eax, dword [0x458d80]
test eax, eax
jne 0x44fe29
push 1
push 0x406760
call fcn.0044f9e9
mov esi, eax
test esi, esi
je 0x44fe19
push 0x18c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x458d80], eax
jne 0x44fe29
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
and dword [0x458dac], 0
mov eax, dword [0x458d80]
test eax, eax
je 0x44fe3e
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
pop esi
pop ebp
ret 0x10
pop esi
pop ebp
jmp fcn.0044fd1c

Function at 0x44feb8
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
mov edi, 0x40676c
push eax
xor esi, esi
mov dword [ebp - 0x24], 0x44fe4a
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
je 0x44fec9
push esi
push ebx
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push edi
push esi
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
jne 0x44feeb
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x44fedb
call esi
mov esi, eax
jmp 0x44feeb
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4

Function at 0x44ff72
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push 0xa
push dword [ebp + 8]
call fcn.0044ff29
pop ebp
ret 8

Function at 0x450218
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
mov ebx, ecx
call fcn.00450188
mov ecx, dword [ebp + 8]
mov edi, dword [ebx]
mov esi, dword [ebp + 0xc]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
pop edi
mov dword [ecx - 8], eax
mov ecx, dword [ebx]
pop esi
mov byte [eax + ecx], 0
pop ebx
pop ebp
ret 8
Function at 0x4532f4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1ac
mov eax, dword [0x457694]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov esi, ecx
push 0x80000002
push 0x4038e4
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 0x190], esi
mov dword [ebp - 0x188], eax
call fcn.0044f3e7
cmp dword [esi + 0x10], ebx
je 0x45334b
cmp dword [ebp + 0xc], ebx
je 0x45334b
lea ebx, [esi + 4]
mov eax, dword [ebx]
test eax, eax
je 0x45322e
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push 0
push 0
push 0x8003
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x45334b
mov esi, dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
push dword [ebp + 0xc]
push edi
push dword [ebx]
call esi
test eax, eax
je 0x45334b
push 0
mov edi, 0x4038d4
push edi
lea ecx, [ebp - 0x1ac]
call fcn.0044f812
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
lea ecx, [ebp - 0x1ac]
call fcn.0044f812
push eax
push dword [ebx]
call esi
test eax, eax
je 0x45334b
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x184]
rep stosd dword es:[edi], eax
mov byte [ebp - 0x184], 0x33
mov word [ebp - 0x17c], 0x140
lea eax, [ebp - 0x144]
mov dword [ebp - 0x180], eax
mov esi, 0x406dd8
lea edi, [ebp - 0x17a]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x184]
push eax
movsd dword es:[edi], dword [esi]
call fcn.00454738
test al, al
jne 0x4532f3
push 0
push 6
lea eax, [ebp - 0x144]
push eax
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x45334b
mov edi, dword [ebp - 0x190]
push 4
pop eax
push 0
lea ecx, [ebp - 0x18c]
push ecx
lea esi, [edi + 0xc]
push esi
push eax
push dword [ebx]
mov dword [ebp - 0x18c], eax
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x45334b
mov eax, dword [edi + 8]
test eax, eax
je 0x45332a
push eax
call fcn.0044f050
pop ecx
push dword [esi]
call fcn.0044f05c
test eax, eax
pop ecx
mov dword [edi + 8], eax
je 0x45334b
push 0
push esi
push eax
push 2
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x45334f
xor esi, esi
jmp 0x45335c
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 0x188]
mov dword [ecx], eax
mov esi, dword [esi]
lea ecx, [ebp - 0x1ac]
call fcn.0044f73c
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.0044ed62
leave
ret 0xc
Function at 0x45388c
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov esi, ecx
call fcn.00450a19
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4538b7
test dword [esi + 0x28], 0xf
je 0x4538b7
cmp dword [esi + 0x18], 0
je 0x4538b7
lea ecx, [ebp - 0x18]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x4538b7
mov eax, dword [ebp - 0x14]
xor edx, edx
div dword [esi + 0x18]
xor edx, edx
add dword [edi], eax
mov ecx, dword [esi + 0x28]
mov eax, dword [ebp - 0x10]
and ecx, 0xf
div ecx
add dword [edi + 4], eax
pop edi
pop esi
leave
ret 4

Function at 0x453928
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x10]
jne 0x45394e
push 1
push edi
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x34]
test al, 0xe0
je 0x453983
and eax, 0xffffff1f
mov ecx, esi
mov dword [esi + 0x34], eax
call fcn.00453601
jmp 0x453983
test edi, edi
je 0x453983
call dword [sym.imp.KERNEL32.dll_GetTickCount]
imul ebx, ebx, 0x3e8
add eax, ebx
test byte [esi + 0x34], 0xe0
mov dword [esi + 0x30], eax
jne 0x453983
push 0
push 0x1f4
push 1
push edi
call dword [sym.imp.USER32.dll_SetTimer]
push 1
push edi
mov ecx, esi
call fcn.0045398f
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x454197
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0x10000
push 0x2000000
push 0x406f60
push 0
push dword [ebp + 8]
call fcn.00451b69
pop ebp
ret 4

Function at 0x45440d
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x454404
mov eax, dword [ebp + 8]
jmp 0x454420
push 4
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DeferWindowPos]
pop ebp
ret 0x18
Function at 0x40105c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push dword [ebp + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp + 0xc]
mov ebx, eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4010df
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [ebp - 8], eax
je 0x4010df
push esi
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4010de
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4010d7
push ebx
push dword [ebp - 8]
push eax
call fcn.00405280
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 4]
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jl 0x4010d7
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x4010de
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
mov eax, dword [ebp - 4]
pop ebx
leave
ret
Function at 0x4017b4
Capabilities:
Log keystrokes via application hook

Disassembly:
cmp dword [0x40d850], 0
jne 0x4017e1
push 0
push dword [0x40d868]
push sym.wc3isk.exe_long_int___stdcall_KBHookProc_int__unsigned_int__long_int_
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x40d84c], eax
mov dword [0x40d850], 1
ret

Function at 0x401a37
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
push esi
push edi
push 0x40
xor esi, esi
lea eax, [esp + 0x14]
push esi
push eax
call fcn.00406c50
add esp, 0xc
mov ecx, 0x40d938
xor eax, eax
mov edx, dword [eax + 0x40d834]
mov dword [esp + eax + 0x28], edx
mov edx, dword [ecx]
mov dword [esp + eax + 0x10], edx
add ecx, 0x14
add eax, 4
cmp ecx, 0x40d9b0
jl 0x401a5b
mov eax, dword [0x40d9ec]
push esi
push 0x80
push 2
mov dword [esp + 0x54], eax
mov eax, dword [0x40d9c8]
push esi
mov dword [esp + 0x50], eax
mov eax, dword [0x40d858]
push esi
mov dword [esp + 0x58], eax
mov eax, dword [0x40d9f0]
push 2
push str.keyset.dat
mov dword [esp + 0x68], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
push esi
lea eax, [esp + 0x10]
push eax
push 0x40
lea eax, [esp + 0x1c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x401adb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
xor ebx, ebx
push ebx
call fcn.004018b7
push 0x40
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.00406c50
add esp, 0x10
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
push str.keyset.dat
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, ebx
je 0x401ba0
push ebx
lea eax, [ebp - 4]
push eax
push 0x40
lea eax, [ebp - 0x48]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0x40
jge 0x401b42
xor eax, eax
jmp 0x401bef
mov ecx, 0x40d93c
xor edx, edx
mov eax, dword [ebp + edx - 0x48]
mov dword [ecx - 4], eax
mov eax, dword [ebp + edx - 0x30]
mov dword [ecx], eax
mov dword [edx + 0x40d834], eax
add ecx, 0x14
add edx, 4
cmp ecx, 0x40d9b4
jl 0x401b49
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword [0x40d858], eax
mov eax, dword [ebp - 0x10]
mov dword [0x40d9ec], eax
mov eax, dword [ebp - 0x18]
push eax
mov dword [0x40d9c8], eax
mov dword [0x40d9f0], ecx
call fcn.00401000
push eax
push dword [0x40d9e8]
call fcn.004018a4
add esp, 0xc
call fcn.00401cd1
cmp dword [0x40d858], ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
mov edi, 0xf1
je 0x401bc6
push 1
push edi
push dword [0x40d9c4]
call esi
jmp 0x401bd5
push ebx
push edi
push dword [0x40d9c4]
call esi
call fcn.0040183d
cmp dword [0x40d9ec], ebx
push ebx
je 0x401be2
push 1
jmp 0x401be3
push ebx
push edi
push dword [0x40d9e4]
call esi
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret