joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100612c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10091913
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.1008548d
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.1008ab3d
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.1008c059
test eax, eax
je 0x100613dc
mov ecx, dword [esp + 0x3c]
call fcn.1008ab6a
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x100613a0
push edi
mov ecx, esi
call fcn.100881b8
mov ecx, esi
call fcn.10061540
cmp dword [esp + 0x38], 1
jne 0x100613d5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.100882f3
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x10063e10
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x10063e43
push esi
call fcn.10066f10
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x10063e3c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x10063ec9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x10063eb2
mov eax, dword [esi + 8]
test eax, eax
je 0x10063e67
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x10063eae
cmp eax, 2
je 0x10063eb2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10063e5a
cmp eax, 3
je 0x10063e8d
cmp eax, 1
jne 0x10063e5a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x10063e5a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x10063e5a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.10063ef0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x10063ed8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.10063ef0
add esp, 4
pop esi
ret

Function at 0x1006fa30
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x1006fad3
test eax, eax
jbe 0x1006fad3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x1006fad3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x1006fa7e
xor esi, esi
jmp 0x1006fa84
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x1006faaf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.10071a20
add esi, eax
push esi
mov ebx, esi
call fcn.10071a20
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x1006fa90
pop ebp
test edi, edi
pop edi
jne 0x1006fad3
test ebx, ebx
je 0x1006fad3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.10074f60
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x1006fc30
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x1006fd4d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1006fd4d
mov eax, dword [esi + 0x3c]
push eax
call fcn.100858df
mov esi, eax
test esi, esi
je 0x1006fd4d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x1006fd4d
mov ecx, esi
call fcn.1006fbc0
cmp edi, eax
jge 0x1006fd4d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x1006fcd3
mov dword [esp + 0x34], 1
jmp 0x1006fd2e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x1006fd4d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.1006f150
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x10086283
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100862bb
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.10084337
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.1008430f
jmp 0x100862c7
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x10087975
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x100879b7
call fcn.1008d43f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x100879b7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x100879ae
xor eax, eax
jmp 0x100879bf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.100879c5
pop edi
pop esi
pop ebx
ret 4
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x412080
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc000]
push edi
or ebp, 0xffffffff
jmp 0x4120a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4120a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x412098
mov eax, 1
add ebx, ebx
jne 0x4120bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4120b0
jne 0x4120cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4120b0
xor ecx, ecx
sub eax, 3
jb 0x4120e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x412152
mov ebp, eax
add ebx, ebx
jne 0x4120eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4120f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41211c
inc ecx
add ebx, ebx
jne 0x412108
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4120fd
jne 0x412119
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4120fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41213c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41212d
jmp 0x41209e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41213c
add edi, ecx
jmp 0x41209e
pop esi
mov edi, esi
mov ecx, 0x204
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41215a
cmp byte [edi], 6
jne 0x41215a
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 0x41215f
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x4121d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1660c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x166c0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41218c
mov ecx, edi
jns 0x4121bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x166c4]
or eax, eax
je 0x4121d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4121a9
call dword [esi + 0x166c8]
popal
jmp 0x404090
Function at 0x10037d9
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x10133a4]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov esi, 0x1001534
lea edi, [ebp - 0x18]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
xor eax, eax
lea edi, [ebp - 0x15]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor ecx, ecx
xor eax, eax
inc eax
mov edi, 0x1001528
mov ebx, str.CLPBK_
push edi
mov dword [ebp - 0x20], 0x12
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], 4
mov dword [ebp - 0x48], 0x1001514
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], 0x1001512
call esi
push 0x10014fc
mov dword [ebp - 0x1c], eax
call esi
movzx ecx, word [ebp - 0x1c]
mov dword [ebp - 0x24], eax
movzx eax, ax
shl eax, 0x10
or eax, ecx
push eax
push dword [0x1013ba4]
push 0x3e0
push 0x10014ec
push edi
call dword [sym.imp.USER32.dll_FindWindowA]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
call esi
push dword [ebp - 0x24]
call esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x16]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0x30
lea eax, [ebp - 0x54]
push eax
push 0
push 2
lea eax, [ebp - 0x18]
push eax
call sub.NDdeApi.dll_Ordinal_500
push 0xc0000000
push ebx
lea eax, [ebp - 0x18]
push eax
call sub.NDdeApi.dll_Ordinal_512
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0100ec8a
leave
ret
Function at 0x1004ddb
Capabilities:
Open clipboard

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [0x10134cc], 0
jne 0x1004e2f
push esi
push 0
push dword [0x1013ba0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
mov esi, eax
test esi, esi
jne 0x1004e20
push 0x100175c
call fcn.0100eda2
pop ecx
push dword [0x1013ba0]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x1004e2a
mov dword [0x10134cc], 1
mov eax, esi
pop esi
jmp 0x1004e3c
push 0x1001734
call fcn.0100eda2
pop ecx
xor eax, eax
pop ebp
ret 4
Function at 0x100777d
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x10133a4]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [0x10134f4]
push edi
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x120], esi
je 0x10079af
test byte [eax + 0x1c], 2
je 0x10077ee
push dword [0x1013ba4]
call fcn.0100717e
cmp eax, 1
jne 0x10077e7
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call fcn.0100e6e1
mov eax, dword [0x10134f8]
cmp eax, edi
je 0x10077e7
push 1
push edi
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
inc edi
mov eax, edi
jmp 0x10079b1
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push edi
push 0x188
push dword [eax + 0x14]
call ebx
cmp eax, 0xffffffff
jne 0x1007816
push 0x1001b64
call fcn.0100eda2
pop ecx
jmp 0x10079ae
lea ecx, [ebp - 0x124]
push ecx
push eax
mov eax, dword [0x10134f4]
push 0x189
push dword [eax + 0x14]
call ebx
mov eax, dword [ebp - 0x124]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
inc eax
push eax
push 0x1013de0
mov esi, 0x1013860
push esi
call edi
add esp, 0xc
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
push dword [ebp - 0x124]
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x31
push 0x1013bc0
push esi
push dword [0x1013ba4]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
je 0x10079ae
push dword [0x10134f0]
call fcn.0100c65b
mov eax, dword [0x10134f0]
cmp eax, dword [0x1013500]
jne 0x10078a8
push 0
push dword [ebp - 0x120]
call fcn.0100aae1
push dword [ebp - 0x124]
push 0x1001b58
push 0x1001b50
push esi
call edi
mov eax, dword [0x10134f4]
add esp, 0x10
push 0
push 0x5dc0
push 0x4050
push 1
push 0
push dword [eax]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push esi
call fcn.0100bb50
test eax, eax
je 0x1007999
mov esi, 0x1001534
lea edi, [ebp - 0x18]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor eax, eax
lea edi, [ebp - 0x15]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x16]
push eax
mov dword [ebp - 0x120], 0x12
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0x20000000
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 0x11c], 0x24
call sub.NDdeApi.dll_Ordinal_512
mov eax, dword [0x10134f4]
cmp word [eax + 0x18], 0xc
jne 0x1007973
push 0x1001b34
call fcn.0100eda2
pop ecx
mov ecx, dword [0x10134f4]
xor eax, eax
cmp word [ecx + 0x1a], 0xb
push 0
sete al
add eax, 0x2d
push eax
push 0x111
push dword [0x1013ba4]
call ebx
mov eax, dword [0x10134f4]
push dword [eax]
push dword [0x10134f0]
call fcn.0100c30c
push dword [0x1013ba4]
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call fcn.0100e6e1
jmp 0x10079ae
push 0x10
push 0x16
push dword [0x1013ba4]
push dword [0x1013b74]
call fcn.0100b2f8
pop ebx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.0100ec8a
leave
ret 0x10
Function at 0x1007d21
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
call fcn.0100a8bd
xor ebx, ebx
cmp eax, ebx
mov dword [0x10134fc], eax
je 0x1007f21
push esi
push edi
push ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [0x10134fc]
mov esi, eax
call fcn.0100a075
mov eax, dword [0x1013844]
mov dword [esi + 0x10], eax
mov eax, dword [0x1013844]
xor edi, edi
inc edi
push edi
mov dword [esi + 0xc], eax
push dword [0x1013ac0]
push eax
push dword [0x10134fc]
call fcn.0100c1ea
cmp eax, ebx
mov dword [esi], eax
je 0x1007d94
push eax
mov dword [esi + 0x1c], edi
push dword [0x10134fc]
call fcn.0100c30c
test eax, eax
jne 0x1007db8
push ebx
push ebx
push 0x221
push dword [0x10134fc]
mov dword [0x10139e0], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x10134fc], ebx
jmp 0x1007f1f
mov edi, 0x1014140
push edi
push dword [0x10134fc]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
lea eax, [esi + 0x20]
push eax
call ebx
push 0x1001512
add esi, 0x40
push esi
call ebx
xor ebx, ebx
push ebx
push dword [0x10134fc]
call dword [sym.imp.USER32.dll_GetSystemMenu]
xor esi, esi
inc esi
push esi
push 0xf060
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
lea eax, [ebp - 0x44]
push eax
push edi
call fcn.01009ac6
test eax, eax
je 0x1007e42
lea eax, [ebp - 0x44]
push eax
push dword [0x10134fc]
mov dword [ebp - 0x44], 0x2c
mov dword [ebp - 0x40], esi
call dword [sym.imp.USER32.dll_SetWindowPlacement]
push 0x1001c88
call fcn.0100eda2
pop ecx
push dword [0x10134fc]
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x1007ead
push dword [0x1013ba4]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x1007e9a
push 0x1001c58
call fcn.0100eda2
pop ecx
lea eax, [ebp - 0x18]
push eax
push dword [0x1013d24]
call dword [sym.imp.USER32.dll_GetClientRect]
push ebx
push 0x27
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x14]
sub ecx, eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push ecx
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [0x10134fc]
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x1007ea0
mov dword [0x10134dc], esi
push esi
push dword [0x10134fc]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push dword [0x10134fc]
push 0x222
push dword [0x1013d24]
call esi
push ebx
push ebx
push 0x234
push dword [0x1013d24]
call esi
mov eax, dword [0x1013e8c]
cmp eax, ebx
je 0x1007f1f
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push ebx
push ebx
push str.DefView
push eax
mov dword [ebp - 4], 0x2d
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0x1001c38
call fcn.0100eda2
pop ecx
push ebx
push dword [ebp - 4]
push 0x111
push dword [0x1013ba4]
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10099cb
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
cmp dword [0x1013e8c], 0
je 0x1009abd
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x2c
pop edi
push 0x1013aa0
push str.Windows
mov esi, 0x1013c00
push esi
mov dword [ebx], edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
push ebx
push 3
push 0
push esi
push dword [0x1013e8c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
and dword [ebp - 0x28], 0
push 5
push dword [0x1013d24]
mov dword [ebp - 0x2c], edi
jmp 0x1009aaa
push 4
push ebx
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
jne 0x1009aa7
lea eax, [ebp - 0x2c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowPlacement]
test eax, eax
je 0x1009aa7
xor eax, eax
cmp dword [ebp - 0x24], 2
mov dword [ebp - 0x2c], edi
sete al
mov dword [ebp - 0x28], eax
xor eax, eax
cmp ebx, eax
je 0x1009a65
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, eax
je 0x1009a91
test ebx, ebx
je 0x1009a78
push 0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
jmp 0x1009a7a
xor eax, eax
add eax, 0x20
push eax
push str.Windows
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
lea eax, [ebp - 0x2c]
push eax
push 3
push 0
push esi
push dword [0x1013e8c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 2
push ebx
call dword [sym.imp.USER32.dll_GetWindow]
mov ebx, eax
test ebx, ebx
jne 0x1009a2c
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100c6b5
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x10133a4]
push ebx
push str.Connections
mov dword [ebp - 4], eax
mov dword [ebp - 0xb4], 1
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0xb0], eax
mov eax, dword [0x1013e8c]
xor ebx, ebx
cmp eax, ebx
je 0x100c7df
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0xac]
push ecx
lea ecx, [ebp - 0x54]
push ecx
push ebx
push eax
mov dword [ebp - 0xac], 0x50
mov dword [ebp - 0xa8], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x100c7df
push esi
push edi
mov ecx, dword [ebp - 0xb0]
mov edi, str.Connections
lea esi, [ebp - 0x54]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x100c73d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x100c7a4
mov edi, dword [ebp - 0xb0]
lea edi, [ebp + edi - 0x54]
push edi
push 0x1002770
call fcn.0100eda2
pop ecx
pop ecx
push ebx
push edi
call fcn.0100c3da
test eax, eax
jne 0x100c7a4
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea eax, [ebp - 0x54]
push eax
push dword [0x1013e8c]
call esi
push edi
push str.Windows
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0xa4]
push eax
push dword [0x1013e8c]
call esi
mov dword [ebp - 0xb4], ebx
inc dword [ebp - 0xa8]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0xa8]
mov dword [ebp - 0xac], 0x50
push dword [0x1013e8c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x100c724
pop edi
pop esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xb4]
pop ebx
call fcn.0100ec8a
leave
ret
Function at 0x100cf31
Capabilities:
Write clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x100cf5a
push 0x1002910
call fcn.0100eda2
pop ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetClipboardData]
jmp 0x100d025
cmp dword [esi + 4], 0
jne 0x100cf72
push 0x10028e4
call fcn.0100eda2
pop ecx
xor eax, eax
jmp 0x100d025
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [esi + 8]
jmp 0x100cf83
cmp dword [edi], ebx
je 0x100cfa3
mov edi, dword [edi + 8]
test edi, edi
jne 0x100cf7c
push 0xc
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
jne 0x100cff0
push 0x10028bc
call fcn.0100eda2
xor eax, eax
jmp 0x100d022
mov eax, dword [edi + 4]
test eax, eax
je 0x100cfdc
cmp ebx, 2
je 0x100cfd5
cmp ebx, 3
je 0x100cfcc
cmp ebx, 7
jbe 0x100cfc3
cmp ebx, 9
jbe 0x100cfd5
cmp ebx, 0xe
je 0x100cfcc
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x100cfdc
push eax
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
jmp 0x100cfdc
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [ebp + 0x10]
push 0x1002888
mov dword [edi + 4], esi
call fcn.0100eda2
mov eax, esi
jmp 0x100d022
mov edi, dword [ebp + 0x10]
and dword [eax + 8], 0
mov dword [eax + 4], edi
mov dword [eax], ebx
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x100d006
mov dword [ecx + 8], eax
cmp dword [esi + 8], 0
mov dword [esi + 0xc], eax
jne 0x100d012
mov dword [esi + 8], eax
inc dword [esi]
push edi
push 0x100285c
call fcn.0100eda2
pop ecx
mov eax, edi
pop ecx
pop edi
pop ebx
pop esi
pop ebp
ret 0xc