joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c7c5
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0x80070005
call fcn.0100a64c
push dword [ebp + 8]
lea ecx, [ebp - 0x60]
push 2
call fcn.0100b4f7
xor ebx, ebx
test eax, eax
jl 0x100c829
lea ecx, [ebp - 0x60]
call fcn.01009c61
cmp eax, 4
jne 0x100c829
push 0x1f4
lea eax, [ebp - 0x60]
push eax
call fcn.0100bcdd
cmp eax, ebx
mov dword [ebp - 4], eax
jl 0x100c82e
cmp byte [0x101a41c], bl
je 0x100c829
lea eax, [ebp - 0x60]
push eax
mov ecx, 0x101a420
call fcn.0100c6e3
cmp dword [ebp - 4], ebx
jge 0x100c8a8
lea eax, [ebp + 8]
push eax
push ebx
push dword [ebp + 8]
push 0x100bb24
push ebx
push ebx
call dword [sym.imp.msvcrt.dll__beginthreadex]
mov esi, eax
add esp, 0x18
cmp esi, ebx
je 0x100c8a8
mov ecx, 0x101a948
call fcn.0100baba
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x100c8a1
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x100c8a1
cmp dword [ebp - 4], ebx
je 0x100c87f
mov dword [ebp - 4], 0x80070005
jmp 0x100c8a1
cmp byte [0x101a41c], bl
je 0x100c8a1
lea ecx, [ebp - 0x60]
call fcn.01009c45
test al, al
jne 0x100c8a1
lea eax, [ebp - 0x60]
push eax
mov ecx, 0x101a420
call fcn.0100c6e3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 4]
lea ecx, [ebp - 0x60]
call fcn.01007edf
mov eax, esi
pop esi
pop ebx
leave
ret 4

Function at 0x100c8c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
call fcn.0100c04f
push dword [ebp + 8]
lea esi, [edi + 0x2c]
push esi
mov ecx, edi
call fcn.0100c3bf
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100c95c
cmp byte [ebp + 0xc], 0
je 0x100c958
mov ecx, edi
call fcn.0100c06c
lea ecx, [ebp - 0x10]
call fcn.01008724
lea ecx, [ebp - 0x6c]
call fcn.0100a64c
push dword [ebp + 8]
lea ecx, [ebp - 0x6c]
call fcn.0100ba5d
push ebx
push 0x1001720
lea ecx, [ebp - 0x6c]
call fcn.0100a92e
mov esi, eax
test esi, esi
jl 0x100c944
lea eax, [ebp - 0x10]
push eax
push 0
lea ecx, [ebp - 0x6c]
call fcn.0100b441
mov esi, eax
test esi, esi
jl 0x100c944
push dword [ebp - 0x10]
call fcn.0100c7c5
mov esi, eax
lea ecx, [ebp - 0x6c]
call fcn.01007edf
lea ecx, [ebp - 0x10]
call fcn.01008cba
mov eax, esi
jmp 0x100c9c4
xor edi, edi
jmp 0x100c9ba
push ebx
mov ecx, esi
call fcn.0100c112
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x208]
mov ecx, 0x101a948
mov edi, eax
call fcn.0100ba9e
cmp edi, eax
mov ecx, esi
push ebx
jb 0x100c9af
call fcn.0100c112
push eax
call fcn.0100c7c5
mov edi, eax
test edi, edi
jge 0x100c9ba
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
mov ecx, esi
mov edi, eax
call fcn.0100c112
mov dword [eax + 0x208], edi
push ebx
mov ecx, esi
call fcn.0100c112
mov edi, dword [eax + 0x20c]
mov ecx, dword [ebp - 4]
call fcn.0100c06c
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x100ca42
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.01008724
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push 0
call fcn.0100b441
test eax, eax
jl 0x100cacf
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x8001
call edi
mov ebx, eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.0100c9d0
test eax, eax
jl 0x100caca
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x100cabb
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x100caad
call esi
jmp 0x100cabd
call esi
and eax, 0xffff
or eax, 0x80070000
jmp 0x100cabd
xor eax, eax
push eax
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0100c742
pop esi
push ebx
call edi
pop edi
pop ebx
lea ecx, [ebp - 0x14]
call fcn.01008cba
mov eax, dword [ebp - 4]
leave
ret 4

Function at 0x100d2e8
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
push edi
je 0x100d3d2
mov edi, dword [ebp + 8]
test edi, edi
je 0x100d3d2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x101a8fc]
mov ebx, 0x101a8f0
cmp eax, 0xea60
jae 0x100d33c
push edi
push ebx
call fcn.010086e0
test al, al
je 0x100d33c
mov eax, dword [0x101a8ec]
mov dword [esi], eax
jmp 0x100d3d9
push esi
push edi
push 0x10049e0
push 0x80000002
call fcn.0100d1c5
cmp eax, 3
je 0x100d357
cmp eax, 2
jne 0x100d37b
push esi
push edi
push 0x1004970
push 0x80000001
call fcn.0100d1c5
cmp eax, 3
je 0x100d372
cmp eax, 2
jne 0x100d37b
mov dword [ebp - 4], 0xc00d0fda
xor eax, eax
test eax, eax
je 0x100d38e
jle 0x100d38b
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x100d3d9
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 5
jae 0x100d3d9
push 5
push ebx
lea ecx, [ebp - 0x10]
call fcn.010087bd
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x10]
call fcn.01008d0e
mov eax, dword [esi]
mov dword [0x101a8ec], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x10]
mov dword [0x101a8fc], eax
call fcn.01008cba
jmp 0x100d3d9
mov dword [ebp - 4], 0x80004003
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x100d46d
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
push edi
je 0x100d53c
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x100d53c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, 0xea60
cmp eax, dword [0x101a910]
mov edi, 0x101a904
jae 0x100d4c1
push ebx
push edi
call fcn.010086e0
test al, al
je 0x100d4c1
mov eax, dword [0x101a900]
mov dword [esi], eax
jmp 0x100d543
push esi
push ebx
push 0x10049e0
push 0x80000002
call fcn.0100d3e8
test eax, eax
je 0x100d4fe
push esi
push ebx
push 0x1004970
push 0x80000001
call fcn.0100d3e8
test eax, eax
je 0x100d4fe
jle 0x100d4f7
and eax, 0xffff
or eax, 0x80070000
test eax, eax
mov dword [ebp - 4], eax
jl 0x100d543
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 5
jae 0x100d543
push 5
push edi
lea ecx, [ebp - 0x10]
call fcn.010087bd
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x10]
call fcn.01008d0e
mov eax, dword [esi]
mov dword [0x101a900], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x10]
mov dword [0x101a910], eax
call fcn.01008cba
jmp 0x100d543
mov dword [ebp - 4], 0x80004003
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x100d8fd
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
xor edi, edi
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 8], edi
push dword [ebp + 8]
mov dword [ebp - 4], edi
call esi
cmp dword [ebp - 8], 3
mov ecx, dword [ebp - 4]
jne 0x100d937
cmp ecx, edi
jne 0x100d937
push 2
pop eax
cmp eax, edi
jne 0x100d96f
shr ecx, 1
push ecx
call fcn.01008613
cmp eax, edi
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
je 0x100d96f
mov ecx, dword [ebp - 4]
mov dword [ebp + 0x10], ecx
lea ecx, [ebp + 0x10]
push ecx
push eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x100d969
mov al, 1
jmp 0x100d971
push ebx
call fcn.0100863d
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x100db2d
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100db7f
push edi
lea eax, [ebp + 0xc]
push eax
push esi
push esi
push esi
push dword [ebp + 0x10]
mov dword [ebp + 0xc], esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp edi, esi
sete al
pop edi
jmp 0x100db81
xor al, al
pop esi
leave
ret 0xc
Function at 0x100e1bf
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1017064]
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x118]
push eax
xor ebx, ebx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp eax, 1
jne 0x100e20f
cmp dword [ebp - 0x108], 2
jne 0x100e20f
cmp dword [ebp - 0x114], 5
ja 0x100e20d
jne 0x100e20f
cmp dword [ebp - 0x110], ebx
jbe 0x100e20f
mov bl, 1
mov ecx, dword [ebp - 4]
mov al, bl
pop ebx
call fcn.010080ca
leave
ret

Function at 0x1010308
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
xor eax, eax
test esi, esi
je 0x1010355
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push edi
mov edi, dword [ebp + 8]
sub edi, edx
sub ecx, edx
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x14], esi
mov esi, dword [edi + edx]
mov ecx, dword [edx]
lea ebx, [ecx + esi]
add eax, ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebx + edx], eax
mov ebx, ecx
xor ebx, esi
and ebx, eax
or ecx, esi
xor ebx, ecx
shr ebx, 0x1f
add edx, 4
dec dword [ebp + 0x14]
mov eax, ebx
jne 0x101032c
pop edi
pop ebx
pop esi
pop ebp
ret 0x10

Function at 0x101054d
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x14]
xor eax, eax
test edx, edx
je 0x101059a
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
sub ebx, esi
sub ecx, esi
push edi
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x14], edx
mov edi, dword [ebx + esi]
mov edx, dword [esi]
mov ecx, edi
sub ecx, edx
sub ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax + esi], ecx
xor ecx, edi
xor edx, edi
or ecx, edx
xor ecx, edi
shr ecx, 0x1f
add esi, 4
dec dword [ebp + 0x14]
mov eax, ecx
jne 0x1010571
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x406080
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x612ce0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1774
call fcn.005e5310
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x1f4
xor eax, eax
lea edi, [ebp - 0x7e4]
mov dword [ebp - 0x10], esp
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0xd0c]
mov dword [ebp - 0x14], esi
test eax, eax
mov dword [ebp - 4], 0
push 0x7cf
je 0x406108
mov ecx, dword [esi + 0xd08]
lea eax, [ebp - 0x1784]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x40611c
lea edx, [ebp - 0x7e4]
push 0x7d0
lea eax, [ebp - 0x1784]
push edx
push eax
call fcn.00405570
add esp, 0xc
jmp 0x40611c
mov edx, dword [esi + 0xd08]
lea ecx, [ebp - 0x7e4]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x7e4]
mov ecx, esi
push eax
call fcn.00405d30
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406d70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x6130fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x584]
mov dword [esp + 0x10], 0x24
call fcn.006018cc
lea ecx, [esi + 0x580]
mov byte [esp + 0x10], 0x23
call fcn.006018cc
lea ecx, [esi + 0x57c]
mov byte [esp + 0x10], 0x22
call fcn.006018cc
lea ecx, [esi + 0x578]
mov byte [esp + 0x10], 0x21
call fcn.006018cc
lea ecx, [esi + 0x574]
mov byte [esp + 0x10], 0x20
call fcn.006018cc
lea ecx, [esi + 0x570]
mov byte [esp + 0x10], 0x1f
call fcn.006018cc
lea ecx, [esi + 0x56c]
mov byte [esp + 0x10], 0x1e
call fcn.006018cc
lea ecx, [esi + 0x568]
mov byte [esp + 0x10], 0x1d
call fcn.006018cc
lea ecx, [esi + 0x564]
mov byte [esp + 0x10], 0x1c
call fcn.006018cc
lea ecx, [esi + 0x560]
mov byte [esp + 0x10], 0x1b
call fcn.006018cc
lea ecx, [esi + 0x55c]
mov byte [esp + 0x10], 0x1a
call fcn.006018cc
lea ecx, [esi + 0x558]
mov byte [esp + 0x10], 0x19
call fcn.006018cc
lea ecx, [esi + 0x554]
mov byte [esp + 0x10], 0x18
call fcn.006018cc
mov byte [esp + 0x10], 0x17
lea ecx, [esi + 0x550]
call fcn.006018cc
lea ecx, [esi + 0x54c]
mov byte [esp + 0x10], 0x16
call fcn.006018cc
lea ecx, [esi + 0x548]
mov byte [esp + 0x10], 0x15
call fcn.006018cc
lea ecx, [esi + 0x50c]
mov byte [esp + 0x10], 0x14
call fcn.0060940d
lea ecx, [esi + 0x4d0]
mov byte [esp + 0x10], 0x13
call fcn.0060940d
lea ecx, [esi + 0x494]
mov byte [esp + 0x10], 0x12
call fcn.0060940d
lea ecx, [esi + 0x458]
mov byte [esp + 0x10], 0x11
call fcn.0060955d
lea ecx, [esi + 0x41c]
mov byte [esp + 0x10], 0x10
call fcn.0060955d
lea ecx, [esi + 0x3e0]
mov byte [esp + 0x10], 0xf
call fcn.0060955d
lea ecx, [esi + 0x3a4]
mov byte [esp + 0x10], 0xe
call fcn.0060940d
lea ecx, [esi + 0x368]
mov byte [esp + 0x10], 0xd
call fcn.0060955d
lea ecx, [esi + 0x32c]
mov byte [esp + 0x10], 0xc
call fcn.0060955d
lea ecx, [esi + 0x2f0]
mov byte [esp + 0x10], 0xb
call fcn.0060955d
lea ecx, [esi + 0x2b4]
mov byte [esp + 0x10], 0xa
call fcn.0060955d
lea ecx, [esi + 0x278]
mov byte [esp + 0x10], 9
call fcn.0060955d
lea ecx, [esi + 0x23c]
mov byte [esp + 0x10], 8
call fcn.0060955d
lea ecx, [esi + 0x200]
mov byte [esp + 0x10], 7
call fcn.0060955d
lea ecx, [esi + 0x1c4]
mov byte [esp + 0x10], 6
call fcn.0060955d
lea ecx, [esi + 0x188]
mov byte [esp + 0x10], 5
call fcn.0060955d
lea ecx, [esi + 0x14c]
mov byte [esp + 0x10], 4
call fcn.0060955d
lea ecx, [esi + 0x110]
mov byte [esp + 0x10], 3
call fcn.0060955d
lea ecx, [esi + 0xd4]
mov byte [esp + 0x10], 2
call fcn.0060955d
lea ecx, [esi + 0x98]
mov byte [esp + 0x10], 1
call fcn.0060955d
lea ecx, [esi + 0x5c]
mov byte [esp + 0x10], 0
call fcn.0060940d
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call fcn.005fd507
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x409c00
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x613480
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1770
call fcn.005e5310
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x1f4
xor eax, eax
lea edi, [ebp - 0x7e0]
mov dword [ebp - 0x10], esp
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x4f8]
mov dword [ebp - 4], 0
test eax, eax
push 0x7cf
je 0x409c85
mov ecx, dword [esi + 0x4f4]
lea eax, [ebp - 0x1780]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x409c99
lea edx, [ebp - 0x7e0]
push 0x7d0
lea eax, [ebp - 0x1780]
push edx
push eax
call fcn.00405570
add esp, 0xc
jmp 0x409c99
mov edx, dword [esi + 0x4f4]
lea ecx, [ebp - 0x7e0]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x7e0]
lea ecx, [esi + 0x4d0]
push eax
push 0x6c5098
push ecx
call fcn.005fa6fb
add esp, 0xc
mov ecx, esi
call fcn.0040a2f0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40aa50
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6135e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x318
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov eax, dword [esi + 0x78]
push ebx
push ebx
push 0x1009
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
xor edi, edi
mov dword [ebp - 0x14], ebx
mov eax, dword [esi + 0x98]
cmp ebx, dword [eax + 0x1c]
jge 0x40abe7
mov ecx, dword [0x6f175c]
mov dword [ebp - 0x18], ecx
mov edx, dword [eax + 0x18]
lea ebx, [ebx + ebx*8]
shl ebx, 2
mov byte [ebp - 4], 1
mov ecx, dword [edx + ebx + 4]
mov edx, dword [eax + 4]
push ecx
push edx
lea eax, [ebp - 0x18]
push 0x6c54dc
push eax
call fcn.005fa6fb
mov edx, dword [ebp - 0x18]
add esp, 0x10
lea ecx, [esi + 0x5c]
push 0
push 0
push 0
push 0
push edx
push edi
push 1
call fcn.005fba67
inc edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edi
mov ecx, 0xad
xor eax, eax
lea edi, [ebp - 0x324]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x98]
push 0x4411
lea edx, [ebp - 0x324]
push 0x160
mov ecx, dword [eax + 0x18]
push edx
push 0x80
mov eax, dword [ecx + ebx]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edx, dword [esi + 0x78]
mov eax, dword [ebp - 0x320]
mov edi, dword [ebp - 0x20]
lea ecx, [ebp - 0x48]
push ecx
push 0
push 0x1006
push edx
mov dword [ebp - 0x48], 2
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x44], edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x98]
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx + ebx + 8]
test eax, eax
mov eax, 0x6f6d84
jne 0x40ab73
mov eax, 0x6f6d80
mov eax, dword [eax]
lea ecx, [esi + 0x5c]
push eax
push 1
push edi
call fcn.005fbb62
mov edx, dword [esi + 0x98]
mov dword [ebp - 0x68], 2
lea ecx, [ebp - 0x70]
mov eax, dword [edx + 0x18]
mov edx, dword [esi + 0x78]
push ecx
push edi
mov ebx, dword [eax + ebx]
push 0x1074
push edx
mov dword [ebp - 0x5c], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 0x5c]
push eax
push 0
push 0
push 0
push 0
push 4
push 0
push edi
call fcn.005fbae9
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.006018cc
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x14], eax
mov ebx, eax
jmp 0x40aa91
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40af20
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x61367b
push eax
mov dword fs:[0], esp
sub esp, 0x220
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x14], edi
je 0x40b038
mov eax, dword [esi + 8]
mov dword [esp + 8], edi
cmp eax, edi
mov dword [esp + 0xc], edi
jle 0x40b038
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor ebx, ebx
mov eax, dword [esi + 4]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
push ecx
mov eax, dword [eax + ebx + 4]
push edx
push edi
push 0xf003f
push edi
push 0x6f5cb8
push edi
push eax
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x40afca
lea ecx, [esp + 0x20]
call fcn.004ac570
push 1
push str.Cannot_open__create__registry_subkey_during_CBrowsersIntegration::Save__._r_n
lea ecx, [esp + 0x28]
mov dword [esp + 0x240], edi
call fcn.004ac690
lea ecx, [esp + 0x20]
mov dword [esp + 0x238], 0xffffffff
call fcn.004ac680
jmp 0x40b010
mov ecx, dword [esi + 4]
xor eax, eax
mov edx, dword [ecx + ebx]
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [esp + 0x18]
push 1
push eax
push 0x6c5838
push edx
call ebp
mov eax, dword [esi + 4]
lea edx, [esp + 0x18]
push 4
push edx
mov ecx, dword [eax + ebx + 8]
mov eax, dword [esp + 0x18]
push 4
push 0
push 0x6c5834
push eax
mov dword [esp + 0x30], ecx
call ebp
xor edi, edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 8]
inc eax
add ebx, 0xc
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x40af67
mov eax, dword [esp + 0x10]
pop ebp
cmp eax, edi
pop ebx
je 0x40b038
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x228]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x22c
ret
Function at 0x40d230
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
lea eax, [esp]
push esi
xor esi, esi
push eax
mov eax, dword [ecx + 0x14]
push 1
push esi
push edx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40d285
lea ecx, [esp + 0x10]
lea edx, [esp + 8]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push str.found
push eax
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40d285
mov esi, dword [esp + 8]
mov eax, dword [esp + 4]
test eax, eax
je 0x40d294
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret 4

Function at 0x40e0e0
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ecx
push ebp
push esi
push edi
push str.shell32
xor edi, edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, dword [esp + 0x14]
mov esi, eax
test esi, esi
je 0x40e138
push ebx
push str.SHGetFolderPathW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x40e12c
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
push ebp
push edi
push edi
push 0x1c
push edi
call ebx
test eax, eax
jne 0x40e126
mov edi, 1
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
pop ebx
jne 0x40e189
lea eax, [esp + 0x14]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40e189
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push ecx
push ebp
push eax
push eax
push str.Local_AppData
push edx
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40e17e
mov edi, 1
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebp
pop ecx
ret
Function at 0x40eeb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x613978
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
xor ebx, ebx
push esi
xor esi, esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov word [esp + 0x20], bx
mov eax, dword [0x6f175c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
push ebx
lea edx, [esp + 0x20]
push ecx
push edx
push str.SoftwareMozillaMozilla_Firefox
mov byte [esp + 0x40], 1
call fcn.0040ec00
add esp, 0x10
test eax, eax
je 0x40ef71
mov eax, dword [0x6f175c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x30], 2
cmp eax, ebx
jne 0x40ef23
lea eax, [esp + 0x20]
lea ecx, [esp + 8]
push 1
push ecx
push eax
call fcn.0040ea80
add esp, 0xc
test eax, eax
je 0x40ef63
mov edx, dword [esp + 8]
push 0x2e
push edx
call fcn.005e51d0
add esp, 8
cmp eax, ebx
je 0x40ef63
mov byte [eax], bl
mov eax, dword [esp + 8]
push eax
call fcn.005e5453
add esp, 4
cmp eax, 0x34
jle 0x40ef63
mov esi, 1
lea ecx, [esp + 8]
mov byte [esp + 0x30], 1
call fcn.006018cc
call fcn.00446240
test eax, eax
je 0x40f023
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
mov word [esp + 0x14], bx
lea ecx, [esp + 0xc]
push 1
lea edx, [esp + 0x14]
push ecx
push edx
push str.SoftwareMozillaMozilla_Firefox
mov byte [esp + 0x40], 3
call fcn.0040ec00
add esp, 0x10
test eax, eax
je 0x40f015
mov eax, dword [0x6f175c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
mov byte [esp + 0x30], 4
cmp eax, ebx
jne 0x40efc7
lea eax, [esp + 0x14]
lea ecx, [esp + 8]
push 1
push ecx
push eax
call fcn.0040ea80
add esp, 0xc
test eax, eax
je 0x40f007
mov edx, dword [esp + 8]
push 0x2e
push edx
call fcn.005e51d0
add esp, 8
cmp eax, ebx
je 0x40f007
mov byte [eax], bl
mov eax, dword [esp + 8]
push eax
call fcn.005e5453
add esp, 4
cmp eax, 0x34
jle 0x40f007
mov esi, 1
lea ecx, [esp + 8]
mov byte [esp + 0x30], 3
call fcn.006018cc
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call fcn.00401070
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], bl
call fcn.006018cc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret