joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469090
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x481fd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
push edi
push 0x400
lea ecx, [esp + 0x14]
call fcn.004624c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
xor ebx, ebx
push 0x400
mov byte [eax + ecx - 1], bl
mov edx, dword [esp + 0x18]
push edx
mov dword [esp + 0x48], ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x469106
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], 0xffffffff
call fcn.00462600
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret
push 0x49b1f0
lea ecx, [esp + 0x14]
call fcn.00462d30
push str._system32driversetchosts
lea ecx, [esp + 0x14]
call fcn.00462710
lea ecx, [esp + 0x1c]
call fcn.004633b0
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push 0xffffffffffffffff
push eax
push ecx
mov byte [esp + 0x4c], 1
call fcn.00464870
add esp, 0xc
test al, al
jne 0x46917b
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], bl
call fcn.004634a0
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], 0xffffffff
call fcn.00462600
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret
mov ebp, dword [esp + 0x48]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebx
mov esi, ecx
push ebx
push esi
push ebp
lea ecx, [esp + 0x2c]
call fcn.004639c0
or edi, 0xffffffff
cmp eax, edi
je 0x469205
push esi
push eax
lea ecx, [esp + 0x24]
call fcn.00463670
push ebx
push ebx
push esi
push ebp
lea ecx, [esp + 0x2c]
call fcn.004639c0
cmp eax, edi
jne 0x4691a1
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.00464900
add esp, 8
mov byte [esp + 0x40], bl
test al, al
lea ecx, [esp + 0x1c]
je 0x469234
call fcn.004634a0
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], edi
call fcn.00462600
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], bl
call fcn.004634a0
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], edi
call fcn.00462600
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret
call fcn.004634a0
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], edi
call fcn.00462600
mov ecx, dword [esp + 0x38]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret
Function at 0x4692f0
Capabilities:
Get file version info

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x18]
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
mov dword [ebp], 0
mov dword [esp + 0x18], 0
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jne 0x46932b
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret 8
push esi
call fcn.00425fb0
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x469359
push edi
call fcn.0042585a
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x49b1f0
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x469387
push edi
call fcn.0042585a
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov eax, dword [esp + 0x1c]
push edi
mov ecx, dword [eax + 8]
mov dl, byte [eax + 8]
shr ecx, 0x10
mov byte [esp + 0x27], cl
mov ecx, dword [eax + 0xc]
mov byte [esp + 0x26], dl
mov dl, byte [eax + 0xc]
shr ecx, 0x10
mov byte [esp + 0x25], cl
mov byte [esp + 0x24], dl
call fcn.0042585a
mov eax, dword [esp + 0x24]
add esp, 4
mov dword [ebp], eax
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8

Function at 0x469640
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x46964e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push esi
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x469683
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
push esi
je 0x46967d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
ret 4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop esi
ret 4

Function at 0x469690
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push 3
push 0
push eax
push str.iexplore.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret 4
Function at 0x46d1e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4822f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x20]
push ebx
push esi
push edi
mov esi, ecx
push eax
push 3
push 0
lea ecx, [esp + 0x18]
call fcn.0047896f
lea ecx, [esp + 0xc]
add esi, 0x50
push ecx
mov ecx, esi
mov dword [esp + 0x28], 0
call fcn.00478153
push 4
lea edx, [esp + 0x18]
push 7
push edx
mov ecx, esi
mov edi, eax
call fcn.00478483
push 0xc
push 0x10
mov ecx, esi
call fcn.004784cf
push 4
lea eax, [esp + 0x18]
push 0x10
push eax
mov ecx, esi
call fcn.00478483
push 0xc
push 7
mov ecx, esi
call fcn.004784cf
lea ecx, [esp + 0xc]
call fcn.00478959
mov ecx, dword [esp + 0x30]
mov ebx, dword [sym.imp.GDI32.dll_CreatePen]
push ecx
push 3
push 0
call ebx
push eax
lea ecx, [esp + 0x10]
call fcn.00478902
lea edx, [esp + 0xc]
mov ecx, esi
push edx
call fcn.00478153
push 4
lea eax, [esp + 0x18]
push 0x1f
push eax
mov ecx, esi
call fcn.00478483
push 0xc
push 0x28
mov ecx, esi
call fcn.004784cf
push 4
lea ecx, [esp + 0x18]
push 0x28
push ecx
mov ecx, esi
call fcn.00478483
push 0xc
push 0x1f
mov ecx, esi
call fcn.004784cf
lea ecx, [esp + 0xc]
call fcn.00478959
mov edx, dword [esp + 0x34]
push edx
push 3
push 0
call ebx
push eax
lea ecx, [esp + 0x10]
call fcn.00478902
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.00478153
push 4
lea ecx, [esp + 0x18]
push 0x37
push ecx
mov ecx, esi
call fcn.00478483
push 0xc
push 0x40
mov ecx, esi
call fcn.004784cf
push 4
lea edx, [esp + 0x18]
push 0x40
push edx
mov ecx, esi
call fcn.00478483
push 0xc
push 0x37
mov ecx, esi
call fcn.004784cf
push edi
mov ecx, esi
call fcn.00478153
lea ecx, [esp + 0xc]
call fcn.00478959
mov dword [esp + 0xc], vtable.CGdiObject.0
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 1
call fcn.00478959
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x46e7d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00428c82
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x46e7f4
test byte [esp + 8], 2
je 0x46e7f4
call fcn.00428cf5
mov dword [eax], 0xd
call fcn.00428cfe
mov dword [eax], 5
jmp 0x46e7cd
xor eax, eax
ret

Function at 0x472a68
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x472aa0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004760ed
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004760c5
jmp 0x472aac
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x4742a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4742e2
call fcn.0047bc35
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4742e2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4742d9
xor eax, eax
jmp 0x4742ea
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004742f0
pop edi
pop esi
pop ebx
ret 4

Function at 0x4753da
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x4753fc
cmp dword [edi + 0x3c], 0
jne 0x4753fc
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0047bc35
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.00475429
pop edi
pop esi
pop ebx
ret 8

Function at 0x47c263
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47c291
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47c2af
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047c1c9
jmp 0x47c2af
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47c2af
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047c1c9
test edi, edi
mov eax, edi
jne 0x47c299
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403304
Capabilities:
Query or enumerate registry value

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

Function at 0x404098
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45a048], 0
je 0x4040f9
cmp word [0x45a21c], 0xd7b2
jne 0x4040c1
cmp dword [0x45a224], 0
jbe 0x4040c1
mov eax, 0x45a218
call dword [0x45a234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45806c
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 0x404120
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x458030], 0
jne 0x404115
push 0
push 0x458064
push 0x45806c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405e9c
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 0x405f02
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.0040448c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ec8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405eec
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405f09
lea eax, [ebp - 0x10]
call fcn.0040421c
ret

Function at 0x40b224
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 0x40b25d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040430c
jmp 0x40b266
mov eax, ebx
mov edx, esi
call fcn.00404270
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b928
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b790
mov eax, dword [0x45908c]
cmp byte [eax], 0
je 0x40b9a4
mov eax, dword [0x458ea8]
call fcn.00402d34
call fcn.00402bb4
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.00408a14
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 0x40b9ec
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b9da
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x458e5c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45a664]
call fcn.00405308
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 0x40c26c
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 0x40c342
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004042b4
lea eax, [ebp - 8]
call fcn.0040472c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004046dc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c32c
mov eax, ebx
call fcn.00402a28
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c325
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.004046dc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c30f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c354
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c30f
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 0x40c32c
mov eax, dword [ebp - 0x10]
call fcn.00402a58
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c349
lea eax, [ebp - 8]
call fcn.0040421c
ret

Function at 0x40c8b0
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 0x40c914
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.0040448c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408548
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c91b
lea eax, [ebp - 0xc]
call fcn.0040421c
ret
Function at 0x41ad40
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, 0x45a884
cmp dword [esi], 0
jne 0x41ade6
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 [0x45a880]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x4583ec
mov ecx, 2
call fcn.00402c48
mov edx, 0x41ad18
mov eax, dword [ebp - 8]
add eax, 5
call fcn.0041ad38
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.0041ad38
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 0x41adad
mov eax, dword [ebp - 8]
mov dword [0x45a880], 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 0x41c324
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 0x41c32a
ret

Function at 0x41e7f0
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 0x41e841
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41e828
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41e818
jmp 0x41e841
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 0x41e829
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d480
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.004046cc
xor eax, eax
push ebp
push 0x42d5b0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42d583
xor eax, eax
push ebp
push 0x42d57c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004044dc
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42d551
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 0x42d540
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004044dc
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004046dc
mov edx, dword [ebp - 0xc]
pop ecx
call fcn.00402c48
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 0x42d547
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x458e08]
mov dl, 1
mov eax, dword [0x4071ec]
call fcn.0040bad0
call fcn.00403c30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d5b7
lea eax, [ebp - 4]
call fcn.0040421c
ret
Function at 0x42d5c0
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 0x42d771
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004048cc
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42d788
call fcn.00404528
mov eax, ebx
call fcn.0041a2bc
mov edi, eax
dec edi
test edi, edi
jl 0x42d678
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041a290
mov edx, dword [0x4295b8]
call fcn.00403628
test al, al
je 0x42d674
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041a290
lea edx, [ebp - 0x14]
call fcn.00434380
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004048cc
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040459c
inc esi
dec edi
jne 0x42d626
mov al, byte [0x42d78c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42d798
mov eax, dword [ebp - 0xc]
call fcn.0040ce8c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004042b4
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.00434380
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42d788
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.00434380
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42d788
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, 0x42d788
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, 0x42d7a4
call fcn.00409120
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d778
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404240
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404240
lea eax, [ebp - 0x14]
call fcn.0040421c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404240
ret

Function at 0x42ed4c
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 0x42ec98
call sub.user32.dll_EnumWindows
ret