joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4638d0
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x463908
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.00461987
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046195f
jmp 0x463914
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x464fc2
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 0x465004
call fcn.0046aa7f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x465004
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x464ffb
xor eax, eax
jmp 0x46500c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00465012
pop edi
pop esi
pop ebx
ret 4

Function at 0x46afaf
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 0x46afdd
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46affb
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046af15
jmp 0x46affb
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46affb
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046af15
test edi, edi
mov eax, edi
jne 0x46afe5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402de0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004044b8
test esi, esi
jne 0x402e17
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.004045a8
jmp 0x402e38
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402c7c
mov dword [esp], eax
test esi, esi
je 0x402e38
cmp dword [ebx], 0
je 0x402e38
dec esi
jmp 0x402e1f
add esp, 0x10c
pop esi
pop ebx
ret

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

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

Function at 0x403550
Capabilities:
Query or enumerate registry value

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

Function at 0x4042b0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47204c], 0
je 0x404311
cmp word [0x472220], 0xd7b2
jne 0x4042d9
cmp dword [0x472228], 0
jbe 0x4042d9
mov eax, 0x47221c
call dword [0x472238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x469070
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 0x404338
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x469034], 0
jne 0x40432d
push 0
push 0x469068
push 0x469070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40446c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402a48
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x47204d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404434
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4066a8
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 0x40670e
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.00404728
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403138
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4066f8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406715
lea eax, [ebp - 0x10]
call fcn.004044b8
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404994
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408981
test al, 0x10
jne 0x408985
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40b570
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 0x40b5a9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004045a8
jmp 0x40b5b2
mov eax, ebx
mov edx, esi
call fcn.0040450c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40bc74
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40badc
mov eax, dword [0x471768]
cmp byte [eax], 0
je 0x40bcf0
mov eax, dword [0x471560]
call fcn.00402f4c
call fcn.00402ba8
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.00408d40
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 0x40bd38
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bd26
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x471524]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x472668]
call fcn.00405afc
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 0x40cb4c
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 0x40cbb0
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.00404728
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004085c8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cbb7
lea eax, [ebp - 0xc]
call fcn.004044b8
ret

Function at 0x40e13c
Capabilities:
Hash data with md5

Disassembly:
push ebx
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
mov edx, 0x40
lea ecx, [eax + 0x18]
mov byte [ecx], 0
inc ecx
dec edx
jne 0x40e14f
mov edx, 0x10
lea ecx, [eax + 0x58]
xor ebx, ebx
mov dword [ecx], ebx
add ecx, 4
dec edx
jne 0x40e15e
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebx
ret

Function at 0x41cdb4
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041cbe0
dec esi
jne 0x41cdd6
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41d7f4
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, 0x4694b0
lea ecx, [esp + 8]
mov dword [ecx], eax
mov eax, dword [esp]
mov dword [esp + 0xc], eax
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
test eax, eax
jle 0x41d8b8
mov edx, dword [ecx]
movzx edx, byte [edx + ebx]
shr edx, 2
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 1]
shr ebp, 4
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 1], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 2]
shr ebp, 6
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 2], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 3], dl
add esi, 4
add ebx, 3
dec eax
jne 0x41d82c
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
dec edx
je 0x41d8cf
dec edx
je 0x41d910
jmp 0x41d96d
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 2], 0x3d
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
jmp 0x41d96d
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov edx, dword [ecx]
movzx edx, byte [edx + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [ecx]
mov al, byte [eax + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 2], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
mov eax, dword [esp + 4]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x41d9d0
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp + 4], eax
mov dword [esp + 8], edx
xor esi, esi
xor edi, edi
xor eax, eax
mov ebp, ecx
test ebp, ebp
jns 0x41d9ed
add ebp, 3
sar ebp, 2
test ebp, ebp
jle 0x41daff
mov edx, 4
mov eax, esp
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + esi]
cmp ecx, 0x3d
jg 0x41da20
je 0x41da6c
sub ecx, 0x2b
je 0x41da62
sub ecx, 4
je 0x41da67
dec ecx
sub ecx, 0xa
jb 0x41da51
jmp 0x41da6f
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x41da32
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x41da40
jmp 0x41da6f
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x41da6f
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x41da6f
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x41da6f
mov byte [eax], 0x3e
jmp 0x41da6f
mov byte [eax], 0x3f
jmp 0x41da6f
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x41d9ff
mov al, byte [esp]
shl eax, 2
xor edx, edx
mov dl, byte [esp + 1]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi], al
lea eax, [edi + 1]
mov dl, byte [esp + 2]
cmp dl, 0xff
je 0x41dabf
cmp byte [esp + 3], 0xff
jne 0x41dabf
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
lea eax, [edi + 2]
inc edi
jmp 0x41daf7
cmp dl, 0xff
je 0x41daf7
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
mov eax, dword [esp + 8]
mov dl, byte [esp + 2]
shl edx, 6
or dl, byte [esp + 3]
mov byte [eax + edi + 2], dl
lea eax, [edi + 3]
add edi, 2
inc edi
dec ebp
jne 0x41d9f8
add esp, 0xc
pop ebp
pop edi
pop esi
ret

Function at 0x41e7fc
Capabilities:
Encode data using xor

Disassembly:
push ebx
add esp, 0xfffffff8
mov dword [esp], eax
mov dword [esp + 4], edx
mov edx, ecx
dec edx
test edx, edx
jb 0x41e822
inc edx
xor eax, eax
mov ecx, dword [esp + 4]
mov cl, byte [ecx + eax]
mov ebx, dword [esp]
xor byte [ebx + eax], cl
inc eax
dec edx
jne 0x41e811
pop ecx
pop edx
pop ebx
ret

Function at 0x41f70c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov bl, dl
dec ebx
test ebx, ebx
jb 0x41f760
inc ebx
xor edx, edx
mov ecx, edx
shl ecx, 2
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x46b6f0]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x46baf0]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x46bef0]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x46c2f0]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x41f71b
pop edi
pop esi
pop ebx
ret
Function at 0x423700
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x28]
mov edi, dword [ebx + 0x38]
sub edi, dword [ebx + 0x70]
sub edi, dword [ebx + 0x68]
jmp 0x42372f
mov eax, dword [ebx + 0x28]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x68]
ja 0x4237ae
push esi
mov eax, dword [ebx + 0x34]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004220c8
add esp, 0xc
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x58], ebp
mov eax, dword [ebx + 0x48]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x42377c
mov cx, word [esp]
sub cx, si
jmp 0x42377e
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x423765
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4237a4
mov cx, word [esp]
sub cx, si
jmp 0x4237a6
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x42378d
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x42380b
mov edx, dword [ebx + 0x34]
mov ecx, edi
add edx, dword [ebx + 0x68]
mov eax, ebp
add edx, dword [ebx + 0x70]
call fcn.004233f0
add dword [ebx + 0x70], eax
cmp dword [ebx + 0x70], 3
jb 0x4237f6
mov eax, dword [ebx + 0x34]
mov edx, dword [ebx + 0x68]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x44], eax
mov ecx, dword [ebx + 0x54]
shl eax, cl
mov edx, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x68]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x50]
mov dword [ebx + 0x44], eax
cmp dword [ebx + 0x70], 0x106
jae 0x42380b
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x42370a
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4280ac
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, eax
xor ebx, ebx
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x428111
push 1
call sub.user32.dll_GetClipboardData
mov esi, eax
test esi, esi
je 0x42810c
push esi
call sub.kernel32.dll_GlobalLock
mov dword [esp], eax
cmp dword [esp], 0
je 0x42810c
push esi
call sub.kernel32.dll_GlobalSize
mov esi, eax
test esi, esi
je 0x428103
mov eax, edi
mov edx, esi
call fcn.00404ac4
mov eax, edi
call fcn.004049ec
mov ecx, esi
mov edx, dword [esp]
call fcn.00407024
mov bl, 1
mov eax, dword [esp]
push eax
call sub.kernel32.dll_GlobalUnlock
call sub.user32.dll_CloseClipboard
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x428118
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.00404fac
xor eax, eax
push ebp
push 0x4281e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4281cb
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 4]
call fcn.00404ce8
inc eax
mov ebx, eax
add ebx, ebx
push ebx
push 0x42
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4281c6
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4281bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov ecx, ebx
call fcn.00402c3c
mov eax, dword [ebp - 0xc]
push eax
push 0xd
call sub.user32.dll_SetClipboardData
test eax, eax
je 0x4281a8
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4281c6
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
call sub.user32.dll_CloseClipboard
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4281e8
lea eax, [ebp - 4]
call fcn.00404b58
ret
Function at 0x434428
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 0x43442e
ret

Function at 0x436310
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 0x436361
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x436348
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x436338
jmp 0x436361
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 0x436349
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439884
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404984
mov eax, dword [ebp - 8]
call fcn.00404984
xor eax, eax
push ebp
push 0x439a3b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00404794
add eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp + 8]
call fcn.004044b8
test esi, esi
jbe 0x439a0a
push esi
push 0
push 0x410
call sub.kernel32.dll_OpenProcess
mov edi, eax
test edi, edi
je 0x439a0a
mov esi, dword [ebp - 0x38]
jmp 0x4399e3
push 0x1c
lea eax, [ebp - 0x5c]
push eax
push esi
push edi
call sub.kernel32.dll_VirtualQueryEx
test eax, eax
jne 0x439920
call sub.kernel32.dll_GetLastError
add esi, dword [ebp - 0x3c]
jmp 0x4399e3
cmp ebx, dword [ebp - 0x50]
jae 0x439951
mov eax, dword [ebp - 0x50]
xor edx, edx
push edx
push eax
push 0
push 0x10000
call fcn.0040eca4
mov ebx, eax
push ebx
lea eax, [ebp - 0x14]
mov ecx, 1
mov edx, dword [0x439860]
call fcn.00405a10
add esp, 4
lea eax, [ebp - 0x10]
push eax
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x50]
xor edx, edx
push edx
push eax
call fcn.0040eca4
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x5c]
push eax
push edi
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x4399da
cmp dword [ebp - 0x10], 0x400
jbe 0x4399da
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
call fcn.00404794
push eax
mov eax, dword [ebp - 4]
call fcn.00404994
mov ecx, dword [ebp - 0x14]
pop edx
call fcn.00439768
test eax, eax
je 0x4399da
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
call fcn.0040479c
mov eax, dword [ebp + 8]
cmp dword [ebp - 8], 0
je 0x4399da
mov edx, dword [ebp + 8]
mov edx, dword [edx]
mov eax, dword [ebp - 8]
call fcn.00404a7c
test eax, eax
jg 0x439a0a
lea eax, [ebx + esi]
cmp esi, eax
ja 0x4399ec
add esi, ebx
cmp esi, dword [ebp - 0x34]
jb 0x439902
push 0
lea eax, [ebp - 0x14]
mov ecx, 1
mov edx, dword [0x439860]
call fcn.00405a10
add esp, 4
push edi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439a42
lea eax, [ebp - 0x18]
call fcn.004044b8
lea eax, [ebp - 0x14]
mov edx, dword [0x439860]
call fcn.00405a1c
lea eax, [ebp - 8]
mov edx, 2
call fcn.004044dc
ret
Function at 0x43a4cc
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404984
xor eax, eax
push ebp
push 0x43a5f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
xor edx, edx
push ebp
push 0x43a5cb
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.00404994
push eax
push esi
mov eax, dword [0x4715bc]
mov eax, dword [eax]
call eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x43a52d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43a5e0
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
cmp al, 0xe9
jne 0x43a545
pop dword fs:[0]
add esp, 8
jmp 0x43a5e0
cmp al, 0xff
jne 0x43a556
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43a5e0
mov edi, ebx
sub edi, dword [ebp - 0x10]
sub edi, 5
lea eax, [ebp - 0xc]
push eax
push 0x40
push 5
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, 0xff
call fcn.00402a48
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [ebx], eax
mov edx, ebx
add edx, 5
mov eax, dword [ebp - 0x10]
call fcn.0043a690
mov edx, ebx
add edx, 4
mov byte [edx], al
mov eax, dword [ebp - 0x10]
mov byte [eax], 0xe9
mov eax, dword [ebp - 0x10]
inc eax
mov dword [eax], edi
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 5
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_VirtualProtect
add ebx, 5
mov eax, dword [ebp + 8]
mov dword [eax], ebx
push esi
call sub.kernel32.dll_FreeLibrary_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43a5dc
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a5fd
lea eax, [ebp - 4]
call fcn.004044b8
ret

Function at 0x43a60c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, eax
mov bl, 1
xor edx, edx
push ebp
push 0x43a67b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
mov edx, eax
sub edx, 5
mov edx, dword [edx]
mov dword [ebp - 8], edx
dec eax
movzx edi, byte [eax]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualProtect
mov ecx, edi
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.00407024
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
push eax
push 5
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, esi
sub eax, 5
call fcn.00402a78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43a687
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret