joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b1d5
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x50d688
call fcn.0050b978
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esi + 4], edi
mov dword [ebp - 4], edi
fld1
fstp qword [esi + 0x10]
mov dword [esi], vtable.CBkPngSkin.0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x4c], edi
mov eax, vtable.CBkBitmap.0
mov dword [esi + 0x48], eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x70], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov byte [ebp - 4], 2
mov dword [esi + 0x74], edi
call fcn.00461fca
lea ecx, [esi + 0x7c]
mov dword [ecx], eax
mov byte [eax + 0x15], 1
mov eax, dword [ecx]
mov dword [eax + 4], eax
mov eax, dword [ecx]
mov dword [eax], eax
mov ecx, dword [ecx]
mov dword [ecx + 8], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x80], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x45eed9
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x45ef50
xor eax, eax
mov dword [ebp - 0xc], esi
lea edi, [ebp - 8]
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x45ef50
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [ebp - 8], eax
and dword [ebp - 8], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], esi
fild qword [ebp - 0x14]
fild qword [ebp - 0xc]
fchs
faddp st(1)
fmul qword [0x541ad0]
fcomp qword [0x541ac8]
fnstsw ax
test ah, 1
jne 0x45ef50
inc esi
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x45f2ca
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [edi + 0xa8c], 0
jne 0x45f306
push esi
lea esi, [ebp - 4]
call fcn.0045f30e
push dword [eax]
push 2
push 0x53d288
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0xa8c], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00405892
pop esi
mov eax, dword [edi + 0xa8c]
leave
ret
Function at 0x45f641
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ecx
push esi
mov esi, eax
xor eax, eax
cmp dword [esi + 0x924], 1
push edi
sete al
mov edi, eax
call fcn.00407dc4
cmp eax, 6
jg 0x45f683
test edi, edi
jne 0x45f6a8
push 2
push 2
push 0x540da4
push dword [esi + 0x920]
push str._rN_e
push dword [esi + 4]
call fcn.0044f9f5
add esp, 0x18
jmp 0x45f6a8
push esi
call fcn.0045f718
test eax, eax
jne 0x45f6a8
call fcn.0045f8a4
test eax, eax
je 0x45f6a8
mov edi, esi
call fcn.0045f92d
test eax, eax
jne 0x45f6a8
mov ecx, esi
call fcn.0045056b
call fcn.00456853
mov esi, eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45f6c8
test al, 0x10
jne 0x45f6c8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
pop ecx
ret

Function at 0x45f718
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x510070
call fcn.0050b978
sub esp, 0xc
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
and dword [ebp - 4], 0
mov eax, dword [0x55ba6c]
mov edi, 0x55ba6c
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 1
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.0045f438
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x14]
push dword [0x55ca30]
call fcn.004064fc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00405892
call fcn.0046707c
lea esi, [ebp - 0x18]
call fcn.004670c7
mov eax, dword [eax]
push 1
push eax
lea esi, [ebp - 0x10]
call fcn.00407cd0
mov ebx, eax
mov eax, dword [ebp - 0x18]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.00405892
test bl, bl
jne 0x45f877
mov eax, dword [0x55ba6c]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push str.installpath
mov ebx, esi
mov byte [ebp - 4], 3
call fcn.00405dbf
test eax, eax
mov ebx, dword [ebp - 0x18]
je 0x45f86f
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45f86f
mov esi, dword [ebp + 8]
lea edi, [esi + 0xa84]
lea eax, [ebp - 0x18]
call fcn.00404ec2
xor eax, eax
inc eax
cmp dword [esi + 0x924], eax
mov dword [esi + 0x928], eax
je 0x45f86f
mov eax, dword [esi + 0x920]
mov edi, dword [ebp - 0x14]
xor ecx, ecx
push ecx
push 3
push ecx
push eax
push edi
push ecx
call fcn.0044f9f5
add esp, 0x18
test al, 1
je 0x45f862
call fcn.00467b22
push dword [esi + 0x928]
push 2
call fcn.00467b88
lea eax, [ebx - 0x10]
call fcn.00405892
lea eax, [edi - 0x10]
call fcn.00405892
cmp dword [ebp - 0x10], 0
je 0x45f85d
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
jmp 0x45f893
lea eax, [ebx - 0x10]
call fcn.00405892
lea eax, [edi - 0x10]
jmp 0x45f87d
lea eax, [ebx - 0x10]
call fcn.00405892
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405892
cmp dword [ebp - 0x10], 0
je 0x45f891
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x460709
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, eax
push edi
lea edi, [esi + 0x24]
push 0x67
mov eax, edi
call fcn.0046146d
test eax, eax
je 0x46072c
push 0x67
mov eax, edi
call fcn.004509fd
mov dword [0x5566dc], eax
xor ebx, ebx
push ebx
push 0x1e
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
push ebx
push 0x64
mov eax, edi
call fcn.00450a75
push 1
push 0xc8
mov eax, edi
call fcn.00450a75
push ebx
call fcn.00460dc3
push ebx
push ebx
push esi
push 0x4606f0
push ebx
push ebx
call fcn.004f18b7
add esp, 0x18
pop edi
mov dword [esi + 0x91c], eax
pop esi
pop ebx
ret

Function at 0x460a4a
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push dword [edi]
lea esi, [ebp - 4]
call fcn.00428ca8
mov eax, dword [ebp - 4]
pop ecx
add eax, 0xfffffff0
call fcn.00405892
mov eax, dword [edi]
push 3
pop esi
cmp dword [eax - 0xc], esi
jl 0x460b0b
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x460a8d
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 1
je 0x460b0b
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.004061e8
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, esi
mov eax, dword [ebp - 4]
setne bl
add eax, 0xfffffff0
call fcn.00405892
test bl, bl
je 0x460aba
push 2
pop eax
jmp 0x460b0e
push edi
call fcn.004609be
test eax, eax
pop ecx
je 0x460ac9
mov eax, esi
jmp 0x460b0e
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.004061e8
push dword [eax]
call fcn.0045eed9
mov ebx, eax
mov eax, dword [ebp - 4]
neg ebx
sbb bl, bl
pop ecx
add eax, 0xfffffff0
inc bl
call fcn.00405892
test bl, bl
je 0x460af8
push 4
jmp 0x460ab7
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x96
jle 0x460b07
push 5
jmp 0x460ab7
xor eax, eax
jmp 0x460b0e
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
Function at 0x460b12
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x50dc3f
call fcn.0050b978
sub esp, 0x44c
push esi
push edi
xor esi, esi
push 0x206
lea eax, [ebp - 0x452]
push esi
push eax
mov word [ebp - 0x454], si
call fcn.004ee380
add esp, 0xc
lea eax, [ebp - 0x454]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x1c]
push eax
push 0x11
push dword [ebx + 4]
mov dword [ebp - 0x1c], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [0x55ba6c]
mov edi, 0x55ba6c
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], esi
push 0x105
lea esi, [ebp - 0x18]
call fcn.004059c3
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp dword [eax - 8], ecx
jge 0x460b9f
push 0x80070057
call fcn.004059ab
mov dword [eax - 0xc], ecx
mov word [eax], cx
push 0x540c44
lea eax, [ebp - 0x18]
push eax
call fcn.00405d27
mov eax, dword [ebx + 4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x18]
mov dword [ebp - 0x3c], eax
call fcn.00429577
mov dword [ebp - 0x38], eax
xor esi, esi
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x34], 0x540c50
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
cmp eax, esi
mov dword [ebp - 0x14], eax
je 0x460cac
push 0x206
lea eax, [ebp - 0x24a]
push esi
push eax
mov word [ebp - 0x24c], si
call fcn.004ee380
add esp, 0xc
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [0x55ba6c]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24c]
push eax
lea esi, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00428ca8
pop ecx
mov byte [ebp - 4], 2
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00406585
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00405892
mov eax, dword [ebx + 0x92c]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00406585
mov esi, dword [ebp - 0x14]
push esi
push dword [ebx + 0xa5c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [ebp - 0x14]
call fcn.00460a4a
push 0
push eax
push 0x46c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esi - 0x10]
call fcn.00405892
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405892
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x461030
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov eax, 0x50e03c
call fcn.0050b978
push ecx
push ecx
push esi
push edi
call fcn.0046707c
lea esi, [ebp - 0x10]
call fcn.0046739d
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
add esi, 0xa84
mov edi, esi
call fcn.00404ec2
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405892
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x4610b2
push 0
push 0x26
push 0x104
call fcn.004059c3
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x46109c
push eax
call fcn.004eecf4
pop ecx
mov edx, esi
call fcn.0040598a
test edi, edi
jne 0x4610b2
push 0x540cf8
push esi
call fcn.00405d27
mov ecx, esi
call fcn.00408e0d
push 0x53b6fc
push esi
call fcn.00406033
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x92c]
push dword [eax - 0xc]
push eax
mov eax, esi
call fcn.00406585
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret 4

Function at 0x4610e8
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, eax
and dword [esi + 0x520], 0
cmp dword [esp + 8], 0x61
je 0x461100
cmp dword [esp + 8], 0x41
jne 0x461134
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x461134
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0
push 0xb1
add esi, 0xa5c
push dword [esi]
call edi
push 0
push 0
push 0xb7
push dword [esi]
call edi
pop edi
pop esi
ret 4

Function at 0x461138
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x50e03c
call fcn.0050b978
push ecx
mov eax, dword [0x55ba6c]
push esi
push edi
mov ecx, 0x55ba6c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
push 0x105
lea esi, [ebp - 0x10]
call fcn.004059c3
push 0x104
push eax
push dword [ebx + 0xa5c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x461186
xor eax, eax
jmp 0x46118d
push esi
call fcn.004eecf4
pop ecx
lea edx, [ebp - 0x10]
call fcn.0040598a
lea edi, [ebp - 0x10]
call fcn.00460a4a
push 0
push eax
push 0x46c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esi - 0x10]
call fcn.00405892
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x462f69
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x50d613
call fcn.0050b978
sub esp, 0xc
push ebx
push esi
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
mov ebx, ecx
call fcn.00405b0c
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.00405b0c
push dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.00405b0c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0046309c
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.00405892
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405892
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405892
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], esi
jne 0x463006
add eax, 0xfffffff0
call fcn.00405892
xor al, al
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
mov eax, dword [0x55ba6c]
push edi
mov ecx, 0x55ba6c
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp + 0x10], edi
mov eax, ebx
mov byte [ebp - 4], 7
call fcn.00429eac
test eax, eax
jbe 0x46307b
lea eax, [ebp - 0x10]
lea edi, [ebp + 0x10]
call fcn.00404ec2
mov eax, edi
push eax
call fcn.00405f9f
pop ecx
mov eax, ebx
call fcn.00429eac
cmp esi, eax
jb 0x46304d
call fcn.004edd0e
mov eax, dword [ebx + 4]
lea eax, [eax + esi*4]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp + 0x10]
call fcn.00406585
mov edi, dword [ebp + 0x10]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46307f
mov eax, ebx
inc esi
call fcn.00429eac
cmp esi, eax
jb 0x463029
mov bl, 1
jmp 0x463081
xor bl, bl
lea eax, [edi - 0x10]
call fcn.00405892
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405892
mov al, bl
pop edi
jmp 0x462ff6

Function at 0x463430
Capabilities:
Delete file

Disassembly:
mov eax, 0x50e488
call fcn.0050b978
sub esp, 0x10
mov eax, dword [0x55ba6c]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov ecx, 0x55ba6c
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
call fcn.004634ed
mov ebx, eax
test ebx, ebx
jne 0x463481
mov dword [esi + 0x1c], 1
mov esi, dword [ebp - 0x18]
jmp 0x4634d1
push 0x28
call fcn.004150af
test eax, eax
pop ecx
je 0x463495
push eax
call fcn.0042494f
jmp 0x463497
xor eax, eax
test eax, eax
mov esi, eax
je 0x4634d1
push dword [ebp + 0xc]
mov ecx, dword [eax]
push dword [ebp - 0x10]
push ebx
push eax
call dword [ecx]
test eax, eax
je 0x4634ca
xor esi, esi
lea eax, [edi - 0x10]
call fcn.00405892
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
mov dword [ebp - 0x14], 1
cmp dword [edi - 0xc], 0
je 0x4634de
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
je 0x4634e8
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov esi, dword [ebp - 0x14]
jmp 0x4634af
Function at 0x4635ce
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push edi
xor edi, edi
push 0x206
lea eax, [ebp - 0x20a]
push edi
push eax
mov dword [ebp - 4], edi
mov word [ebp - 0x20c], di
call fcn.004ee380
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x463676
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
push eax
push edi
push 2
push edi
push ebx
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp ebx, edi
mov dword [esi], eax
je 0x46366f
push dword [esi + 8]
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
mov dword [esi + 4], eax
je 0x46366f
mov dword [ebp - 4], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret
Function at 0x4641dc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x50cf1a
call fcn.0050b978
sub esp, 0x418
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call dword [0x554fdc]
xor esi, esi
mov dword [ebp - 0x20], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x424], esi
push 2
push esi
push dword [ebp + 0xc]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x14], ebx
jne 0x464234
call fcn.00463f03
mov esi, eax
jmp 0x464335
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x464251
call fcn.00463f03
jmp 0x46432a
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
mov dword [ebp + 0xc], eax
je 0x464247
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
cmp eax, edi
mov dword [ebp + 8], edi
jae 0x464297
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x46428d
lea eax, [ebp - 0x424]
call fcn.00464361
mov eax, 0x8007000e
jmp 0x464350
push 2
push eax
mov byte [ebp - 4], 2
call fcn.0046438b
cmp eax, 0x400
pop ecx
pop ecx
jbe 0x4642bb
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.0046436a
jmp 0x4642c7
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
mov dword [ebp - 4], 1
jmp 0x4642e2
mov ebx, dword [ebp - 0x424]
cmp ebx, esi
jne 0x4642f3
mov esi, 0x8007000e
jmp 0x46432c
call dword [0x554fdc]
push edi
push ebx
push edi
push dword [ebp + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x464247
mov ecx, dword [ebp - 0x424]
push dword [ebp + 0x18]
mov word [ecx + eax*2], si
mov ecx, dword [ebp - 0x424]
lea edx, [ebp - 0x1c]
call fcn.004643b0
mov esi, eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x46434e
lea eax, [ebp - 0x424]
call fcn.00464361
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x14
Function at 0x4652a7
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x4652ba
push 0x80004005
call fcn.004059ab
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4652c1
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x465366
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [ecx]
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0xc]
push ecx
push 0x2001f
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 8], esi
push eax
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
cmp edi, esi
jne 0x46542d
xor eax, eax
cmp dword [ebp - 8], esi
je 0x4653af
push dword [ebp - 8]
call ebx
cmp eax, esi
mov ecx, dword [ebp - 0xc]
mov edi, eax
mov dword [ebp - 8], ecx
jne 0x46542d
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push ecx
jmp 0x465403
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 8]
call fcn.00465366
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x465440
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push dword [ebp - 8]
mov dword [ebp - 0x10], 0x100
call edi
test eax, eax
je 0x4653d7
cmp dword [ebp - 8], esi
je 0x46541d
push dword [ebp - 8]
call ebx
mov dword [ebp - 8], esi
push dword [ebp + 8]
mov eax, dword [ebp - 0x14]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
cmp dword [ebp - 8], esi
je 0x465437
push dword [ebp - 8]
call ebx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
cmp dword [ebp - 8], esi
je 0x46544a
push dword [ebp - 8]
call ebx
mov eax, dword [ebp - 0xc]
jmp 0x465439
Function at 0x466e67
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
mov eax, 0x50cea9
call fcn.0050b978
sub esp, 0x78
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x14], edi
push edi
push 0x80
push 3
push edi
push 7
push SysReAllocString
push dword [ebp + 8]
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x466ea4
call fcn.00463f03
jmp 0x466ea9
mov dword [ebp - 0x14], eax
xor eax, eax
cmp eax, edi
jge 0x466ec2
cmp dword [ebp - 0x14], edi
je 0x466ebb
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x466fc8
mov ebx, 0x1000
push ebx
call fcn.004eaffb
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x84], 0x67452301
mov dword [ebp - 0x80], 0xefcdab89
mov dword [ebp - 0x7c], 0x98badcfe
mov dword [ebp - 0x78], 0x10325476
mov esi, dword [ebp - 0x14]
pop ecx
push edi
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x466f17
call fcn.00463f03
jmp 0x466f19
xor eax, eax
cmp eax, edi
jl 0x466f34
mov eax, dword [ebp - 0x1c]
cmp eax, edi
je 0x466f4b
push dword [ebp - 0x18]
lea esi, [ebp - 0x84]
call fcn.0042df2c
jmp 0x466ef8
push dword [ebp - 0x18]
call fcn.004ee375
cmp esi, edi
pop ecx
je 0x466ebb
push esi
jmp 0x466eb5
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x84]
call fcn.0042dfc2
movzx eax, byte [ebp - 0x1d]
push eax
movzx eax, byte [ebp - 0x1e]
push eax
movzx eax, byte [ebp - 0x1f]
push eax
movzx eax, byte [ebp - 0x20]
push eax
movzx eax, byte [ebp - 0x21]
push eax
movzx eax, byte [ebp - 0x22]
push eax
movzx eax, byte [ebp - 0x23]
push eax
movzx eax, byte [ebp - 0x24]
push eax
movzx eax, byte [ebp - 0x25]
push eax
movzx eax, byte [ebp - 0x26]
push eax
movzx eax, byte [ebp - 0x27]
push eax
movzx eax, byte [ebp - 0x28]
push eax
movzx eax, byte [ebp - 0x29]
push eax
movzx eax, byte [ebp - 0x2a]
push eax
movzx eax, byte [ebp - 0x2b]
push eax
movzx eax, byte [ebp - 0x2c]
push eax
mov eax, dword [ebp + 0xc]
push 0x541790
call fcn.004064fc
add esp, 0x48
cmp esi, edi
je 0x466fc5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret