joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a2d54
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4a2d6b
add esp, 0xfffffff0
call fcn.004052c4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043ade0
mov eax, dword [0x4aeed0]
cmp byte [eax], 0
jne 0x4a2d98
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4af10c]
cmp word [eax + 2], 0
jne 0x4a2db2
mov eax, dword [0x4af10c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a4e4c
mov eax, dword [0x4af1e0]
cmp word [eax + 2], 0
jne 0x4a2dcc
mov eax, dword [0x4af1e0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a505c
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x445620]
call fcn.0044a628
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4a560c
mov dl, 1
mov eax, dword [0x424460]
call fcn.00404d78
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x424460]
call fcn.00404d78
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x448cb8]
call fcn.00451420
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4a2fac
mov eax, dword [0x4af00c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004518b4
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4a58f4
mov dl, 1
mov eax, dword [0x424460]
call fcn.00404d78
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4af00c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.004119d4
test eax, eax
je 0x4a2edd
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.004117b8
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004119b8
test eax, eax
je 0x4a2ef5
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00406a20
push ebx
push 0x4a481c
call fcn.00498a64
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4aeed0]
cmp byte [eax], 0
jne 0x4a2f46
mov eax, ebx
call fcn.004a3120
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004a5b20
mov eax, ebx
call fcn.004a6754
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4a2fa3
call fcn.0040531c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a33f4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4a3496
cmp dword [ebx + 0x94], 0
jne 0x4a3490
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4a3340
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4a3490
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4a3456
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4a3490
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0042f234
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4a3465
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4a36b4
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4b5280]
cmp dword [eax + 0x170], 0
je 0x4a3819
test bl, bl
jne 0x4a3767
cmp dword [esi + 0x9c], 0
jne 0x4a375c
mov eax, esi
call fcn.004a65a4
push eax
push 0x4a35c0
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4a372d
mov eax, dword [0x4b5280]
cmp byte [eax + 0xd3], 0
je 0x4a372d
mov eax, dword [esi + 0xd8]
call fcn.00407e3c
mov edi, eax
cmp edi, 0
jl 0x4a372d
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a3716
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a375c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042f234
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a373c
inc dword [esi + 0x9c]
jmp 0x4a3819
cmp dword [esi + 0x9c], 0
jle 0x4a3819
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4a3819
cmp dword [esi + 0x44], 0
je 0x4a37c4
mov eax, dword [0x4b5280]
cmp byte [eax + 0xd3], 0
je 0x4a37c4
mov eax, dword [esi + 0xd8]
call fcn.00407e3c
mov edi, eax
cmp edi, 0
jl 0x4a37c4
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a37ad
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a37f3
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042f234
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a37d3
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x49693c]
call fcn.00407ffc
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4a4468
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4a44d3
cmp byte [ebx + 0xd3], 0
jne 0x4a44d3
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406974
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4a44c0
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4a44e0
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406838
jmp 0x4a44e0
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406838
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4a5d08
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4a5d76
mov eax, esi
call fcn.0047e4a8
test al, al
je 0x4a5d76
mov eax, dword [ebx + 0x84]
call fcn.0047e0fc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4a5d76
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4a5d6a
push 0
mov eax, dword [ebx + 0x84]
call fcn.0047e0fc
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004750d0
jmp 0x4a5d76
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004a5b40
pop esi
pop ebx
ret
Function at 0x10004814
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10044df4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
xor esi, esi
push edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
lea eax, [esp + 0x18]
push eax
push dword [ebp + 0xc]
mov dword [esp + 0x3c], esi
call fcn.1001a9ab
lea eax, [esp + 0x18]
push eax
push esi
push esi
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.1001b4ac
add esp, 0x1c
cmp eax, esi
mov dword [esp + 0xc], eax
je 0x10004904
test byte [eax + 4], 0x20
mov ebx, dword [eax + 0x40]
jne 0x100048a9
push dword [esp + 0x14]
lea esi, [ebx + 0x44]
push dword [esp + 0x14]
lea edi, [esp + 0x18]
call fcn.1000546a
push ebx
call 0x1001bb19
pop ecx
jmp 0x100048fa
lea esi, [eax + 8]
push 0x10048500
call fcn.10005679
test al, al
pop ecx
je 0x100048c1
xor dword [ebx + 4], 0x40
jmp 0x100048d7
push 0x10048720
call fcn.10005679
test al, al
pop ecx
je 0x100048d7
xor dword [ebx + 4], 0x80
push dword [esp + 0x14]
lea esi, [ebx + 0x54]
push dword [esp + 0x14]
lea edi, [esp + 0x18]
call fcn.1000546a
mov eax, esi
call fcn.10002498
test eax, eax
jne 0x100048fa
xor dword [ebx + 4], 0x10
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
push 1
call dword [eax]
lea esi, [esp + 0x18]
call fcn.10002ad1
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1001afd0
Capabilities:
Encode data using xor

Disassembly:
add byte [eax], al
add byte [ecx], al
add byte [eax], al
add dword [esi], ebp
add byte [eax], al
add byte [edi], dl
add byte [eax], al
add byte [eax], cl
call 0x102fb19a
xor byte [eax], al
or al, ch
mov ch, 1
adc al, 0xe0
mov ch, 1
xor al, 0xf3

Function at 0x100225b1
Capabilities:
Encode data using xor

Disassembly:
push 4
push 0
push esi
call fcn.1002d3a4
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffffc
add esp, 0xc
test ecx, ecx
jle 0x100225ef
mov eax, dword [esp + 4]
inc eax
dec ecx
shr ecx, 2
inc ecx
mov dl, byte [eax - 1]
xor byte [esi], dl
mov dl, byte [eax]
xor byte [esi + 1], dl
mov dl, byte [eax + 1]
xor byte [esi + 2], dl
mov dl, byte [eax + 2]
xor byte [esi + 3], dl
add eax, 4
dec ecx
jne 0x100225d3
ret
Function at 0x4153e0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
pop ecx
outsd dx, dword [esi]
sbb eax, 0x688632be
fldcw word [esi + reloc.crtdll.dll_printf]
cmp dl, byte [esi + 0x34855952]
push edx
dec esi
test dword [ebp + eax*2 - 0x6b], ecx
aaa
xchg esi, eax
push edx
or dword [esi + 0x69], ebp
lodsd eax, dword [esi]
mov al, 0x86
and edi, ebx
dec esi
xchg ecx, eax
cmp byte [ecx - 0x3bf6a4b2], 0xf0
outsb dx, byte [esi]
xor dword [eax + 0x2896900f], 0x456c1a71
movsd dword es:[edi], dword [esi]
cmp dword [esi + 0x65ac7852], edx
lodsd eax, dword [esi]
in al, 0xe7
mov word [ebx - 0x4c], gs
mov cs, word [eax]
in al, dx
mov cl, 0x6f
add dword [ebp - 0x5d], edi
sub eax, 0x8647c769
xor edx, dword [ecx]
dec edi
xchg ecx, eax
cmp dword [ebp + 0x35], eax
rcl dword [edi + 0x596e0852], cl
out dx, al
mov cl, 0xd4
insd dword es:[edi], dx
popfd
repne outsb dx, byte [esi]
shr ebp, 1
shr dword [edi], 0x69
inc ebp
loope 0x41539f
xchg esi, eax
push edx
pop ecx
xor eax, 0xd64e5296
dec ecx
invalid
Function at 0x320010e7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x320010f6
pop dword [ebp - 0x24]
mov eax, 0xfb24cbdf
add eax, 0x36db4517
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xd5e50b22
add dword [ebp - 0x34], 0x786d3a29
mov dword [ebp - 0x30], 0x749a0ed5
sub dword [ebp - 0x30], 0x4266c290
mov dword [ebp - 0x2c], 0xe7926bd2
sub dword [ebp - 0x2c], 0x9b4627a4
mov dword [ebp - 0x28], 0x3d83bb59
sub dword [ebp - 0x28], 0x3d83bb59
lea eax, [ebp - 0x34]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xb73476e4
add dword [ebp - 0x34], 0xbd3df272
mov dword [ebp - 0x30], 0xad7069eb
add dword [ebp - 0x30], 0x93fbf78a
mov dword [ebp - 0x2c], 0x738cb9f0
add dword [ebp - 0x2c], 0xefe2b27c
mov dword [ebp - 0x28], 0x105d622a
sub dword [ebp - 0x28], 0x105d622a
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0xe3b96b5c
add eax, 0x4e4bc520
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x4a57b
push 0
call eax
mov ecx, 0xf9f02fa0
sub ecx, 0xf9efdbbb
xor esi, esi
add esi, eax
mov edx, 0xa91572cc
add edx, 0x88f22f34
add edx, dword [ebp - 0x24]
mov ebx, 0x3faafdc6
add ebx, 0xd8a15799
sub dword [ebp - 0x14], 0xd7783a97
mov edi, dword [edx]
xor dword [ebp - 8], 0x838952c7
sub edi, ebx
mov dword [ebp - 0x1c], 0xc5ea5b59
mov dword [esi], edi
add dword [ebp - 0x20], ecx
add esi, 0x37c91789
sub esi, 0x37c91785
add edx, 4
loop 0x32001215
add eax, 0x8b247cff
sub eax, 0x8b233a98
mov ebx, eax
add eax, 0xb1a757a8
sub eax, 0xb1a757a3
mov ecx, 0xc0588bb4
sub ecx, 0x8e588bb4
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x4099ec
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409abf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409ad8
push ebx
push 0x409ae4
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a6c
mov al, 0x6a
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.004099c0
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a75
call fcn.004099c0
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409ac6
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b78
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409c2c
jmp 0x409c21
cmp dword [esi + 0x10], 0x1000
jne 0x409c0d
test byte [esi + 0x15], 1
jne 0x409c0d
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409bcc
cmp eax, 2
je 0x409bcc
cmp eax, 0x10
je 0x409bcc
cmp eax, 0x20
jne 0x409be1
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409be1
mov bl, 1
xor ebp, ebp
jmp 0x409bf2
mov eax, dword [esi]
add eax, ebp
call fcn.00409b70
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409be5
test bl, bl
je 0x409c0d
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409c2c
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409ba4
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x40b4e5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004041e5
xor ebx, ebx
cmp dword [0x434898], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40b5ba
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x40b525
sub eax, eax
jmp 0x40b67e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40b51e
push eax
call fcn.00404182
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x434898], eax
call esi
push eax
call fcn.00404182
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43489c], eax
call esi
push eax
call fcn.00404182
mov dword [0x4348a0], eax
lea eax, [ebp - 8]
push eax
call fcn.004067af
or eax, eax
pop ecx
pop ecx
je 0x40b588
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40b5ba
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00404182
cmp eax, ebx
pop ecx
mov dword [0x4348a8], eax
je 0x40b5ba
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404182
pop ecx
mov dword [0x4348a4], eax
mov eax, dword [0x4348a4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40b633
cmp dword [0x4348a8], esi
je 0x40b633
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
je 0x40b600
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4348a8]
call fcn.004041ee
pop ecx
call eax
or eax, eax
je 0x40b600
test byte [ebp - 0x18], 1
jne 0x40b633
lea eax, [ebp - 0xc]
push eax
call fcn.004067e6
or eax, eax
pop ecx
je 0x40b61b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40b62a
or dword [ebp + 0x10], 0x200000
jmp 0x40b664
or dword [ebp + 0x10], 0x40000
jmp 0x40b664
mov eax, dword [0x43489c]
cmp eax, esi
je 0x40b664
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40b664
mov eax, dword [0x4348a0]
cmp eax, esi
je 0x40b664
push dword [ebp - 4]
push eax
call fcn.004041ee
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x434898]
call fcn.004041ee
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x42ef48
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x42efd2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 4], 0
jne 0x42efb9
mov eax, dword [0x5d2e70]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x42ef87
push ebx
push 0x42efe0
call fcn.0044866c
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], 1
mov eax, dword [ebx + 8]
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
jne 0x42efb5
lea edx, [ebp - 4]
mov eax, dword [0x5d2978]
call fcn.004060fc
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4081e8]
call fcn.0040c61c
call fcn.0040376c
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42efd9
lea eax, [ebp - 4]
call fcn.00403cf8
ret

Function at 0x42f080
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42f15e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042ef48
xor edx, edx
push ebp
push 0x42f141
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x42f10a
mov edx, ebx
mov eax, dword [0x41a1e4]
call fcn.0041e928
test al, al
je 0x42f0fa
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.0041e7fc
call fcn.0040380c
jmp 0x42f148
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x42f0c5
lea edx, [ebp - 8]
mov eax, dword [0x5d2a78]
call fcn.004060fc
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4081e8]
call fcn.0040c61c
call fcn.0040376c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f148
mov eax, dword [ebp - 4]
call fcn.0042ef1c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f165
lea eax, [ebp - 8]
call fcn.00403cf8
ret

Function at 0x42f16c
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]
call fcn.0042ef48
xor eax, eax
push ebp
push 0x42f1c4
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 + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f1cb
mov eax, dword [ebp - 4]
call fcn.0042ef1c
ret
Function at 0x42f1d4
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]
call fcn.0042ef48
xor edx, edx
push ebp
push 0x42f229
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 + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f230
mov eax, dword [ebp - 4]
call fcn.0042ef1c
ret

Function at 0x42f2a0
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]
call fcn.0042ef48
xor eax, eax
push ebp
push 0x42f315
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042ef00
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.0041e8fc
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 0x42f2ff
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 0x42f31c
mov eax, dword [ebp - 4]
call fcn.0042ef1c
ret

Function at 0x42f324
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]
call fcn.0042ef48
xor eax, eax
push ebp
push 0x42f399
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042ef00
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 + 0x5c]
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 0x42f383
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 0x42f3a0
mov eax, dword [ebp - 4]
call fcn.0042ef1c
ret