joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003fb1
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp dword [esi + 0x18], edi
mov dword [ebp - 0x10], edi
je 0x1003fda
push dword [esi + 0x1c]
push dword [esi + 0x30]
push 0x1001790
call fcn.010024f7
test eax, eax
je 0x1003ff3
mov eax, dword [esi + 0x34]
cmp eax, edi
je 0x1003ffa
push dword [esi + 0x1c]
push eax
push 0x1001740
call fcn.010024f7
test eax, eax
jne 0x1003ffa
xor eax, eax
jmp 0x10040f2
lea eax, [ebp - 4]
push eax
push 0xf003f
push edi
push dword [esi + 0x30]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
mov dword [ebp + 8], eax
jne 0x10040f2
mov eax, dword [esi + 0x34]
cmp eax, edi
je 0x1004033
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp + 8], eax
jmp 0x10040e6
cmp dword [esi + 0x18], edi
je 0x10040e6
push edi
push edi
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, edi
mov dword [ebp + 8], eax
jne 0x10040e6
mov eax, dword [ebp - 0xc]
inc dword [ebp - 8]
imul eax, dword [ebp - 8]
push ebx
push 2
push eax
call dword [sym.imp.msvcrt.dll_calloc]
pop ecx
xor ebx, ebx
cmp dword [ebp - 0xc], edi
pop ecx
mov esi, eax
mov dword [ebp - 0x10], edi
jbe 0x10040b0
cmp dword [ebp + 8], edi
jne 0x10040b0
mov eax, dword [ebp - 8]
push edi
mov dword [ebp - 0x10], eax
imul eax, ebx
push edi
push edi
push edi
lea ecx, [ebp - 0x10]
push ecx
lea eax, [esi + eax*2]
push eax
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
inc ebx
cmp ebx, dword [ebp - 0xc]
mov dword [ebp + 8], eax
jb 0x1004083
xor ebx, ebx
cmp dword [ebp + 8], edi
jne 0x10040d9
cmp ebx, dword [ebp - 0xc]
jae 0x10040d9
mov eax, dword [ebp - 8]
imul eax, ebx
lea eax, [esi + eax*2]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, edi
mov dword [ebp + 8], eax
jne 0x10040d9
inc ebx
jmp 0x10040b7
cmp esi, edi
pop ebx
je 0x10040e6
push esi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
pop edi
pop esi
leave
ret 4
Function at 0x10045fa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
lea eax, [ebp - 0xc]
push eax
xor edi, edi
push edi
lea eax, [ebp - 4]
push eax
push edi
push ebx
push dword [ebp + 8]
call esi
cmp eax, edi
jne 0x1004754
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0x10]
push eax
push edi
push ebx
push dword [ebp + 0x10]
call esi
cmp eax, edi
jne 0x1004754
mov eax, dword [ebp - 0xc]
mov edi, dword [sym.imp.msvcrt.dll_calloc]
inc eax
push 1
push eax
call edi
test eax, eax
pop ecx
pop ecx
mov dword [ebp + 0x18], eax
jne 0x1004662
mov dword [ebp + 8], 8
jmp 0x1004751
mov eax, dword [ebp - 8]
inc eax
push 1
push eax
call edi
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x100467f
mov dword [ebp + 8], 8
jmp 0x100473d
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x18]
lea eax, [ebp - 4]
push eax
push 0
push ebx
push dword [ebp + 8]
call esi
test eax, eax
mov dword [ebp + 8], eax
jne 0x10046b1
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0x10]
push eax
push 0
push ebx
push dword [ebp + 0x10]
call esi
test eax, eax
mov dword [ebp + 8], eax
je 0x10046c5
push dword [ebp + 0x18]
mov esi, dword [sym.imp.msvcrt.dll_free]
call esi
push edi
call esi
pop ecx
jmp 0x1004750
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
jne 0x1004703
cmp esi, dword [ebp - 8]
jne 0x1004703
push esi
push edi
push dword [ebp + 0x18]
call fcn.010043d1
test eax, eax
jne 0x1004703
cmp dword [ebp + 0x1c], 2
je 0x10046ef
cmp dword [ebp + 0x1c], 3
jne 0x100473d
push 0
push esi
push dword [ebp + 0x18]
push dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
call fcn.01004269
jmp 0x100473d
cmp dword [ebp + 0x1c], 1
je 0x100470f
cmp dword [ebp + 0x1c], 3
jne 0x1004733
push 1
push esi
push dword [ebp + 0x18]
push dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
call fcn.01004269
push 2
push dword [ebp - 8]
push edi
push dword [ebp - 0x10]
push ebx
push dword [ebp + 0x14]
call fcn.01004269
mov dword [0x1007020], 1
push dword [ebp + 0x18]
mov esi, dword [sym.imp.msvcrt.dll_free]
call esi
test edi, edi
pop ecx
je 0x1004751
push edi
call esi
pop ecx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x1005180
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
and dword [ebp - 0xc], 0
lea eax, [ebp - 4]
push eax
push 9
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10051b3
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x100526e
push esi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x10051f9
cmp eax, 0xea
je 0x10051f9
cmp eax, 0x7a
je 0x10051f9
mov esi, eax
jmp 0x1005212
mov eax, dword [ebp - 8]
lea eax, [eax + eax + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
jne 0x100521f
push 8
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x100526d
push edi
xor edi, edi
mov eax, dword [ebp - 8]
inc eax
push eax
push esi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x1005243
push esi
push dword [ebp - 4]
call fcn.01005180
test eax, eax
je 0x1005244
inc edi
cmp eax, 0x103
je 0x1005250
cmp edi, dword [ebp - 0x10]
jb 0x1005222
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
leave
ret 8

Function at 0x1005444
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [section..data]
mov ecx, dword [0x100fa68]
xor edx, edx
test eax, eax
setne dl
push esi
mov esi, 0x200
push edi
inc edx
imul edx, ecx
cmp edx, esi
jne 0x100550c
push 0
cmp eax, 1
lea eax, [ebp - 4]
push eax
push esi
jne 0x10054a4
push 0x100f662
push dword [0x100fa64]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100549a
mov dword [0x100f244], 0x82
jmp 0x1005514
mov eax, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
jmp 0x10054ce
mov edi, 0x100f260
push edi
push dword [0x100fa64]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100548e
push esi
push 0x100f662
push dword [ebp - 4]
push edi
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, dword [0x100fa74]
mov dword [0x100fa70], eax
mov eax, dword [ebp - 4]
add dword [0x100fa78], eax
xor ecx, ecx
test esi, esi
mov dword [0x100fa68], ecx
je 0x10054fc
mov eax, dword [0x100fa78]
xor edx, edx
div esi
cmp eax, 0x64
jbe 0x10054ff
push 0x64
pop eax
cmp dword [0x100fa7c], eax
je 0x100550c
mov dword [0x100fa7c], eax
cmp ecx, dword [0x100fa70]
jl 0x1005518
xor eax, eax
jmp 0x100552f
mov ax, word [ecx*2 + 0x100f662]
mov ecx, dword [ebp + 8]
mov word [ecx], ax
inc dword [0x100fa68]
xor eax, eax
inc eax
pop edi
pop esi
leave
ret 4
Function at 0x1005597
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x100fa68]
push ebx
push edi
xor edi, edi
cmp eax, edi
je 0x100561e
cmp dword [0x100fa80], edi
je 0x10055eb
push esi
push edi
push edi
push 0x402
mov esi, 0x100f260
push esi
push eax
push 0x100f662
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
mov ebx, eax
lea eax, [ebp - 4]
push eax
push ebx
push esi
push dword [0x100fa64]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
pop esi
je 0x1005614
cmp ebx, dword [ebp - 4]
jmp 0x1005612
push edi
lea ecx, [ebp - 4]
push ecx
add eax, eax
push eax
push 0x100f662
push dword [0x100fa64]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1005614
mov eax, dword [0x100fa68]
add eax, eax
cmp eax, dword [ebp - 4]
je 0x100561e
mov dword [0x100f244], 0x8d
mov dword [0x100fa68], edi
pop edi
pop ebx
leave
ret

Function at 0x10058ee
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
lea eax, [ebp - 8]
push eax
push 2
xor ebx, ebx
push ebx
push ebx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1005920
mov dword [0x100f244], 0x83
jmp 0x1005a77
lea eax, [ebp - 4]
push eax
call fcn.01005444
test eax, eax
je 0x1005a65
push esi
push edi
dec dword [0x100fa68]
push 0x5c
call fcn.01005535
test eax, eax
je 0x100594b
mov esi, 0x10019d8
jmp 0x1005959
cmp word [0x10012bc], bx
mov esi, 0x10012bc
je 0x1005973
xor eax, eax
mov ax, word [esi]
push eax
call fcn.01005535
inc esi
inc esi
test eax, eax
je 0x1005a4d
cmp word [esi], bx
jne 0x1005959
push 0x5c
call fcn.01005535
mov edi, eax
cmp edi, ebx
je 0x1005a4d
xor esi, esi
jmp 0x10059ac
mov ecx, dword [ebp - 4]
cmp cx, 0x20
je 0x10059bd
push ecx
call fcn.0100557d
test eax, eax
jne 0x10059bd
cmp esi, 0xff
jae 0x10059bb
mov word [ebp + esi*2 - 0x208], cx
inc esi
lea eax, [ebp - 4]
push eax
call fcn.01005444
test eax, eax
jne 0x1005988
jmp 0x10059bd
xor edi, edi
cmp edi, ebx
je 0x1005a4d
mov word [ebp + esi*2 - 0x208], bx
call fcn.01005837
push 0x3d
call fcn.01005535
test eax, eax
je 0x10059e4
push 0x20
call fcn.01005535
xor esi, esi
jmp 0x1005a06
mov ecx, dword [ebp - 4]
push ecx
call fcn.0100557d
test eax, eax
jne 0x1005a17
cmp esi, 0x3fff
jae 0x1005a15
mov word [esi*2 + 0x1007240], cx
inc esi
lea eax, [ebp - 4]
push eax
call fcn.01005444
test eax, eax
jne 0x10059e8
jmp 0x1005a17
xor edi, edi
cmp edi, ebx
je 0x1005a4d
lea eax, [esi + esi]
push eax
push 0x1007240
mov word [eax + 0x1007240], bx
push 1
lea eax, [ebp - 0x208]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
test eax, eax
je 0x1005a52
mov dword [0x100f244], 0x84
jmp 0x1005a52
call fcn.01005860
lea eax, [ebp - 4]
push eax
call fcn.01005444
test eax, eax
jne 0x1005933
pop edi
pop esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
leave
ret
Function at 0x1005d24
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x308
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x308]
push eax
mov dword [ebp - 4], 0x200
call fcn.010056f6
test eax, eax
je 0x1005e5e
call fcn.01005837
push 0x3d
call fcn.01005535
test eax, eax
je 0x1005e5e
call fcn.01005837
push 0x22
call fcn.01005535
xor ebx, ebx
test eax, eax
je 0x1005da8
lea eax, [ebp - 4]
push eax
mov esi, 0x1007240
push esi
mov dword [ebp - 4], 0x4000
call fcn.010056f6
test eax, eax
je 0x1005e5e
call fcn.010057e1
test eax, eax
je 0x1005e5e
xor edi, edi
inc edi
jmp 0x1005e99
push 0x64
call fcn.01005535
test eax, eax
je 0x1005dfa
mov esi, 0x1001a5e
xor eax, eax
mov ax, word [esi]
push eax
call fcn.01005535
inc esi
inc esi
test eax, eax
je 0x1005e5e
cmp word [esi], bx
jne 0x1005db8
call fcn.01005837
mov esi, 0x1007240
push esi
call fcn.01005aed
test eax, eax
je 0x1005e5e
call fcn.010057e1
test eax, eax
je 0x1005e5e
push 4
pop edi
mov dword [ebp - 4], edi
jmp 0x1005e99
push 0x2d
call fcn.01005535
test eax, eax
je 0x1005e20
call fcn.010057e1
test eax, eax
je 0x1005e5e
lea eax, [ebp - 0x308]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x1005e63
mov esi, 0x1001a54
xor eax, eax
mov ax, word [esi]
push eax
call fcn.01005535
inc esi
inc esi
test eax, eax
je 0x1005e5e
cmp word [esi], bx
jne 0x1005e25
push 0x28
call fcn.01005535
test eax, eax
je 0x1005e6a
lea eax, [ebp - 8]
push eax
call fcn.01005aed
test eax, eax
je 0x1005e5e
push 0x29
call fcn.01005535
test eax, eax
jne 0x1005e6f
call fcn.01005860
pop edi
pop esi
pop ebx
leave
ret 4
push 3
pop edi
jmp 0x1005e72
mov edi, dword [ebp - 8]
push 0x3a
call fcn.01005535
test eax, eax
je 0x1005e5e
lea eax, [ebp - 4]
push eax
mov esi, 0x1007240
push esi
call fcn.01005bfb
test eax, eax
je 0x1005e5e
call fcn.010057e1
test eax, eax
je 0x1005e5e
cmp dword [0x100f240], 0x500
jae 0x1005efb
cmp edi, 2
je 0x1005eaf
cmp edi, 7
jne 0x1005efb
push ebx
push ebx
push 0x100
lea eax, [ebp - 0x108]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x308]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [ebp - 4]
lea eax, [ebp - 0x108]
push esi
push edi
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x1005e63
mov dword [0x100f244], 0x84
jmp 0x1005e63
push dword [ebp - 4]
lea eax, [ebp - 0x308]
push esi
push edi
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
je 0x1005e63
push eax
mov dword [0x100f244], 0x84
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1005e63
Function at 0x1005f2f
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0x5b
call fcn.010058a4
push dword [ebp + 0xc]
call fcn.01005b5b
push 0x1001ab4
call fcn.01005b5b
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea ecx, [ebp - 8]
push ecx
mov esi, 0x1007240
push esi
lea ecx, [ebp - 0x10]
push ecx
xor eax, eax
push eax
lea ecx, [ebp - 0xc]
push ecx
mov edi, 0x1007040
push edi
mov dword [ebp - 4], eax
push eax
jmp 0x1006002
inc dword [ebp - 4]
cmp dword [ebp - 0xc], 0
je 0x1005f8c
push edi
call fcn.01005b78
jmp 0x1005f93
push 0x40
call fcn.010058a4
push 0x3d
call fcn.010058a4
mov eax, dword [ebp - 0x10]
dec eax
je 0x1005fd2
sub eax, 3
jne 0x1005fc4
cmp dword [ebp - 8], 4
jne 0x1005fc4
push 0x1001a5c
call fcn.01005b5b
push 1
push dword [0x1007240]
call fcn.01005bb9
jmp 0x1005fd8
push dword [ebp - 8]
push dword [ebp - 0x10]
push esi
call fcn.01005c57
jmp 0x1005fd8
push esi
call fcn.01005b78
push 0xa
call fcn.010058a4
cmp dword [0x100f244], 0x8d
je 0x10060ce
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp - 4]
push dword [ebp + 8]
mov dword [ebp - 8], 0x4000
mov dword [ebp - 0xc], 0x200
call ebx
test eax, eax
mov dword [ebp - 0x14], eax
je 0x1005f7b
push 0xa
call fcn.010058a4
cmp dword [ebp - 0x14], 0x103
je 0x100603a
mov dword [0x100f244], 0x8c
mov esi, dword [ebp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
lea esi, [esi + eax*2]
mov word [esi], 0x5c
inc esi
inc esi
push esi
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x100
sub edi, eax
and dword [ebp - 4], 0
push edi
push esi
push 0
jmp 0x10060b4
inc dword [ebp - 4]
lea eax, [ebp - 0x18]
push eax
push 9
push 0
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10060a5
push dword [ebp + 0xc]
push dword [ebp - 0x18]
call fcn.01005f2f
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x100f244], 0x8d
je 0x10060ce
jmp 0x10060af
mov dword [0x100f244], 0x8b
push edi
push esi
push dword [ebp - 4]
push dword [ebp + 8]
call ebx
test eax, eax
je 0x100606a
cmp eax, 0x103
je 0x10060ce
mov dword [0x100f244], 0x8c
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1006176
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
cmp ebx, esi
mov dword [0x100f244], 0x88
je 0x10061b2
push esi
push ebx
lea eax, [ebp + 0xc]
push eax
call fcn.0100538c
test eax, eax
je 0x10061b2
mov dword [0x100f244], 0x89
jmp 0x10062ac
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [0x100fa64], eax
je 0x1006295
push esi
lea ecx, [ebp + 8]
push ecx
push 2
push 0x1001a04
push eax
mov dword [0x100fa68], esi
mov dword [0x100fa6c], esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x1001a08
call fcn.01005b5b
push 0x1001ac4
call fcn.01005b5b
push 0x1001a48
call fcn.01005b5b
push 0x1001abc
call fcn.01005b5b
cmp ebx, esi
lea eax, [ebp - 0x250]
je 0x1006242
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x250]
push eax
push dword [ebp + 0xc]
call fcn.01005f2f
jmp 0x1006282
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x100127c
push eax
call edi
lea eax, [ebp - 0x250]
push eax
push 0x80000002
call fcn.01005f2f
push 0x1001258
lea eax, [ebp - 0x250]
push eax
call edi
lea eax, [ebp - 0x250]
push eax
push 0x80000003
call fcn.01005f2f
pop edi
call fcn.01005597
push dword [0x100fa64]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100629f
mov dword [0x100f244], 0x8a
cmp ebx, esi
je 0x10062ac
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
leave
ret 8
Function at 0x100669d
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1001b30
call fcn.01006880
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x10066d8
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10066d8
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x10066f0
cmp eax, 0x20b
je 0x10066dd
mov dword [ebp - 0x1c], edi
jmp 0x1006704
cmp dword [ecx + 0x84], 0xe
jbe 0x10066d8
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x10066fe
cmp dword [ecx + 0x74], 0xe
jbe 0x10066d8
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1012b68], 0xffffffff
or dword [0x1012b6c], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1007030]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100702c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1012b70], eax
call fcn.0100687c
cmp dword [0x1007010], edi
jne 0x100675f
push fcn.0100687c
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0100686a
push 0x1001168
push 0x1001164
call sub.msvcrt.dll__initterm
mov eax, dword [0x1007028]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x1007024]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x30], eax
push 0x1001160
push 0x100115c
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x24]
mov ecx, dword [sym.imp.msvcrt.dll___winitenv]
mov dword [ecx], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.0100281a
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x1c], edi
jne 0x10067d6
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x100680b
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.010068b9
ret
Function at 0x40ffd9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x40ffe8
pop dword [ebp - 0x50]
mov eax, 0x40ffe8
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x3e098
push 0
mov eax, 0x1d17017d
sub eax, 0x1cd4af65
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0x439d2dea
add ecx, 0xbc631ae1
mov ebx, eax
mov esi, 0x435400
add esi, dword [ebp - 0x50]
mov edi, 0xd47f2fc
sub edi, 0x11ce6688
sub dword [ebp - 0x34], 0x6704a850
mov edx, dword [esi]
add dword [ebp - 0x2c], 0x48470d5e
xor edx, edi
sub dword [ebp - 0x28], 0x4873aaf7
mov dword [ebx], edx
xor dword [ebp - 0x28], esi
add ebx, 0xde7e5d
sub ebx, 0xde7e59
add esi, 0xb7f49344
add esi, 0x480b6cc0
loop 0x41003c
add eax, 0xa7c12b6f
add eax, 0x583fea90
xor ebx, ebx
add ebx, eax
add eax, 0x87f74ef7
sub eax, 0x87f74ef2
mov ecx, 0x890c2c22
add ecx, 0x7733d3de
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x100018e4
Capabilities:
Create process on windows
Get common file path

Disassembly:
push 0x21c
mov eax, 0x10009593
call fcn.100089a7
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [0x1000e04c]
cmp eax, 0x1000e04c
je 0x10001927
test dword [eax + 0x1c], 0x100
je 0x10001927
cmp byte [eax + 0x19], 6
jb 0x10001927
push ebx
push 0x1000a79c
push 0x19
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.10008d2b
xor edi, edi
test esi, esi
jne 0x10001937
mov eax, 0x80004005
jmp 0x10001b10
push dword [esi]
lea ecx, [ebp - 0x228]
call fcn.10002f0d
mov dword [ebp - 4], 1
call fcn.100012d5
push eax
lea ecx, [ebp - 0x224]
call fcn.10008d2b
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
mov esi, 0x104
mov dword [ebp - 0x21c], edi
push esi
call dword [sym.imp.kernel32.dll_GetTempPathW]
test eax, eax
jne 0x1000198f
push 0x1000a630
push esi
lea eax, [ebp - 0x218]
push eax
call fcn.10008d2b
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
call fcn.10002f0d
push 0xd
push str.Join.ocsmeet
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 3
call fcn.10008d2b
push 0x1000a654
push dword [ebp - 0x220]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
add esp, 0xc
test eax, eax
jne 0x10001a17
cmp dword [ebp - 0x21c], eax
je 0x10001a17
push dword [ebp - 0x21c]
push dword [ebp - 0x228]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputws]
pop ecx
pop ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x224]
call fcn.10008d2b
push dword [ebp - 0x21c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
pop ecx
mov dword [ebp - 0x21c], edi
mov esi, dword [ebp - 0x224]
cmp dword [esi - 0xc], edi
jne 0x10001a2c
mov edi, 0x80004005
jmp 0x10001abc
push 0xa
mov eax, 0x1000a798
push eax
push eax
push esi
push 0x1000a658
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x10001abc
cmp eax, 0x1b
ja 0x10001a8c
je 0x10001ab0
dec eax
sub eax, 1
je 0x10001a85
sub eax, 1
je 0x10001a7e
dec eax
sub eax, 1
je 0x10001a77
sub eax, 3
je 0x10001a70
sub eax, 3
jne 0x10001a22
mov edi, 0x8007000b
jmp 0x10001abc
mov edi, 0x8007000e
jmp 0x10001abc
mov edi, 0x80070005
jmp 0x10001abc
mov edi, 0x80070003
jmp 0x10001abc
mov edi, 0x80070002
jmp 0x10001abc
sub eax, 0x1c
je 0x10001ab7
sub eax, 1
je 0x10001ab7
sub eax, 1
je 0x10001ab7
sub eax, 1
je 0x10001ab0
sub eax, 1
jne 0x10001a22
mov edi, 0x80070485
jmp 0x10001abc
mov edi, 0x80070483
jmp 0x10001abc
mov edi, 0x80070484
mov eax, dword [0x1000e04c]
cmp eax, 0x1000e04c
je 0x10001aea
test dword [eax + 0x1c], 0x100
je 0x10001aea
cmp byte [eax + 0x19], 6
jb 0x10001aea
push ebx
push 0x1000a79c
push 0x1a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.10008d2b
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.10008d2b
lea ecx, [esi - 0x10]
call fcn.10008d2b
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.10008d2b
mov eax, edi
call fcn.10008959
ret 8