joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005250
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1005718
call fcn.01005444
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x100b70c
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1005065
cmp eax, esi
jne 0x1005058
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x1005068
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100503f
xor esi, esi
inc esi
mov eax, dword [0x100b708]
cmp eax, esi
jne 0x100507b
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x10050b6
mov eax, dword [0x100b708]
test eax, eax
jne 0x10050b0
mov dword [0x100b708], esi
push 0x1001194
push 0x1001188
call fcn.01004fbb
pop ecx
pop ecx
test eax, eax
je 0x10050b6
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x1005180
mov dword [0x100639c], esi
mov eax, dword [0x100b708]
cmp eax, esi
jne 0x10050da
push 0x1001184
push 0x100117c
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100b708], 2
cmp dword [ebp - 0x1c], ebx
jne 0x10050e7
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100b710], ebx
je 0x1005108
push 0x100b710
call fcn.010053b9
pop ecx
test eax, eax
je 0x1005108
push ebx
push 2
push ebx
call dword [0x100b710]
push dword [0x1006384]
push dword [0x1006388]
push dword [0x1006380]
call fcn.01002fa7
add esp, 0xc
mov dword [0x1006398], eax
cmp dword [0x100638c], ebx
jne 0x1005166
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x100639c], ebx
jne 0x1005174
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1006398]
call fcn.01005489
ret
call fcn.01005591
jmp 0x100501d

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x4cd34cd5
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x274a567b
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x10001040
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10007ac1
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x1000b078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.VirtualProtect
push str.kernel32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.VirtualAlloc
push str.kernel32.dll
mov dword [ebp - 0x174], eax
call esi
push eax
call edi
push 0x40
push 0x1000
push 0x100000
xor ebx, ebx
push ebx
mov dword [ebp - 0x16c], 0x1000
call eax
mov dword [ebp - 0x170], eax
cmp eax, ebx
je 0x1000124e
push 0x1000a068
push str.kernel32.dll
call esi
push eax
call edi
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push ebx
call eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x138], 0xf
mov dword [ebp - 0x13c], ebx
mov byte [ebp - 0x14c], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x10001104
sub eax, ecx
mov edi, eax
lea eax, [ebp - 0x114]
lea esi, [ebp - 0x14c]
call fcn.10001460
mov dword [ebp - 4], ebx
mov ebx, 2
mov eax, esi
call fcn.100012f0
mov edx, esi
push eax
push edx
lea esi, [ebp - 0x168]
call fcn.100012c0
lea esi, [ebp - 0x130]
mov byte [ebp - 4], 1
call fcn.100017b0
mov ebx, 0x10
mov byte [ebp - 4], 3
cmp dword [ebp - 0x154], ebx
jb 0x1000116d
mov eax, dword [ebp - 0x168]
push eax
call fcn.10001ffd
add esp, 4
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x154], 0xf
mov dword [ebp - 0x158], 0
mov byte [ebp - 0x168], 0
cmp dword [ebp - 0x11c], ebx
jae 0x1000119c
lea eax, [ebp - 0x130]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push str.ReadFile
push str.kernel32.dll
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [ebp - 0x170]
push 0
lea ecx, [ebp - 0x16c]
push ecx
push 0x100000
push edi
push esi
call eax
test eax, eax
je 0x10001205
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x178]
push ecx
push 0x40
push 0x100000
push edi
call dword [ebp - 0x174]
call edi
cmp dword [ebp - 0x11c], ebx
jb 0x1000121c
mov edx, dword [ebp - 0x130]
push edx
call fcn.10001ffd
add esp, 4
mov byte [ebp - 0x130], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
cmp dword [ebp - 0x138], ebx
jb 0x1000124e
mov eax, dword [ebp - 0x14c]
push eax
call fcn.10001ffd
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10001a8d
mov esp, ebp
pop ebp
ret

Function at 0x10001a8d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000b078]
jne 0x10001a97
repz ret
jmp fcn.100023a2
Function at 0x1000557a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1000b078]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.100029e9
and dword [ebp - 0x14], 0
cmp dword [0x1000c8a8], 0
mov dword [ebp - 0x18], eax
jne 0x1000562d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x100056d5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x100056d5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1000c8a8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1000c8ac], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1000c8b0], eax
call edi
push eax
call esi
mov dword [0x1000c8b8], eax
test eax, eax
je 0x1000562d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1000c8b4], eax
mov eax, dword [0x1000c8b4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10005686
cmp dword [0x1000c8b8], ecx
je 0x10005686
push eax
call esi
push dword [0x1000c8b8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10005686
test ebx, ebx
je 0x10005686
call edi
test eax, eax
je 0x1000567d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000567d
test byte [ebp - 8], 1
jne 0x10005686
or dword [ebp + 0x10], 0x200000
jmp 0x100056b9
mov eax, dword [0x1000c8ac]
cmp eax, dword [ebp - 0x18]
je 0x100056b9
push eax
call esi
test eax, eax
je 0x100056b9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100056b9
mov eax, dword [0x1000c8b0]
cmp eax, dword [ebp - 0x18]
je 0x100056b9
push eax
call esi
test eax, eax
je 0x100056b9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1000c8a8]
call esi
test eax, eax
je 0x100056d5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x100056d7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10001a8d
leave
ret
Function at 0x402994
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x4029d1
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x4029f1
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404808
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x40365c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4ad020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4036f4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4036d4
xor eax, eax
push ebp
push 0x4036cd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403710
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4036d4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4ad020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4ad020], ax
mov esp, ebp
pop ebp
ret

Function at 0x40441c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4b104c], 0
je 0x40447d
cmp word [0x4b1220], 0xd7b2
jne 0x404445
cmp dword [0x4b1228], 0
jbe 0x404445
mov eax, 0x4b121c
call dword [0x4b1238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4ad070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4044a4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4ad030], 0
jne 0x404499
push 0
push 0x4ad068
push 0x4ad070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4065a8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x40660e
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404808
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403220
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4065f8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406615
lea eax, [ebp - 0x10]
call fcn.00404598
ret

Function at 0x40926c
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00404a58
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x40928e
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40c2c4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c2fd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404688
jmp 0x40c306
mov eax, ebx
mov edx, esi
call fcn.004045ec
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c310
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c331
mov al, byte [esp]
jmp 0x40c333
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c9b8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c830
mov eax, dword [0x4b0348]
cmp byte [eax], 0
je 0x40ca34
mov eax, dword [0x4affb4]
call fcn.00402e48
call fcn.00402920
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409608
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40ca7c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40ca6a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4aff1c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4b1668]
call fcn.00405abc
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40d318
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d3ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404630
lea eax, [ebp - 8]
call fcn.00404aa8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404a58
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d3d8
mov eax, ebx
call fcn.004027b8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d3d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404a58
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d3bb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d400
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d3bb
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d3d8
mov eax, dword [ebp - 0x10]
call fcn.004027d8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d3f5
lea eax, [ebp - 8]
call fcn.00404598
ret

Function at 0x40d9ac
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40da10
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404808
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408e88
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40da17
lea eax, [ebp - 0xc]
call fcn.00404598
ret

Function at 0x4252d8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4b1888
cmp dword [edi], 0
jne 0x425354
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4b1884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4ad5b4
mov ecx, 2
call fcn.00402a2c
mov edx, 0x4252b0
lea eax, [esi + 5]
call fcn.004252d0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004252d0
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x425329
mov dword [0x4b1884], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4268f0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4268f6
ret
Function at 0x428f8c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x428fdd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x428fc4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x428fb4
jmp 0x428fdd
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x428fc5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x431ef0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404a48
xor eax, eax
push ebp
push 0x43201e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x431ff1
xor eax, eax
push ebp
push 0x431fea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404858
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x431fbf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x431fae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404858
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404a58
mov edx, ebx
pop ecx
call fcn.00402a2c
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431fb5
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4afe40]
mov dl, 1
mov eax, dword [0x407bfc]
call fcn.0040cb3c
call fcn.00403fb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432025
lea eax, [ebp - 4]
call fcn.00404598
ret
Function at 0x43202c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4321dd
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404c48
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4321f4
call fcn.004048a4
mov eax, ebx
call fcn.0042486c
mov edi, eax
dec edi
test edi, edi
jl 0x4320e4
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00424840
mov edx, dword [0x436354]
call fcn.00403978
test al, al
je 0x4320e0
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00424840
lea edx, [ebp - 0x14]
call fcn.00440a2c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404c48
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404918
inc esi
dec edi
jne 0x432092
mov al, byte [0x4321f8]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x432204
mov eax, dword [ebp - 0xc]
call fcn.0040df84
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404630
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00440a2c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4321f4
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.00440a2c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4321f4
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x4321f4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x432210
call fcn.00409ce4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4321e4
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004045bc
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004045bc
lea eax, [ebp - 0x14]
call fcn.00404598
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004045bc
ret
Function at 0x434568
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4346d1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404630
mov eax, dword [ebp - 0x10]
call fcn.004340dc
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x4345ba
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404af8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00434a48
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x43468f
xor eax, eax
push ebp
push 0x434688
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00434288
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00434700
test al, al
je 0x434666
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404688
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x434666
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404a58
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x434660
mov eax, dword [ebp - 0x14]
call fcn.00404a58
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404790
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00434568
dec ebx
cmp ebx, 0xffffffff
jne 0x434619
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43468f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00434288
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404a58
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00434274
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4346d8
lea eax, [ebp - 0x3c]
call fcn.00404598
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004045bc
ret