joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f968
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x4570cc]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x4c], 0
push esi
xor esi, esi
and dword [ebp - 0x50], esi
push edi
mov edi, ecx
test edi, edi
jne 0x43f9a0
mov eax, dword [0x4575f4]
mov ecx, 0x4575f4
push 0x15b3c8
call dword [eax + 4]
jmp 0x43faf3
cmp dword [0x469650], esi
je 0x43f9b7
mov eax, dword [0x457330]
mov dword [edi], eax
xor edi, edi
inc edi
jmp 0x43faf3
and dword [edi], esi
lea eax, [ebp - 0x4c]
push ebx
push eax
push 0x20008
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x43f9de
push 0x15b3c9
jmp 0x43fad4
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 2
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x43f9ff
push 0x15b3ca
jmp 0x43fad4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x43fa14
push 0x15b3cb
jmp 0x43fad4
push dword [ebp - 0x50]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
pop ecx
test ebx, ebx
je 0x43facf
lea eax, [ebp - 0x50]
mov esi, ebx
push eax
push dword [ebp - 0x50]
push ebx
push 2
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x43fa4b
push 0x15b3cd
jmp 0x43fad4
push 0x44
lea eax, [ebp - 0x48]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x5c], 0x44
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0xb
call dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
jne 0x43fa7f
push 0x15b3ce
jmp 0x43fad4
xor edx, edx
lea ecx, [ebx + 4]
mov eax, esi
mov dword [ebp - 0x54], ecx
xor ebx, ebx
mov dword [ebp - 0x58], edx
inc ebx
cmp edx, dword [eax]
jae 0x43fac0
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x43fab2
mov eax, dword [ebp - 0x54]
push dword [eax]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x43fabe
mov edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
inc edx
add ecx, 8
jmp 0x43fa84
mov dword [edi], ebx
mov eax, dword [edi]
mov dword [0x469650], ebx
mov dword [0x457330], eax
jmp 0x43fae3
push 0x15b3cc
mov eax, dword [0x4575f4]
mov ecx, 0x4575f4
call dword [eax + 4]
xor bl, bl
movzx edi, bl
pop ebx
test esi, esi
je 0x43faf3
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x43fb05
and dword [ebp - 0x4c], 0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004429bf
mov esp, ebp
pop ebp
ret
Function at 0x440fb5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
push 0x10
mov esi, ecx
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x440ff7
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x440ff7
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x440ff7
cmp word [eax + 2], 0
je 0x440ff7
cmp dword [eax + 0x28], 0xfeef04bd
jne 0x440ff7
add eax, 0x30
jmp 0x440ffc
mov eax, 0x44f04c
pop edi
pop esi
ret

Function at 0x4410ba
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446170
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4570cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x18]
xor edi, edi
push eax
push 0x4692d8
push 3
mov dword [ebp - 0x18], edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeExW]
mov ebx, eax
test ebx, ebx
jne 0x441110
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
jmp 0x44119c
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
jne 0x441123
call fcn.00403dde
push ebx
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push edi
push ebx
xor ebx, ebx
push ebx
push 0x4692d8
push 3
call dword [sym.imp.VERSION.dll_GetFileVersionInfoExW]
test eax, eax
jne 0x441152
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
jmp 0x441194
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], ebx
push eax
push 0x448d20
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x441145
cmp dword [ebp - 0x10], 0x34
jne 0x441145
mov ecx, dword [ebp - 0x14]
movzx eax, word [ecx + 0xa]
mov dword [esi], eax
movzx eax, word [ecx + 8]
mov dword [esi + 4], eax
movzx eax, word [ecx + 0xe]
mov dword [esi + 8], eax
movzx eax, word [ecx + 0xc]
mov dword [esi + 0xc], eax
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4415f1
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446cc1
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x4570cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, 0x11c
lea eax, [ebp - 0x12c]
push edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x12c], edi
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x44165a
push 0x323658
mov ecx, 0x4575f4
jmp 0x441687
cmp dword [ebp - 0x128], 6
mov edi, 0x4575f4
jae 0x441677
mov eax, dword [0x4575f4]
mov ecx, edi
push 0x323659
call dword [eax + 4]
cmp dword [ebp - 0x11c], 2
je 0x44168f
push 0x32365a
mov ecx, edi
mov eax, dword [0x4575f4]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
test edx, 0x110
mov cl, byte [ebp - 0x12]
mov eax, dword [ebp - 0x128]
mov dword [esi], eax
mov eax, dword [ebp - 0x124]
mov byte [esi + 0xc], cl
setne cl
mov dword [esi + 4], eax
movzx eax, word [ebp - 0x18]
shr edx, 8
and dl, 1
mov dword [esi + 8], eax
mov byte [esi + 0xd], cl
mov eax, esi
mov byte [esi + 0xe], dl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004429bf
mov esp, ebp
pop ebp
ret

Function at 0x442c8e
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x4529f8
call fcn.004438ff
push 1
call fcn.00442fc4
pop ecx
test al, al
jne 0x442b45
push 7
call fcn.004436c7
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00442f8f
mov byte [ebp - 0x24], al
mov eax, dword [0x458538]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x442b3e
test eax, eax
jne 0x442baf
mov dword [0x458538], ecx
push 0x448650
push 0x448638
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x442b92
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x442c88
push 0x448634
push 0x4485ac
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x458538], 2
jmp 0x442bb4
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.00443131
pop ecx
call fcn.004436bb
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x442be4
push esi
call fcn.004430a7
pop ecx
test al, al
je 0x442be4
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.00443505
call esi
call fcn.004436c1
mov esi, eax
cmp dword [esi], edi
je 0x442c02
push esi
call fcn.004430a7
pop ecx
test al, al
je 0x442c02
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call fcn.004437dd
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_narrow_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.00443810
test al, al
jne 0x442c2d
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x442c36
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.0044314e
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x442c88
call fcn.00443944
ret
call fcn.004429cc
jmp 0x442b26
Function at 0x402cc4
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x4031a4
Capabilities:
Query or enumerate registry value

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

Function at 0x403f64
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x53404c], 0
je 0x403fc5
cmp word [0x534220], 0xd7b2
jne 0x403f8d
cmp dword [0x534228], 0
jbe 0x403f8d
mov eax, 0x53421c
call dword [0x534238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x522070
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 0x403fec
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x522034], 0
jne 0x403fe1
push 0
push 0x522068
push 0x522070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406610
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 0x406676
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.00404404
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ce0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406660
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40667d
lea eax, [ebp - 0x10]
call fcn.00404184
ret

Function at 0x40d09c
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 0x40d0d5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404274
jmp 0x40d0de
mov eax, ebx
mov edx, esi
call fcn.004041d8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40d790
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40d608
mov eax, dword [0x533838]
cmp byte [eax], 0
je 0x40d80c
mov eax, dword [0x533470]
call fcn.00402af4
call fcn.0040291c
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.00409bc8
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 0x40d854
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d842
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x5333cc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x534668]
call fcn.00405b24
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 0x40e0f0
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 0x40e1c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040421c
lea eax, [ebp - 8]
call fcn.004046a4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404654
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40e1b0
mov eax, ebx
call fcn.004027b4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40e1a9
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.00404654
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40e193
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40e1d8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40e193
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 0x40e1b0
mov eax, dword [ebp - 0x10]
call fcn.004027d4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e1cd
lea eax, [ebp - 8]
call fcn.00404184
ret

Function at 0x40e750
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 0x40e7b4
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.00404404
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004096bc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e7bb
lea eax, [ebp - 0xc]
call fcn.00404184
ret

Function at 0x4258e0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x42592d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0042570c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x425945
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x42594c
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.0042570c
dec esi
jne 0x42596e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x426ab0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x53488c
cmp dword [edi], 0
jne 0x426b2c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x534888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x5225d0
mov ecx, 2
call fcn.004029b0
mov edx, 0x426a88
lea eax, [esi + 5]
call fcn.00426aa8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00426aa8
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 0x426b01
mov dword [0x534888], 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 0x428108
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 0x42810e
ret

Function at 0x42a9dc
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 0x42aa2d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42aa14
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42aa04
jmp 0x42aa2d
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 0x42aa15
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4354dc
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.00404644
xor eax, eax
push ebp
push 0x43560a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4355dd
xor eax, eax
push ebp
push 0x4355d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404454
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4355ab
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 0x43559a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404454
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404654
mov edx, ebx
pop ecx
call fcn.004029b0
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 0x4355a1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x5332c8]
mov dl, 1
mov eax, dword [0x407eb8]
call fcn.0040d914
call fcn.00403b00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435611
lea eax, [ebp - 4]
call fcn.00404184
ret
Function at 0x435618
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 0x4357c9
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404844
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4357e0
call fcn.004044a0
mov eax, ebx
call fcn.00426044
mov edi, eax
dec edi
test edi, edi
jl 0x4356d0
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00426018
mov edx, dword [0x44faec]
call fcn.004034c0
test al, al
je 0x4356cc
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00426018
lea edx, [ebp - 0x14]
call fcn.0045b41c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404844
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404514
inc esi
dec edi
jne 0x43567e
mov al, byte [0x4357e4]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x4357f0
mov eax, dword [ebp - 0xc]
call fcn.0040ed28
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.0040421c
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.0045b41c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4357e0
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.0045b41c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4357e0
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, 0x4357e0
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, 0x4357fc
call fcn.0040a2a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4357d0
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004041a8
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004041a8
lea eax, [ebp - 0x14]
call fcn.00404184
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004041a8
ret
Function at 0x437680
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 0x437752
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 0x437724
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 0x437713
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.004029b0
mov eax, dword [ebp - 4]
call fcn.004375bc
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 0x43771a
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x437764
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 0x4377d6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4377aa
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.0040438c
jmp 0x4377b1
mov eax, ebx
call fcn.00404184
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4377dd
cmp dword [ebp - 8], 0
je 0x4377cd
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 0x43780c
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 0x4378ae
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x437881
mov edx, ebx
mov eax, dword [0x427bcc]
call fcn.0042c254
test al, al
je 0x437871
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.0042c164
call fcn.00403bac
jmp 0x4378b5
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x43783c
mov ecx, dword [0x5333a0]
mov dl, 1
mov eax, dword [0x407eb8]
call fcn.0040d914
call fcn.00403b00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4378b5
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