joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c9f0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x53857c]
cmp dword [eax + 0x30], 0
je 0x45ca9a
cmp dword [ebx + 0x94], 0
jne 0x45ca94
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45c980
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45ca94
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45ca5a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45ca94
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004144ec
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45ca69
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45d7b4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45d7e9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004047c8
jmp 0x45d7f6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040472c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45eb58
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45ebc6
mov eax, esi
call fcn.004492f0
test al, al
je 0x45ebc6
mov eax, dword [ebx + 0x84]
call fcn.00448f50
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45ebc6
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45ebba
push 0
mov eax, dword [ebx + 0x84]
call fcn.00448f50
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00441370
jmp 0x45ebc6
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045e994
pop esi
pop ebx
ret
Function at 0x409882
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43171d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x448
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4098b5
xor eax, eax
jmp 0x4099fd
lea ecx, [ebp - 0x3c]
call sub.mfc140.dll_Ordinal_503
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
push str._s.
lea edx, [ebp - 0x454]
push edx
call fcn.0040de00
add esp, 0xc
push 0
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x3c]
call sub.mfc140.dll_Ordinal_4705
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4099b3
lea ecx, [ebp - 0x3c]
call sub.mfc140.dll_Ordinal_4725
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x3c]
call sub.mfc140.dll_Ordinal_8140
test eax, eax
jne 0x4099ae
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x3c]
call sub.mfc140.dll_Ordinal_5562
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
lea edx, [ebp - 0x13c]
push edx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
add esp, 8
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x3c]
call fcn.00407c20
test eax, eax
je 0x409982
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._s_s
lea edx, [ebp - 0x23c]
push edx
call fcn.0040de00
add esp, 0x10
lea eax, [ebp - 0x23c]
push eax
call 0x409880
add esp, 4
jmp 0x4099ae
lea ecx, [ebp - 0x13c]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._s_s
lea eax, [ebp - 0x33c]
push eax
call fcn.0040de00
add esp, 0x10
lea ecx, [ebp - 0x33c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4098f0
lea ecx, [ebp - 0x3c]
call sub.mfc140.dll_Ordinal_2881
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x4099e4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call sub.mfc140.dll_Ordinal_1142
mov eax, dword [ebp - 0x1c]
jmp 0x4099fd
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call sub.mfc140.dll_Ordinal_1142
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x422315
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x422354
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x422354
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x422354
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x422354
cmp dword [ecx + 0x74], 0xe
jbe 0x422354
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x425090
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432f14
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x447380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
test eax, eax
js 0x425185
push 0
push 0
push 0
push 0
push dword [ebp + 0xc]
push eax
push 1
call sub.mfc140.dll_Ordinal_8031
mov edi, eax
test edi, edi
js 0x425188
mov ecx, ebx
call fcn.004249c0
mov esi, eax
xor ecx, ecx
mov edx, 0x4c
mov dword [ebp + 8], esi
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call sub.mfc140.dll_Ordinal_265
add esp, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x42513a
push 0x423350
push 0x4231c0
push dword [ebp + 8]
mov dword [eax], esi
lea esi, [eax + 4]
push 0x4c
push esi
call fcn.00420d6f
jmp 0x42513c
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x425185
mov eax, dword [ebp + 0x10]
mov ecx, ebx
push esi
push 0
push 0
push 0
push 0
push 4
push 0
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [esi + 0x30], eax
mov dword [esi + 0xc], 0xffffffff
call sub.mfc140.dll_Ordinal_13574
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401240
Capabilities:
Encode data using xor

Disassembly:
vmovdqa xmm0, xmmword [0x4e52c0]
vmovdqa xmm1, xmmword [0x4e5300]
vprotb xmm2, xmm0, xmm1
vprotd xmm0, xmm2, 7
vpperm xmm0, xmm1, xmm0, xmm2
vmovdqa xmm2, xmmword [0x4e5490]
vpcomeqb xmm1, xmm0, xmm2
vpmovmskb eax, xmm1
cmp eax, 0xfbff
sete al
ret

Function at 0x4016c0
Capabilities:
Encode data using xor

Disassembly:
vmovdqa32 zmm0, zmmword [0x4e52c0]
vmovdqa32 zmm1, zmmword [0x4e5300]
vpermb zmm2, zmm0, zmm1
vpermi2b zmm2, zmm0, zmm1
vmovdqa32 zmm3, zmmword [0x4e5400]
vpcmpeqd k1, zmm2, zmm3
kmovw eax, k1
vzeroupper
cmp eax, 0xfffb
sete al
ret

Function at 0x416150
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor bl, bl
push esi
mov edi, 0xa
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41619a
mov eax, edi
dec edi
test eax, eax
je 0x41619a
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4161a0
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x416168
pop edi
pop esi
mov al, bl
pop ebx
ret
pop edi
pop esi
mov al, 1
pop ebx
ret

Function at 0x4161b0
Capabilities:
Check if file exists
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, 0x80
cmp eax, 0xffffffff
je 0x4161db
and eax, 0x3126
cmove eax, ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4161f7
and eax, 0x3126
cmove eax, ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp + 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
pop ebp
ret
Function at 0x41a650
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5b46
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x520078]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebx], vtable.ProgressCallback.0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebp - 4], 0
lea esi, [ebx + 0x34]
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0041b710
mov dword [esi], eax
lea edi, [ebx + 4]
mov byte [ebp - 4], 1
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [ebx + 0x1c]
xorps xmm0, xmm0
mov dword [ebx + 0x20], eax
mov ecx, esi
lea eax, [ebp - 0x14]
mov dword [ebx + 0x30], 0
push eax
lea eax, [ebp - 0x24]
mov byte [ebx + 0x2c], 0
push eax
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x44], 0x64
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x4c], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x14], 0
call fcn.0041b780
mov eax, dword [ebp - 0x24]
mov ecx, esi
movups xmm0, xmmword [ebp - 0x4c]
mov dword [ebp - 0x18], 1
movups xmmword [eax + 0x18], xmm0
movups xmm0, xmmword [ebp - 0x3c]
movups xmmword [eax + 0x28], xmm0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0041b780
mov eax, dword [ebp - 0x2c]
movups xmm0, xmmword [ebp - 0x4c]
push edi
movups xmmword [eax + 0x18], xmm0
movups xmm0, xmmword [ebp - 0x3c]
movups xmmword [eax + 0x28], xmm0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
mov dword [ebx + 0x28], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41c170
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5c58
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x520078]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push dword [ebp + 0xc]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionSharedDLLs
push dword [ebp + 8]
call fcn.00479bc0
add esp, 0xc
test al, al
jne 0x41c213
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x41c202
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.004319f0
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x41c1d2
mov eax, dword [eax]
push eax
push dword [ebp + 8]
mov edx, str.GetValueImpl:_cannot_get_value__s_s__code__s
mov ecx, 0x527228
push str.SoftwareMicrosoftWindowsCurrentVersionSharedDLLs
call fcn.00418740
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp eax, 8
jb 0x41c202
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00415a10
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x420de0
Capabilities:
Create directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x520078]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x412
lea eax, [ebp - 0x418]
mov esi, ecx
push 0
push eax
call fcn.004ad5f0
add esp, 0xc
lea eax, [ebp - 0x418]
push 0x209
push eax
push str.TEMP
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x420e5b
push 0x209
lea eax, [ebp - 0x418]
push eax
push 0x4f5388
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x420e5b
push 0x208
lea eax, [ebp - 0x418]
push str.C:TEMP
push eax
call fcn.004b8830
add esp, 0xc
push ebx
push 0
push 0x2000000
push 3
push 0
push 7
push 0x100000
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
setne bl
cmp eax, 0xffffffff
je 0x420e8d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
pop ebx
jne 0x420eab
push 0x208
lea eax, [ebp - 0x418]
push str.C:TEMP
push eax
call fcn.004b8830
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
call fcn.004b8873
add esp, 4
cmp word [ebp - 0x418], 0
je 0x420f03
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420ed0
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x41a], 0x5c
je 0x420f03
push 0x208
lea eax, [ebp - 0x418]
push 0x4f407c
push eax
call fcn.004b889d
add esp, 0xc
push 0x208
lea eax, [ebp - 0x418]
push str._av_iup.tm
push eax
call fcn.004b889d
push 0x208
lea eax, [ebp - 0x418]
push str.XXXXXX
push eax
call fcn.004b889d
lea eax, [ebp - 0x418]
push eax
call fcn.004b89e4
add esp, 0x1c
cmp byte [ebp + 8], 0
je 0x420fa1
push 0
lea eax, [ebp - 0x41c]
push eax
push 1
push str.S:_ML__NW___HI_
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
je 0x420fa1
mov eax, dword [ebp - 0x41c]
xorps xmm0, xmm0
movq qword [ebp - 0x424], xmm0
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x418]
mov dword [ebp - 0x428], 0xc
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x420fb0
lea eax, [ebp - 0x418]
push eax
call fcn.004b8873
add esp, 4
cmp word [ebp - 0x418], 0
jne 0x420fbe
xor ecx, ecx
jmp 0x420fd6
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420fc7
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x418]
mov ecx, esi
push eax
call fcn.00415880
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00493bec
mov esp, ebp
pop ebp
ret
Function at 0x4214a0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x520078]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov edx, str.Reboot:_Restarting_windows...
mov ecx, 0x527254
call fcn.00420320
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push 0
push 0x28
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x4214fd
lea eax, [ebp - 0x20]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42159f
lea eax, [ebp - 0xc]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x42155b
mov eax, dword [ebp - 0xc]
push 0
push 0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
push 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x42155b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x514
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x42159f
push 0x80040002
push 1
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownExW]
test eax, eax
jne 0x4215a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004200b0
add esp, 4
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493bec
mov esp, ebp
pop ebp
ret
call fcn.00422d50
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00493bec
mov esp, ebp
pop ebp
ret
Function at 0x421640
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x638
mov eax, dword [0x520078]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x624], 7
mov dword [ebp - 0x628], 0
mov word [ebp - 0x638], ax
cmp word [0x527de0], ax
jne 0x42167d
xor ecx, ecx
jmp 0x421694
mov ecx, 0x527de0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421685
sub ecx, edx
sar ecx, 1
push ecx
push 0x527de0
lea ecx, [ebp - 0x638]
call fcn.00415880
cmp dword [ebp - 0x624], 8
lea ecx, [ebp - 0x620]
push 0x104
push ecx
push 0x104
lea ecx, [ebp - 0x418]
push ecx
push 0
push 0
push 0
lea eax, [ebp - 0x638]
cmovae eax, dword [ebp - 0x638]
push 0
push eax
call fcn.004b8c60
add esp, 0x24
test eax, eax
jne 0x42177f
push eax
push 0x19
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42177f
push 0x4f407c
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.004ba179
add esp, 0xc
test eax, eax
jne 0x42177f
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.004ba179
add esp, 0xc
test eax, eax
jne 0x42177f
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.004ba179
add esp, 0xc
test eax, eax
jne 0x42177f
cmp dword [ebp - 0x624], 8
lea eax, [ebp - 0x638]
push 0
cmovae eax, dword [ebp - 0x638]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
mov eax, dword [ebp - 0x624]
cmp eax, 8
jb 0x42179d
inc eax
lea ecx, [ebp - 0x638]
push eax
push dword [ebp - 0x638]
call fcn.00415a10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493bec
mov esp, ebp
pop ebp
ret
Function at 0x4258d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d66cf
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x520078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
push 0x4f5988
push 0x3e9
push dword [esi + 0x44]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4259fc
push eax
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x4259fc
push dword [ebp - 0x18]
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4259fc
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4259fc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4259f5
push edi
push dword [ebp - 0x18]
push eax
call fcn.004ad070
add esp, 0xc
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x4259ee
push 0x24
call fcn.00493c02
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov ecx, eax
movups xmmword [eax + 0x10], xmm0
mov dword [eax + 0x20], 0
push dword [ebp - 0x14]
call fcn.00425030
mov dword [ebp - 4], 0xffffffff
mov edi, eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x4e3310]
call esi
test edi, edi
je 0x4259fc
mov eax, dword [ebp - 0x1c]
mov dword [eax], edi
mov al, 1
jmp 0x4259fe
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493bec
mov esp, ebp
pop ebp
ret 8

Function at 0x425f60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x520078]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 8], 0
cmp dword [esi + 0x40], 0
je 0x425f91
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493bec
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
push eax
push 0
push esi
push 0x425d30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x40], eax
test eax, eax
je 0x425f80
mov eax, dword [esi + 4]
test eax, eax
je 0x425fbe
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00493bec
mov esp, ebp
pop ebp
ret
Function at 0x425fe0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x40], 0
je 0x426034
mov eax, dword [esi + 0x48]
test eax, eax
je 0x426004
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esi + 0x48], 0
push 0x2710
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x426024
push 1
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x40], 0
pop esi
ret

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

Disassembly:
cmp dword [ecx + 0x14], 8
jb 0x426f98
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x426fab
test al, 0x10
jne 0x426fab
mov al, 1
ret
xor al, al
ret
Function at 0x42e510
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d89ed
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x520078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x84], edi
push ecx
lea ecx, [ebp - 0x79]
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x80], 0
call fcn.0042e240
mov dword [ebp - 4], 3
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x10]
mov byte [ebp - 4], 6
cmp dword [esi + 0x14], 0x10
jb 0x42e577
mov esi, dword [esi]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
push eax
mov edx, esi
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x78], 0x67452301
mov dword [ebp - 0x74], 0xefcdab89
mov dword [ebp - 0x70], 0x98badcfe
mov dword [ebp - 0x6c], 0x10325476
call fcn.0045d940
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x78]
call fcn.0045da00
add esp, 4
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x20]
mov ecx, edi
call fcn.00430090
add esp, 4
mov dword [ebp - 0x80], 1
mov dword [ebp - 4], 0xb
mov eax, dword [0x526170]
test eax, eax
je 0x42e5f1
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [0x526168], 1
jne 0x42e616
xor cl, cl
call fcn.00444230
test byte [0x52616c], 1
je 0x42e616
call fcn.00457cc0
and dword [0x52616c], 0xfffffffe
mov eax, dword [0x526170]
test eax, eax
je 0x42e626
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 8
xor ecx, ecx
call fcn.004450c0
mov byte [ebp - 4], 0
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493bec
mov esp, ebp
pop ebp
ret