joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b4c6
Capabilities:
Check for software breakpoints

Disassembly:
aas
out 0xf2, al
jl 0x45b4dd
and byte [0x7db78bb1], bh
mul byte [0x7cf73100]
lds esi, [edx - 0x3552e877]
rol dword [eax + 0x6f89bdf8], 0x94
xlatb
or edx, dword [edi + eax*4 + 0x59]
dec byte [bp + di - 0x5a]
jl 0x45b55a
insd dword es:[edi], dx
mov dword [0x4bb07e55], eax
push 0x27ac395b
salc
out dx, eax
scasb al, byte es:[edi]
hlt
pop ecx
adc ecx, dword [edi + 0x78]
dec esp
out 0x78, eax
int 0xa6
ret 0x7ca7
inc esi
test eax, 0xd199470f
mov ecx, 0x8ff671d1
inc edi
cdq
sar dword [ecx - 0x70098e2f], 1
jno 0x45b526
invalid
aaa
jbe 0x45b587
nop
aaa
adc al, 0x8c
cdq
jmp 0x45b529
pop esi
or dword [edi + 0x39], edx
pop edx
jg 0x45b5bc
jb 0x45b513
aad 0xfb
xlatb
ja 0x45b52e
push ecx
add al, 0xf4
adc ecx, 0xc5241f48
mov dl, 0x7a
sbb dword [0xcea9cf28], ebx
mov byte [0xc5dca0d5], al
test eax, 0xb2d6253f
invalid
stc
lahf
xlatb
cmpsd dword [esi], dword es:[edi]
jae 0x45b511
sbb bl, ah
movsd dword es:[edi], dword [esi]
je 0x45b5cf
add eax, dword [ecx + 0x1311470d]
push ebp
je 0x45b5eb
int1
ljmp 0x7de2
stosb byte es:[edi], al
pop edi
cmp dword [eax], 0x1e61cc3d
or al, byte [ecx + 0x6d8362e6]
inc ebp
dec ebx
mov ecx, 0x36d81a17
pop ss
pop ss
sbb bl, al
pop ss
cmpsb byte [esi], byte es:[edi]
cmp dl, 0xc8
std
lcall 0x6f0e, 0x2af50fa5
cwde
int3
clc
popal
sbb ebx, 0x72774687
invalid

Function at 0x6054b5
Capabilities:
Encode data using xor

Disassembly:
into
add byte [ebx + 0x122a04cf], 0x3b
test byte [ebx + 0x7e08c055], bh
salc
inc ebx
invalid
xor al, 0x7d
mov word [ecx], es
invalid
jge 0x605443
add dword [edx - 0x1f], esp
and dword [edi], esi
pop ebp
imul edi, esp, 0x56f443b7
cwde
sub eax, 0x4fb945b
xor byte [esi - 0x740cd492], ch
bound ebp, qword [edi + 0x3eea8a9c]
mov dh, byte [edx + 0x71]
pop ss
lodsd eax, dword [esi]
mov cl, 0xe6
jecxz 0x6054b4
ret

Function at 0x627cf1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6303c0
cmp edx, dword [eax]
je 0x627d13
add eax, 8
inc ecx
cmp eax, 0x630450
jl 0x627d04
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6303c0]
jne 0x627e41
mov eax, dword [0x638d68]
cmp eax, 1
je 0x627e1b
test eax, eax
jne 0x627d44
cmp dword [0x6302e8], 1
je 0x627e1b
cmp edx, 0xfc
je 0x627e41
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x627d7b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.006286d0
pop ecx
lea eax, [ebp + 8]
lea esi, [esi + 0x6303c4]
push 0
push eax
push dword [esi]
call fcn.00628b60
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
Function at 0x4022b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
test esi, esi
je 0x402300
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x402300
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x402300
push edi
push 0x5c
push esi
call fcn.0041bd73
mov edi, eax
add esp, 8
test edi, edi
je 0x4022ff
xor eax, eax
mov ecx, ebx
push esi
mov word [edi], ax
call fcn.004022b0
mov eax, 0x5c
mov word [edi], ax
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x402a50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4ad00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4ae534]
push esi
push edi
test eax, eax
je 0x402a77
cmp byte [eax], 0
jne 0x402b43
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0041c660
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
test eax, eax
lea eax, [ebp - 0x20c]
jne 0x402abf
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x402ad2
lea eax, [ebp - 0x20c]
push str.MacromedFlashmms.cfg
push 0x104
push eax
call fcn.0041dcc9
add esp, 0xc
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
push edi
call fcn.0041ad8b
mov esi, eax
add esp, 4
test esi, esi
je 0x402b43
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x402b3a
mov eax, dword [0x4ae534]
test eax, eax
je 0x402b2f
cmp byte [eax], 0
jne 0x402b3a
push esi
mov ecx, 0x4ae534
call fcn.004013c0
push esi
call fcn.0041ad86
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 0x4ae534
pop edi
xor ecx, ebp
pop esi
call fcn.0041ad75
mov esp, ebp
pop ebp
ret

Function at 0x403340
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
push 1
push 0
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4033ae
push esi
push edi
lea edi, [eax + 0x10]
mov dword [ebp - 0xc], 0x104
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push str.isPartner
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4033a6
cmp dword [ebp - 8], 1
mov eax, 0x11
cmove edi, eax
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4054f0
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x4ad00c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x38
lea eax, [ebp - 0x244]
push 0
push eax
call fcn.0041c660
add esp, 0xc
mov dword [ebp - 0x248], 0x3c
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x248]
mov dword [ebp - 0x240], 0
push eax
mov dword [ebp - 0x23c], str.runas
mov dword [ebp - 0x234], str.startupdialogadvanced
mov dword [ebp - 0x22c], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 1
je 0x405596
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0041ad75
mov esp, ebp
pop ebp
ret 0xc
push 0
call fcn.0041e0ff
int3

Function at 0x4055a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
push 0x32d1
mov ecx, dword [edi + 0x5c]
call fcn.0041a580
push eax
lea ecx, [ebp - 4]
call fcn.004031f0
push 1
push 0
push 0
push dword [ebp - 4]
push str.open
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 4]
call fcn.0041ad86
add esp, 4
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4059c0
Capabilities:
Get token membership
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4ad00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov word [ebp - 8], 0x500
push eax
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x405a20
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb eax, eax
and dword [ebp - 0x10], eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [ebp - 0x10], 1
je 0x405a83
push 0x44f
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x485
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x450
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041ad75
mov esp, ebp
pop ebp
ret
push 0
push dword [esi + 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041ad75
mov esp, ebp
pop ebp
ret
Function at 0x405aa0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0x44f
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x485
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x450
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x467
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x468
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x469
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x470
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x46c
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x46d
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x486
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x487
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x70]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x4061a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x480
mov eax, dword [0x4ad00c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x41c]
push esi
push edi
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x41c]
or esi, 0xffffffff
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4061e0
sub ecx, edx
sar ecx, 1
js 0x406205
cmp word [ebp + ecx*2 - 0x41c], 0x5c
je 0x406203
sub ecx, 1
jns 0x4061f1
jmp 0x406205
mov esi, ecx
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.0041e1e2
add esp, 0x10
test eax, eax
je 0x40623d
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041ad75
mov esp, ebp
pop ebp
ret 4
mov edi, 0x103
mov eax, edi
sub eax, esi
push str.MacromedFlashFlashPlayerUpdateService.exe
push eax
lea eax, [ebp - 0x212]
lea eax, [eax + esi*2]
push eax
call fcn.0041dc65
add esp, 0xc
test eax, eax
jne 0x406228
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406270
sub ecx, edx
lea eax, [ebp - 0x214]
sar ecx, 1
push ebx
sub edi, ecx
push edi
lea eax, [eax + ecx*2]
push eax
call fcn.0041dc65
add esp, 0xc
test eax, eax
jne 0x406228
push 0x44
push eax
lea eax, [ebp - 0x47c]
push eax
call fcn.0041c660
add esp, 0xc
lea eax, [ebp - 0x430]
xorps xmm0, xmm0
movups xmmword [ebp - 0x430], xmm0
push eax
lea eax, [ebp - 0x47c]
push eax
push 0
push 0
push 0xc000000
push 0
push 0
push 0
lea eax, [ebp - 0x214]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, 1
jne 0x40632e
push 0x927c0
push dword [ebp - 0x430]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x430]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x420], 0
push dword [ebp - 0x430]
sete bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x42c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x406330
xor bl, bl
mov ecx, dword [ebp - 8]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ad75
mov esp, ebp
pop ebp
ret 4
Function at 0x406350
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
mov eax, dword [0x4ad00c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0x20a
push 0
push eax
call fcn.0041c660
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
call fcn.004064a0
test al, al
jne 0x4063a2
xor al, al
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041ad75
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4063b0
sub ecx, edx
mov eax, 0x103
sar ecx, 1
sub eax, ecx
push esi
push eax
lea eax, [ebp - 0x21c]
lea eax, [eax + ecx*2]
push eax
call fcn.0041dc65
add esp, 0xc
test eax, eax
jne 0x40638e
push 0x44
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.0041c660
add esp, 0xc
lea eax, [ebp - 0x230]
xorps xmm0, xmm0
movups xmmword [ebp - 0x230], xmm0
push eax
lea eax, [ebp - 0x27c]
push eax
push 0
push 0
push 0xc000000
push 0
push 0
push 0
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, 1
jne 0x406485
push 0x927c0
push dword [ebp - 0x230]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x230]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x220], 0
push dword [ebp - 0x230]
sete bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041ad75
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
xor bl, bl
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0041ad75
mov esp, ebp
pop ebp
ret 4

Function at 0x4064a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push ebx
push eax
push 1
push 0
push str.SOFTWAREMacromediaFlashPlayerPepper
push 0x80000002
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40652e
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push edi
push 0
push 0
push str.UninstallerPath
push dword [ebp - 4]
mov dword [ebp - 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x406523
lea ecx, [edi + 2]
nop word [eax + eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x406500
sub edi, ecx
movzx eax, bl
sar edi, 1
mov ecx, 1
pop edi
pop esi
cmovne eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x406540
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
mov eax, dword [0x4ad00c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0x20a
push 0
push eax
call fcn.0041c660
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
call fcn.00406690
test al, al
jne 0x406592
xor al, al
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041ad75
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4065a0
sub ecx, edx
mov eax, 0x103
sar ecx, 1
sub eax, ecx
push esi
push eax
lea eax, [ebp - 0x21c]
lea eax, [eax + ecx*2]
push eax
call fcn.0041dc65
add esp, 0xc
test eax, eax
jne 0x40657e
push 0x44
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.0041c660
add esp, 0xc
lea eax, [ebp - 0x230]
xorps xmm0, xmm0
movups xmmword [ebp - 0x230], xmm0
push eax
lea eax, [ebp - 0x27c]
push eax
push 0
push 0
push 0xc000000
push 0
push 0
push 0
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, 1
jne 0x406675
push 0x927c0
push dword [ebp - 0x230]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x230]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x220], 0
push dword [ebp - 0x230]
sete bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041ad75
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
xor bl, bl
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0041ad75
mov esp, ebp
pop ebp
ret 4

Function at 0x406690
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push ebx
push eax
push 1
push 0
push str.SOFTWAREMacromediaFlashPlayerPlugin
push 0x80000002
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40671e
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push edi
push 0
push 0
push str.UninstallerPath
push dword [ebp - 4]
mov dword [ebp - 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x406713
lea ecx, [edi + 2]
nop word [eax + eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4066f0
sub edi, ecx
movzx eax, bl
sar edi, 1
mov ecx, 1
pop edi
pop esi
cmovne eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x406730
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
push 1
push 0
push str.SOFTWAREMacromediaFlashPlayerPlugin
push 0x80000002
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4067a2
push esi
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x104
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push str.isScriptDebugger
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x4067a2
cmp dword [ebp - 8], 0
mov ecx, 1
movzx eax, bl
cmovne eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4067b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
push 1
push 0
push str.SOFTWAREMacromediaFlashPlayerPepper
push 0x80000002
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406822
push esi
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x104
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push str.isScriptDebugger
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x406822
cmp dword [ebp - 8], 0
mov ecx, 1
movzx eax, bl
cmovne eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x406ee0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
test eax, eax
je 0x406fed
cmp byte [eax], 0
je 0x406fed
push 0x43d6c4
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call fcn.00420a4f
add esp, 0xc
test eax, eax
jne 0x406fed
mov eax, dword [ebp - 4]
test eax, eax
je 0x406fed
push eax
push 4
lea eax, [ebp - 8]
push 1
push eax
call fcn.00420c62
add esp, 0x10
cmp eax, 4
je 0x406f57
push dword [ebp - 4]
mov dword [esi], 0xffffffff
call fcn.0041e263
add esp, 4
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov edx, 0x43d6dc
lea ecx, [ebp - 8]
movzx eax, word [ecx]
cmp ax, word [edx]
jne 0x406f7c
movzx eax, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x406f7c
push 0
mov dword [esi], 1
push 3
jmp 0x406fa6
mov ecx, 0x43d6d4
lea eax, [ebp - 8]
mov ax, word [eax]
cmp ax, word [ecx]
je 0x406fcd
mov ecx, 0x43d6d8
lea eax, [ebp - 8]
mov ax, word [eax]
cmp ax, word [ecx]
je 0x406fcd
push 0
mov dword [esi], 0
push 0
push dword [ebp - 4]
call fcn.0041e59d
add esp, 0xc
mov ecx, esi
push dword [ebp - 4]
call fcn.00407000
push dword [ebp - 4]
call fcn.0041e263
add esp, 4
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 2
push dword [ebp - 4]
mov dword [esi], 2
call fcn.0041e59d
add esp, 0xc
push dword [ebp - 4]
call fcn.0041e263
add esp, 4
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4084f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 0
push 0xffffffffffffffff
push dword [esi]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov ebx, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041ad8b
mov edi, eax
add esp, 4
test edi, edi
je 0x40867c
push ebx
push edi
push 0xffffffffffffffff
push dword [esi]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x408673
push 0x43d6ec
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push edi
push eax
call fcn.00420a08
add esp, 0xc
mov esi, eax
push edi
call fcn.0041ad86
add esp, 4
test esi, esi
jne 0x40867c
cmp dword [ebp - 4], esi
je 0x40867c
push 0x10000
call fcn.0041ad8b
add esp, 4
mov edi, eax
push dword [ebp - 4]
test edi, edi
jne 0x4085af
call fcn.0041e263
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x10000
push 1
push edi
xor esi, esi
call fcn.00420c62
add esp, 0x10
cmp eax, 0x10000
jne 0x408687
nop dword [eax]
push dword [ebp - 4]
add esi, eax
push 0x10000
push 1
push edi
call fcn.00420c62
add esp, 0x10
test eax, eax
jne 0x4085d0
push esi
call fcn.0041ad8b
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x408668
push 0x10000
push edi
push ebx
call fcn.0042edb0
add esp, 0xc
push edi
call fcn.0041ad86
add esp, 4
mov edi, ebx
push 0
push 0
push dword [ebp - 4]
call fcn.0041e59d
add esp, 0xc
push dword [ebp - 4]
push esi
push 1
push ebx
call fcn.00420c62
add esp, 0x10
cmp eax, esi
je 0x408689
push str.SMSettingsManager:_Pathological_error_when_reading_master_settings.sol_file._n
push 2
call fcn.00420e48
add esp, 4
push eax
call fcn.00406dd0
push dword [ebp - 4]
call fcn.0041e263
add esp, 0xc
push ebx
call fcn.0041ad86
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push dword [ebp - 4]
call fcn.0041e263
add esp, 4
push edi
call fcn.0041ad86
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, eax
push dword [ebp - 4]
call fcn.0041e263
add esp, 4
test eax, eax
je 0x4086b0
push str.SMSettingsManager:_Unable_to_close_master_settings.sol_file._n
push 2
call fcn.00420e48
add esp, 4
push eax
call fcn.00406dd0
add esp, 8
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], 0
call fcn.0040be10
push edi
mov esi, eax
call fcn.0041ad86
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8