joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002a40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
lea ecx, [ebp - 0x28]
push ecx
push 0xf003f
xor esi, esi
push esi
lea edx, [eax + 0x1c]
mov eax, dword [eax + 0x18]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10002bf9
push eax
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x28]
push esi
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x30]
push edx
push esi
push esi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x10002a98
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10002bf9
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10002bf9
push ebx
push edi
mov edi, dword [ebp - 0x24]
add edi, 0x64
lea eax, [eax + eax + 2]
mov dword [ebp - 8], edi
mov dword [ebp - 0x38], edi
lea edi, [edi + eax + 1]
imul edi, ecx
add edi, 0x16
push edi
push 0x40
mov dword [ebp - 4], eax
mov esi, ecx
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push edi
mov ebx, eax
push 0
push ebx
call fcn.10008b30
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov byte [ebx], 1
mov dword [ebx + 1], esi
mov dword [ebx + 5], ecx
mov dword [ebx + 9], edx
mov eax, dword [ebp - 8]
push eax
call fcn.100036df
mov ecx, dword [ebp - 4]
push ecx
mov dword [ebp - 0x10], eax
call fcn.100036df
add esp, 0x14
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], eax
lea esi, [ebx + 0xd]
mov dword [ebp - 0x18], 0
jbe 0x10002bd6
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
push edx
push 0
push eax
call fcn.10008b30
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
push ecx
push 0
push edx
call fcn.10008b30
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
add esp, 0x18
inc eax
add ecx, 0x64
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 4]
push edx
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x18]
push 0
lea edx, [ebp - 8]
push edx
mov edx, dword [ebp - 0x28]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp dword [ebp - 0xc], 1
jne 0x10002b85
mov byte [esi], 0
cmp dword [ebp - 0xc], 4
jne 0x10002b8e
mov byte [esi], 1
cmp dword [ebp - 0xc], 3
jne 0x10002b97
mov byte [esi], 2
cmp dword [ebp - 0xc], 2
jne 0x10002ba0
mov byte [esi], 3
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
inc esi
push esi
call fcn.1000bd10
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
add esi, dword [ebp - 0x38]
push edx
push eax
push esi
call fcn.1000bd10
mov eax, dword [ebp - 0x18]
add esi, dword [ebp - 0x34]
inc eax
add esp, 0x18
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x1c]
jb 0x10002b27
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.100036a5
mov edx, dword [ebp - 0x14]
push edx
call fcn.100036a5
add esp, 8
push 0x42
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
pop edi
mov esi, eax
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10002d50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
push 0x1e
push str.Network
call fcn.10003830
mov ecx, dword [ebp + 0xc]
push ecx
push 0xff
push str.192.168.1.115
call fcn.10003830
mov edx, dword [ebp + 0x10]
add esp, 0x18
push 0
push 0
push 0
push 0x10002c00
push 0
push 0
mov dword [0x100154dc], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x100161e0], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
pop ebp
ret

Function at 0x10002dbf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100141c0]
jne 0x10002dc9
repz ret
jmp fcn.10003b10

Function at 0x1000b10b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100141c0]
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.100041d8
and dword [ebp - 0x14], 0
cmp dword [0x100161c4], 0
mov dword [ebp - 0x18], eax
jne 0x1000b1be
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1000b266
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1000b266
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x100161c4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x100161c8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x100161cc], eax
call edi
push eax
call esi
mov dword [0x100161d4], eax
test eax, eax
je 0x1000b1be
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x100161d0], eax
mov eax, dword [0x100161d0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1000b217
cmp dword [0x100161d4], ecx
je 0x1000b217
push eax
call esi
push dword [0x100161d4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1000b217
test ebx, ebx
je 0x1000b217
call edi
test eax, eax
je 0x1000b20e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000b20e
test byte [ebp - 8], 1
jne 0x1000b217
or dword [ebp + 0x10], 0x200000
jmp 0x1000b24a
mov eax, dword [0x100161c8]
cmp eax, dword [ebp - 0x18]
je 0x1000b24a
push eax
call esi
test eax, eax
je 0x1000b24a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000b24a
mov eax, dword [0x100161cc]
cmp eax, dword [ebp - 0x18]
je 0x1000b24a
push eax
call esi
test eax, eax
je 0x1000b24a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x100161c4]
call esi
test eax, eax
je 0x1000b266
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1000b268
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10002dbf
leave
ret
Function at 0x40d588
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a428]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00408d3c
mov dword [ebp - 0x14], eax
cmp dword [0x4b30f8], esi
jne 0x40d67b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d608
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d75b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d75b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d75b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4b30f8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4b30fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4b3100], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4b3108], eax
test eax, eax
je 0x40d678
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4b3104], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d6a0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d693
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d6b5
push 4
pop eax
jmp 0x40d75d
cmp dword [ebp - 0x14], esi
je 0x40d6b5
push dword [0x4b30f8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d69a
mov eax, dword [0x4b3104]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d713
cmp dword [0x4b3108], edi
je 0x40d713
push eax
call ebx
push dword [0x4b3108]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d713
test eax, eax
je 0x40d713
call ecx
test eax, eax
je 0x40d708
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d708
test byte [ebp - 8], 1
jne 0x40d713
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d743
mov eax, dword [0x4b30fc]
cmp eax, edi
je 0x40d740
push eax
call ebx
test eax, eax
je 0x40d740
call eax
mov esi, eax
test esi, esi
je 0x40d740
mov eax, dword [0x4b3100]
cmp eax, edi
je 0x40d740
push eax
call ebx
test eax, eax
je 0x40d740
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4b30f8]
call ebx
test eax, eax
je 0x40d75b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d75d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004040f0
mov esp, ebp
pop ebp
ret
Function at 0x402e78
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404a6c
test esi, esi
jne 0x402eaf
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404b5c
jmp 0x402ed0
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402d14
mov dword [esp], eax
test esi, esi
je 0x402ed0
cmp dword [ebx], 0
je 0x402ed0
dec esi
jmp 0x402eb7
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403574
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x490008], 0x8088405
inc edx
mov dword [ebx + 0x490008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403af0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x490024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403b88
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403b68
xor eax, eax
push ebp
push 0x403b61
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 0x403ba4
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 0x403b68
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x490024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x490024], ax
mov esp, ebp
pop ebp
ret

Function at 0x4048e8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4e504c], 0
je 0x404949
cmp word [0x4e5220], 0xd7b2
jne 0x404911
cmp dword [0x4e5228], 0
jbe 0x404911
mov eax, 0x4e521c
call dword [0x4e5238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x490094
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 0x404970
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x490034], 0
jne 0x404965
push 0
push 0x49008c
push 0x490094
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406964
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 0x4069ca
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.00404cdc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004036b4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4069b4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4069d1
lea eax, [ebp - 0x10]
call fcn.00404a6c
ret

Function at 0x40bd58
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 0x40bd91
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404b5c
jmp 0x40bd9a
mov eax, ebx
mov edx, esi
call fcn.00404ac0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bda4
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 0x40bdc5
mov al, byte [esp]
jmp 0x40bdc7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c45c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c2c4
mov eax, dword [0x4e47fc]
cmp byte [eax], 0
je 0x40c4d8
mov eax, dword [0x4e45d4]
call fcn.004032e0
call fcn.00402c34
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.00409514
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 0x40c520
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c50e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4e4578]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4e5668]
call fcn.00405dd0
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 0x40cdc4
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 0x40ce9a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404b04
lea eax, [ebp - 8]
call fcn.00404f7c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404f2c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40ce84
mov eax, ebx
call fcn.00402aa8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40ce7d
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.00404f2c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40ce67
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40ceac
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40ce67
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 0x40ce84
mov eax, dword [ebp - 0x10]
call fcn.00402ad8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cea1
lea eax, [ebp - 8]
call fcn.00404a6c
ret

Function at 0x40d408
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 0x40d46c
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.00404cdc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408f98
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d473
lea eax, [ebp - 0xc]
call fcn.00404a6c
ret
Function at 0x422c84
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x4e5888
cmp dword [esi], 0
jne 0x422d2a
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x4e5884]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x4904cc
mov ecx, 2
call fcn.00402cd4
mov edx, 0x422c5c
mov eax, dword [ebp - 8]
add eax, 5
call fcn.00422c7c
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.00422c7c
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x422cf1
mov eax, dword [ebp - 8]
mov dword [0x4e5884], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x424350
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 0x424356
ret

Function at 0x42691c
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 0x42696d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x426954
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x426944
jmp 0x42696d
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 0x426955
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4345f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404f1c
xor eax, eax
push ebp
push 0x434720
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4346f3
xor eax, eax
push ebp
push 0x4346ec
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404d2c
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4346c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4346b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404d2c
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404f2c
mov edx, dword [ebp - 0xc]
pop ecx
call fcn.00402cd4
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 0x4346b7
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4e44fc]
mov dl, 1
mov eax, dword [0x407de4]
call fcn.0040c5e0
call fcn.00404464
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x434727
lea eax, [ebp - 4]
call fcn.00404a6c
ret
Function at 0x434730
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 0x4348e1
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.0040511c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4348f8
call fcn.00404d78
mov eax, ebx
call fcn.004221ec
mov edi, eax
dec edi
test edi, edi
jl 0x4347e8
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004221c0
mov edx, dword [0x4318f4]
call fcn.00403e1c
test al, al
je 0x4347e4
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.004221c0
lea edx, [ebp - 0x14]
call fcn.0043b960
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.0040511c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404dec
inc esi
dec edi
jne 0x434796
mov al, byte [0x4348fc]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x434908
mov eax, dword [ebp - 0xc]
call fcn.0040d9e4
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404b04
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.0043b960
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4348f8
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.0043b960
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4348f8
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, 0x4348f8
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, 0x434914
call fcn.00409c20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4348e8
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404a90
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404a90
lea eax, [ebp - 0x14]
call fcn.00404a6c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404a90
ret

Function at 0x4360c8
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x436014
call sub.user32.dll_EnumWindows
ret