joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402a80
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x407044
call sub.KERNEL32.dll_EnterCriticalSection
mov ebx, dword [0x40703c]
sub esp, 4
test ebx, ebx
je 0x402acb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sub.KERNEL32.dll_TlsGetValue
sub esp, 4
mov esi, eax
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x402ac4
test esi, esi
je 0x402ac4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402aa0
mov dword [esp], 0x407044
call sub.KERNEL32.dll_LeaveCriticalSection
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x402cb0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x402d00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x402dd8
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x402d3e
cmp eax, 4
jne 0x402d60
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x402d4e
cmp edx, 4
je 0x402d4e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00402cb0
Function at 0x403150
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call fcn.00402970
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x403186
jmp 0x4031be
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x20
je 0x403183
cmp al, 9
je 0x403183
cmp al, 0x22
jne 0x4031a7
jmp 0x403206
cmp al, 9
je 0x4031b3
add ebx, 1
movzx eax, byte [ebx]
test al, 0xdf
jne 0x4031a0
jmp 0x4031b3
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x20
je 0x4031b0
cmp al, 9
je 0x4031b0
test byte [ebp - 0x30], 1
mov esi, 0xa
je 0x4031cd
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00402320
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
test al, al
je 0x403212
mov edx, ebx
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x22
jne 0x403202
cmp al, 0x22
jne 0x4031b3
lea ebx, [edx + 2]
jmp 0x4031b3
Function at 0x404034
Capabilities:
Encode data using xor

Disassembly:
inc eax
pop esi
xor dword [esi + 0xe], 0xcb0258cd
sub esi, 0xfffffffc
loop 0x404037
adc byte [eax - 0x1aa43047], bl
arpl word [edx], dx
mov ecx, 0xfe91f67c
xchg ecx, eax
mov bl, 0xb8
dec esi
mov dl, 0xfe
cli
xchg edi, eax
dec ebp
add dword [ecx + 0x1c61bed8], edx
shl edi, 0x50
or eax, 0x284313db
aas
push 0xfffffffffffffff8
rcr dword [ebx - 0x7b], cl
and al, 0xbd
salc
scasb al, byte es:[edi]
daa
scasb al, byte es:[edi]
and dl, byte [ebx - 0x261dd792]
wait
cmp eax, 0xbe85fa9e
sahf
pop edi
int3

Function at 0x408c36
Capabilities:
Execute syscall

Disassembly:
lea edx, [ebp - 8]
push 0x24
mov eax, dword [esi]
cmp byte [esi + 0x45890855], ah
invalid
mov dword [ebp - 0xc], ecx
push eax
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x10]
out dx, eax
add dword [ecx + 0x50], edx
mov dword [ebp - 4], 0xb00000
mov dword [ebp - 8], 0
call dword [0xfa40c194]
xor dword [eax], 0xffffffff
jne 0x408b4f
push edi
mov edi, dword [sym.imp.WSOCK32.dll_WSAGetLastError]
call edi
sbb al, 0x3c
jne 0x408b9e
mov dword [esi], eax
pop edi
pop esi
mov ebx, dword [ebp + 0xcc2b5]
invalid
cmc
jno 0x408b60
dec ebp
les ecx, [ebp + 0x6850fc45]
invalid
clc
movsd dword es:[edi], dword [esi]
jne 0x408bd2
push esi
invalid
add byte [edi - 1], al
js 0x408bef
xchg edi, eax
inc eax
imul eax, dword [ebx + 0x1ee4fff8], 0xc7358b56
rol dword [eax], 0xff
salc
test dword [edi - 0x74a1fa8b], ebp
in eax, 0x5b
ret
Function at 0x40b080
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
in al, dx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebp, dword [esi - 0x17b974f0]
stc
push 0x7d210b14
inc ebp
adc byte [eax], al
add byte [edi - 0x75b68100], ah
inc esi
or byte [eax + eax*8 + 0x568b6a43], al
lea ecx, [ebp + 8]
push 0
push ecx
push 0xffffffffffffff92
imul edx, dword [eax - 0xad1de6], 0x40c00c15
cmpsd dword [esi], dword es:[edi]
test dword [eax + 0x75], ecx
xor eax, 0xc098358b
inc eax
add bh, bh
adc al, 0x85
sal byte [ebp - 0x47], 0x8b
dec ebp
adc al, 0x5f
pop esi
mov dword [ecx], eax
mov es, ebx
call esi
add eax, 0xafc80
mov ebp, 0x401492
jne 0x40b082
mov eax, 0xb0117e
mov ecx, dword [ebp + 0x14]
pop edi
pop esi
imul eax, dword [ecx], 0
or al, 7
mov edi, dword [ecx]
or byte [ebp - 0x40], cl
jne 0x40b107
mov edx, dword [ebp + 0x14]
pop edi
pop esi
out dx, al
add ch, bl
clc
add byte [edx + 0x3be65d00], dl
pop ebp
out 0x3b, al
cmp edi, eax
clc
mov al, 2
loope 0x40b105
mov eax, dword [esi + 0xc]
test eax, eax
inc edx
and ecx, dword [edx - 0x367bf7b2]
dec ecx
sbb al, 0x8b
rcl byte [eax - 0x77], cl
dec eax
or byte [ebx - 0x374afba], cl
push esp
mov ecx, 0x9d6a0020
call 0x5053f0
mov edx, dword [esi + 0xc]
mov dword [edx + 0x4e], eax
std
mov eax, dword [0xc558b0c]
dec edi
lea esp, [ecx + 0x48b3f10]
push 0x57
push edx
scasb al, byte es:[edi]
dec dword [eax + edx - 0x7affbf40]
ror byte [ecx + 7], 0xb8
shr cl, 0x2b
add ebp, edi
add byte [ebx + 0x40a098a4], cl
add bh, bh
mov esp, dword [eax + ebx*4 - 0xffbf60]
xlatb
test eax, eax
je 0xadb285
call edi
add eax, 0x9ad05280
ja 0x40b1d5
jae 0x40b15a
add byte [edi], cl
ret
in al, dx
scasd eax, dword es:[edi]
inc ecx
jp 0x40b22a
call fcn.0040a940
mov esp, es
or al, 0xa3
pushal
or dword [ecx], eax
test dword [eax], esp
je 0x40b1f0
push ebx
call eax
jmp 0x40b1f8
push 1
call dword [0x5840c04c]
mov ecx, dword [esi - 0x20]
mov edx, dword [esi + 4]
out dx, al
inc ebp
adc dh, cl
add dword [eax + 0x40], edx
iretd
or ecx, eax
lodsd eax, dword [esi]
pop es
cmp eax, 0xb0063
jne 0x40b24f
sbb esi, 0x147
jne 0x40b24f
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebx - 0x47a0a482]
ja 0x40b259
add ebx, edi
mov dword [0x3dc35d5e], ebx
mov esi, 0x99000afc
cmp eax, 0xafcbe
cdq
adc cl, byte [ebx - 0x3e74ebb3]
mov eax, ecx
adc byte [ebx + 0x5f], bl
mov eax, 0x1117e
mov dword [ecx], edx
push edi
imul ebx, dword [ebx], 0xafca63d
add byte [ebp + 0x12], dh
mov ebp, edi
adc al, 0x8b
push ebp
sbb dword [ebx + 0x5f], ebx
mov eax, 0x8101117e
mov dword [ebx + 0x5e], ecx
pop ebp
ret
Function at 0x402ae0
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.00404290
test esi, esi
jne 0x402b16
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.00404380
jmp 0x402b34
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029f4
mov edi, eax
test esi, esi
je 0x402b34
cmp dword [ebx], 0
je 0x402b34
dec esi
jmp 0x402b1d
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403370
Capabilities:
Query or enumerate registry value

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

Function at 0x404114
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x51504c], 0
je 0x404175
cmp word [0x515220], 0xd7b2
jne 0x40413d
cmp dword [0x515228], 0
jbe 0x40413d
mov eax, 0x51521c
call dword [0x515238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x51106c
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 0x40419c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x511030], 0
jne 0x404191
push 0
push 0x511064
push 0x51106c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4063bc
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 0x406422
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.00404500
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ebc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40640c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406429
lea eax, [ebp - 0x10]
call fcn.00404290
ret

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

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

Function at 0x40c530
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 0x40c569
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404380
jmp 0x40c572
mov eax, ebx
mov edx, esi
call fcn.004042e4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40cc24
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40ca9c
mov eax, dword [0x514188]
cmp byte [eax], 0
je 0x40cca0
mov eax, dword [0x513d0c]
call fcn.00402c80
call fcn.00402920
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.0040949c
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 0x40cce8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40ccd6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x513c74]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x515668]
call fcn.004058d0
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 0x40d5b4
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 0x40d68a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404328
lea eax, [ebp - 8]
call fcn.004047a0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404750
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d674
mov eax, ebx
call fcn.004027b8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d66d
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.00404750
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d657
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d69c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d657
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 0x40d674
mov eax, dword [ebp - 0x10]
call fcn.004027d8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d691
lea eax, [ebp - 8]
call fcn.00404290
ret

Function at 0x40dca0
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 0x40dd04
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.00404500
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408e2c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dd0b
lea eax, [ebp - 0xc]
call fcn.00404290
ret

Function at 0x426778
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x515888
cmp dword [edi], 0
jne 0x4267f4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x515884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x5115d0
mov ecx, 2
call fcn.004029b4
mov edx, 0x426750
lea eax, [esi + 5]
call fcn.00426770
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00426770
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 0x4267c9
mov dword [0x515884], 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 0x427ea8
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 0x427eae
ret
Function at 0x42a5d8
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 0x42a629
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42a610
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42a600
jmp 0x42a629
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 0x42a611
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4376e0
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.00404740
xor eax, eax
push ebp
push 0x43780e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4377e1
xor eax, eax
push ebp
push 0x4377da
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404550
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4377af
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 0x43779e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404550
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404750
mov edx, ebx
pop ecx
call fcn.004029b4
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 0x4377a5
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x513b54]
mov dl, 1
mov eax, dword [0x4079ec]
call fcn.0040cdd8
call fcn.00403ccc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437815
lea eax, [ebp - 4]
call fcn.00404290
ret
Function at 0x43781c
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 0x4379cd
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404940
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4379e4
call fcn.0040459c
mov eax, ebx
call fcn.004256ec
mov edi, eax
dec edi
test edi, edi
jl 0x4378d4
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004256c0
mov edx, dword [0x44deb0]
call fcn.0040368c
test al, al
je 0x4378d0
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.004256c0
lea edx, [ebp - 0x14]
call fcn.0045d6fc
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404940
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404610
inc esi
dec edi
jne 0x437882
mov al, byte [0x4379e8]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x4379f4
mov eax, dword [ebp - 0xc]
call fcn.0040e278
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404328
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.0045d6fc
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4379e4
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.0045d6fc
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4379e4
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, 0x4379e4
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, 0x437a00
call fcn.00409bc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4379d4
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004042b4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004042b4
lea eax, [ebp - 0x14]
call fcn.00404290
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004042b4
ret
Function at 0x43b0c4
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 0x43b136
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x43b10a
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00404488
jmp 0x43b111
mov eax, ebx
call fcn.00404290
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b13d
cmp dword [ebp - 8], 0
je 0x43b12d
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 0x43b144
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 0x43b1e6
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x43b1b9
mov edx, ebx
mov eax, dword [0x4278cc]
call fcn.0042bdd4
test al, al
je 0x43b1a9
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.0042bce4
call fcn.00403d78
jmp 0x43b1ed
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x43b174
mov ecx, dword [0x513c5c]
mov dl, 1
mov eax, dword [0x4079ec]
call fcn.0040cdd8
call fcn.00403ccc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b1ed
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 0x43b1f4
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 0x43b24c
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 0x43b253
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret