joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10066d60
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10066d70

Function at 0x10067160
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10067170

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x10002655
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x454
mov eax, dword [0x1006b1fc]
xor eax, esp
mov dword [esp + 0x450], eax
push esi
mov esi, dword [esp + 0x45c]
push edi
mov edi, dword [esp + 0x464]
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.GDI32.dll_SaveDC]
push 2
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 1
push 0
push esi
call dword [sym.imp.GDI32.dll_ModifyWorldTransform]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push 0x58
push esi
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
call esi
push 0x5a
push dword [esp + 0x1c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x1c], xmm0
call esi
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [0x10047d40]
push 1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm0, dword [0x10047d58]
cvttss2si eax, xmm0
mov dword [esp + 0xc], eax
imul eax, dword [esp + 0x46c], 0xa
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
divss xmm0, dword [0x10047d58]
cvttss2si eax, xmm0
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_DPtoLP]
movd xmm0, dword [esp + 0xc]
cvtdq2pd xmm0, xmm0
push 0x400
andps xmm0, xmmword [0x10047d60]
divsd xmm0, qword [0x10047d50]
addsd xmm0, qword [0x10047d48]
cvttsd2si eax, xmm0
neg eax
mov dword [esp + 0x20], eax
xor eax, eax
cmp dword [esp + 0x470], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
setne byte [esp + 0x35]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x34], al
mov dword [esp + 0x36], eax
mov word [esp + 0x3a], ax
mov eax, dword [esp + 0x474]
neg eax
sbb eax, eax
and eax, 0x2bc
mov dword [esp + 0x30], eax
lea eax, [esp + 0x5c]
push eax
push 0x1002
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 5
lea eax, [esp + 0x5c]
push 0x10046044
push eax
call fcn.10024500
test eax, eax
mov ecx, 0x1004604c
lea eax, [esp + 0x44]
cmovne ecx, edi
push ecx
push 0x20
push eax
call fcn.10024438
add esp, 0x18
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push dword [esp + 0x10]
mov esi, eax
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [esp + 0x458]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.1001f12f
add esp, 0x454
ret 0x14
Function at 0x100094eb
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x454
mov eax, dword [0x1006b1fc]
xor eax, esp
mov dword [esp + 0x450], eax
push esi
mov esi, dword [esp + 0x45c]
push edi
mov edi, dword [esp + 0x464]
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.GDI32.dll_SaveDC]
push 2
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 1
push 0
push esi
call dword [sym.imp.GDI32.dll_ModifyWorldTransform]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push 0x58
push esi
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
call esi
push 0x5a
push dword [esp + 0x1c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x1c], xmm0
call esi
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [0x10047d40]
push 1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm0, dword [0x10047d58]
cvttss2si eax, xmm0
mov dword [esp + 0xc], eax
imul eax, dword [esp + 0x46c], 0xa
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
divss xmm0, dword [0x10047d58]
cvttss2si eax, xmm0
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_DPtoLP]
movd xmm0, dword [esp + 0xc]
cvtdq2pd xmm0, xmm0
push 0x400
andps xmm0, xmmword [0x10047d60]
divsd xmm0, qword [0x10047d50]
addsd xmm0, qword [0x10047d48]
cvttsd2si eax, xmm0
neg eax
mov dword [esp + 0x20], eax
xor eax, eax
cmp dword [esp + 0x470], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
setne byte [esp + 0x35]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x34], al
mov dword [esp + 0x36], eax
mov word [esp + 0x3a], ax
mov eax, dword [esp + 0x474]
neg eax
sbb eax, eax
and eax, 0x2bc
mov dword [esp + 0x30], eax
lea eax, [esp + 0x5c]
push eax
push 0x1002
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 5
lea eax, [esp + 0x5c]
push 0x10047f54
push eax
call fcn.10024500
test eax, eax
mov ecx, 0x10047f5c
lea eax, [esp + 0x44]
cmovne ecx, edi
push ecx
push 0x20
push eax
call fcn.10024438
add esp, 0x18
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push dword [esp + 0x10]
mov esi, eax
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [esp + 0x458]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.1001f12f
add esp, 0x454
ret 0x14
Function at 0x1000c307
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1006b1fc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x214]
push edi
mov edi, dword [ebp + 8]
push 0x105
push eax
push esi
call fcn.1000c2a9
add esp, 0xc
test eax, eax
je 0x1000c37f
lea eax, [ebp - 0x10c]
push eax
push 0
push 0x1004b35c
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x1000c37f
push 0
lea eax, [ebp - 0x10c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x1000c37f
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.1000c02f
pop ecx
pop ecx
jmp 0x1000c381
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1001f12f
leave
ret

Function at 0x1000c38f
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
shr eax, 4
and eax, 1
ret
Function at 0x1000da42
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x120
mov eax, dword [0x1006b1fc]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
mov ebx, ecx
mov ecx, dword [esp + 0x128]
push ebp
push esi
xor ebp, ebp
mov dword [esp + 0x1c], ecx
mov eax, dword [ebx + 4]
or eax, 0x2001f
mov dword [esp + 0xc], ebp
push eax
push ecx
push dword [ebx]
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
call fcn.10006b74
mov esi, eax
test esi, esi
jne 0x1000db21
lea eax, [esp + 0x20]
mov dword [esp + 0x18], 0x100
push eax
push ebp
push ebp
push ebp
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push ebp
push dword [esp + 0x28]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
call ebp
test eax, eax
jne 0x1000daf9
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.1000da42
mov esi, eax
test esi, esi
jne 0x1000db21
lea eax, [esp + 0x20]
mov dword [esp + 0x18], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call ebp
test eax, eax
je 0x1000dabe
jmp 0x1000dafb
xor esi, esi
cmp dword [esp + 0xc], 0
je 0x1000db10
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], esi
push dword [esp + 0x1c]
mov ecx, ebx
mov dword [esp + 0x14], esi
call fcn.1000d3d1
mov esi, eax
cmp dword [esp + 0xc], 0
je 0x1000db32
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x128]
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001f12f
add esp, 0x120
ret 4
Function at 0x1000e710
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 0x1000e72a
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 8]
push ebx
mov ebx, ecx
test edx, edx
jne 0x1000e73a
push 0xd
pop eax
jmp 0x1000e770
push ebp
push esi
push edi
xor esi, esi
mov edi, edx
mov ecx, edi
lea ebp, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000e746
sub ecx, ebp
lea eax, [ecx + 1]
add edi, eax
add esi, eax
cmp eax, 1
jne 0x1000e741
push esi
push edx
push 7
push 0
push dword [esp + 0x24]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x1000eba4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1000ebfe
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1000ebfe
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 0x10]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x1000ebee
cmp esi, ecx
jae 0x1000ebfe
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x1000ebdc
cmp esi, ecx
jae 0x1000ebfe
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
jmp 0x1000ec00
xor eax, eax
pop esi
pop ebp
ret

Function at 0x1000ecdd
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1006b1fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push eax
mov ebx, 0x104
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.10024438
mov cl, byte [ebp - 0x108]
lea eax, [ebp - 0x108]
add esp, 0xc
jmp 0x1000ed24
cmp cl, 0x5c
jne 0x1000ed21
mov byte [eax], 0x2f
inc eax
mov cl, byte [eax]
test cl, cl
jne 0x1000ed19
lea eax, [ebp - 0x108]
push 0x2f
push eax
call fcn.10028228
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1000ed88
push edi
lea eax, [ebp - 0x108]
mov edi, esi
sub edi, eax
push edi
push eax
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.10028591
add esp, 0x10
cmp edi, ebx
jae 0x1000ed96
lea eax, [ebp - 0x20c]
mov byte [ebp + edi - 0x20c], 0
push eax
call fcn.10029da8
lea eax, [esi + 1]
push 0x2f
push eax
call fcn.10028228
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1000ed3f
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1001f12f
leave
ret
call fcn.1001f506
int3
Function at 0x1000eeff
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xb0]
sub esp, 0x130
mov eax, dword [0x1006b1fc]
xor eax, ebp
mov dword [ebp + 0xac], eax
mov eax, dword [ebp + 0xb8]
push esi
mov esi, dword [ebp + 0xbc]
push 0x1004b7c0
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.1002909f
add esp, 0xc
test eax, eax
jne 0x1000f05c
push esi
call fcn.10029d9d
pop ecx
test eax, eax
jne 0x1000f05c
push edi
xor edi, edi
inc edi
jmp 0x1000f038
cmp dword [ebp - 0x78], 0x4034b50
jne 0x1000f052
cmp word [ebp - 0x70], 0
jne 0x1000f052
push dword [ebp - 0x7c]
movzx eax, word [ebp - 0x5e]
movzx esi, word [ebp - 0x5e]
push eax
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.100293c7
add esp, 0x10
cmp eax, esi
jne 0x1000f052
cmp esi, 0x104
jae 0x1000f07d
lea eax, [ebp - 0x58]
mov byte [ebp + esi - 0x58], 0
push eax
call fcn.1000ecdd
mov ax, word [ebp - 0x5c]
pop ecx
test ax, ax
je 0x1000efce
push edi
movzx eax, ax
push eax
push dword [ebp - 0x7c]
call fcn.100297be
add esp, 0xc
test eax, eax
jne 0x1000f052
movzx eax, word [ebp - 0x5e]
cmp byte [ebp + eax - 0x59], 0x2f
je 0x1000f038
push 0x1004b7c4
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.1002909f
add esp, 0xc
test eax, eax
jne 0x1000f052
push dword [ebp - 0x62]
call fcn.1001f3db
push dword [ebp - 0x7c]
mov esi, eax
push dword [ebp - 0x62]
push edi
push esi
call fcn.100293c7
add esp, 0x14
cmp eax, dword [ebp - 0x62]
jne 0x1000f072
push dword [ebp - 0x80]
push dword [ebp - 0x62]
push edi
push esi
call fcn.100299f8
add esp, 0x10
cmp eax, dword [ebp - 0x62]
jne 0x1000f072
push edi
push esi
call fcn.1001edf9
push dword [ebp - 0x80]
call fcn.1002915d
add esp, 0xc
push dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push edi
push 0x1e
push eax
call fcn.100293c7
add esp, 0x10
cmp eax, edi
je 0x1000ef59
push dword [ebp - 0x7c]
call fcn.1002915d
pop ecx
pop edi
mov ecx, dword [ebp + 0xac]
xor ecx, ebp
pop esi
call fcn.1001f12f
add ebp, 0xb0
leave
ret
push edi
push esi
call fcn.1001edf9
pop ecx
pop ecx
jmp 0x1000f052
call fcn.1001f506
int3
Function at 0x1000f083
Capabilities:
Create directory
Query or enumerate registry value

Disassembly:
mov eax, 0x114c
call fcn.1001f380
mov eax, dword [0x1006b1fc]
xor eax, esp
mov dword [esp + 0x1148], eax
push ebx
mov ebx, dword [esp + 0x1154]
lea eax, [esp + 0x14c]
push ebp
push esi
push edi
mov ebp, 0x800
xor esi, esi
push ebp
push esi
push eax
mov dword [esp + 0x1c], esi
call fcn.10022670
push ebp
lea eax, [esp + 0x968]
push esi
push eax
call fcn.10022670
push str.SOFTWAREMozillaMozilla_Firefox
lea eax, [esp + 0x174]
mov dword [esp + 0x30], ebp
push ebp
push eax
call fcn.10024438
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [esp + 0x34]
add esp, 0x24
push eax
lea eax, [esp + 0x15c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x1000f135
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x95c]
push eax
push esi
push esi
push 0x1004b7ec
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
test eax, eax
je 0x1000f150
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x1158]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001f12f
add esp, 0x114c
ret
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
lea eax, [esp + 0x958]
push eax
lea eax, [esp + 0x15c]
push str.SOFTWAREMozillaMozilla_Firefox_sMain
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x15c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x1000f135
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x800
push eax
push ebx
xor ebp, ebp
push ebp
push ebp
push 0x1004b828
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
test eax, eax
je 0x1000f1ba
call esi
jmp 0x1000f135
call esi
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f1c1
sub ecx, edx
cmp byte [ecx + ebx - 1], 0x5c
je 0x1000f1e5
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1000f1d4
mov ax, word [0x1004b83c]
mov word [edi], ax
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1000f1e8
mov esi, str.extensions
lea eax, [esp + 0x18]
push eax
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x1000f223
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x1000f135
xor eax, eax
inc eax
jmp 0x1000f137
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x18]
shr eax, 4
and eax, 1
jmp 0x1000f137
Function at 0x1000f239
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x10c4]
mov eax, 0x1144
call fcn.1001f380
mov eax, dword [0x1006b1fc]
xor eax, ebp
mov dword [ebp + 0x10c0], eax
push esi
push edi
mov edi, dword [ebp + 0x10cc]
lea eax, [ebp - 0x80]
push 0x140
push 0
push eax
call fcn.10022670
push edi
lea eax, [ebp + 0xc0]
push str._s.
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000f359
lea eax, [ebp - 0x54]
push 0x1004b86c
push eax
call fcn.100282dc
pop ecx
pop ecx
test eax, eax
je 0x1000f325
lea eax, [ebp - 0x54]
push 0x1004b870
push eax
call fcn.100282dc
pop ecx
pop ecx
test eax, eax
je 0x1000f325
lea eax, [ebp - 0x54]
push eax
push edi
lea eax, [ebp + 0x8c0]
push 0x1004b874
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp - 0x80]
add esp, 0x10
and eax, 0xfffffffe
push eax
lea eax, [ebp + 0x8c0]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test byte [ebp - 0x80], 0x10
lea eax, [ebp + 0x8c0]
push eax
jne 0x1000f31f
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1000f325
push eax
lea eax, [ebp + 0x8c0]
push eax
call fcn.1000c02f
pop ecx
jmp 0x1000f324
call fcn.1000f239
pop ecx
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1000f2a2
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov esi, eax
test esi, esi
jne 0x1000f355
push eax
push edi
call fcn.1000c02f
pop ecx
pop ecx
mov eax, esi
jmp 0x1000f35c
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x10c0]
pop edi
xor ecx, ebp
pop esi
call fcn.1001f12f
add ebp, 0x10c4
leave
ret

Function at 0x10012081
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, 0x8c
test esi, esi
lea edx, [esi + 0xc]
cmove edx, eax
push edx
mov eax, dword [edx]
call dword [eax + 0x18]
push 0x58
test esi, esi
lea eax, [esi - 0x28]
pop ecx
cmove eax, ecx
pop esi
cmp dword [eax], 0
je 0x100120b2
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
ret 8
Function at 0x10014f5f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push edi
push 7
pop ecx
push eax
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
push 0x1004783c
xor esi, esi
lea ecx, [eax - 0x78]
push 0xc
test eax, eax
mov dword [ebp + 0xc], esi
pop edx
cmove ecx, edx
call fcn.10013b95
mov ecx, eax
mov eax, dword [ebp + 0xc]
test ecx, ecx
js 0x10014fe4
test eax, eax
je 0x10014fe1
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
xor ecx, ecx
inc ecx
test ax, ax
push 0x11
cmovs esi, ecx
call edi
test ax, ax
jns 0x10014fc0
add esi, 2
push 0x12
call edi
test ax, ax
jns 0x10014fcc
add esi, 4
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x1c]
push esi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ecx, eax
mov eax, dword [ebp + 0xc]
jmp 0x10014fe4
xor ecx, ecx
inc ecx
xor ebx, ebx
test ecx, ecx
setne bl
test eax, eax
je 0x10014ff5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8
Function at 0x10016106
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x974
mov eax, dword [0x1006b1fc]
xor eax, esp
mov dword [esp + 0x970], eax
push ebx
push ebp
xor ebp, ebp
mov ebx, 0x400
push esi
mov esi, dword [esp + 0x99c]
inc ebp
push edi
mov edi, dword [esp + 0x988]
test esi, esi
jne 0x1001615d
push ebx
lea eax, [esp + 0x584]
push eax
push ebp
push edi
call fcn.1001ba13
add esp, 0x10
test eax, eax
je 0x1001615d
mov eax, str._s_ssvagent.exe
lea esi, [esp + 0x580]
jmp 0x10016172
test edi, edi
jne 0x100162c2
test esi, esi
je 0x100162c2
mov eax, str._s_bin_ssvagent.exe
push esi
push eax
lea eax, [esp + 0x188]
push ebx
push eax
call fcn.10008858
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x194]
push eax
call fcn.10028fd2
add esp, 0x18
test eax, eax
jne 0x100162c2
cmp dword [esp + 0x98c], 0
mov ecx, str.__new
mov byte [esp + 0x7c], al
mov ebx, 0x104
mov eax, str.__old
cmovne eax, ecx
push eax
lea eax, [esp + 0x80]
push ebx
push eax
call fcn.10024492
mov edi, dword [esp + 0x99c]
add esp, 0xc
mov esi, dword [esp + 0x99c]
test edi, edi
jne 0x100161e5
test esi, esi
je 0x100161fb
push str.__high
lea eax, [esp + 0x80]
push ebx
push eax
call fcn.10024492
add esp, 0xc
cmp dword [esp + 0x998], 0
je 0x1001621b
push str.__settreatas
lea eax, [esp + 0x80]
push ebx
push eax
call fcn.10024492
add esp, 0xc
test esi, esi
je 0x10016235
push str.__regdeploy
lea eax, [esp + 0x80]
push ebx
push eax
call fcn.10024492
add esp, 0xc
push 0x3c
pop esi
push esi
lea eax, [esp + 0x14]
push 0
push eax
call fcn.10022670
add esp, 0xc
mov dword [esp + 0x10], esi
lea eax, [esp + 0x7c]
mov dword [esp + 0x24], eax
test edi, edi
je 0x1001626d
call fcn.1001af96
test eax, eax
mov ecx, str.runas
cmove ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x994], 0
push 0x40
pop ecx
cmovne eax, ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x14], eax
lea eax, [esp + 0x180]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x100162c2
cmp dword [esp + 0x48], 0
je 0x100162be
push 0xffffffffffffffff
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
jmp 0x100162c4
xor eax, eax
mov ecx, dword [esp + 0x980]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001f12f
add esp, 0x974
ret