joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b1d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [esp + 4]
push ebx
push esi
mov esi, 0x5db258
mov eax, 0x5db058
sub esi, ecx
xor edx, edx
mov dx, word [eax]
and edx, 0x800000ff
jns 0x43b1f7
dec edx
or edx, 0xffffff00
inc edx
mov bl, byte [esi + ecx]
add eax, 2
xor dl, bl
mov byte [ecx], dl
inc ecx
cmp eax, 0x5db256
jle 0x43b1e2
pop esi
pop ebx
ret 4

Function at 0x43b390
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
mov si, word [eax]
mov dx, word [eax + 2]
mov cx, word [eax + 4]
mov ax, word [eax + 6]
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edx
lea ebp, [edi + 0x7c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebp
mov di, ax
mov bx, cx
jmp 0x43b3d9
mov ebp, dword [esp + 0x20]
shl eax, 0xb
shr di, 5
or eax, edi
mov edi, ecx
not edi
and edi, esi
sub eax, edi
mov edi, ecx
and edi, edx
sub eax, edi
mov edi, edx
sub ax, word [ebp + 2]
shl ecx, 0xd
shr bx, 3
not edi
or ecx, ebx
and edi, eax
sub ecx, edi
mov edi, edx
and edi, esi
mov dword [esp + 0x10], eax
sub ecx, edi
mov edi, edx
mov dx, word [esp + 0x1c]
sub cx, word [ebp]
shl edi, 0xe
shr dx, 2
or edi, edx
mov edx, esi
not edx
and edx, ecx
mov dword [esp + 0x14], ecx
sub edi, edx
mov edx, eax
and edx, esi
sub edi, edx
sub di, word [ebp - 2]
mov edx, edi
mov edi, esi
mov si, word [esp + 0x18]
mov dword [esp + 0x1c], edx
shl edi, 0xf
shr si, 1
or edi, esi
mov esi, eax
not esi
and esi, edx
sub edi, esi
mov esi, eax
and esi, ecx
sub edi, esi
sub di, word [ebp - 4]
mov ebp, dword [esp + 0x24]
cmp ebp, 0xb
mov esi, edi
mov dword [esp + 0x18], esi
je 0x43b474
cmp ebp, 5
jne 0x43b4c8
mov di, word [esp + 0x10]
mov bx, word [esp + 0x14]
mov eax, ecx
mov ecx, dword [esp + 0x30]
and eax, 0x3f
and edx, 0x3f
and esi, 0x3f
sub di, word [ecx + eax*2]
sub bx, word [ecx + edx*2]
mov dx, word [ecx + esi*2]
sub word [esp + 0x1c], dx
mov word [esp + 0x10], di
mov eax, dword [esp + 0x10]
mov word [esp + 0x14], bx
mov edx, eax
and edx, 0x3f
mov cx, word [ecx + edx*2]
mov edx, dword [esp + 0x1c]
sub word [esp + 0x18], cx
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
jmp 0x43b4d2
mov di, word [esp + 0x10]
mov bx, word [esp + 0x14]
dec ebp
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x20]
sub ebp, 8
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x24]
test ebp, ebp
jge 0x43b3d5
mov eax, dword [esp + 0x2c]
mov dx, word [esp + 0x18]
mov cx, word [esp + 0x1c]
mov word [eax + 6], di
pop edi
pop esi
mov word [eax + 4], bx
pop ebp
mov word [eax], dx
mov word [eax + 2], cx
pop ebx
add esp, 0x18
ret 8
Function at 0x43e200
Capabilities:
Get file attributes

Disassembly:
mov eax, dword [0x65f7c4]
test eax, eax
je 0x43e215
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
ret
mov ecx, dword [esp + 4]
push esi
push ecx
lea ecx, [esp + 0xc]
call fcn.005a590d
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea ecx, [esp + 8]
mov esi, eax
call fcn.005a584d
mov eax, esi
pop esi
ret
Function at 0x4488d0
Capabilities:
Get geographical location

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
push 0
push 0x400
push esi
push edi
call fcn.0058b2f0
mov dword [esp + 0x10], eax
mov ecx, esi
cdq
mov ebp, eax
mov eax, edi
sub eax, ebp
push 0
sbb ecx, edx
push 0x400
push ecx
push eax
mov dword [esp + 0x30], edx
call fcn.0058b240
mov ebx, eax
and ebx, 0x800003ff
jns 0x448920
dec ebx
or ebx, 0xfffffc00
inc ebx
mov eax, ebx
mov ecx, edi
shl eax, 0xa
cdq
sub ecx, eax
mov eax, esi
sbb eax, edx
sub ecx, ebp
mov ebp, dword [esp + 0x20]
push 0
sbb eax, ebp
push 0x100000
push eax
push ecx
call fcn.0058b240
mov ebp, eax
and ebp, 0x800003ff
jns 0x448956
dec ebp
or ebp, 0xfffffc00
inc ebp
push 0
push 0x40000000
push esi
push edi
call fcn.0058b240
lea ecx, [esp + 0x1c]
push 3
push ecx
mov esi, eax
push 0xe
push 0x400
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x4489aa
mov edi, 0x65f3d4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x448a8b
cmp ebp, 0x3e7
jg 0x448a8b
test ebp, ebp
jne 0x448a37
cmp ebx, 0x3e7
jg 0x448a37
test ebx, ebx
je 0x448a10
mov eax, dword [esp + 0x10]
mov ecx, dword [0x688518]
push ecx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
mov ecx, eax
mov eax, 0x66666667
sar ecx, 0xa
imul ecx
sar edx, 2
mov eax, edx
lea ecx, [esp + 0x20]
shr eax, 0x1f
add edx, eax
push edx
push ecx
push ebx
jmp 0x448ac6
mov eax, dword [0x688514]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
push eax
push ecx
push str._d___s
push edx
call fcn.00589e0a
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov eax, dword [0x68851c]
push eax
lea eax, [ebx + ebx*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
mov ecx, eax
mov eax, 0x66666667
sar ecx, 0xa
imul ecx
sar edx, 2
mov ecx, edx
mov eax, dword [esp + 0x28]
shr ecx, 0x1f
add edx, ecx
push edx
lea edx, [esp + 0x24]
push edx
push ebp
push str._d_s_02d___s
push eax
call fcn.00589e0a
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
lea ebp, [ebp + ebp*4]
mov ecx, dword [0x688520]
push ecx
lea eax, [ebp + ebp*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
mov ecx, eax
mov eax, 0x66666667
sar ecx, 0xa
imul ecx
sar edx, 2
mov eax, edx
lea ecx, [esp + 0x20]
shr eax, 0x1f
add edx, eax
push edx
push ecx
push esi
mov edx, dword [esp + 0x34]
push str._d_s_02d___s
push edx
call fcn.00589e0a
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x449290
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bbd7e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfb8
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
push 0x20
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], edi
call fcn.005a1be9
mov esi, eax
add esp, 4
cmp esi, edi
je 0x4494cd
mov eax, dword [0x682f9c]
lea edi, [esi + 4]
mov dword [esi], eax
mov ecx, dword [0x682f9c]
mov dword [edi], ecx
mov edx, dword [0x682f9c]
lea ebx, [esi + 8]
mov dword [ebx], edx
mov eax, dword [0x682f9c]
mov dword [esi + 0xc], eax
mov ecx, dword [0x682f9c]
mov dword [esi + 0x10], ecx
mov edx, dword [0x682f9c]
mov dword [esi + 0x14], edx
mov eax, dword [0x682f9c]
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x7f4]
push ecx
push edx
mov dword [esi + 0x18], eax
mov eax, dword [0x687b54]
push 0
push 0
push str.LastUrl
push eax
mov dword [ebp - 0x24], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4493ad
mov dword [ebp - 0x20], esi
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 6
call fcn.005a584d
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 5
call fcn.005a584d
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 4
call fcn.005a584d
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 3
call fcn.005a584d
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.005a584d
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.005a584d
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.005a584d
push esi
call fcn.005a1c12
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x7f4]
push ecx
mov ecx, edi
call fcn.005a59d6
mov edi, dword [ebp - 0x14]
lea edx, [ebp - 0xfc4]
push edx
mov ecx, edi
call fcn.0044f440
test eax, eax
lea eax, [ebp - 0xfc4]
jne 0x4493db
mov eax, 0x6874e8
push eax
mov ecx, ebx
call fcn.005a59d6
mov eax, dword [0x682f9c]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
mov ebx, 7
push ecx
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.004527f0
test eax, eax
je 0x449407
lea eax, [ebp - 0x18]
jmp 0x44941f
push 0x6874e8
lea ecx, [ebp - 0x20]
call fcn.005a58bb
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 8
push eax
lea ecx, [esi + 0xc]
call fcn.005a5986
mov al, byte [ebp - 0x1c]
mov dword [ebp - 4], ebx
test al, 1
je 0x44943a
lea ecx, [ebp - 0x20]
call fcn.005a584d
push 0x6874e8
lea ecx, [esi + 0x10]
call fcn.005a59d6
push 0x6874e8
lea ecx, [esi + 0x14]
call fcn.005a59d6
push 0x6874e8
lea ecx, [esi + 0x18]
call fcn.005a59d6
mov edx, dword [edi + 0x1c]
push 0
push esi
push 0x2b37
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005a584d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x44bde0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bc0c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x12d0]
mov dword [ebp - 0x10], esp
cmp eax, ebx
je 0x44be34
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44be2e
mov eax, dword [esi + 0x12d0]
push ebx
push ebx
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0x12d0], ebx
lea edi, [esi + 0x13d0]
mov ecx, esi
push edi
call fcn.005a2bb3
push ebx
mov ecx, esi
call fcn.005a4f51
mov ecx, dword [0x687b54]
push 0x2c
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ebx
push ebx
push str.windowPlacementV5
push ecx
call edi
mov ecx, dword [0x687b54]
mov edx, dword [esi + 0x208]
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push ebx
push str.sortOrder
push ecx
mov dword [ebp - 0x14], edx
call edi
lea ecx, [esi + 0x48c]
call fcn.0048cfc0
call fcn.00436d80
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44d870
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x188
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1a0]
mov ebx, ecx
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1a0]
repne scasb al, byte es:[edi]
mov ebp, dword [esp + 0x19c]
lea eax, [esp + 0x10]
not ecx
dec ecx
push eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 0x18c]
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], esi
push edx
mov edx, dword [ecx + 0x1c]
push 0x102e
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test ebp, ebp
jne 0x44d939
mov ecx, 0x58
xor eax, eax
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x44d8f2
mov esi, str.index.html
push 0x4011
lea eax, [esp + 0x3c]
push 0x160
push eax
push 0x80
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [esp + 0x3c]
mov eax, dword [ebx + 0x18c]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 2
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 0x1c]
push edx
push 0
push 0x1006
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret 0xc
Function at 0x44f440
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 8]
lea eax, [esp + 8]
push edi
push eax
push esi
mov dword [esi], 0
mov ecx, dword [0x687b54]
push 0
push 0
push str.LastReferer
push ecx
mov dword [esp + 0x24], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [0x687b54]
push str.LastReferer
push edx
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test edi, edi
je 0x44f48f
pop edi
xor eax, eax
pop esi
ret 4
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 4
jae 0x44f4a5
pop edi
pop esi
ret 4
push 6
push str.http:_
push esi
call fcn.0058b6b0
add esp, 0xc
test eax, eax
je 0x44f4d4
push 7
push str.https:_
push esi
call fcn.0058b6b0
add esp, 0xc
test eax, eax
je 0x44f4d4
pop edi
xor eax, eax
pop esi
ret 4
pop edi
mov eax, 1
pop esi
ret 4

Function at 0x44f570
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bc400
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov edx, dword [0x687b54]
push esi
push edi
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x18]
push eax
push ecx
push 0
push 0
push str.LastCheckQU
push edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44f64d
push ecx
mov ecx, dword [ebp - 0x18]
mov eax, esp
mov dword [ebp - 0x20], esp
push 0
mov dword [eax], ecx
call fcn.0058ab83
add esp, 4
lea ecx, [ebp - 0x20]
push eax
call fcn.0044f670
lea edx, [ebp - 0x24]
mov ecx, eax
push edx
call fcn.0044f680
mov ecx, dword [eax]
mov eax, 0xc22e4507
imul ecx
add edx, ecx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add edx, eax
xor eax, eax
cmp edx, 7
setge al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44ffe0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x687b54]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push str.ShowDropTarget
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x450015
xor al, al
add esp, 8
ret
mov eax, dword [esp + 4]
test eax, eax
setne al
add esp, 8
ret

Function at 0x4500c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5bc4ab
push eax
mov dword fs:[0], esp
sub esp, 0x110
mov ecx, 0x687a60
push ebx
push ebp
push esi
mov esi, dword [esp + 0x12c]
push edi
mov edi, dword [esp + 0x134]
lea eax, [edi + 1]
push eax
push esi
call fcn.00424b50
mov ebp, dword [esp + 0x140]
test eax, eax
je 0x450116
mov ebx, dword [esp + 0x13c]
mov byte [ebx], 1
jmp 0x4501e0
mov ecx, dword [0x682f9c]
mov dword [esp + 0x10], ecx
push esi
lea edx, [esp + 0x14]
push str.MIMEDatabaseContent_Type_s
push edx
mov dword [esp + 0x134], 0
call fcn.0059e618
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push 1
push 0
push ecx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, dword [esp + 0x13c]
test eax, eax
jne 0x4501cc
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push 0
push str.Extension
push ecx
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4501c1
lea edx, [esp + 0x1c]
push edx
push edi
call fcn.005929b0
add esp, 8
test eax, eax
jne 0x4501a3
mov byte [ebx], 1
jmp 0x4501c1
mov ecx, dword [esp + 0x138]
lea eax, [esp + 0x1d]
push eax
push 0x65bf6c
push ecx
call fcn.0059e618
add esp, 0xc
mov byte [ebp], 1
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov dword [esp + 0x128], 0xffffffff
call fcn.005a584d
cmp byte [ebx], 0
jne 0x450206
cmp byte [ebp], 0
jne 0x450206
mov eax, dword [esp + 0x138]
mov ecx, 0x687a60
push eax
push esi
call fcn.00424f40
test eax, eax
je 0x450206
mov byte [ebp], 1
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret 0x14
Function at 0x454b70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x687b54]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push str.StartDlgShowing
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x454ba5
mov al, 1
add esp, 8
ret
mov eax, dword [esp + 4]
test eax, eax
setne al
add esp, 8
ret

Function at 0x457650
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bcb30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov dword [ebp - 0x1c], ecx
push edi
mov ecx, 0x687a00
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
call fcn.004b78a0
test ax, ax
je 0x45773f
mov edx, dword [0x687b54]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
push ecx
push 0
push 0
push str.LastCheckLNG3
push edx
mov dword [ebp - 0x14], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45770e
push ecx
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x1c], esp
mov eax, esp
push edx
push 0
mov dword [eax], ecx
call fcn.0058ab83
add esp, 4
lea ecx, [ebp - 0x24]
push eax
call fcn.0044f670
mov ecx, eax
call fcn.0044f680
mov ecx, dword [eax]
mov eax, 0xc22e4507
imul ecx
add edx, ecx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add edx, eax
xor eax, eax
cmp edx, 0xe
setge al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459110
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov edx, dword [0x687b54]
push ebx
lea eax, [esp + 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push str.SPChecked
push edx
mov dword [esp + 0x20], 4
call esi
test eax, eax
je 0x459200
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push str.C:Program_FilesSpyHunterSpyHunter.exe
call ebx
cmp eax, 0xffffffff
je 0x45916a
pop esi
mov eax, 1
pop ebx
add esp, 0x214
ret
lea eax, [esp + 0xc]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallEE5B8E34_973C_4FBE_AC83_99F064009FC7
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x459200
lea ecx, [esp + 8]
lea edx, [esp + 0x14]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x1c]
push str.InstallLocation
push eax
mov dword [esp + 0x20], 0x208
call esi
test eax, eax
jne 0x4591f5
push ebp
push edi
mov edi, str.SpyHunter.exe
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1c]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
pop edi
cmp eax, 0xffffffff
pop ebp
je 0x4591f5
pop esi
mov eax, 1
pop ebx
add esp, 0x214
ret
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
xor eax, eax
pop ebx
add esp, 0x214
ret
Function at 0x45dce0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bd9a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
push ebx
mov edx, dword [0x687b54]
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x14]
push eax
push ecx
push 0
push 0
mov esi, 3
mov ebx, 4
push str.RememberDuplLinksA
push edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], ebx
call edi
test eax, eax
jne 0x45dd45
cmp dword [ebp - 0x14], 1
je 0x45ddb3
mov eax, dword [ebp + 8]
push 0
push eax
lea ecx, [ebp - 0xf8]
call fcn.0046d1a0
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 1
call fcn.005a17e3
mov ecx, dword [ebp - 0x20]
dec eax
neg eax
sbb eax, eax
not eax
and eax, ecx
mov esi, eax
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.005a584d
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.005ad4e1
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.005ad391
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0
call fcn.005a1424
jmp 0x45dde4
mov eax, dword [0x687b54]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
push ecx
push edx
push 0
push 0
push str.DuplLinksA
push eax
mov dword [ebp - 0x18], ebx
call edi
test eax, eax
jne 0x45dde4
mov esi, dword [ebp - 0x14]
test esi, esi
jne 0x45dde4
mov esi, 3
jmp 0x45dde4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45fbe0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bddc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
mov edx, dword [0x687b54]
push esi
push edi
mov esi, ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x14]
xor ebx, ebx
push eax
push ecx
push ebx
push ebx
push str.bShBTtFQCI
push edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x45fd7f
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x45fd5a
mov edi, dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, edi
jne 0x45fd5a
cmp byte [esi + 0x13ce], bl
jne 0x45fd5a
cmp byte [esi + 0x1ff], bl
je 0x45fc79
push 0x16
push edi
call dword [sym.imp.USER32.dll_KillTimer]
mov byte [esi + 0x1ff], bl
mov edx, dword [esi + 0x4e8]
lea ecx, [ebp - 0x30]
push ecx
push 2
push 0x1207
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x30]
lea ecx, [esi + 0x4cc]
push eax
call fcn.005a84f2
mov edx, dword [esi + 0x4a8]
lea ecx, [ebp - 0x40]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x40]
lea ecx, [esi + 0x48c]
push eax
call fcn.005a84f2
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
mov edx, ecx
sub edx, eax
test edx, edx
jle 0x45fd7f
cmp eax, dword [ebp - 0x40]
jl 0x45fd7f
cmp ecx, dword [ebp - 0x38]
jg 0x45fd7f
mov ecx, dword [0x687b54]
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push ebx
push str.bShBTtFQCI
push ecx
mov dword [ebp - 0x14], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x45fd7f
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
add edx, 0xfffffffc
add eax, 0xfffffffc
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], edx
mov edx, dword [0x6881f0]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x6881f4]
push ecx
mov ecx, dword [esi + 0x4a8]
push ebx
push edx
push eax
push ecx
call fcn.00478610
add esp, 0x14
mov dword [esi + 0x12d0], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x1ff], bl
jne 0x45fd7f
mov edx, dword [esi + 0x1c]
push ebx
push 0x1f4
push 0x16
push edx
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
je 0x45fd7f
mov byte [esi + 0x1ff], 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x461440
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5be150
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x12cc]
mov eax, 0x84f5
cmp ecx, 2
jne 0x461481
mov eax, 0x84f6
jmp 0x46148b
cmp ecx, 3
jne 0x46148b
mov eax, 0x84f7
push 0
push eax
mov eax, dword [esi + 0x190]
push 0x84f7
push 0x84f5
push eax
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
mov eax, dword [0x687b54]
mov ecx, dword [esi + 0x12cc]
lea edx, [ebp - 0x14]
push 4
push edx
push 4
push 0
push str.TrayIcon
push eax
mov dword [ebp - 0x14], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esi + 0x12cc]
cmp eax, 3
je 0x46151f
cmp eax, 2
jne 0x4614ed
call fcn.005af98f
call fcn.005af98f
mov eax, dword [eax + 0xc]
push 0x15a
jmp 0x4614ff
call fcn.005af98f
call fcn.005af98f
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, dword [esi + 0x1c]
push 0x65c098
push eax
push 0x2712
push 0
push ecx
call fcn.00479330
add esp, 0x14
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret