joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4096e0
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, eax
lea eax, [esi + 0x4b4]
push eax
push 2
mov dword [esi + 0x4c0], 0
call dword [0x41f218]
cmp dword [esi + 0x58], 3
jne 0x409708
mov ecx, dword [esi + 4]
push ecx
jmp 0x409720
mov edx, dword [esi + 0x4a4]
push edx
mov dword [esi + 0x4c], 1
call dword [0x41f170]
mov eax, dword [esi + 4]
push eax
call dword [0x41f2d0]
call fcn.00407fe0
mov eax, dword [esi + 0x58]
cmp eax, 7
je 0x40973d
cmp eax, 1
je 0x40973d
cmp eax, 4
jne 0x40978f
push ebx
mov ebx, dword [0x41f22c]
push edi
lea edi, [esi + 0x280]
push edi
call ebx
test eax, eax
je 0x40978d
mov ecx, dword [esi + 0x27c]
push ecx
push edi
push edi
call dword [0x41f220]
push edi
call ebx
test eax, eax
je 0x40978d
mov ebx, dword [0x41f09c]
push ebp
mov ebp, dword [0x41f0a0]
xor esi, esi
push edi
call ebp
cmp eax, 1
je 0x40978c
push 0x1f4
call ebx
inc esi
cmp esi, 5
jl 0x409777
pop ebp
pop edi
pop ebx
push 0
call dword [0x41f268]
xor eax, eax
pop esi
ret
Function at 0x40b0a0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x41d416
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x4273d0]
xor eax, esp
mov dword [esp + 0x290], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4273d0]
xor eax, esp
push eax
lea eax, [esp + 0x2a8]
mov dword fs:[0], eax
mov edi, ecx
push str.00000000000000000000000000000000
mov ebx, 0x20
mov eax, edi
call fcn.00405e40
push 0x206
xor ebx, ebx
lea ecx, [esp + 0xa2]
xor eax, eax
push ebx
push ecx
mov word [esp + 0xa8], ax
call fcn.0040f070
add esp, 0xc
push 0x104
lea edx, [esp + 0xa0]
push edx
push ebx
call dword [0x41f0cc]
lea eax, [esp + 0x9c]
push eax
call dword [0x41f230]
push str.360verify.dll
lea ecx, [esp + 0xa0]
push ecx
call dword [0x41f238]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0xa0]
call fcn.004058a0
mov dword [esp + 0x2b0], ebx
mov eax, dword [esp + 0x14]
push eax
call fcn.0040cac0
add esp, 4
test eax, eax
jne 0x40b20f
mov edx, dword [0x428cc4]
mov eax, dword [edx + 0xc]
mov ecx, 0x428cc4
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x2b0], 1
mov ecx, dword [esp + 0x14]
push ecx
push 0x421e98
lea edi, [esp + 0x20]
call fcn.00406210
mov esi, dword [esp + 0x20]
add esp, 8
push ebx
push 0x421ec8
push esi
push 0xffffffffffffffff
call dword [0x41f320]
lea eax, [esi - 0x10]
mov byte [esp + 0x2b0], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b1dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2b0], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b208
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40b2c3
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x40b293
push esi
call dword [0x41f22c]
test eax, eax
je 0x40b240
push esi
call fcn.0040cac0
add esp, 4
test eax, eax
jne 0x40b240
call fcn.0040c3f0
push eax
push esi
call fcn.0040c400
add esp, 8
jmp 0x40b293
push esi
call dword [0x41f164]
mov esi, eax
cmp esi, ebx
je 0x40b293
push str.GetCIDW
push esi
call dword [0x41f06c]
mov ebp, eax
cmp ebp, ebx
je 0x40b28c
push 0x7e
lea edx, [esp + 0x22]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x28], cx
call fcn.0040f070
add esp, 0xc
push 0x40
lea eax, [esp + 0x20]
push eax
call ebp
test eax, eax
je 0x40b28c
lea edx, [esp + 0x1c]
call fcn.00405970
push esi
call dword [0x41f190]
mov dword [esp + 0x2b0], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b2be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x2a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.0040dfa7
add esp, 0x2a0
ret
Function at 0x40ba40
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x804
mov eax, dword [0x4273d0]
xor eax, esp
mov dword [esp + 0x800], eax
mov eax, dword [edi]
test eax, eax
je 0x40ba67
push eax
call dword [0x41f190]
mov dword [edi], 0
test esi, esi
jne 0x40ba82
xor eax, eax
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.0040dfa7
add esp, 0x804
ret
push esi
call dword [0x41f234]
test eax, eax
jne 0x40babe
push esi
call dword [0x41f22c]
test eax, eax
je 0x40babb
push esi
call fcn.0040cac0
add esp, 4
test eax, eax
jne 0x40babb
call fcn.0040c3f0
push eax
push esi
call fcn.0040c400
add esp, 8
xor eax, eax
jmp 0x40bb3c
push esi
jmp 0x40bb36
push 0x800
lea eax, [esp + 4]
push 0
push eax
call fcn.0040f070
add esp, 0xc
push 0x400
lea ecx, [esp + 4]
push ecx
push 0
call dword [0x41f0cc]
lea edx, [esp]
push edx
call dword [0x41f230]
push esi
lea eax, [esp + 4]
push eax
mov ecx, eax
push ecx
call dword [0x41f220]
lea edx, [esp]
push edx
call dword [0x41f22c]
test eax, eax
je 0x40bb32
lea eax, [esp]
push eax
call fcn.0040cac0
add esp, 4
test eax, eax
jne 0x40bb32
call fcn.0040c3f0
push eax
lea ecx, [esp + 4]
push ecx
call fcn.0040c400
add esp, 8
xor eax, eax
jmp 0x40bb3c
lea edx, [esp]
push edx
call dword [0x41f164]
mov ecx, dword [esp + 0x800]
xor ecx, esp
mov dword [edi], eax
call fcn.0040dfa7
add esp, 0x804
ret

Function at 0x40c400
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1004
call fcn.0040f720
mov eax, dword [0x4273d0]
xor eax, esp
mov dword [esp + 0x1000], eax
push esi
mov esi, dword [esp + 0x1010]
push edi
mov edi, dword [esp + 0x1010]
push 0x1000
lea eax, [esp + 0xc]
push 0
push eax
call fcn.0040f070
push 0x800
lea ecx, [esp + 0x18]
push 0x41f59c
push ecx
call fcn.0040eb11
push 0x800
lea edx, [esp + 0x24]
push esi
push edx
call fcn.0040e536
push 0x800
lea eax, [esp + 0x30]
push 0x41f570
push eax
call fcn.0040e536
push 0x800
lea ecx, [esp + 0x3c]
push esi
push ecx
call fcn.0040e536
push 0x800
lea edx, [esp + 0x48]
push str.vL
push edx
call fcn.0040e536
add esp, 0x48
push 0x800
lea eax, [esp + 0xc]
push edi
push eax
call fcn.0040e536
push 0x800
lea ecx, [esp + 0x18]
push 0x41f530
push ecx
call fcn.0040e536
add esp, 0x18
push 0x14
push esi
lea edx, [esp + 0x10]
push edx
call dword [0x41f31c]
push eax
call dword [0x41f320]
pop edi
pop esi
cmp eax, 6
jne 0x40c4f3
push 5
push 0
push 0
push str.http:__down.360safe.com_setup.exe
push 0x41f524
push 0
call dword [0x41f210]
push 0
call fcn.0040f67c
int3
Function at 0x40c500
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x140
mov eax, dword [0x4273d0]
xor eax, esp
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x144]
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [0x41f1a8]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40c552
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.0040dfa7
add esp, 0x140
ret
push edi
mov edi, dword [0x41f1ac]
push 0
lea eax, [esp + 0x10]
push eax
push 0x40
lea ecx, [esp + 0x114]
push ecx
push esi
call edi
test eax, eax
je 0x40c5db
cmp dword [esp + 0xc], 0x40
jne 0x40c5db
mov edx, 0x5a4d
cmp word [esp + 0x108], dx
jne 0x40c5db
mov eax, dword [esp + 0x144]
push 0
push 0
push eax
push esi
call dword [0x41f1b0]
cmp eax, dword [esp + 0x144]
jne 0x40c5db
push 0
lea ecx, [esp + 0x10]
push ecx
push 0xf8
lea edx, [esp + 0x1c]
push edx
push esi
call edi
test eax, eax
je 0x40c5db
cmp dword [esp + 0xc], 0xf8
jne 0x40c5db
cmp dword [esp + 0x10], 0x4550
jne 0x40c5db
cmp word [esp + 0x16], bx
je 0x40c5db
mov ebx, 1
push esi
call dword [0x41f088]
mov ecx, dword [esp + 0x148]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0040dfa7
add esp, 0x140
ret
Function at 0x40cd10
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x402e74
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404a68
test esi, esi
jne 0x402eab
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.00404b58
jmp 0x402ecc
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402d10
mov dword [esp], eax
test esi, esi
je 0x402ecc
cmp dword [ebx], 0
je 0x402ecc
dec esi
jmp 0x402eb3
add esp, 0x10c
pop esi
pop ebx
ret

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

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

Function at 0x403a84
Capabilities:
Query or enumerate registry value

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

Function at 0x404860
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x539048], 0
je 0x4048c1
cmp word [0x53921c], 0xd7b2
jne 0x404889
cmp dword [0x539224], 0
jbe 0x404889
mov eax, 0x539218
call dword [0x539234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x535074
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 0x4048e8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x535034], 0
jne 0x4048dd
push 0
push 0x53506c
push 0x535074
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404a1c
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.00402ab0
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x539049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4049e4
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406bec
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 0x406c52
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.00404cd8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004034e0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406c3c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406c59
lea eax, [ebp - 0x10]
call fcn.00404a68
ret

Function at 0x40c5b0
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 0x40c5e9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404b58
jmp 0x40c5f2
mov eax, ebx
mov edx, esi
call fcn.00404abc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40ccb4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40cb1c
mov eax, dword [0x538ce8]
cmp byte [eax], 0
je 0x40cd30
mov eax, dword [0x538a94]
call fcn.004032e8
call fcn.00402c3c
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.00409b7c
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 0x40cd78
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40cd66
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x538a2c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x539664]
call fcn.00406058
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 0x40d5d4
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 0x40d6aa
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404b00
lea eax, [ebp - 8]
call fcn.00404f78
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404f28
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d694
mov eax, ebx
call fcn.00402ab0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d68d
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.00404f28
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d677
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d6bc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d677
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 0x40d694
mov eax, dword [ebp - 0x10]
call fcn.00402ae0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d6b1
lea eax, [ebp - 8]
call fcn.00404a68
ret

Function at 0x40dc10
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 0x40dc74
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.00404cd8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409588
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dc7b
lea eax, [ebp - 0xc]
call fcn.00404a68
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x539888
cmp dword [edi], 0
jne 0x423af4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x539884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x535538
mov ecx, 2
call fcn.00402cd0
mov edx, 0x423a50
lea eax, [esi + 5]
call fcn.00423a70
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00423a70
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 0x423ac9
mov dword [0x539884], 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 0x4250d0
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 0x4250d6
ret

Function at 0x427854
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 0x4278a5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42788c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42787c
jmp 0x4278a5
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 0x42788d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432450
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 0x4324c2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x432496
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00404c60
jmp 0x43249d
mov eax, ebx
call fcn.00404a68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4324c9
cmp dword [ebp - 8], 0
je 0x4324b9
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 0x4324d0
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 0x432572
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x432545
mov edx, ebx
mov eax, dword [0x424b94]
call fcn.004290dc
test al, al
je 0x432535
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.00428fec
call fcn.004044a4
jmp 0x432579
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x432500
mov ecx, dword [0x538a18]
mov dl, 1
mov eax, dword [0x4081e4]
call fcn.0040ce38
call fcn.004043f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432579
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 0x432580
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 0x4325d8
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 0x4325df
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x4325e8
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, 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 0x43263d
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432644
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4326b4
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, 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 0x432729
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0043238c
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.004290b0
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x432713
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432730
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x432738
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, 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 0x4327ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0043238c
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x432797
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4327b4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x432808
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]
xor eax, eax
push ebp
push 0x43284c
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432853
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret