joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402d48
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x417004]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
push ebx
push esi
push edi
push 0
mov dword [ebp - 0x10], edx
mov ebx, ecx
call fcn.00402abc
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x402e03
push edi
call fcn.0040359e
pop ecx
mov esi, eax
mov ecx, ebx
push esi
push edi
push 0
call fcn.00402abc
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x402dfc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x41538c
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x402dfc
mov ecx, dword [ebp - 0xc]
movzx eax, word [ecx + 0xa]
mov dword [ebp - 0x20], eax
movzx eax, word [ecx + 8]
mov dword [ebp - 0x1c], eax
movzx eax, word [ecx + 0xe]
mov dword [ebp - 0x18], eax
movzx eax, word [ecx + 0xc]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00402ebf
lea ecx, [ebp - 0x38]
push dword [eax + 4]
push dword [eax]
call fcn.0040312f
mov edi, dword [ebp - 0x10]
mov esi, eax
mov al, 1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x402e05
push esi
call fcn.004035a7
pop ecx
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040354f
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x23b80944
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..rdata
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x2a687fb4
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x402658
Capabilities:
Terminate process

Disassembly:
xor edi, edi
xor esi, esi
mov edx, eax
mov eax, 5
add eax, 5
inc eax
test eax, 0xb
jne 0x40267a
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x401036], eax
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x59e2361
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x20d0704a
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x535f10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc8000]
push edi
jmp 0x535f2a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x535f31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x535f20
mov eax, 1
add ebx, ebx
jne 0x535f43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x535f54
jne 0x535f73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x535f73
dec eax
add ebx, ebx
jne 0x535f60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x535f38
add ebx, ebx
jne 0x535f6f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x535fc5
xor ecx, ecx
sub eax, 3
jb 0x535f8b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x535ffa
sar eax, 1
mov ebp, eax
jmp 0x535f96
add ebx, ebx
jne 0x535f96
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x535f64
inc ecx
add ebx, ebx
jne 0x535fa4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x535f64
add ebx, ebx
jne 0x535fb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x535fa6
jne 0x535fc2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x535fa6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x535fe4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x535fd6
jmp 0x535f26
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x535fe4
add edi, ecx
jmp 0x535f26
pop esi
mov edi, esi
mov ecx, 0x997f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x536002
cmp byte [edi], 0x2f
jne 0x536002
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x536007
lea edi, [esi + 0x131000]
mov eax, dword [edi]
or eax, eax
je 0x53607f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x13d568]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x13d6d0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x536034
mov ecx, edi
jns 0x536063
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x13d6d4]
or eax, eax
je 0x536079
mov dword [ebx], eax
add ebx, 4
jmp 0x536051
call dword [esi + 0x13d6e4]
mov ebp, dword [esi + 0x13d6d8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5360b3
sub esp, 0xffffff80
jmp 0x4b20a6
Function at 0x406990
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x637b40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1774
call fcn.00609d40
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 + 0xcf0]
mov dword [ebp - 0x14], esi
test eax, eax
mov dword [ebp - 4], 0
push 0x7cf
je 0x406a18
mov ecx, dword [esi + 0xcec]
lea eax, [ebp - 0x1784]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x406a2c
lea edx, [ebp - 0x7e4]
push 0x7d0
lea eax, [ebp - 0x1784]
push edx
push eax
call fcn.00405ea0
add esp, 0xc
jmp 0x406a2c
mov edx, dword [esi + 0xcec]
lea ecx, [ebp - 0x7e4]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x7e4]
push 0x7d0
push eax
mov ecx, esi
call fcn.00406640
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x407ab0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x638020
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
mov word [esp + 0x14], bx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x24], ebx
call fcn.00622d15
mov eax, dword [esp + 0x2c]
mov ecx, esi
push eax
call fcn.0062325c
mov edi, dword [eax + 0x1c]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
cmp esi, ebx
jle 0x407b3b
add esi, 3
lea ecx, [esi + esi]
push ecx
call fcn.00622acb
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x407b3b
push esi
push ebp
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x407b32
push ebp
lea ecx, [esp + 0x14]
call fcn.00401f20
push ebp
call fcn.00622af4
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x407b47
lea eax, [esp + 0x14]
lea edx, [esp + 0x2c]
push eax
push edx
call fcn.00407ba0
add esp, 8
mov ecx, dword [esp + 0x30]
push eax
mov byte [esp + 0x28], 1
call fcn.00622ec3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], bl
call fcn.00622d8a
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x40a740
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x638400
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1770
call fcn.00609d40
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 + 0x44c]
mov dword [ebp - 4], 0
test eax, eax
push 0x7cf
je 0x40a7c5
mov ecx, dword [esi + 0x448]
lea eax, [ebp - 0x1780]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x40a7d9
lea edx, [ebp - 0x7e0]
push 0x7d0
lea eax, [ebp - 0x1780]
push edx
push eax
call fcn.00405ea0
add esp, 0xc
jmp 0x40a7d9
mov edx, dword [esi + 0x448]
lea ecx, [ebp - 0x7e0]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x7e0]
lea ecx, [esi + 0x3e0]
push eax
push 0x6c910c
push ecx
call fcn.0061fae1
add esp, 0xc
mov ecx, esi
call fcn.0040ae30
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40bfa0
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x63865b
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 0x40c0b8
mov eax, dword [esi + 8]
mov dword [esp + 8], edi
cmp eax, edi
mov dword [esp + 0xc], edi
jle 0x40c0b8
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 0x6fc418
push edi
push eax
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x40c04a
lea ecx, [esp + 0x20]
call fcn.004be6a0
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.004be7c0
lea ecx, [esp + 0x20]
mov dword [esp + 0x238], 0xffffffff
call fcn.004be7b0
jmp 0x40c090
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 0x6c98a0
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 0x6c989c
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 0x40bfe7
mov eax, dword [esp + 0x10]
pop ebp
cmp eax, edi
pop ebx
je 0x40c0b8
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 0x40e2e0
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 0x40e335
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 0x40e335
mov esi, dword [esp + 8]
mov eax, dword [esp + 4]
test eax, eax
je 0x40e344
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret 4

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

Disassembly:
push ecx
push ebp
push esi
push edi
push str.shell32.dll
xor edi, edi
call fcn.0044abc0
mov ebp, dword [esp + 0x18]
mov esi, eax
add esp, 4
test esi, esi
je 0x40f23a
push ebx
push str.SHGetFolderPathW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x40f22e
push edi
call dword [0x6fc3fc]
push ebp
push edi
push edi
push 0x1c
push edi
call ebx
test eax, eax
jne 0x40f228
mov edi, 1
call dword [0x6fc400]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
pop ebx
jne 0x40f28b
lea eax, [esp + 0x14]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40f28b
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 0x40f280
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 0x410030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x638968
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 [0x6f7b78]
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.0040fd20
add esp, 0x10
test eax, eax
je 0x4100f1
mov eax, dword [0x6f7b78]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x30], 2
cmp eax, ebx
jne 0x4100a3
lea eax, [esp + 0x20]
lea ecx, [esp + 8]
push 1
push ecx
push eax
call fcn.0040fba0
add esp, 0xc
test eax, eax
je 0x4100e3
mov edx, dword [esp + 8]
push 0x2e
push edx
call fcn.00609c00
add esp, 8
cmp eax, ebx
je 0x4100e3
mov byte [eax], bl
mov eax, dword [esp + 8]
push eax
call fcn.00609e33
add esp, 4
cmp eax, 0x34
jle 0x4100e3
mov esi, 1
lea ecx, [esp + 8]
mov byte [esp + 0x30], 1
call fcn.00622d8a
call fcn.0044bfc0
test eax, eax
je 0x4101a3
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.0040fd20
add esp, 0x10
test eax, eax
je 0x410195
mov eax, dword [0x6f7b78]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
mov byte [esp + 0x30], 4
cmp eax, ebx
jne 0x410147
lea eax, [esp + 0x14]
lea ecx, [esp + 8]
push 1
push ecx
push eax
call fcn.0040fba0
add esp, 0xc
test eax, eax
je 0x410187
mov edx, dword [esp + 8]
push 0x2e
push edx
call fcn.00609c00
add esp, 8
cmp eax, ebx
je 0x410187
mov byte [eax], bl
mov eax, dword [esp + 8]
push eax
call fcn.00609e33
add esp, 4
cmp eax, 0x34
jle 0x410187
mov esi, 1
lea ecx, [esp + 8]
mov byte [esp + 0x30], 3
call fcn.00622d8a
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call fcn.00401070
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], bl
call fcn.00622d8a
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
Function at 0x410700
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x64
lea eax, [esp + 0x6c]
push esi
xor esi, esi
push eax
push ecx
push esi
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4107ff
push edi
mov ecx, 0x19
lea edi, [esp + 8]
mov edx, dword [esp + 0x74]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x70]
lea ecx, [esp + 8]
push eax
push ecx
push esi
push esi
push str.CurrentVersion
push edx
mov dword [esp + 0x88], 0x64
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
pop edi
jne 0x4107f4
lea eax, [esp + 4]
push 0x2e
push eax
mov esi, 1
call fcn.00609c00
add esp, 8
test eax, eax
je 0x410780
mov byte [eax], 0
lea ecx, [esp + 4]
push ecx
call fcn.00609e33
add esp, 4
test eax, eax
je 0x4107f4
mov edx, dword [esp + 0x84]
cmp eax, 0x34
mov dword [edx], eax
jle 0x4107a8
mov eax, dword [esp + 0x80]
jmp 0x4107ee
cmp eax, 0x1a
jle 0x4107c9
mov ecx, dword [esp + 0x7c]
mov dword [ecx], 1
mov ecx, dword [esp + 0x70]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x64
ret
cmp eax, 7
jle 0x4107ea
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
push ecx
mov dword [edx], 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x64
ret
mov eax, dword [esp + 0x74]
mov dword [eax], 1
mov ecx, dword [esp + 0x70]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x64
ret
Function at 0x4115a0
Capabilities:
Encode data using xor
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x638a9c
push eax
mov dword fs:[0], esp
sub esp, 0xb4
lea eax, [esp + 0xc]
push ebx
push eax
xor ebx, ebx
push 0xf003f
push ebx
push str.SoftwareMozillaFirefoxExtensions
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4115f5
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
add esp, 0xc0
ret
push esi
mov dword [esp + 8], ebx
mov dword [esp + 0x10], ebx
mov word [esp + 0xc], bx
mov esi, dword [0x6fca48]
mov dword [esp + 0xc4], ebx
cmp esi, ebx
jne 0x411619
mov esi, 0x6fca4c
mov ecx, 0x6c900c
test ecx, ecx
je 0x41175e
cmp esi, ebx
je 0x41175e
mov edx, str.idmmzcc5
test edx, edx
je 0x41175e
push ebp
push edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebx
mov word [esp + 0x30], bx
push ebx
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0xd4], 1
call fcn.004027e0
push esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov word [esp + 0x28], bx
call fcn.00401f20
push str.idmmzcc5
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd0], 2
call fcn.00401ee0
lea ecx, [esp + 0x10]
mov byte [esp + 0xcc], 3
call fcn.00401070
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x38]
call fcn.00401f10
push eax
call fcn.00609a4e
add esp, 4
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.00401f10
push eax
call fcn.00609a4e
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.00622acb
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x10], edi
je 0x41172a
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x38]
call fcn.00401f10
push eax
lea ecx, [esp + 0x24]
call fcn.00401f10
push eax
lea ecx, [esp + 0x34]
call fcn.00401f10
push eax
mov eax, dword [esp + 0x1c]
push esi
push eax
call fcn.006099de
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00609a4e
add esp, 0x18
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xcc], 2
call fcn.00401070
lea ecx, [esp + 0x20]
mov byte [esp + 0xcc], 1
call fcn.00401070
lea ecx, [esp + 0x2c]
mov byte [esp + 0xcc], bl
call fcn.00401070
pop edi
pop ebp
lea edx, [esp + 0x3c]
push 0x6c9e40
push edx
call fcn.00609a95
lea eax, [esp + 0x44]
push eax
call fcn.00609a4e
add esp, 0xc
cmp eax, ebx
jle 0x411799
lea ecx, [esp + 0x3c]
mov dx, word [ecx]
add ecx, 2
xor dx, 0x4d
sub edx, 0xff
dec eax
mov word [ecx - 2], dx
jne 0x411782
mov esi, dword [esp + 8]
cmp esi, ebx
je 0x4117a5
mov eax, esi
jmp 0x4117ad
lea eax, [esp + 0xc]
lea esi, [esp + 0xc]
push eax
call fcn.00609a4e
mov edx, dword [esp + 0x18]
add esp, 4
lea eax, [eax + eax + 2]
lea ecx, [esp + 0x3c]
push eax
push esi
push 1
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
pop esi
jne 0x4117d9
mov ebx, 1
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 4]
mov dword [esp + 0xc0], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0xb8]
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0xc0
ret
Function at 0x413520
Capabilities:
Shutdown system
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x638c76
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0xd4
test eax, eax
je 0x41359d
push 0
lea ecx, [esp + 0x18]
call fcn.00523dd0
lea ecx, [esp + 0x14]
mov dword [esp + 0xdc], 0
call fcn.006226c5
mov eax, 0x657cdc
lea ecx, [esp + 0x70]
mov dword [esp + 0xdc], 1
mov dword [esp + 0xbc], eax
mov dword [esp + 0xac], eax
call fcn.00620e6c
lea ecx, [esp + 0x14]
mov dword [esp + 0xdc], 0xffffffff
call fcn.00622306
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4135ef
lea ecx, [esp + 8]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp]
push 0
push 0
lea edx, [esp + 0xc]
push 0
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]