joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432a81
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c3168
call fcn.004bd430
mov eax, dword [0x4f54b4]
mov eax, dword [eax - 0xc]
sub esp, 0x1c
test eax, eax
push ebx
push esi
push edi
mov edi, ecx
je 0x432aa6
xor eax, eax
jmp 0x432c5f
mov eax, dword [0x4f36c4]
mov esi, 0x4f36c4
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
and dword [ebp - 4], 0
mov eax, dword [0x4f36c4]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
cmp dword [0x4f5480], 0
mov dword [ebp - 0x24], 1
jne 0x432b08
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
push 0x4cf1b8
call fcn.00403396
pop ecx
pop ecx
push str.100.png
lea eax, [ebp - 0x18]
push eax
call fcn.004033e6
jmp 0x432bde
push str.http:__dubacdn.cmcmcdn.com_sem_installer_ald__d.png
lea eax, [ebp - 0x14]
push eax
call fcn.00403217
mov byte [ebp - 4], 2
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x432bb1
mov eax, dword [0x4f36c4]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
mov eax, dword [0x4f36c4]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.004323d6
lea eax, [ebp - 0x20]
push eax
call fcn.00431a0b
mov ebx, dword [ebp - 0x20]
add esp, 0xc
push ebx
xor ecx, ecx
lea esi, [ebp - 0x10]
call fcn.004031d3
cmp eax, 0xffffffff
je 0x432b8c
mov dword [0x4f548c], 1
jmp 0x432b9a
push str.http:__dubacdn.cmcmcdn.com_sem_installer_ald2__d.png
lea eax, [ebp - 0x14]
push eax
call fcn.004033e6
lea eax, [ebx - 0x10]
call fcn.004027f9
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004027f9
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
push dword [ebp - 0x14]
call fcn.00403396
pop ecx
pop ecx
push str.110.png
lea eax, [ebp - 0x18]
push eax
call fcn.004033e6
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004027f9
mov eax, dword [edi]
sub eax, 0x10
call fcn.0040317b
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x18]
push dword [esi - 0xc]
lea eax, [ebp - 0x20]
push esi
call fcn.0042a779
mov edi, dword [ebp - 0x1c]
push ecx
add edi, 0xfffffff0
mov eax, edi
mov dword [ebp - 0x14], esp
mov ebx, esp
call fcn.0040317b
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 6
mov ebx, dword [ebp - 0x20]
push ecx
add ebx, 0xfffffff0
mov dword [ebp - 0x24], esp
mov eax, ebx
mov dword [ebp - 0x24], esp
call fcn.0040317b
add eax, 0x10
mov ecx, esp
mov dword [ecx], eax
mov byte [ebp - 4], 5
call fcn.00432256
pop ecx
mov dword [ebp - 0x24], eax
pop ecx
mov eax, ebx
call fcn.004027f9
lea eax, [esi - 0x10]
call fcn.004027f9
mov eax, edi
call fcn.004027f9
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x433407
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [0x4f446c]
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x1c], esi
je 0x433424
mov edi, dword [eax + 4]
jmp 0x433426
xor edi, edi
cmp edi, esi
jne 0x433436
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
cmp edi, esi
je 0x43345b
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp edi, eax
je 0x43345b
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x43345b
push esi
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push edi
mov ecx, ebx
mov dword [ebx + 0x370], esi
call fcn.00433703
mov ecx, eax
cmp ecx, esi
mov dword [esp + 0x18], ecx
jne 0x433483
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x433598
mov eax, dword [0x4f446c]
cmp eax, esi
mov dword [esp + 0x20], esi
je 0x43349a
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov dword [eax + 4], ecx
mov eax, edi
call fcn.0040ccda
cmp dword [ebx + 0x360], esi
je 0x433534
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp ebp, dword [esp + 0x14]
je 0x4334f9
push 1
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp ebp, dword [esp + 0x14]
je 0x433515
push esi
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x433534
push esi
push esi
push 0xf
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [ebx + 4]
mov dword [ebx + 0x370], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x1c], esi
je 0x433579
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp edi, esi
je 0x433579
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x433579
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x4f446c]
cmp eax, esi
je 0x433589
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x374]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x434ff5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4be591
call fcn.004bd430
sub esp, 0x418
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call dword [0x4ed0b4]
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 0x43504d
call fcn.0043e08a
mov esi, eax
jmp 0x43514e
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x43506a
call fcn.0043e08a
jmp 0x435143
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
mov dword [ebp + 0xc], eax
je 0x435060
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 0x4350b0
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x4350a6
lea eax, [ebp - 0x424]
call fcn.0043517a
mov eax, 0x8007000e
jmp 0x435169
push 2
push eax
mov byte [ebp - 4], 2
call fcn.00435183
cmp eax, 0x400
pop ecx
pop ecx
jbe 0x4350d4
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.00436085
jmp 0x4350e0
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
mov dword [ebp - 4], 1
jmp 0x4350fb
mov ebx, dword [ebp - 0x424]
cmp ebx, esi
jne 0x43510c
mov esi, 0x8007000e
jmp 0x435145
call dword [0x4ed0b4]
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 0x435060
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.004351a8
mov esi, eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x435167
lea eax, [ebp - 0x424]
call fcn.0043517a
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x14
Function at 0x4360a6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x4360b9
push 0x80004005
call fcn.00402965
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 0x4360c0
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 0x4360f0
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push 4
push 0
push dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 0xc

Function at 0x436190
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 0x436257
xor eax, eax
cmp dword [ebp - 8], esi
je 0x4361d9
push dword [ebp - 8]
call ebx
cmp eax, esi
mov ecx, dword [ebp - 0xc]
mov edi, eax
mov dword [ebp - 8], ecx
jne 0x436257
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 0x43622d
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 8]
call fcn.00436190
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x43626a
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], pe_nt_image_headers32
call edi
test eax, eax
je 0x436201
cmp dword [ebp - 8], esi
je 0x436247
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 0x436261
push dword [ebp - 8]
call ebx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
cmp dword [ebp - 8], esi
je 0x436274
push dword [ebp - 8]
call ebx
mov eax, dword [ebp - 0xc]
jmp 0x436263
Function at 0x4388eb
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4bfba2
call fcn.004bd430
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 + 0x48], edi
mov eax, vtable.CBkBitmap.0
mov dword [esi + 0x44], eax
mov dword [esi + 0x54], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], eax
mov dword [esi + 0x6c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov byte [ebp - 4], 2
mov dword [esi + 0x70], edi
call fcn.00413b23
lea ecx, [esi + 0x78]
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 + 0x7c], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x43a31e
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x4c1cc3
call fcn.004bd430
sub esp, 0x21c
mov eax, dword [0x4f36c4]
push ebx
push esi
push edi
mov ecx, 0x4f36c4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x226]
push ebx
mov dword [ebp - 4], ebx
push eax
mov word [ebp - 0x228], bx
call fcn.0049cce0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x228]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004033e6
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004033e6
push 0x2e
lea esi, [ebp - 0x10]
call fcn.0042a844
cmp eax, 0xffffffff
je 0x43a3d3
mov ecx, eax
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.00403051
mov edi, esi
mov byte [ebp - 4], 1
call fcn.0040308d
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004027f9
mov eax, dword [0x4f36c4]
mov ecx, 0x4f36c4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 2
fld1
lea eax, [ebp - 0x10]
fstp qword [ebp - 0x20]
push eax
call fcn.0043a4e3
test eax, eax
jne 0x43a430
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004027f9
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004027f9
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x43a46b
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004027f9
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004027f9
mov eax, ebx
jmp 0x43a41f
push ebx
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, ebx
je 0x43a4d3
mov esi, dword [ebp + 0xc]
push ebx
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [edi + 0xa]
push eax
mov dword [ebp - 0x14], ebx
call fcn.00402bbc
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
cmp esi, ebx
je 0x43a4c9
cmp dword [ebp - 0x14], edi
jne 0x43a4c9
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x43a4b1
fld qword [ebp - 0x20]
fstp qword [eax]
mov esi, dword [ebp + 0xc]
mov eax, edi
call fcn.00402ba3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
inc ebx
jmp 0x43a451
mov edx, dword [ebp + 0xc]
xor eax, eax
call fcn.00402924
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, esi
jmp 0x43a451
Function at 0x44043c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x440455
mov eax, dword [ebp - 4]
jmp 0x44052f
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x44050a
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
nop
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4d2420]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4d2420]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4d2420]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4d2420]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4d2420]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4d2420]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4d2420]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4d2420]
dec ebp
jne 0x440474
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x440526
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x4d2420]
dec ecx
jne 0x440514
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4409ec
Capabilities:
Hash data with md5

Disassembly:
push esi
xor ecx, ecx
push 0x40
lea esi, [eax + 0x58]
push ecx
push esi
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
call fcn.0049cce0
add esp, 0xc
mov byte [esi], 0x80
pop esi
ret

Function at 0x440b9e
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
xor esi, esi
cmp dword [edi + 0x58], esi
jne 0x440bce
push 0x98
call fcn.00458807
mov ebx, eax
cmp ebx, esi
pop ecx
je 0x440bc1
call fcn.004409ec
mov eax, ebx
jmp 0x440bc3
xor eax, eax
cmp eax, esi
mov dword [edi + 0x58], eax
jne 0x440bce
xor eax, eax
jmp 0x440c44
push ebp
push 0x4d2f98
push dword [esp + 0x14]
call fcn.0049fd5e
mov ebp, eax
cmp ebp, esi
pop ecx
pop ecx
jne 0x440be9
xor eax, eax
jmp 0x440c43
cmp dword [edi + 0x5c], esi
mov ebx, 0xff
jne 0x440bfd
push ebx
call fcn.00487dae
pop ecx
mov dword [edi + 0x5c], eax
push ebp
push ebx
push 1
push dword [edi + 0x5c]
call fcn.004a000d
add esp, 0x10
cmp eax, esi
je 0x440c2e
push dword [edi + 0x5c]
mov esi, dword [edi + 0x58]
call fcn.00440a24
push ebp
push ebx
push 1
push dword [edi + 0x5c]
call fcn.004a000d
add esp, 0x10
test eax, eax
jne 0x440c10
push ebp
call fcn.004a009a
mov eax, dword [edi + 0x58]
pop ecx
lea esi, [edi + 4]
push esi
call fcn.00440abb
mov eax, esi
pop ebp
pop esi
pop ebx
ret 4
Function at 0x440c49
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push esi
push 0x58
xor esi, esi
lea eax, [esp + 0xc]
push esi
push eax
call fcn.0049cce0
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
lea esi, [esp + 0x18]
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.00440cab
push dword [ebp + 8]
mov eax, esi
call fcn.00440d41
add esp, 0x14
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x441989
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
cmp dword [esp + 8], ecx
jle 0x4419a1
mov eax, dword [esp + 4]
add eax, ecx
xor byte [eax], 0x88
inc ecx
cmp ecx, dword [esp + 8]
jl 0x441991
ret 8

Function at 0x4439d6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
je 0x443a71
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
push ecx
lea edx, [ebp - 8]
push edx
push ecx
mov ebx, str.ProgramPath
push ebx
push eax
call edi
cmp dword [ebp - 8], 1
je 0x443a18
cmp dword [ebp - 8], 2
jne 0x443a6f
push esi
mov esi, dword [ebp + 0xc]
call fcn.0040313b
mov eax, dword [ebp - 4]
shr eax, 1
inc eax
push eax
call fcn.00402e0e
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push 0
push ebx
push dword [eax]
call edi
test eax, eax
jne 0x443a57
mov eax, dword [ebp - 4]
shr eax, 1
and word [esi + eax*2], 0
mov dword [ebp - 0xc], 1
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x443a67
push eax
call fcn.0049b764
pop ecx
mov edx, esi
call fcn.00402944
pop esi
pop edi
pop ebx
mov eax, dword [ebp - 0xc]
leave
ret 8

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x443e3a
test al, 0x10
jne 0x443e3a
xor eax, eax
inc eax
ret
xor eax, eax
ret
Function at 0x4440e3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
je 0x444171
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
push ecx
lea edx, [ebp - 8]
push edx
push ecx
push dword [ebp + 8]
push eax
call edi
cmp dword [ebp - 8], 1
je 0x44411a
cmp dword [ebp - 8], 2
jne 0x444170
push esi
mov esi, dword [ebp + 0xc]
call fcn.0040313b
mov eax, dword [ebp - 4]
shr eax, 1
inc eax
push eax
call fcn.00402e0e
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [ebx]
call edi
test eax, eax
jne 0x444158
mov eax, dword [ebp - 4]
shr eax, 1
and word [esi + eax*2], 0
mov dword [ebp - 0xc], 1
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x444168
push eax
call fcn.0049b764
pop ecx
mov edx, esi
call fcn.00402944
pop esi
pop edi
mov eax, dword [ebp - 0xc]
leave
ret 8

Function at 0x4441f6
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x44421b
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4442dc
push edi
push 0x228
xor edi, edi
lea eax, [ebp - 0x22c]
push edi
push eax
mov dword [ebp - 4], 0x490
call fcn.0049cce0
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x44428b
lea eax, [ebp - 0x20c]
push 0x4ce95c
push eax
call fcn.0049f60e
test eax, eax
pop ecx
pop ecx
je 0x44427f
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x444255
jmp 0x444294
mov edi, dword [ebp - 0x228]
and dword [ebp - 4], 0
jmp 0x444294
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x4442b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4442db
push dword [ebp + 8]
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4442d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push edi
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x4443c1
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
test esi, esi
jne 0x4443d3
or eax, 0xffffffff
leave
ret
push 0x110
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.0049cce0
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x444416
cmp dword [ebp - 0x110], 5
jne 0x444416
cmp dword [ebp - 0x10c], 0
je 0x444423
push esi
call fcn.004442df
test eax, eax
pop ecx
jne 0x444423
leave
ret
push esi
call fcn.004441f6
pop ecx
leave
ret