joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42da00
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 8
push esi
mov dword [esp + 8], ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42daa5
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
mov dword [esp + 4], esi
jne 0x42da35
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
add esp, 8
ret
push ebx
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov ebx, eax
push esi
inc ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov esi, eax
call fcn.005c00fd
lea ecx, [ebx - 1]
mov ebp, eax
mov eax, ecx
add esp, 4
lea edi, [ebp + 1]
mov byte [ebp], 0x12
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0x14]
push 1
push ebx
push ebp
mov edx, dword [eax + 0x158]
mov ecx, dword [eax + 0x15c]
push edx
call fcn.004127d0
push ebp
call fcn.005c0126
add esp, 4
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret

Function at 0x434570
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4345c5
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edi, dword [esp + 0xc]
mov eax, dword [edi]
mov eax, dword [eax - 8]
inc eax
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [edi]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
ret 4
Function at 0x437aa0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 0xc]
push esi
push edi
xor ecx, ecx
xor esi, esi
xor edi, edi
test eax, eax
jbe 0x437b2c
mov eax, dword [esp + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0x18]
inc ecx
and ecx, 0x800000ff
jns 0x437acb
dec ecx
or ecx, 0xffffff00
inc ecx
mov dl, byte [ecx + eax]
mov ebx, edx
and ebx, 0xff
add esi, ebx
and esi, 0x800000ff
jns 0x437ae8
dec esi
or esi, 0xffffff00
inc esi
mov bl, byte [esi + eax]
mov byte [esp + 0x18], dl
mov byte [ecx + eax], bl
mov ebx, dword [esp + 0x18]
mov byte [esi + eax], dl
xor edx, edx
mov dl, byte [ecx + eax]
and ebx, 0xff
add edx, ebx
and edx, 0x800000ff
jns 0x437b16
dec edx
or edx, 0xffffff00
inc edx
mov dl, byte [edx + eax]
mov bl, byte [edi + ebp]
xor bl, dl
mov edx, dword [esp + 0x1c]
mov byte [edi + ebp], bl
inc edi
cmp edi, edx
jb 0x437aba
pop ebp
pop ebx
pop edi
pop esi
ret 0xc

Function at 0x438250
Capabilities:
Capture microphone audio

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
push edi
push 1
mov di, word [esi + 0x14]
mov cx, word [esi + 0xc]
mov eax, edi
mov word [esp + 0xe], cx
and eax, 0xffff
and ecx, 0xffff
imul eax, ecx
mov edx, dword [esi + 0x10]
mov ecx, eax
imul ecx, edx
mov dword [esp + 0x10], edx
push 0
cdq
and edx, 7
push 0
add eax, edx
lea edx, [esp + 0x14]
push edx
mov word [esp + 0x26], di
mov edi, dword [sym.imp.WINMM.dll_waveInOpen]
push 0xffffffffffffffff
shr ecx, 3
sar eax, 3
push 0
mov word [esp + 0x20], 1
mov dword [esp + 0x28], ecx
mov word [esp + 0x2c], ax
mov word [esp + 0x30], 0
call edi
test eax, eax
mov dword [esi + 0x1c], eax
je 0x4382ce
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret
mov eax, dword [0x668bd8]
mov ecx, dword [esi + 4]
push 0x20000
push eax
lea edx, [esp + 0x10]
push ecx
push edx
lea eax, [esi + 0x18]
push 0xffffffffffffffff
push eax
call edi
xor ecx, ecx
mov dword [esi + 0x1c], eax
test eax, eax
sete cl
pop edi
mov eax, ecx
pop esi
add esp, 0x14
ret

Function at 0x438310
Capabilities:
Terminate thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x438379
mov eax, dword [esi + 4]
push ebx
push ebp
push edi
push 0
push 0
push 0x12
push eax
mov edi, 0x32
call dword [sym.imp.USER32.dll_PostThreadMessageA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esi + 8]
lea ecx, [esp + 0x10]
push ecx
push edx
call ebx
cmp dword [esp + 0x10], 0x103
jne 0x438367
push 0xa
call ebp
dec edi
jne 0x43833f
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop edi
pop ebp
mov dword [esi + 8], 0
pop ebx
mov eax, 1
pop esi
pop ecx
ret
mov eax, 1
pop esi
pop ecx
ret
Function at 0x438430
Capabilities:
Capture microphone audio

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x18]
push eax
call dword [sym.imp.WINMM.dll_waveInReset]
test eax, eax
mov dword [esi + 0x1c], eax
je 0x43844e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push 0x140
call fcn.005c00fd
mov ebp, dword [sym.imp.WINMM.dll_waveInPrepareHeader]
add esp, 4
mov dword [esi + 0x20], eax
xor ebx, ebx
mov edi, dword [esi + 0x20]
mov ecx, 8
xor eax, eax
add edi, ebx
rep stosd dword es:[edi], eax
push 0x3c0
call fcn.005c00fd
mov ecx, dword [esi + 0x20]
add esp, 4
mov dword [ecx + ebx], eax
mov edx, dword [esi + 0x20]
push 0x20
mov dword [edx + ebx + 4], 0x3c0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
add eax, ebx
push eax
push ecx
call ebp
test eax, eax
mov dword [esi + 0x1c], eax
jne 0x438447
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
add edx, ebx
push 0x20
push edx
push eax
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
test eax, eax
mov dword [esi + 0x1c], eax
jne 0x438447
add ebx, 0x20
cmp ebx, 0x140
jl 0x438466
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x438800
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x44]
test eax, eax
je 0x43880e
xor eax, eax
pop esi
ret
lea eax, [esi + 0x1c]
push eax
push 0
push esi
push 0x4386b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x18], eax
jne 0x43882d
pop esi
ret
mov eax, 1
mov dword [esi + 0x44], eax
pop esi
ret

Function at 0x438840
Capabilities:
Terminate thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x438850
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4388ad
mov eax, dword [esi + 0x1c]
push ebx
push ebp
push edi
push 0
push 0
push 0x12
push eax
mov edi, 0x32
call dword [sym.imp.USER32.dll_PostThreadMessageA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esi + 0x18]
lea ecx, [esp + 0x10]
push ecx
push edx
call ebx
cmp dword [esp + 0x10], 0x103
jne 0x4388a3
push 0xa
call ebp
dec edi
jne 0x43887b
mov eax, dword [esi + 0x18]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop edi
pop ebp
mov dword [esi + 0x18], 0
pop ebx
mov dword [esi + 0x44], 0
mov eax, 1
pop esi
pop ecx
ret
Function at 0x43f890
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
lea edx, [eax + 0x50]
lea ecx, [eax + 8]
push edi
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0x3ff00000
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0x3ff00000
xor eax, eax
fld qword [ecx]
fadd qword [edx]
add eax, 8
add ecx, 8
sub edx, 8
cmp eax, 0x20
fsub qword [esp + eax + 0x48]
fstp qword [esp + eax + 0x50]
fld qword [ecx - 8]
fsub qword [edx + 8]
fadd qword [esp + eax + 0x78]
fstp qword [esp + eax + 0x80]
jle 0x43f8d2
mov eax, dword [0x651b68]
mov ecx, dword [0x651b6c]
mov dword [esp + 0x10], eax
lea edx, [esp + 0x50]
mov dword [esp + 0x14], ecx
push 5
mov eax, ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x44], ebx
lea edi, [esp + 0x60]
call fcn.0043fac0
mov edx, dword [ebp + 0xc]
add esp, 0x10
mov dword [esp + 0x44], edx
mov esi, 0x651b68
cmp esi, 0x651cf8
jge 0x43fa8d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 8]
add esi, 8
fstp qword [esp + 0x28]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x3c], ecx
push 5
mov ecx, eax
push edi
push ecx
push edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
call fcn.0043fac0
fst qword [esp + 0x58]
fld qword [esp + 0x38]
fmul st(1)
add esp, 0x10
fcomp qword [0x6001b0]
fnstsw ax
test ah, 0x41
je 0x43fa7b
fstp st(0)
sub esi, 8
mov ebx, 2
fld qword [esp + 0x38]
fadd qword [esp + 0x10]
push 5
push edi
fmul qword [0x6001a8]
fstp qword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
call fcn.0043fac0
fld st(0)
fmul qword [esp + 0x58]
add esp, 0x10
fcomp qword [0x6001b0]
fnstsw ax
test ah, 0x41
je 0x43f9f4
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
fstp qword [esp + 0x28]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
jmp 0x43fa08
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
fstp qword [esp + 0x48]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
dec ebx
jne 0x43f9a4
fld qword [esp + 0x38]
fsub qword [esp + 0x10]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
add eax, 8
fmul qword [esp + 0x48]
fld qword [esp + 0x28]
fsub qword [esp + 0x48]
mov dword [esp + 0x44], eax
inc edi
mov dword [esp + 0x1c], edi
lea edi, [esp + 0x80]
fdivp st(1)
fsubr qword [esp + 0x10]
fst qword [esp + 0x28]
fld st(0)
fstp qword [eax - 8]
mov eax, 1
sub eax, ecx
mov dword [esp + 0x34], eax
jne 0x43fa5e
lea edi, [esp + 0x50]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
fstp qword [esp + 0x10]
push 5
push edi
push ecx
push edx
call fcn.0043fac0
mov ebx, dword [esp + 0x2c]
add esp, 0x10
cmp ebx, 0xa
jl 0x43f93f
fstp st(0)
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 0xa
fstp st(0)
jge 0x43fab3
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
sub ecx, eax
mov edx, 0xa
mov esi, dword [ecx + eax]
mov dword [eax], esi
mov esi, dword [ecx + eax + 4]
mov dword [eax + 4], esi
add eax, 8
dec edx
jne 0x43faa1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a3b90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e9489
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.005c43c1
mov eax, dword [0x65290c]
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x50], eax
mov ecx, dword [0x65290c]
mov dword [esi + 0x54], ecx
lea ecx, [esi + 0x68]
mov byte [esp + 0x14], 2
call fcn.004a4310
mov ecx, esi
mov byte [esp + 0x14], 3
mov dword [esi], 0x60d448
call fcn.005dfdbd
lea edx, [esi + 0x40]
or eax, 0xffffffff
push edx
mov dword [esi + 0x30], 1
mov dword [esi + 0x2c], 1
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x3c], edi
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x60], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x64], 1
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4a7ad0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e9849
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.005c0bf9
mov eax, dword [0x65290c]
lea edi, [esi + 0x3c]
mov dword [esp + 0x14], 0
mov dword [edi], eax
mov edx, dword [0x65290c]
lea ecx, [esi + 0x40]
mov dword [ecx], edx
mov eax, dword [0x65290c]
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
mov byte [esp + 0x18], 3
mov dword [esi], method.CWnd.virtual_0
mov dword [esi + 0x48], edx
call fcn.005c4ce9
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x4c], edx
mov ecx, edi
mov dword [esi + 0x50], eax
call fcn.005c4aeb
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov dword [esi + 0x54], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x60], edx
mov dword [esi + 0x58], 1
mov dword [esi + 0x64], 0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c
Function at 0x4a8df0
Capabilities:
Log keystrokes

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x70]
cmp dword [eax + 0x5c], 2
je 0x4a8f44
mov ecx, dword [esp + 0x14]
cmp ecx, 0x60
jb 0x4a8e1c
cmp ecx, 0x69
ja 0x4a8e1c
mov edx, dword [eax + 0x7c]
test edx, edx
je 0x4a8f44
push 2
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
test eax, eax
je 0x4a8f44
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x50]
mov ebp, eax
push ebp
call fcn.004a72c0
mov esi, eax
mov eax, dword [edi + 0x80]
add esp, 4
neg esi
sbb esi, esi
xor ebx, ebx
and esi, ebp
test eax, eax
jle 0x4a8e92
push ebx
mov ecx, edi
call fcn.004b1930
mov ebp, eax
mov eax, dword [ebp + 0x88]
test eax, eax
jne 0x4a8e90
mov ecx, dword [edi + 0x70]
test byte [ecx + 0x5c], 1
je 0x4a8e83
test esi, esi
jne 0x4a8e83
push ebp
call fcn.004a72c0
add esp, 4
test eax, eax
je 0x4a8e83
mov esi, ebp
mov eax, dword [edi + 0x80]
inc ebx
cmp ebx, eax
jl 0x4a8e53
jmp 0x4a8e92
mov esi, ebp
test esi, esi
je 0x4a8f44
push esi
call fcn.004a72c0
add esp, 4
test eax, eax
je 0x4a8f44
mov ebx, dword [esp + 0x14]
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x174]
test eax, eax
je 0x4a8eca
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
lea eax, [esp + 0x14]
mov ecx, edi
push eax
push ebx
push esi
call fcn.004a8b90
mov ebp, eax
test ebp, ebp
je 0x4a8f44
mov esi, dword [ebp + 0xbc]
mov ebx, dword [ebp + 0x3c]
mov eax, dword [esi + 0x88]
test eax, eax
jne 0x4a8ef8
mov ecx, edi
call fcn.004a8dc0
push 1
mov ecx, edi
call fcn.004a8970
mov dword [edi + 0x40], 1
mov edx, dword [esi]
push 1
push 0
push 1
mov ecx, esi
call dword [edx + 0xbc]
mov eax, dword [esi]
push 1
push ebx
mov ecx, esi
call dword [eax + 0xc4]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4a8f38
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0xb0]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x4a8f50
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
cmp dword [edi + 4], 0x104
jne 0x4a8ffc
mov eax, dword [edi + 0xc]
shr eax, 0x10
test ah, 0x20
je 0x4a8ffc
call fcn.004a8a40
mov ecx, dword [eax + 4]
test ecx, ecx
jg 0x4a8ffc
push 0
mov ecx, esi
call fcn.004a8a40
mov ecx, eax
call fcn.00501ca0
test eax, eax
jne 0x4a8ffc
mov ecx, esi
call fcn.004a8a40
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x4a8fa8
mov eax, dword [eax + 0x1c]
push eax
call fcn.00501950
add esp, 4
test eax, eax
je 0x4a8ffc
cmp dword [edi + 8], 0x12
jne 0x4a8fcb
push 1
mov ecx, esi
call fcn.004a8970
pop edi
xor eax, eax
pop esi
ret 4
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4a8fdf
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
jne 0x4a8ffc
mov eax, dword [edi + 8]
test eax, eax
je 0x4a8ffc
push eax
mov ecx, esi
call fcn.004a8df0
test eax, eax
je 0x4a8ffc
pop edi
mov eax, 1
pop esi
ret 4
mov eax, dword [edi + 4]
cmp eax, 0x105
je 0x4a900d
cmp eax, 0x101
jne 0x4a903d
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x4a903d
mov eax, dword [esi + 0xac]
test eax, eax
je 0x4a903d
push 0
mov ecx, esi
call fcn.004a8a40
mov ecx, eax
call fcn.00501ca0
test eax, eax
jne 0x4a903d
push eax
mov ecx, esi
call fcn.004a8970
mov eax, dword [edi + 4]
cmp eax, 0x7b
je 0x4a904c
cmp eax, 0x105
jne 0x4a908a
push 0
mov ecx, esi
call fcn.004a8a40
mov ecx, eax
call fcn.00501ca0
test eax, eax
je 0x4a908a
push 0x4aab20
mov ecx, 0x699974
call fcn.005dcd38
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
push ecx
push edx
push 0x7b
mov ecx, eax
call fcn.005020f0
pop edi
mov eax, 1
pop esi
ret 4
cmp dword [edi + 4], 0x20a
jne 0x4a9109
push 0x4aab20
mov ecx, 0x699974
call fcn.005dcd38
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jle 0x4a90d1
push 0x4aab20
mov ecx, 0x699974
call fcn.005dcd38
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
push ecx
push edx
push 0x20a
mov ecx, eax
call fcn.005020f0
pop edi
pop esi
ret 4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x50]
test eax, eax
je 0x4a9109
cmp dword [eax + 0xa0], 3
jne 0x4a9109
mov ecx, dword [edi + 8]
xor edx, edx
shr ecx, 0x10
test cx, cx
setle dl
push edx
mov ecx, eax
call fcn.004d58b0
test eax, eax
je 0x4a9109
pop edi
mov eax, 1
pop esi
ret 4
mov eax, dword [edi + 4]
cmp eax, 0x100
jb 0x4a8fc4
cmp eax, 0x108
ja 0x4a8fc4
push edi
mov ecx, esi
call fcn.004a75d0
mov ecx, eax
call fcn.004d8770
test eax, eax
je 0x4a8fc4
pop edi
mov eax, 1
pop esi
ret 4
Function at 0x4ab160
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x14]
push eax
lea ebx, [edi + 0x3c]
push ecx
mov ecx, ebx
call fcn.004a54a0
mov edx, dword [esp + 0x18]
mov esi, eax
push edx
mov ecx, esi
call fcn.004a3d20
mov ebp, dword [esp + 0x1c]
mov ecx, esi
push ebp
call fcn.004a3e70
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x24]
cmp ecx, eax
je 0x4ab1aa
mov ecx, dword [esi + 0x5c]
mov dword [esi + 0x24], eax
mov eax, dword [ecx]
call dword [eax + 4]
test ebp, ebp
je 0x4ab1b7
push 0
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4ab1cf
mov eax, dword [edi + 0x40]
test eax, eax
jne 0x4ab1cf
push 0
mov ecx, ebx
call fcn.004a5710
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 0x14

Function at 0x4b4d30
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x24
push esi
push edi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x4b4d6b
mov edi, dword [esp + 0x30]
push edi
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push edi
push 0x4b4c80
push esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
pop edi
mov al, 1
pop esi
add esp, 0x24
ret 4
mov ecx, 9
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x24
push eax
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x4b4df7
mov eax, dword [esp + 0x14]
cmp eax, 3
ja case.default.0x4b4d9a
jmp dword [eax*4 + 0x4b4e34]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
pop edi
pop esi
lea edx, [ecx - 0x64]
add ecx, 0xfffffff0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [eax + 8], edx
mov al, 1
add esp, 0x24
ret 4
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0xc], edx
lea edx, [ecx - 0x64]
add ecx, 0xfffffff0
mov dword [eax], edx
mov dword [eax + 8], ecx
pop edi
mov al, 1
pop esi
add esp, 0x24
ret 4
mov esi, dword [esp + 0x30]
push 0
push esi
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
je 0x4b4e29
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
sub eax, 0x96
sub ecx, 0x1e
mov dword [esi], eax
mov dword [esi + 4], ecx
pop edi
mov al, 1
pop esi
add esp, 0x24
ret 4
pop edi
xor al, al
pop esi
add esp, 0x24
ret 4
Function at 0x4bf680
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push 0x6572f4
push eax
push esi
mov byte [esp + 0x10], 0x89
mov byte [esp + 0x11], 0x50
mov byte [esp + 0x12], 0x4e
mov byte [esp + 0x13], 0x47
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x4bf6b2
pop esi
pop ecx
ret
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4bf6c1
pop esi
pop ecx
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [eax]
lea ecx, [esp + 4]
xor eax, eax
mov esi, dword [ecx]
cmp edx, esi
pop esi
sete al
pop ecx
ret

Function at 0x4bf6e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x4bf6f9
pop esi
ret
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4bf707
pop esi
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x4bf714
pop esi
ret
xor ecx, ecx
cmp word [eax + 0xe], 0x20
pop esi
sete cl
mov eax, ecx
ret
Function at 0x4bfa00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5eb018
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
push 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x4bfa47
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4bfa66
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
jne 0x4bfa86
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov ebx, dword [ebp + 8]
mov dword [esp + 0x34], 0
imul ebx, dword [ebp + 4]
shl ebx, 2
cmp word [ebp + 0xe], 0x20
jne 0x4bfb8b
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [ebx + 0x28]
cmp eax, ecx
jb 0x4bfb8b
lea ecx, [esp + 0x14]
call fcn.005c8e51
push 0
mov dword [esp + 0x30], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x18]
call fcn.005c8f08
push 0x34
call fcn.004951a1
mov edx, eax
add esp, 4
test edx, edx
mov dword [esp + 0x10], edx
jne 0x4bfb13
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call fcn.005c8f86
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov ecx, 0xa
mov esi, ebp
mov edi, edx
lea eax, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
neg eax
mov dword [edx + 0x14], ebx
mov esi, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x3c]
sbb eax, eax
push 0
push ecx
and eax, esi
push 0
push edx
push eax
mov dword [esp + 0x50], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
test eax, eax
je 0x4bfb6d
mov edi, dword [esp + 0x38]
test edi, edi
je 0x4bfb6d
mov ecx, ebx
lea esi, [ebp + 0x28]
mov edx, ecx
mov dword [esp + 0x34], eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
push eax
call fcn.00494ae6
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call fcn.005c8f86
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret