joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4063e0
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x150
push ebx
mov ebx, dword [esp + 0x15c]
push esi
mov esi, dword [esp + 0x15c]
push edi
mov edi, ebx
push esi
and edi, 4
call fcn.00406304
mov dword [esp + 0x18], eax
test bl, 8
je 0x406422
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x42eda8], eax
jmp 0x4065bc
push ebp
mov ebp, ebx
and ebp, 1
mov dword [esp + 0x18], ebp
je 0x40643f
test eax, eax
je 0x4065ab
test bl, 2
je 0x406575
push esi
push 0x42b1a0
call fcn.004067ed
test ebp, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatA]
je 0x406462
push str..
push 0x42b1a0
call ebp
jmp 0x406468
push esi
call fcn.004069a5
cmp byte [esi], 0
jne 0x406476
cmp byte [0x42b1a0], 0x5c
jne 0x40647e
push 0x408298
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ebp, [esi + eax]
lea eax, [esp + 0x20]
mov dword [esp + 0x10], ebp
push eax
push 0x42b1a0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x406563
lea ebp, [esp + 0x4c]
push 0x3f
mov eax, ebp
push eax
call fcn.004062c7
cmp byte [eax], 0
je 0x4064d0
cmp byte [esp + 0x150], 0
lea eax, [esp + 0x150]
cmove eax, ebp
mov ebp, eax
cmp byte [ebp], 0x2e
jne 0x4064e7
mov al, byte [ebp + 1]
test al, al
je 0x40653e
cmp al, 0x2e
jne 0x4064e7
cmp byte [ebp + 2], 0
je 0x40653e
push ebp
mov ebp, dword [esp + 0x14]
push ebp
call fcn.004067ed
test byte [esp + 0x20], 0x10
je 0x40650b
mov eax, ebx
and eax, 3
cmp al, 3
jne 0x406542
push ebx
push esi
call fcn.004063e0
jmp 0x406542
push edi
push esi
call fcn.00406256
test eax, eax
jne 0x406534
test edi, edi
je 0x40652c
push esi
push 0xfffffffffffffff1
call fcn.00405a87
push 0
push esi
call fcn.00405fc8
jmp 0x406542
inc dword [0x42eda8]
jmp 0x406542
push esi
push 0xfffffffffffffff2
call fcn.00405a87
jmp 0x406542
mov ebp, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4064a9
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x18], 0
je 0x4065bb
cmp dword [esp + 0x1c], 0
mov byte [ebp - 1], 0
je 0x4065ab
push esi
call fcn.004062a0
test eax, eax
je 0x4065bb
push esi
call fcn.00406229
mov eax, edi
or eax, 1
push eax
push esi
call fcn.00406256
test eax, eax
jne 0x4065b3
test edi, edi
je 0x4065ab
push esi
push 0xfffffffffffffff1
call fcn.00405a87
push 0
push esi
call fcn.00405fc8
jmp 0x4065bb
inc dword [0x42eda8]
jmp 0x4065bb
push esi
push 0xffffffffffffffe5
call fcn.00405a87
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x150
ret 8

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
push 0
cmove eax, ecx
push eax
push dword [esp + 0x14]
push ecx
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc
Function at 0x406659
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x400
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040602d
mov edi, dword [ebp + 0x14]
test eax, eax
jne 0x4066c9
push esi
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp + 0x18]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
mov byte [edi + 0x3ff], 0
pop esi
jne 0x4066c9
cmp dword [ebp + 0x18], 1
je 0x4066cc
cmp dword [ebp + 0x18], 2
je 0x4066cc
mov byte [edi], 0
pop edi
leave
ret 0x14

Function at 0x4066d1
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
ret 4

Function at 0x406734
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
dec edi
mov dword [ebp + 8], 0x61736e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
pop ecx
xor edx, edx
div ecx
push esi
add byte [ebp + 0xa], dl
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x406773
test edi, edi
jne 0x40673f
mov byte [esi], al
jmp 0x406775
mov eax, esi
pop edi
pop esi
pop ebp
ret 8

Function at 0x406870
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
cmp esi, 0xffffffff
je 0x406892
mov ecx, esi
and ecx, 0xfffffffe
push ecx
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, esi
pop esi
ret 4

Function at 0x406aad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c6e4], 0
push esi
jne 0x406ae7
xor ecx, ecx
push 8
mov edx, ecx
pop esi
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
sub esi, 1
jne 0x406abe
mov dword [ecx*4 + 0x42c6e0], edx
inc ecx
cmp ecx, 0x100
jl 0x406ab9
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
not ecx
test edx, edx
je 0x406b11
mov esi, dword [esp + 0xc]
movzx eax, byte [esi]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x42c6e0]
inc esi
sub edx, 1
jne 0x406af9
not ecx
mov eax, ecx
pop esi
ret 0xc
Function at 0x401fd0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
lea ebx, [esp + 0x24]
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._vfprintf
call sym._abort
jmp sym._mark_section_writable

Function at 0x402030
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x3c
mov eax, dword [0x4063a0]
test eax, eax
jle 0x402133
mov edx, dword [0x4063a4]
xor ebx, ebx
mov ecx, dword [edx + 4]
cmp ecx, esi
ja 0x402061
mov edi, dword [edx + 8]
add ecx, dword [edi + 8]
cmp esi, ecx
jb 0x4020d6
add ebx, 1
add edx, 0xc
cmp ebx, eax
jne 0x402050
mov dword [esp], esi
call sym.___mingw_GetSectionForAddress
test eax, eax
mov edi, eax
je 0x40215a
lea esi, [ebx + ebx*2]
mov ebx, dword [0x4063a4]
shl esi, 2
add ebx, esi
mov dword [ebx + 8], eax
mov dword [ebx], 0
call sym.__GetPEImageBase
add eax, dword [edi + 0xc]
mov dword [ebx + 4], eax
lea eax, [ebp - 0x34]
mov dword [esp + 4], eax
mov eax, dword [0x4063a4]
mov dword [esp + 8], 0x1c
mov eax, dword [eax + esi + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x40213a
mov eax, dword [ebp - 0x20]
cmp eax, 0x40
jne 0x4020e0
add dword [0x4063a0], 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 4
je 0x4020cf
cmp eax, 0x80
je 0x4020cf
cmp eax, 8
je 0x4020cf
mov eax, dword [ebp - 0x28]
add esi, dword [0x4063a4]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 0xc], esi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x4020cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call sym.___report_error
xor ebx, ebx
jmp 0x40206b
mov eax, dword [0x4063a4]
mov eax, dword [eax + esi + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call sym.___report_error
mov dword [esp + 4], esi
mov dword [esp], str.Address__p_has_no_image_section
call sym.___report_error
lea esi, [esi]

Function at 0x402830
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x402868
xor edx, edx
nop
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
ja 0x40285e
add ecx, dword [eax + 8]
cmp ebx, ecx
jb 0x40286a
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x402850
xor eax, eax
pop ebx
pop esi
ret
Function at 0x402e04
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x40328c
Capabilities:
Query or enumerate registry value

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

Function at 0x404118
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x52904c], 0
je 0x404179
cmp word [0x529220], 0xd7b2
jne 0x404141
cmp dword [0x529228], 0
jbe 0x404141
mov eax, 0x52921c
call dword [0x529238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x525070
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 0x4041a0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x525034], 0
jne 0x404195
push 0
push 0x525068
push 0x525070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4042cc
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.00402918
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x52904d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404294
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406714
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 0x40677a
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.00404588
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402e20
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406764
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406781
lea eax, [ebp - 0x10]
call fcn.00404318
ret

Function at 0x40c3a4
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 0x40c3dd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404408
jmp 0x40c3e6
mov eax, ebx
mov edx, esi
call fcn.0040436c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40ca98
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c910
mov eax, dword [0x52870c]
cmp byte [eax], 0
je 0x40cb14
mov eax, dword [0x5282e4]
call fcn.00402c34
call fcn.00402a80
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.00409ac0
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 0x40cb5c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40cb4a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x528230]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x529668]
call fcn.00405c0c
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 0x40d404
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 0x40d4da
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004043b0
lea eax, [ebp - 8]
call fcn.00404828
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004047d8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d4c4
mov eax, ebx
call fcn.00402918
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d4bd
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.004047d8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d4a7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d4ec
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d4a7
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 0x40d4c4
mov eax, dword [ebp - 0x10]
call fcn.00402938
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d4e1
lea eax, [ebp - 8]
call fcn.00404318
ret

Function at 0x40da98
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 0x40dafc
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.00404588
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409490
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40db03
lea eax, [ebp - 0xc]
call fcn.00404318
ret

Function at 0x42731c
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.00427174
dec esi
jne 0x42733e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x42849c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x52988c
cmp dword [edi], 0
jne 0x428518
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x529888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x5256a0
mov ecx, 2
call fcn.00402b14
mov edx, 0x428474
lea eax, [esi + 5]
call fcn.00428494
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00428494
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 0x4284ed
mov dword [0x529888], 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 0x429b64
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 0x429b6a
ret

Function at 0x42c128
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 0x42c179
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42c160
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42c150
jmp 0x42c179
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 0x42c161
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4359bc
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.004047c8
xor eax, eax
push ebp
push 0x435aea
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x435abd
xor eax, eax
push ebp
push 0x435ab6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004045d8
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x435a8b
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 0x435a7a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004045d8
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004047d8
mov edx, ebx
pop ecx
call fcn.00402b14
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 0x435a81
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x528140]
mov dl, 1
mov eax, dword [0x407ea4]
call fcn.0040cc28
call fcn.00403cb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435af1
lea eax, [ebp - 4]
call fcn.00404318
ret
Function at 0x435af8
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 0x435ca9
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004049c8
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x435cc0
call fcn.00404624
mov eax, ebx
call fcn.00427a30
mov edi, eax
dec edi
test edi, edi
jl 0x435bb0
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00427a04
mov edx, dword [0x44bfbc]
call fcn.004035b0
test al, al
je 0x435bac
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00427a04
lea edx, [ebp - 0x14]
call fcn.00455bdc
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004049c8
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404698
inc esi
dec edi
jne 0x435b5e
mov al, byte [0x435cc4]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x435cd0
mov eax, dword [ebp - 0xc]
call fcn.0040e070
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004043b0
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.00455bdc
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x435cc0
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.00455bdc
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x435cc0
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, 0x435cc0
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, 0x435cdc
call fcn.0040a19c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435cb0
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.0040433c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040433c
lea eax, [ebp - 0x14]
call fcn.00404318
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040433c
ret
Function at 0x438c30
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 0x438ca2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x438c76
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00404510
jmp 0x438c7d
mov eax, ebx
call fcn.00404318
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438ca9
cmp dword [ebp - 8], 0
je 0x438c99
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 0x438cb0
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 0x438d52
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x438d25
mov edx, ebx
mov eax, dword [0x429588]
call fcn.0042d924
test al, al
je 0x438d15
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.0042d834
call fcn.00403d60
jmp 0x438d59
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x438ce0
mov ecx, dword [0x528214]
mov dl, 1
mov eax, dword [0x407ea4]
call fcn.0040cc28
call fcn.00403cb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438d59
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

Function at 0x438d60
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 eax, eax
push ebp
push 0x438db8
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438dbf
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret