joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x401000
Capabilities:
Packed with generic packer

Disassembly:
mov eax, 0x4354d4
push eax
push dword fs:[0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x401080
arpl word [edx + esi], si
lodsd eax, dword [esi]
pop ss
push es
int1
xchg edi, eax
movsb byte es:[edi], byte [esi]
ljmp 0xc445
jg 0x401097
adc byte [edi + 0x29], ch
pushal
pop esi
fbstp tbyte [edi]
jmp 0x400fdc
movsb byte es:[edi], byte [esi]
mov byte [0xc264a1cd], al
and bh, byte [ebp - 0x13]
bound edi, qword [edi - 0xdd5447c]
jle 0x4010cb
jg 0x401038
pop edx
mov byte [0x6f14cbc6], al
adc al, 0x6f
xor ah, byte [edi]
add eax, 0x196aabea
test al, 0xf7
sbb al, 0x64
jmp 0x4010fb
push ebx
mov eax, 0x89c6e558
scasb al, byte es:[edi]
nop
out dx, eax
mov al, 0x96
arpl sp, dx
pop dword [edi - 0x2ee6636e]
sub byte [eax], 0xb5
outsd dx, dword [esi]
and eax, 0x79f6fa2a
retf
adc al, 0x20
pop ss
sbb ecx, esi
in eax, dx
or dword [ebp - 0x941c93f], ebx
std
adc byte [edx], ah
salc
stc
and byte [ebx - 0xa622fb5], dh
lahf
cmp dword [edx - 0x1edc5b7c], ecx
and byte [ecx], 0xf4
or edi, ebx
je 0x40117d
cmp al, 0x68
popal
and eax, dword [eax - 0x61]
xchg esp, eax
inc ebx
invalid
cld
imul ebx, eax, 0xfffffff3
pop eax
std
mov eax, dword [0x80db60a5]
jmp 0x401178
Function at 0x405260
Capabilities:
Create pipe

Disassembly:
mov eax, dword [0x5e7654]
mov ecx, dword [0x5e70e4]
sub esp, 0xc0c
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
je 0x405369
mov esi, dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
mov edi, dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
mov ebp, dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp dword [0x5e7654], 0x959
jne 0x405350
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0
push 0
call esi
push 0x404d5c
push 0
call edi
push 0
lea ecx, [esp + 0x41c]
push ecx
call ebx
push 0
push 0
push 0
call ebp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
call dword [sym.imp.KERNEL32.dll_TlsFree]
push 0
lea edx, [esp + 0x81c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [esp + 0x10]
push eax
call fcn.00404fd0
add dword [esp + 0x10], 8
dec dword [esp + 0x14]
jne 0x4052a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0c
ret
Function at 0x40afaf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x441e78]
jne 0x40afb9
repz ret
jmp fcn.0040dc5c

Function at 0x40d852
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x441e78]
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.0040770f
and dword [ebp - 0x14], 0
cmp dword [0x4593e8], 0
mov dword [ebp - 0x18], eax
jne 0x40d905
push 0x40454c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40d9ad
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x404540
push ebx
call edi
test eax, eax
je 0x40d9ad
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x404530
push ebx
mov dword [0x4593e8], eax
call edi
push eax
call esi
push 0x40451c
push ebx
mov dword [0x4593ec], eax
call edi
push eax
call esi
push 0x404500
push ebx
mov dword [0x4593f0], eax
call edi
push eax
call esi
mov dword [0x4593f8], eax
test eax, eax
je 0x40d905
push 0x4044e8
push ebx
call edi
push eax
call esi
mov dword [0x4593f4], eax
mov eax, dword [0x4593f4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40d95e
cmp dword [0x4593f8], ecx
je 0x40d95e
push eax
call esi
push dword [0x4593f8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40d95e
test ebx, ebx
je 0x40d95e
call edi
test eax, eax
je 0x40d955
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40d955
test byte [ebp - 8], 1
jne 0x40d95e
or dword [ebp + 0x10], 0x200000
jmp 0x40d991
mov eax, dword [0x4593ec]
cmp eax, dword [ebp - 0x18]
je 0x40d991
push eax
call esi
test eax, eax
je 0x40d991
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40d991
mov eax, dword [0x4593f0]
cmp eax, dword [ebp - 0x18]
je 0x40d991
push eax
call esi
test eax, eax
je 0x40d991
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4593e8]
call esi
test eax, eax
je 0x40d9ad
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40d9af
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040afaf
leave
ret
Function at 0x402988
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 0x4029c5
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 0x4029e5
lea eax, [esp + 0x109]
push eax
call sub.KERNEL32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404ac4
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x402b4c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040485c
test esi, esi
jne 0x402b82
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.0040494c
jmp 0x402ba0
call sub.KERNEL32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402a60
mov edi, eax
test esi, esi
je 0x402ba0
cmp dword [ebx], 0
je 0x402ba0
dec esi
jmp 0x402b89
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

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

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

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x63d008], 0x8088405
inc edx
mov dword [ebx + 0x63d008], edx
fld qword [ebx + 0x63d058]
push 0
push edx
fild qword [esp]
add esp, 8
fmulp st(1)
pop ebx
ret

Function at 0x4038dc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x63d010]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403974
push 0x80000002
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
jne 0x403954
xor eax, eax
push ebp
push 0x40394d
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 0x403990
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 0x403954
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_RegCloseKey
ret
mov ax, word [0x63d010]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x63d010], ax
mov esp, ebp
pop ebp
ret
Function at 0x40465c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x65004c], 0
je 0x4046bd
cmp word [0x650220], 0xd7b2
jne 0x404685
cmp dword [0x650228], 0
jbe 0x404685
mov eax, 0x65021c
call dword [fcn.00650238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x63d060
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 0x4046e4
push 0xfffffffffffffff5
call sub.KERNEL32.dll_GetStdHandle
push eax
call sub.KERNEL32.dll_WriteFile
pop edx
ret
cmp byte [0x63d020], 0
jne 0x4046d9
push 0
push 0x63d080
push 0x63d060
push 0
call sub.USER32.dll_MessageBoxA
pop edx
ret

Function at 0x404810
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.004027ac
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x65004d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4047d8
push eax
push esi
push ebx
call sub.KERNEL32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4063e8
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406618
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
je 0x40646b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406618
push 0x80000002
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
je 0x40646b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406634
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
jne 0x4064f4
xor eax, eax
push ebp
push 0x4064ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00406230
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.dll_RegQueryValueExA
test eax, eax
je 0x4064d2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406654
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.dll_RegQueryValueExA
test eax, eax
je 0x4064d2
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4064f4
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.dll_lstrcpyn
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.dll_GetThreadLocale
push eax
call sub.KERNEL32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x40660e
cmp byte [ebp - 0xd], 0
jne 0x40653b
cmp byte [ebp - 0x12], 0
je 0x40660e
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.dll_lstrlen
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406554
dec ebx
cmp byte [ebx], 0x2e
je 0x406563
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x406553
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40660e
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4065a0
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.dll_lstrcpyn
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40660e
cmp byte [ebp - 0xd], 0
je 0x40660e
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.dll_lstrcpyn
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40660e
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.dll_lstrcpyn
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40988c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404d0c
push eax
call sub.KERNEL32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4098a5
test al, 0x10
jne 0x4098a9
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40c5c4
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 0x40c5fd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040494c
jmp 0x40c606
mov eax, ebx
mov edx, esi
call fcn.004048b0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40dbf4
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 0x40dc58
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.00404ac4
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409660
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dc5f
lea eax, [ebp - 0xc]
call fcn.0040485c
ret

Function at 0x424514
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.00424398
dec esi
jne 0x424536
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x425660
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x650a28
cmp dword [edi], 0
jne 0x4256dc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x650a24]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x63d5f4
mov ecx, 2
call fcn.00402a20
mov edx, 0x425638
lea eax, [esi + 5]
call fcn.00425658
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00425658
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 0x4256b1
mov dword [0x650a24], 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 0x426d00
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 0x426d06
ret

Function at 0x429524
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 0x429575
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42955c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42954c
jmp 0x429575
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 0x42955d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4416e8
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.00404cfc
xor eax, eax
push ebp
push 0x441816
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.USER32.dll_OpenClipboard
test eax, eax
je 0x4417e9
xor eax, eax
push ebp
push 0x4417e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404b14
inc eax
push eax
push 0x2002
call sub.KERNEL32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4417b7
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 0x4417a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404b14
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404d0c
mov edx, ebx
pop ecx
call fcn.00402a20
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 0x4417ad
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_GlobalUnlock
ret
mov ecx, dword [0x64ec08]
mov dl, 1
mov eax, dword [0x40844c]
call fcn.0040ce98
call fcn.00404238
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44181d
lea eax, [ebp - 4]
call fcn.0040485c
ret
Function at 0x441824
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 0x4419d5
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404efc
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4419ec
call fcn.00404b60
mov eax, ebx
call fcn.00424c00
mov edi, eax
dec edi
test edi, edi
jl 0x4418dc
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00424bd4
mov edx, dword [0x436ae4]
call fcn.00403bf8
test al, al
je 0x4418d8
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00424bd4
lea edx, [ebp - 0x14]
call fcn.004494a0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404efc
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404bd4
inc esi
dec edi
jne 0x44188a
mov al, byte [0x4419f0]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x4419fc
mov eax, dword [ebp - 0xc]
call fcn.0040e1cc
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004048f4
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.004494a0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4419ec
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 + 0x2f0]
call fcn.004494a0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4419ec
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, 0x4419ec
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, 0x441a08
call fcn.0040a5a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4419dc
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404880
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404880
lea eax, [ebp - 0x14]
call fcn.0040485c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404880
ret
Function at 0x44281c
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x4428ee
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x2002
call sub.KERNEL32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4428c0
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_GlobalLock
xor edx, edx
push ebp
push 0x4428af
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00402a20
mov eax, dword [ebp - 4]
call fcn.00442758
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.USER32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4428b6
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_GlobalUnlock
ret

Function at 0x442900
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
push 1
call sub.USER32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x442972
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x442946
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00404a4c
jmp 0x44294d
mov eax, ebx
call fcn.0040485c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442979
cmp dword [ebp - 8], 0
je 0x442969
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4429a8
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x442a4a
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.USER32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x442a1d
mov edx, ebx
mov eax, dword [0x426724]
call fcn.0042adcc
test al, al
je 0x442a0d
movzx eax, bx
push eax
call sub.USER32.dll_GetClipboardData
mov esi, eax
push 9
call sub.USER32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.0042acdc
call fcn.004042e4
jmp 0x442a51
movzx eax, bx
push eax
call sub.USER32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x4429d8
mov ecx, dword [0x64eca0]
mov dl, 1
mov eax, dword [0x40844c]
call fcn.0040ce98
call fcn.00404238
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442a51
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret