joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003274
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x100320f
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x100322d
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x100328b
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1003272
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x100327b
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1003285
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1003267
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10031f1
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x10032d8
dec eax
je 0x10032cf
sub eax, 3
je 0x10032c6
mov dword [ebp - 4], 0x40
jmp 0x10032f5
mov dword [ebp - 4], 4
jmp 0x10032db
mov dword [ebp - 4], 0x20
jmp 0x10032db
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1003327
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x10032a7
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.01002b38
cmpsd dword [esi], dword es:[edi]
add byte [eax], ch
invalid
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1004fb6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi + 0x64], ebx
jle 0x1004fe0
lea esi, [edi + 0x6c]
mov eax, dword [esi]
push 0
push 0
push 3
push eax
call dword [eax + 4]
inc ebx
add esi, 4
cmp ebx, dword [edi + 0x64]
jl 0x1004fcb
mov dword [ebp - 4], 2
lea esi, [edi + 0x74]
and dword [ebp - 8], 0
mov dword [ebp + 8], 0x24
mov ecx, dword [esi]
mov ebx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
add dword [ebp + 8], 0xc
add eax, ecx
add edx, 0xfffffffe
shl ebx, 2
or edx, ebx
xor dx, word [eax]
and dx, 0x7fff
xor word [eax], dx
mov ebx, dword [ecx + 8]
mov dx, word [eax]
or dx, 0x8000
inc dword [ebp - 8]
cmp dword [ebp + 8], 0xc0
mov dword [eax + 4], ebx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 8], ecx
mov word [eax], dx
jl 0x1004ff5
mov ecx, dword [esi]
inc dword [ebp - 4]
push 0xd
pop eax
add esi, 4
cmp dword [ebp - 4], 6
mov dword [ecx + 0x1c], eax
jl 0x1004fea
push 0
push 0
push eax
push edi
call dword [edi]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x430c40
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x208
cmp eax, 1
push ebx
push edi
jne case.default.0x430c9a
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], bl
mov byte [esp + 0x10c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x10d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x218]
add eax, 0xfffff006
cmp eax, 5
ja case.default.0x430c9a
jmp dword [eax*4 + 0x430ddc]
mov ecx, dword [0x5c88a4]
push ebx
call fcn.00408d70
pop edi
pop ebx
add esp, 0x208
ret 0x10
mov ecx, dword [0x5c8890]
push ebx
call fcn.0048aca0
pop edi
pop ebx
add esp, 0x208
ret 0x10
mov ecx, dword [0x5c88bc]
push ebx
push 1
call fcn.00472d50
push 0x13
jmp 0x430dc4
mov ecx, dword [0x5c88bc]
push ebx
push 1
call fcn.00472d50
lea ecx, [esp + 8]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
lea edx, [esp + 8]
lea eax, [esp + 0x10c]
push edx
push str._sImageSpirit.dat
push eax
call fcn.004b8784
add esp, 0xc
lea ecx, [esp + 0x10c]
push ecx
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push 0x13
jmp 0x430dc4
cmp dword [0x5c899c], ebx
je 0x430d82
mov ecx, dword [0x5c8890]
call fcn.0048be20
mov ecx, 0x5ecbb8
call fcn.0046af40
mov edx, dword [0x5d339c]
xor eax, eax
mov ecx, 0x4b0
mov dword [0x5d9ed0], ebx
mov dword [edx*4 + 0x5d33a0], ebx
mov edx, dword [0x5d339c]
lea edx, [edx + edx*2]
lea edx, [edx + edx*4]
lea edi, [edx + edx*4]
shl edi, 6
add edi, 0x5c9d98
rep stosd dword es:[edi], eax
mov ecx, dword [0x5c88bc]
push ebx
push 1
call fcn.00472d50
mov ecx, dword [0x5c8884]
call fcn.0042b0b0
cmp eax, 1
jne 0x430dc2
mov eax, dword [0x5c8884]
mov dword [0x5d33c0], ebx
push ebx
mov ecx, dword [eax + 0xd40]
call fcn.004340e0
pop edi
pop ebx
add esp, 0x208
ret 0x10
push 9
mov ecx, dword [0x5c8884]
call fcn.0042b0e0
pop edi
pop ebx
add esp, 0x208
ret 0x10
Function at 0x401cd0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x416740
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x41c7a8
call fcn.0040e385
mov ecx, dword [esi + 8]
call fcn.00402780
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push 0x41c774
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401e97
mov ecx, dword [0x41ca98]
mov dword [esp + 8], ecx
push 0x41c760
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], eax
call fcn.0040e454
mov edx, dword [esp + 8]
lea ecx, [esp + 8]
mov eax, dword [edx - 8]
lea edi, [eax + 1]
push edi
call fcn.0040e56c
push edi
push eax
mov eax, dword [esp + 0x18]
push 2
push 0
push 0x41c288
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
mov edi, eax
call fcn.0040e5bb
test edi, edi
je 0x401e17
mov ecx, dword [0x41ca98]
mov dword [esp + 0xc], ecx
push edi
lea edx, [esp + 0x10]
push 0x41c740
push edx
mov byte [esp + 0x2c], 1
call fcn.0040daed
add esp, 8
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0040e08c
mov ecx, dword [esi + 8]
call fcn.00402780
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x41c71c
call fcn.0040e385
mov ecx, dword [esi + 8]
call fcn.00402780
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.0040e317
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.0040e317
mov eax, 0xfffffff9
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x1c
ret
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x41c6f4
call fcn.0040e385
mov ecx, dword [esi + 8]
call fcn.004028d0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x41c288
call fcn.0040e385
mov ecx, dword [esi + 8]
call fcn.004028d0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x41c1b8
call fcn.0040e385
mov ecx, dword [esi + 8]
call fcn.004028d0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x41c760
call fcn.0040e385
mov ecx, dword [esi + 8]
call fcn.00402780
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.0040e317
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x41c6cc
call fcn.0040e385
mov ecx, dword [esi + 8]
call fcn.00402780
mov ecx, dword [esp + 0x18]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
add esp, 0x1c
ret
Function at 0x4025c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4167da
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], esi
mov dword [esi], 0x417610
mov eax, dword [0x41ca98]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov ebx, 1
push 0x104
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0040e5e3
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0040e5bb
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0x22
jne 0x402642
mov eax, dword [eax - 8]
push 0x41ca00
dec eax
lea ecx, [ebp - 0x14]
push eax
call fcn.0040d5a4
jmp 0x40264f
push 0x41ca00
lea ecx, [ebp - 0x14]
call fcn.0040e518
push 0x10
mov byte [esi + 8], bl
mov byte [ebp - 4], 2
call fcn.0040e058
mov ecx, eax
add esp, 4
mov dword [ebp - 0x1c], ecx
test ecx, ecx
mov byte [ebp - 4], 3
je 0x402680
mov edx, dword [ebp - 0x14]
push 0x3022
push edx
call fcn.0040e6b0
mov dword [esi + 4], eax
jmp 0x40269c
xor eax, eax
mov dword [esi + 4], eax
jmp 0x40269c
mov al, byte [esi + 8]
mov dword [ebp - 4], ebx
test al, al
je 0x4026b9
mov ecx, dword [esi + 4]
push 2
push 0
mov edx, dword [ecx]
call dword [edx + 0x28]
mov ecx, esi
call fcn.00402800
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0040e317
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

Function at 0x41258f
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 0x4125d1
call fcn.0041557d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4125d1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4125c8
xor eax, eax
jmp 0x4125d9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004125df
pop edi
pop esi
pop ebx
ret 4

Function at 0x415ded
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x415e1b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x415e39
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00415d53
jmp 0x415e39
mov eax, dword [esi + 0x14]
test eax, eax
je 0x415e39
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00415d53
test edi, edi
mov eax, edi
jne 0x415e23
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x63601514
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x6360152e
Capabilities:
Set registry value

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [esp + 0x10]
push dword [esp + 0x18]
push 0
push dword [esp + 0x18]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop esi
ret 0xc

Function at 0x63601557
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebx, ecx
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x63601562
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x63601c23
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x6362e4e0]
push ebx
push esi
xor eax, ebp
mov dword [ebp + 0x94], eax
mov eax, dword [ebp + 0xa0]
push 0x2001f
mov ebx, ecx
push eax
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
call fcn.636014df
cmp eax, esi
jne 0x63601cae
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x63601c7a
lea eax, [ebp - 0x6c]
push eax
call fcn.63601c23
cmp eax, esi
jne 0x63601cad
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call edi
test eax, eax
lea ecx, [ebp - 0x70]
je 0x63601c6d
call fcn.6360147a
push dword [ebp - 0x78]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.6360147a
mov ecx, dword [ebp + 0x94]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.636151ae
add ebp, 0x98
leave
ret 4
Function at 0x63606f6d
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
add ecx, 0xffffff88
neg esi
sbb esi, esi
and esi, ecx
lea eax, [esi + 0x84]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, dword [esi + 0x50]
test esi, esi
je 0x63606f95
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8

Function at 0x6360761b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x6362e4e0]
xor eax, ebp
mov dword [ebp + 0x39c], eax
mov eax, dword [ebp + 0x3ac]
push ebx
push esi
mov esi, dword [ebp + 0x3a8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x3b0]
push edi
mov edi, ecx
mov dword [ebp - 0x74], eax
call dword [0x6362e080]
xor ebx, ebx
cmp esi, ebx
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x68], ebx
je 0x636076b5
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
cmp edi, 0x400
jg 0x6360769d
push edi
call fcn.63601188
test al, al
pop ecx
je 0x6360769d
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.63615140
mov eax, esp
jmp 0x636076a6
push edi
lea ecx, [ebp - 0x70]
call fcn.63601eac
push dword [ebp - 0x78]
push edi
push esi
push eax
call fcn.636012e5
cmp eax, ebx
jne 0x636076cf
lea eax, [ebp - 0x64]
cmp dword [ebp - 0x68], eax
je 0x636076c5
lea ecx, [ebp - 0x68]
call fcn.63601b5b
mov esi, 0x8007000e
jmp 0x63607772
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
jne 0x636076e8
call fcn.636013e2
mov esi, eax
jmp 0x63607762
push dword [ebp - 0x74]
push dword [ebp - 0x6c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
je 0x6360770a
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 0x6c], eax
jne 0x63607711
call fcn.636013e2
jmp 0x63607759
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x68]
call fcn.63601f1a
cmp dword [ebp - 0x68], ebx
jne 0x63607733
mov esi, 0x8007000e
jmp 0x6360775b
push esi
push dword [ebp - 0x6c]
push dword [ebp - 0x68]
call fcn.636151c0
mov eax, dword [ebp - 0x68]
add esp, 0xc
push dword [ebp + 0x3b4]
mov byte [esi + eax], bl
push dword [ebp - 0x68]
lea ecx, [ebp - 0x80]
call fcn.63603ca5
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x64]
cmp dword [ebp - 0x68], eax
je 0x63607772
lea ecx, [ebp - 0x68]
call fcn.63601b5b
lea ecx, [ebp - 0x70]
call fcn.63601a51
mov eax, esi
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
xor ecx, ebp
call fcn.636151ae
add ebp, 0x3a0
leave
ret 0x10
Function at 0x63607e4f
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x6362e4e0]
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
push edi
xor eax, ebp
inc esi
push esi
mov ecx, 0x6362f2b8
mov dword [ebp + 0x394], eax
call fcn.63607d71
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x70]
push eax
push 0x20019
push edi
push str.SoftwareMicrosoftInternet_ExplorerVersion_Vector
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], 6
call ebx
mov esi, 0x400
push esi
lea eax, [ebp - 0x6c]
push edi
push eax
call fcn.63615500
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x74]
push eax
push edi
push 0x636251a8
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x78], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x63607ef0
lea eax, [ebp - 0x6c]
push eax
call fcn.63615808
pop ecx
mov dword [ebp - 0x7c], eax
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x70]
push eax
push 0x20019
push edi
push str.SOFTWAREMicrosoftInternet_ExplorerMain
push SysReAllocString
call ebx
push esi
lea eax, [ebp - 0x6c]
push edi
push eax
call fcn.63615500
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x74]
push eax
push edi
push str.Enable_Browser_Extensions
push dword [ebp - 0x70]
xor ebx, ebx
inc ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x78], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x63607f5c
lea eax, [ebp - 0x6c]
push 0x6362515c
push eax
call fcn.636202ee
test eax, eax
pop ecx
pop ecx
jne 0x63607f5c
mov dword [ebp - 0x80], edi
push dword [ebp - 0x70]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
cmp dword [ebp - 0x7c], 6
jb 0x63607f78
cmp dword [ebp - 0x7c], 8
jae 0x63607f78
cmp dword [ebp - 0x80], edi
jne 0x63607fb0
push edi
lea eax, [ebp - 0x70]
push eax
push edi
push 0x20006
push edi
push edi
push edi
push str.SoftwareMicrosoftInternet_ExplorerURLSearchHooks
push SysReAllocString
mov dword [ebp - 0x70], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push edi
push edi
push ebx
push edi
push str.1E315374_71A5_471A_B683_4C4ADB5C588B
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x70]
call esi
mov ecx, dword [ebp + 0x394]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.636151ae
add ebp, 0x398
leave
ret
Function at 0x63607fca
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push esi
push 1
mov ecx, 0x6362f2b8
call fcn.63607de0
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SoftwareMicrosoftInternet_ExplorerURLSearchHooks
push SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push str.1E315374_71A5_471A_B683_4C4ADB5C588B
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
leave
ret

Function at 0x636091f2
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x6362e4e0]
xor eax, ebp
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [0x63630738]
push edi
xor edi, edi
test eax, eax
je 0x6360924e
add eax, 8
push eax
lea eax, [ebp - 0x204]
push 0x63625430
push eax
call fcn.636161f1
add esp, 0xc
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x6360924e
lea eax, [ebp - 0x204]
push eax
mov ecx, esi
inc edi
call fcn.636091c0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.636151ae
leave
ret

Function at 0x6360925e
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x390]
sub esp, 0x410
mov eax, dword [0x6362e4e0]
push esi
mov esi, dword [ebp + 0x398]
xor eax, ebp
mov dword [ebp + 0x38c], eax
lea eax, [ebp - 0x78]
push eax
push 0x20019
push 0
push str.ppfilm_shellopencommand_
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x63609315
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push 0x63625441
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], 0x3fc
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x63609315
lea eax, [ebp - 0x74]
push eax
call fcn.63615900
cmp eax, 5
pop ecx
jb 0x63609315
lea eax, [ebp - 0x74]
push eax
call fcn.63615900
mov dword [ebp - 0x7c], eax
lea eax, [ebp + eax - 0x74]
cmp byte [eax - 2], 0x25
pop ecx
jne 0x636092f6
cmp byte [eax - 3], 0x20
jne 0x636092f6
mov byte [eax - 3], 0
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x63609315
lea eax, [ebp - 0x74]
push eax
mov ecx, esi
call fcn.636091c0
xor esi, esi
inc esi
jmp 0x63609317
xor esi, esi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x38c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.636151ae
add ebp, 0x390
leave
ret
Function at 0x63609e75
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x390]
sub esp, 0x410
mov eax, dword [0x6362e4e0]
push ebx
xor eax, ebp
mov dword [ebp + 0x38c], eax
lea eax, [ebp - 0x78]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SoftwareTencentQQToolbar
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x78], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x63609eb8
xor eax, eax
jmp 0x63609f14
push 0x400
lea eax, [ebp - 0x74]
push ebx
push eax
call fcn.63615500
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push str.Install
push dword [ebp - 0x78]
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x7c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x63609f09
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x63609f09
xor ebx, ebx
inc ebx
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [ebp + 0x38c]
xor ecx, ebp
pop ebx
call fcn.636151ae
add ebp, 0x390
leave
ret

Function at 0x63609fd5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SoftwarePIPIjfcheck
push SysReAllocString
xor esi, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6360a073
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push str.finishtm
push dword [ebp - 4]
call edi
test eax, eax
jne 0x6360a069
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push str.checktm
push dword [ebp - 4]
call edi
test eax, eax
jne 0x6360a069
mov esi, dword [ebp - 0x14]
cmp esi, dword [ebp - 0xc]
je 0x6360a069
push ebx
call fcn.636165da
sub eax, dword [ebp - 0xc]
pop ecx
push 0x78
pop ecx
cmp ecx, eax
sbb esi, esi
not esi
and esi, dword [ebp - 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret