joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6e03edf4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x6e07088c], 0
jne 0x6e03ee63
push ebx
call fcn.6e01ed43
xor ebx, ebx
mov byte [0x6e07088d], al
inc ebx
test al, al
jne 0x6e03ee5c
call fcn.6e047b14
cmp eax, 0x6b
jl 0x6e03ee5c
xor eax, eax
mov byte [ebp - 2], al
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 2]
push eax
call fcn.6e01ed43
add esp, 0x10
test al, al
je 0x6e03ee5c
movzx eax, byte [0x6e07088d]
cmp byte [ebp - 1], 0
cmovne eax, ebx
mov byte [0x6e07088d], al
mov byte [0x6e07088c], bl
pop ebx
cmp byte [0x6e07047b], 0
jne 0x6e03ee75
cmp byte [0x6e07047a], 0
je 0x6e03eeaf
cmp byte [0x6e07088d], 0
mov ecx, str.FALSE
push esi
mov eax, str.TRUE
mov esi, 0x6e070480
cmove eax, ecx
push eax
push str.IsRunningInAppContainer___s
push esi
call fcn.6e01ed43
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e03eeae
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
pop esi
mov al, byte [0x6e07088d]
leave
ret
Function at 0x6e040737
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x440
mov eax, 0x6e04df3f
call fcn.6e0493da
mov eax, dword [ebp + 8]
mov esi, 0x208
mov dword [ebp - 0x438], eax
xor edi, edi
mov dword [ebp - 0x440], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x43c], eax
mov dword [ebp - 0x444], eax
lea eax, [ebp - 0x424]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
push esi
lea eax, [ebp - 0x21c]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [ebp - 0x434], 0x104
lea eax, [ebp - 0x428]
xorps xmm0, xmm0
movsd qword [ebp - 0x430], xmm0
push eax
push 0x20019
push edi
push 0x6e05c800
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x6e040956
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x434]
mov ebx, edi
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
jmp 0x6e040843
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtof]
fstp qword [ebp - 0x44c]
movsd xmm0, qword [ebp - 0x44c]
comisd xmm0, xmmword [0x6e05cac0]
pop ecx
jbe 0x6e04082f
comisd xmm0, xmmword [ebp - 0x430]
jbe 0x6e04082f
lea eax, [ebp - 0x21c]
movsd qword [ebp - 0x430], xmm0
push eax
lea eax, [ebp - 0x424]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x434]
inc ebx
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test esi, esi
je 0x6e0407db
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x103
jne 0x6e040956
push str.ClientUserInterface
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov esi, eax
mov dword [esp], str.SoftwareMicrosoftSoftGrid_
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
xor ecx, ecx
mov dword [ebp - 0x42c], edi
push 2
pop edx
lea ebx, [eax + 0x105]
mov dword [ebp - 4], edi
add ebx, esi
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.6e01ed43
mov esi, eax
mov dword [ebp - 0x42c], esi
pop ecx
pop ecx
test esi, esi
je 0x6e040956
push ebx
push edi
push esi
call fcn.6e01ed43
push str.SoftwareMicrosoftSoftGrid_
push ebx
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea eax, [ebp - 0x424]
push eax
push ebx
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
push str.ClientUserInterface
push ebx
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0x30
lea eax, [ebp - 0x428]
push eax
push 0x20019
push edi
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x6e04094f
push dword [ebp - 0x438]
push str.LaunchCommand
push dword [ebp - 0x428]
call fcn.6e040989
add esp, 0xc
push dword [ebp - 0x43c]
push str.DDELaunchCommand
push dword [ebp - 0x428]
call fcn.6e040989
add esp, 0xc
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.6e04977e
pop ecx
call fcn.6e049327
ret
Function at 0x6e040989
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x6e04df67
call fcn.6e0493a3
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
push ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x14], ebx
push dword [ebp + 8]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [edi], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x6e040ace
cmp dword [ebp - 0x18], 1
jne 0x6e040ace
mov eax, dword [ebp - 0x14]
xor ecx, ecx
shr eax, 1
inc eax
mov dword [ebp - 4], ebx
push 2
pop edx
mov dword [ebp - 0x14], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.6e01ed43
mov esi, eax
mov dword [ebp - 0x1c], esi
pop ecx
test esi, esi
je 0x6e040ace
push dword [ebp - 0x14]
push ebx
push esi
call fcn.6e01ed43
mov eax, dword [ebp - 0x14]
add esp, 0xc
lea eax, [eax*2 - 2]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x6e040ac3
cmp dword [ebp - 0x18], 1
jne 0x6e040ac3
mov eax, dword [ebp - 0x14]
xor ecx, ecx
shr eax, 1
mov dword [ebp - 0x14], eax
inc eax
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.6e01ed43
mov dword [edi], eax
pop ecx
test eax, eax
je 0x6e040ac3
mov ecx, dword [ebp - 0x14]
inc ecx
push ecx
push ebx
push eax
call fcn.6e01ed43
lea eax, [ebp - 0x20]
push eax
push 0x6e05c7fc
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
mov ebx, eax
add esp, 0x18
test ebx, ebx
je 0x6e040aa7
push ebx
call fcn.6e01ed43
pop ecx
test al, al
je 0x6e040aa7
mov eax, dword [ebp - 0x14]
push ebx
inc eax
push eax
push dword [edi]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
jmp 0x6e040ac3
push dword [edi]
call fcn.6e04977e
and dword [edi], 0
pop ecx
jmp 0x6e040ac3
test esi, esi
je 0x6e040ace
push esi
call fcn.6e04977e
pop ecx
call fcn.6e049301
ret

Function at 0x6e0411f3
Capabilities:
Print debug messages

Disassembly:
push esi
push 0x6e05c544
xor esi, esi
call fcn.6e01ed43
pop ecx
test eax, eax
jne 0x6e041214
push 0x6e05c55c
call fcn.6e01ed43
pop ecx
test eax, eax
je 0x6e041217
xor esi, esi
inc esi
cmp byte [0x6e07047b], 0
jne 0x6e041229
cmp byte [0x6e07047a], 0
je 0x6e04125f
push edi
push esi
push str._BrowserIntegrationWin__IsLoadedInProcByAcrobat__d
mov edi, 0x6e070898
push edi
call fcn.6e01ed43
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e04124e
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e04125e
push edi
call fcn.6e003fc0
pop ecx
pop edi
mov eax, esi
pop esi
ret
Function at 0x6e0435b8
Capabilities:
Print debug messages

Disassembly:
push esi
push str.sftldr.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
jne 0x6e043636
push str.sftldr_wow64.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
jne 0x6e043636
push ebx
push str.AppVEntSubsystems32.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
setne bl
cmp byte [0x6e07047b], 0
jne 0x6e0435fa
cmp byte [0x6e07047a], 0
je 0x6e043631
movzx eax, bl
mov esi, 0x6e071400
push eax
push str._ACTWinBrowser__IsRunningInAppV_isAppV5___d
push esi
call fcn.6e01ed43
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e043621
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e043631
push esi
call fcn.6e003fc0
pop ecx
mov al, bl
pop ebx
pop esi
ret
cmp byte [0x6e07047b], 0
jne 0x6e043648
cmp byte [0x6e07047a], 0
je 0x6e04367a
push str._ACTWinBrowser__IsRunningInAppV_isAppV4OrEarlier
mov esi, 0x6e071400
push esi
call fcn.6e01ed43
cmp byte [0x6e07047a], 0
pop ecx
pop ecx
je 0x6e04366a
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e04367a
push esi
call fcn.6e003fc0
pop ecx
mov al, 1
pop esi
ret
Function at 0x6e047ca3
Capabilities:
Print debug messages

Disassembly:
push esi
push 8
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
je 0x6e047cc0
push 8
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp byte [0x6e07047b], 0
jne 0x6e047cd6
cmp byte [0x6e07047a], 0
je 0x6e047e15
push edi
push 0x64
push str.sizeof__t_ASMBlock____d
mov edi, 0x6e071858
push edi
call fcn.6e01ed43
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e047cfc
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e047d15
push edi
call fcn.6e003fc0
cmp byte [0x6e07047b], 0
pop ecx
jne 0x6e047d1e
cmp byte [0x6e07047a], 0
je 0x6e047d3e
push 4
push str.sizeof_Uns32____d
push edi
call fcn.6e01ed43
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e047d3e
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e047d57
push edi
call fcn.6e003fc0
cmp byte [0x6e07047b], 0
pop ecx
jne 0x6e047d60
cmp byte [0x6e07047a], 0
je 0x6e047d80
push 4
push str.sizeof_HANDLE____d
push edi
call fcn.6e01ed43
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e047d80
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e047d99
push edi
call fcn.6e003fc0
cmp byte [0x6e07047b], 0
pop ecx
jne 0x6e047da2
cmp byte [0x6e07047a], 0
je 0x6e047dc2
push 4
push str.sizeof_Handle32____d
push edi
call fcn.6e01ed43
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e047dc2
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e047ddb
push edi
call fcn.6e003fc0
cmp byte [0x6e07047b], 0
pop ecx
jne 0x6e047de4
cmp byte [0x6e07047a], 0
je 0x6e047e04
push 4
push str.sizeof_void____d
push edi
call fcn.6e01ed43
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e047e04
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e047e14
push edi
call fcn.6e003fc0
pop ecx
pop edi
mov eax, esi
pop esi
ret

Function at 0x6e047eae
Capabilities:
Print debug messages

Disassembly:
push 0x1c
mov eax, 0x6e04ca0e
call fcn.6e04936c
cmp byte [0x6e07047b], 0
mov ebx, 0x6e071858
mov edi, dword [ebp + 8]
jne 0x6e047ed9
mov al, byte [0x6e07047a]
test al, al
jne 0x6e047ed9
lea esi, [edi + 4]
jmp 0x6e047ef0
lea esi, [edi + 4]
push esi
push str.ASM_Release__s
push ebx
call fcn.6e01ed43
mov al, byte [0x6e07047a]
add esp, 0xc
test al, al
je 0x6e047efb
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e047f0b
push ebx
call fcn.6e003fc0
pop ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.6e01ed43
push dword [edi + 0x48]
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.6e03d080
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x6e047f3e
mov ecx, dword [ebx]
push 1
mov esi, dword [ecx]
mov ecx, esi
call dword [0x6e050848]
mov ecx, ebx
call esi
lea ecx, [ebp - 0x28]
call fcn.6e0108ff
and dword [edi + 0x4c], 0
and dword [edi + 0x44], 0
call fcn.6e049316
ret
Function at 0x6e047f54
Capabilities:
Print debug messages

Disassembly:
push 0x24
mov eax, 0x6e04e1e0
call fcn.6e04936c
cmp byte [0x6e07047b], 0
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], esi
jne 0x6e047f81
cmp byte [0x6e07047a], 0
je 0x6e047fd0
call fcn.6e01ed43
test al, al
mov edx, 0x6e051790
mov ecx, str._in_AppContaner
cmove ecx, edx
push ecx
push str.ASM_Retrieve_retrieving_shared_memory_in_Plug_in_s
push 0x6e071858
call fcn.6e01ed43
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e047fbc
push 0x6e071858
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e047fd0
push 0x6e071858
call fcn.6e003fc0
pop ecx
and dword [esi], 0
lea eax, [edi + 4]
and dword [ebx], 0
lea ecx, [ebp - 0x28]
push eax
call fcn.6e01ed43
push dword [edi + 0x48]
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.6e03d080
or dword [ebp - 4], 0xffffffff
mov ebx, eax
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
call fcn.6e0108ff
test ebx, ebx
jne 0x6e04804e
cmp byte [0x6e07047b], bl
jne 0x6e04801a
cmp byte [0x6e07047a], bl
je 0x6e0480c2
push str.ASM_Retrieve_ERROR__finding_memory_mapped_file_
mov ebx, 0x6e071858
push ebx
call fcn.6e01ed43
cmp byte [0x6e07047a], 0
pop ecx
pop ecx
je 0x6e04803c
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e0480c2
push ebx
call fcn.6e003fc0
pop ecx
jmp 0x6e0480c2
mov eax, dword [ebx]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x6e050848]
mov ecx, ebx
call esi
mov dword [edi + 0x44], eax
test eax, eax
jne 0x6e04807d
cmp byte [0x6e07047b], al
jne 0x6e048076
cmp byte [0x6e07047a], al
je 0x6e0480c2
push str.ASM_Retrieve_ERROR__getting_memory_mapped_file_handle_
jmp 0x6e04801f
mov eax, dword [ebx]
push dword [edi + 0x48]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x6e050848]
mov ecx, ebx
call esi
mov dword [edi + 0x4c], eax
test eax, eax
jne 0x6e0480b2
cmp byte [0x6e07047b], al
jne 0x6e0480a8
cmp byte [0x6e07047a], al
je 0x6e0480c2
push str.ASM_Retrieve_ERROR__mapping_for_writing_
jmp 0x6e04801f
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edi + 0x48]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x30]
mov eax, dword [edi + 0x4c]
mov dword [ecx], eax
call fcn.6e049316
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4014c0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4786d1
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x30]
test edi, edi
je 0x4014f1
mov ecx, edi
call fcn.0040129d
mov ecx, edi
call fcn.0040425f
mov edi, dword [esi + 0x34]
test edi, edi
je 0x401506
mov ecx, edi
call fcn.0040129d
mov ecx, edi
call fcn.0040425f
and dword [ebp - 4], 0
lea eax, [esi + 0x64]
push 0x410aba
push 2
push 0xc
push eax
call fcn.0043be07
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x402946
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
mov edx, dword [ebp + 8]
push edi
mov edi, ecx
not edx
movzx eax, byte [edi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x48a280]
inc edi
sub esi, 1
jne 0x402954
not edx
pop edi
mov eax, edx
pop esi
pop ebp
ret

Function at 0x402974
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov edx, ebx
test edi, edi
je 0x4029d8
mov al, byte [esi]
dec edi
inc esi
cmp al, 0x23
jne 0x4029a0
cmp edi, 2
jb 0x4029a0
cmp byte [esi], al
jne 0x4029a0
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x48a280]
test edi, edi
jne 0x402989
jmp 0x4029df
cmp al, 0x23
jne 0x4029c6
cmp byte [esi], al
jne 0x4029c6
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x48a280]
mov al, byte [esi]
inc esi
test al, al
jne 0x4029b8
pop edi
not edx
pop esi
mov eax, edx
pop ebx
pop ebp
ret
Function at 0x4166b4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
xor edi, edi
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4166ce
mov dword [esi + 4], edi
mov dword [esi], edi
call fcn.0040425f
mov dword [esi + 8], edi
lea ecx, [esi + 0xc]
call fcn.00410a27
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4166eb
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
call fcn.0040425f
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x41670c
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], edi
call fcn.0040425f
mov dword [esi + 0x44], edi
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x416721
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edi
call fcn.0040425f
mov dword [esi + 0x50], edi
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x416736
mov dword [esi + 0x58], edi
mov dword [esi + 0x54], edi
call fcn.0040425f
mov dword [esi + 0x5c], edi
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.00418c06
Function at 0x41cf22
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
mov eax, dword [0x4e8088]
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
lea edi, [eax + 8]
call esi
shr eax, 0xf
mov ecx, edi
and al, 1
movzx eax, al
push eax
push 0x1000
call fcn.004025a6
push 0x10
call esi
shr eax, 0xf
mov ecx, edi
and al, 1
movzx eax, al
push eax
push 0x2000
call fcn.004025a6
push 0x12
call esi
shr eax, 0xf
mov ecx, edi
and al, 1
movzx eax, al
push eax
push 0x4000
call fcn.004025a6
push 0x5d
call esi
shr eax, 0xf
mov ecx, edi
and al, 1
movzx eax, al
push eax
push 0x8000
call fcn.004025a6
pop edi
pop esi
pop ecx
ret
Function at 0x42813b
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov eax, 0x478ac7
call fcn.004785ac
sub esp, 0x1c8
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x1d4]
push 0x140
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x18], ebx
call fcn.00453150
add esp, 0xc
lea ecx, [ebp - 0x48]
mov edx, esi
push 0x48e820
call fcn.00437f82
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x428182
mov eax, dword [eax]
lea ecx, [ebp - 0x1d4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [ebp - 0x48]
mov edi, eax
call fcn.004362ae
cmp edi, 0xffffffff
je 0x4282b9
push 0x48e824
mov edx, esi
lea ecx, [ebp - 0x60]
call fcn.00437f82
pop ecx
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1a8]
push ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00437fce
pop ecx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.004362ae
test byte [ebp - 0x1d4], 0x10
je 0x42826f
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0x90]
call fcn.0043422b
mov byte [ebp - 4], 3
or ebx, 1
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x18], ebx
jb 0x428206
mov eax, dword [eax]
cmp byte [eax], 0x2e
je 0x428231
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0x78]
call fcn.0043422b
push 0x48e828
mov ecx, eax
or ebx, 2
call fcn.0043a4f4
mov byte [ebp - 0x11], 1
test al, al
je 0x428235
mov byte [ebp - 0x11], 0
test bl, 2
je 0x428245
lea ecx, [ebp - 0x78]
and ebx, 0xfffffffd
call fcn.004362ae
mov dword [ebp - 4], 2
test bl, 1
je 0x42825f
lea ecx, [ebp - 0x90]
and ebx, 0xfffffffe
call fcn.004362ae
cmp byte [ebp - 0x11], 0
je 0x428281
lea ecx, [ebp - 0x30]
call fcn.0042813b
jmp 0x428281
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004362ae
lea eax, [ebp - 0x1d4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4281a3
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esi + 0x14], 0x10
jb 0x4282b2
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x428a53
Capabilities:
Terminate process

Disassembly:
push esi
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x428a69
xor al, al
pop esi
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
ret
Function at 0x428a7d
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x428a9c
xor al, al
jmp 0x428b13
push ebx
push esi
mov dword [0], 4
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x428b0a
mov edi, 0x48e82c
push 0x24
lea ecx, [ebp - 0x18]
call fcn.00433e29
push edi
call fcn.0045ea6a
cmp dword [ebp - 4], 8
pop ecx
lea ecx, [ebp - 0x18]
cmovae ecx, dword [ebp - 0x18]
cmp dword [ebp - 8], eax
jne 0x428af4
push dword [ebp - 8]
push edi
push ecx
call fcn.004257dd
add esp, 0xc
test eax, eax
jne 0x428af4
mov ecx, dword [8]
call fcn.00428a53
lea ecx, [ebp - 0x18]
call fcn.004360ff
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x428ab7
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
pop esi
pop ebx
leave
ret

Function at 0x428b18
Capabilities:
Set registry value

Disassembly:
mov eax, 0x478b5a
call fcn.004785ac
sub esp, 0x490
lea eax, [ebp - 0x14]
push ebx
push esi
push edi
push eax
push 0xf003f
xor ebx, ebx
push ebx
push str.CSO2Global
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [0x628988]
lea edx, [ebp - 0x49c]
push edx
push ebx
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
pop edi
test eax, eax
jne 0x428b8a
push edi
lea eax, [ebp - 0x70]
push eax
push edi
push ebx
push str.DeviceID
push dword [ebp - 0x14]
call esi
push edi
lea eax, [ebp - 0x74]
push eax
push edi
push ebx
push str.VendorID
push dword [ebp - 0x14]
call esi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
lea ecx, [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
cmp eax, 0x400
jge 0x428bc2
push edi
lea eax, [ebp - 0x1c]
push eax
push edi
push ebx
push str.ScreenWidth
push dword [ebp - 0x14]
call esi
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x400
jge 0x428bdb
push edi
lea eax, [ebp - 0x18]
push eax
push edi
push ebx
push str.ScreenHeight
push dword [ebp - 0x14]
call esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x4c]
call fcn.0042751c
push str.LauncherTemp
mov edx, eax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x34]
call fcn.00437fce
pop ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0042813b
lea ecx, [ebp - 0x34]
call fcn.004362ae
lea ecx, [ebp - 0x4c]
call fcn.004362ae
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret