joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426932
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x42696b
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004230e8
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00410fc0
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x427fa4
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x4c9950
mov ecx, edi
call fcn.00406e50
cmp dword [esi + 0x4c], 0
push dword [esp + 0xc]
jne 0x427ff7
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x42800a
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.004230e8
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00410fc0
jmp 0x42800a
mov ecx, esi
call fcn.00429971
test eax, eax
je 0x42800a
push edi
mov ecx, eax
call fcn.00426932
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
pop edi
pop esi
ret 8

Function at 0x4285f1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x428634
call fcn.0042ad17
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x428634
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42864f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.004281ab
test ebx, ebx
mov esi, eax
je 0x42864d
test edi, edi
je 0x42864d
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x42a071
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4a4c6e
call fcn.00445388
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x42a096
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x42a0e2
call fcn.0042fe24
push eax
lea ecx, [ebp - 0x10]
call fcn.004071e0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004298cb
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00404630
mov eax, esi
call fcn.00445460
ret 8
Function at 0x42b72f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x42b74f
cmp dword [edi + 0x54], 0
jne 0x42b74f
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0042ad17
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0042b6f6
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x42e1ed
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x42e233
call fcn.0042ad17
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42e233
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x42e276
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x42e25f
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x42e25f
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x42e273
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x43f9e9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4de880]
jne 0x43f9f3
repz ret
jmp fcn.00447fec
Function at 0x453f83
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00447936
xor ebx, ebx
cmp dword [0x4e360c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x454058
push 0x4b3b6c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x453fc3
xor eax, eax
jmp 0x45411c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x453fbc
push eax
call fcn.004478d3
mov dword [esp], 0x4b3b50
push edi
mov dword [0x4e360c], eax
call esi
push eax
call fcn.004478d3
mov dword [esp], 0x4b3b3c
push edi
mov dword [0x4e3610], eax
call esi
push eax
call fcn.004478d3
mov dword [0x4e3614], eax
lea eax, [ebp - 8]
push eax
call fcn.0044599d
test eax, eax
pop ecx
pop ecx
je 0x454026
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043ffe4
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x454058
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004478d3
cmp eax, ebx
pop ecx
mov dword [0x4e361c], eax
je 0x454058
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004478d3
pop ecx
mov dword [0x4e3618], eax
mov eax, dword [0x4e3618]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4540d1
cmp dword [0x4e361c], esi
je 0x4540d1
push eax
call fcn.0044793f
pop ecx
call eax
cmp eax, ebx
je 0x45409e
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4e361c]
call fcn.0044793f
pop ecx
call eax
test eax, eax
je 0x45409e
test byte [ebp - 0x18], 1
jne 0x4540d1
lea eax, [ebp - 0xc]
push eax
call fcn.004459d4
test eax, eax
pop ecx
je 0x4540b9
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043ffe4
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4540c8
or dword [ebp + 0x10], 0x200000
jmp 0x454102
or dword [ebp + 0x10], 0x40000
jmp 0x454102
mov eax, dword [0x4e3610]
cmp eax, esi
je 0x454102
push eax
call fcn.0044793f
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x454102
mov eax, dword [0x4e3614]
cmp eax, esi
je 0x454102
push dword [ebp - 4]
push eax
call fcn.0044793f
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4e360c]
call fcn.0044793f
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45cea4
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4de880]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0045ce39
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0043ff60
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x45cef3
cmp dword [ebp - 0x1c], 5
jb 0x45cf0b
jmp 0x45cf07
cmp dword [ebp - 0x10], 1
jne 0x45cf0b
cmp dword [ebp - 0x1c], 4
ja 0x45cf07
jne 0x45cf0b
cmp dword [ebp - 0x18], 0
jbe 0x45cf0b
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4b5dd4
call fcn.0045cd0d
test eax, eax
jge 0x45cf2c
mov byte [0x4e483c], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043f9e9
add ebp, 0x78
leave
ret
Function at 0x45faf0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x4c]
movzx ecx, byte [eax + 0x1c]
cmp ecx, 1
jne 0x45fb10
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 8]
jmp 0x45fccd
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x45fb28
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x45fb30
or eax, 0xffffffff
jmp 0x45fccd
push 0x4e3928
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x4c]
mov dword [eax + 4], 1
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 8]
push ecx
mov ecx, 0x4e4808
call fcn.004207a0
lea edx, [ebp - 0x1c]
push edx
mov ecx, 0x4e4808
call fcn.00414fd0
push eax
lea ecx, [ebp - 8]
call fcn.00402910
movzx eax, al
test eax, eax
je 0x45fc24
mov dword [ebp - 0xc], 0
mov byte [ebp - 0xd], 0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x24]
push edx
mov ecx, 0x4e4808
call fcn.00420830
push eax
lea ecx, [ebp - 8]
call fcn.00402910
movzx eax, al
test eax, eax
je 0x45fc02
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
jne 0x45fbce
lea ecx, [ebp - 8]
call fcn.00411b30
mov edx, dword [eax + 4]
mov eax, dword [edx + 8]
cmp eax, dword [ebp + 0xc]
jne 0x45fbce
mov byte [ebp - 0xd], 1
lea ecx, [ebp - 8]
call fcn.00411b30
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
jbe 0x45fbf2
lea ecx, [ebp - 8]
call fcn.00411b30
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
push 0
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 8]
call fcn.00420990
jmp 0x45fb8d
movzx eax, byte [ebp - 0xd]
cmp eax, 1
jne 0x45fc19
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov edx, dword [ebp - 0x4c]
mov dword [edx + 8], ecx
jmp 0x45fc22
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
jmp 0x45fc2d
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x40], ecx
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00420a90
push eax
lea ecx, [ebp - 0x34]
call fcn.00422420
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x48]
push edx
mov ecx, 0x4e4808
call fcn.0041ff30
cmp dword [0x4e3d88], 0
jne 0x45fcb5
lea eax, [ebp - 0x14]
push eax
push 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0x45f500
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4e3d88], eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x4e3d8c], eax
push 1
mov eax, dword [0x4e3d88]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [0x4e3d88]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x4e3928
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [ebp - 0x4c]
mov byte [edx + 0x1c], 1
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x463ef0
Capabilities:
Decrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xc6ef3720
mov dword [ebp - 0x24], 0x9e3779b9
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 8]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0xc], 0x20
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
sub ecx, 1
mov dword [ebp - 0xc], ecx
test eax, eax
jbe 0x463fa2
mov edx, dword [ebp - 8]
shl edx, 4
add edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x14]
xor edx, eax
mov ecx, dword [ebp - 8]
shr ecx, 5
add ecx, dword [ebp - 0x1c]
xor edx, ecx
mov eax, dword [ebp - 0x18]
sub eax, edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
shl ecx, 4
add ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x14]
xor ecx, edx
mov eax, dword [ebp - 0x18]
shr eax, 5
add eax, dword [ebp - 0x10]
xor ecx, eax
mov edx, dword [ebp - 8]
sub edx, ecx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
jmp 0x463f3f
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov dword [ecx], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 4], ecx
mov esp, ebp
pop ebp
ret

Function at 0x464420
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x4de880]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x124], ecx
push 0x3b8
push 0
mov eax, dword [ebp - 0x124]
add eax, 0x64
push eax
call fcn.0043ff60
add esp, 0xc
mov ecx, dword [ebp - 0x124]
mov dword [ecx + 0x41c], 0
mov edx, dword [ebp - 0x124]
mov dword [edx + 0x420], 1
mov eax, dword [ebp - 0x124]
mov dword [eax + 0x424], 1
mov ecx, dword [ebp - 0x124]
mov dword [ecx + 0x5c], 0
mov edx, dword [ebp - 0x124]
mov dword [edx + 0x464], 1
mov eax, dword [ebp - 0x124]
mov dword [eax + 0x428], 0
mov ecx, dword [ebp - 0x124]
mov dword [ecx + 0x448], 0
mov edx, dword [ebp - 0x124]
mov dword [edx + 0x460], 0
mov eax, dword [ebp - 0x124]
mov dword [eax + 0x430], 0
mov ecx, dword [ebp - 0x124]
mov dword [ecx + 0x468], 0
mov dword [ebp - 0x120], 0x114
push 0x110
push 0
lea edx, [ebp - 0x11c]
push edx
call fcn.0043ff60
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x110], 2
jne 0x46453a
cmp dword [ebp - 0x11c], 5
jb 0x46453a
mov dword [ebp - 0x128], 1
jmp 0x464544
mov dword [ebp - 0x128], 0
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebp - 0x128]
mov dword [ecx + 0x42c], edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043f9e9
mov esp, ebp
pop ebp
ret
Function at 0x468550
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7b9d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4de880]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x30]
call fcn.004015d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004071c0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x40]
call fcn.0041aec0
test eax, eax
je 0x4685e3
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4685dd
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00401660
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403370
mov ecx, dword [ebp - 0x3c]
or ecx, 1
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00404700
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401030
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043f9e9
mov esp, ebp
pop ebp
ret 4
Function at 0x46c2f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0
je 0x46c332
cmp dword [ebp + 8], 0
je 0x46c332
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x46c332
mov eax, dword [ebp - 4]
jmp 0x46c334
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x46c460
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9232
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x4de880]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x43c], ecx
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x41c], 0x400
mov eax, dword [ebp - 0x43c]
cmp dword [eax], 0
je 0x46c543
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x414]
push edx
mov eax, dword [ebp - 0x418]
push eax
mov ecx, dword [ebp - 0x43c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x46c53c
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x438]
call fcn.004021a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x438]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00404f60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.00401e40
mov edx, dword [ebp - 0x418]
add edx, 1
mov dword [ebp - 0x418], edx
mov dword [ebp - 0x41c], 0x104
jmp 0x46c4b4
mov eax, 1
jmp 0x46c545
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043f9e9
mov esp, ebp
pop ebp
ret 4

Function at 0x46c560
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9265
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x4de880]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x140]
cmp dword [eax], 0
je 0x46c61e
push 0x104
lea ecx, [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x46c617
lea edx, [ebp - 0x11c]
push edx
lea ecx, [ebp - 0x13c]
call fcn.004021a0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404f60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.00401e40
mov ecx, dword [ebp - 0x120]
add ecx, 1
mov dword [ebp - 0x120], ecx
jmp 0x46c5a6
mov eax, 1
jmp 0x46c620
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043f9e9
mov esp, ebp
pop ebp
ret 4
Function at 0x4720a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7d16
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x4de880]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48c], ecx
mov dword [ebp - 0x488], 0
mov dword [ebp - 4], 0
push 0x4b9f08
lea ecx, [ebp + 0xc]
call fcn.00401df0
push eax
call fcn.0044058c
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x472134
push 0x4b9f0c
mov ecx, dword [ebp + 8]
call fcn.004021a0
mov eax, dword [ebp - 0x488]
or eax, 1
mov dword [ebp - 0x488], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401e40
mov eax, dword [ebp + 8]
jmp 0x4721e4
lea ecx, [ebp - 0x484]
push ecx
mov edx, dword [ebp - 0x48c]
mov ecx, dword [edx]
call fcn.00473310
mov eax, dword [ebp - 0x24]
push eax
push 0x400
push 1
lea ecx, [ebp - 0x42c]
push ecx
call fcn.00443e2f
add esp, 0x10
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x47218c
mov edx, dword [ebp - 0x28]
push edx
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x484]
push ecx
mov edx, dword [ebp - 0x48c]
mov ecx, dword [edx]
call fcn.00473200
jmp 0x472148
lea eax, [ebp - 0x484]
push eax
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x48c]
mov ecx, dword [edx]
call fcn.00473360
mov eax, dword [ebp - 0x24]
push eax
call fcn.00440a08
add esp, 4
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x48c]
call fcn.00472010
mov eax, dword [ebp - 0x488]
or eax, 1
mov dword [ebp - 0x488], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401e40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043f9e9
mov esp, ebp
pop ebp
ret 0x20

Function at 0x473310
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
mov esp, ebp
pop ebp
ret 4
Function at 0x474ac0
Capabilities:
Get file size
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x11], 0
push 0
push 0
push 3
push 0
push 7
push SysReAllocStringLen
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x474b0e
jmp 0x474bd6
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x40
jae 0x474b2d
jmp 0x474bd6
push 0
push 0
push 0
push 2
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x474b54
jmp 0x474bd6
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x474b73
jmp 0x474bd6
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x3c]
cmp eax, dword [ebp - 4]
ja 0x474b92
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x474b96
jmp 0x474bd6
cmp dword [ebp - 0x18], 0
je 0x474ba7
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x24], ecx
jmp 0x474bae
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
push 4
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x474bd6
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], 0x4550
jne 0x474bd6
mov byte [ebp - 0x11], 1
cmp dword [ebp - 8], 0
je 0x474be6
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xc], 0xffffffff
je 0x474bf6
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], 0
je 0x474c06
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov al, byte [ebp - 0x11]
mov esp, ebp
pop ebp
ret 4

Function at 0x474c10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x474c33
mov ecx, dword [ebp - 4]
and ecx, 0x10
je 0x474c33
mov al, 1
jmp 0x474c35
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x474c60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
pop ebp
ret