joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a5ef
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov ebx, 0x208
push ebx
push 8
call esi
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call edi
mov dword [ebp - 8], eax
test eax, eax
jne 0x100a647
mov eax, 0x8007000e
push eax
push 0x10023d4
push 0x15
push 0x10022a8
push 0x1001570
mov ecx, 0x10156c0
mov dword [ebp - 4], eax
call fcn.01011507
jmp 0x100a78c
push ebx
push 8
call esi
push eax
call edi
mov edi, eax
xor ebx, ebx
mov dword [ebp - 0xc], edi
cmp edi, ebx
jne 0x100a66c
mov eax, 0x8007000e
push eax
push 0x10023d4
push 0x16
jmp 0x100a758
push 1
push 0x25
push edi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x100a6a4
push ebx
push 0x10023d4
push 0x1b
push 0x10022a8
push 0x1001570
mov ecx, 0x10156c0
call fcn.01011507
mov dword [ebp - 4], 0x80004005
jmp 0x100a76f
cmp dword [ebp + 0xc], ebx
jne 0x100a6e3
cmp dword [ebp + 8], ebx
jne 0x100a6c0
mov eax, 0x8000ffff
push eax
push 0x10023d4
push 0x2e
jmp 0x100a758
push 0x100239c
push 0x104
push dword [ebp - 8]
call fcn.0100834f
cmp eax, ebx
mov dword [ebp - 4], eax
jge 0x100a733
push eax
push 0x10023d4
push 0x34
jmp 0x100a75b
cmp dword [ebp + 0x10], ebx
jne 0x100a733
cmp dword [ebp + 8], ebx
je 0x100a710
push 0x1002388
push 0x104
push dword [ebp - 8]
call fcn.0100834f
cmp eax, ebx
mov dword [ebp - 4], eax
jge 0x100a733
push eax
push 0x10023d4
push 0x4d
jmp 0x100a75b
push 0x100236c
push 0x104
push dword [ebp - 8]
call fcn.0100834f
cmp eax, ebx
mov dword [ebp - 4], eax
jge 0x100a733
push eax
push 0x10023d4
push 0x54
jmp 0x100a75b
push 1
push edi
push dword [ebp - 8]
push 0x10023f8
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x100a76f
mov eax, 0x80004005
push eax
push 0x10023d4
push 0x6d
mov dword [ebp - 4], eax
push 0x10022a8
push 0x1001570
mov ecx, 0x10156c0
call fcn.01011507
push dword [ebp - 8]
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
call edi
cmp dword [ebp - 0xc], ebx
je 0x100a78c
push dword [ebp - 0xc]
push ebx
call esi
push eax
call edi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x100a79b
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov ebx, 0x208
push ebx
push 8
call esi
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call edi
mov dword [ebp - 8], eax
test eax, eax
jne 0x100a7f1
mov eax, 0x8007000e
push eax
push 0x1002454
push 0x88
push 0x10022a8
push 0x1001570
mov ecx, 0x10156c0
mov dword [ebp - 4], eax
call fcn.01011507
jmp 0x100a8ce
push ebx
push 8
call esi
push eax
call edi
mov ebx, eax
xor edi, edi
cmp ebx, edi
jne 0x100a816
mov eax, 0x8007000e
push eax
push 0x1002454
push 0x89
jmp 0x100a89c
push 1
push 0x25
push ebx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x100a84e
push edi
push 0x1002454
push 0x8e
push 0x10022a8
push 0x1001570
mov ecx, 0x10156c0
call fcn.01011507
mov dword [ebp - 4], 0x80004005
jmp 0x100a8b3
push 0x1002410
push 0x104
push dword [ebp - 8]
call fcn.0100834f
cmp eax, edi
mov dword [ebp - 4], eax
jge 0x100a874
push eax
push 0x1002454
push 0x96
jmp 0x100a89f
push 1
push ebx
push dword [ebp - 8]
push 0x10023f8
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x100a8b3
mov eax, 0x80004005
push eax
push 0x1002454
push 0xab
mov dword [ebp - 4], eax
push 0x10022a8
push 0x1001570
mov ecx, 0x10156c0
call fcn.01011507
push dword [ebp - 8]
push edi
call esi
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
call edi
test ebx, ebx
je 0x100a8ce
push ebx
push 0
call esi
push eax
call edi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100a8db
Capabilities:
Create process on windows
Get common file path

Disassembly:
push 8
mov eax, 0x1011ec9
call fcn.010109db
push dword [ebp + 0xc]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantInit]
call esi
xor edi, edi
mov ebx, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
cmp dword [ebp + 0x10], edi
je 0x100a908
push 0x1002508
jmp 0x100a919
cmp dword [ebp + 8], edi
je 0x100a914
push 0x10024d4
jmp 0x100a919
push 0x10024a4
lea ecx, [ebp - 0x10]
call fcn.0100827f
push dword [ebp - 0x10]
call esi
inc eax
inc eax
lea ebx, [eax + ebx + 2]
cmp dword [ebp + 0x10], edi
jne 0x100a933
mov ebx, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea eax, [ebx + ebx]
push eax
push 8
call esi
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call edi
mov dword [ebp + 8], eax
test eax, eax
jne 0x100a97d
mov eax, 0x8007000e
push eax
push 0x1002484
push 0xe6
push 0x10022a8
push 0x1001570
mov ecx, 0x10156c0
mov dword [ebp + 0x10], eax
call fcn.01011507
jmp 0x100aa9a
push 0x208
push 8
call esi
push eax
call edi
xor edi, edi
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x100a9a7
mov eax, 0x8007000e
push eax
push 0x1002484
push 0xe7
jmp 0x100aa64
push 1
push 0x25
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x100a9e2
push edi
push 0x1002484
push 0xec
push 0x10022a8
push 0x1001570
mov ecx, 0x10156c0
call fcn.01011507
mov dword [ebp + 0x10], 0x80004005
jmp 0x100aa7b
push dword [ebp - 0x10]
push ebx
push dword [ebp + 8]
call fcn.0100834f
cmp dword [ebp + 0x10], edi
mov dword [ebp + 0x10], eax
je 0x100aa27
cmp eax, edi
jge 0x100aa07
push eax
push 0x1002484
push 0xf3
jmp 0x100aa67
push dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
call fcn.01008389
cmp eax, edi
mov dword [ebp + 0x10], eax
jge 0x100aa3a
push eax
push 0x1002484
push 0xf4
jmp 0x100aa67
cmp eax, edi
jge 0x100aa3a
push dword [ebp + 0x10]
push 0x1002484
push 0xf8
jmp 0x100aa67
push 1
push dword [ebp - 0x14]
push dword [ebp + 8]
push 0x10023f8
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x100aa7b
mov eax, 0x80004005
push eax
push 0x1002484
push 0x10e
mov dword [ebp + 0x10], eax
push 0x10022a8
push 0x1001570
mov ecx, 0x10156c0
call fcn.01011507
push dword [ebp + 8]
push edi
call esi
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
call edi
cmp dword [ebp - 0x14], 0
je 0x100aa9a
push dword [ebp - 0x14]
push 0
call esi
push eax
call edi
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp + 0x10]
call fcn.01010ac7
ret 0xc
Function at 0x100b183
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_MakeSelfRelativeSD]
xor esi, esi
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp + 0x10]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100b1d1
call ebx
cmp eax, 0x7a
je 0x100b1d1
call ebx
push esi
push 0x10027c0
mov edi, eax
push 0x12e
jmp 0x100b297
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0xc], eax
cmp eax, esi
jne 0x100b200
push 8
pop edi
push 0x8007000e
push 0x10027c0
push 0x138
jmp 0x100b297
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp + 0x10]
call edi
test eax, eax
jne 0x100b21f
call ebx
push esi
push 0x10027c0
mov edi, eax
push 0x142
jmp 0x100b297
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_IsValidSecurityDescriptor]
test eax, eax
jne 0x100b23e
push esi
push 0x10027c0
mov edi, 0x53a
push 0x148
jmp 0x100b297
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push esi
push 2
push esi
push 0x100222c
push esi
push dword [ebp + 8]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
cmp edi, esi
je 0x100b271
push esi
push 0x10027c0
push 0x158
jmp 0x100b297
push dword [ebp - 8]
push dword [ebp - 0xc]
push 3
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
cmp edi, esi
je 0x100b2ab
push esi
push 0x10027c0
push 0x167
push 0x1002710
push 0x1001570
mov ecx, 0x10156c0
call fcn.01011507
cmp dword [ebp - 4], esi
je 0x100b2bc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], esi
cmp dword [ebp - 0xc], esi
je 0x100b2d2
push dword [ebp - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x100c2b3
Capabilities:
Add user account group

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push edi
xor eax, eax
lea edi, [ebp - 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 1
push 0
call sub.NETAPI32.dll_NetLocalGroupAdd
pop edi
test eax, eax
je 0x100c317
cmp eax, 0x8af
je 0x100c317
cmp eax, 0x563
je 0x100c317
push 0
push 0x10029ec
push 0x65e
push 0x1002710
push 0x1001570
mov ecx, 0x10156c0
call fcn.01011507
mov eax, 0x80004005
jmp 0x100c319
xor eax, eax
leave
ret 8

Function at 0x100c322
Capabilities:
Delete user account group

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 8]
push 0
call sub.NETAPI32.dll_NetLocalGroupDel
neg eax
sbb eax, eax
and eax, 0x80004005
pop ebp
ret 4
Function at 0x100c343
Capabilities:
Add user account to group
Delete user account from group
List user accounts for group
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x1015184]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push esi
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x220]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x218]
push eax
push esi
push ebx
push esi
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x218], esi
call sub.NETAPI32.dll_NetLocalGroupGetMembers
test eax, eax
je 0x100c39c
push esi
push 0x1002abc
push 0x796
jmp 0x100c3bf
push dword [ebp - 0x220]
push dword [ebp - 0x218]
push esi
push ebx
push esi
call sub.NETAPI32.dll_NetLocalGroupDelMembers
test eax, eax
je 0x100c3e2
push esi
push 0x1002abc
push 0x7a7
push 0x1002710
push 0x1001570
mov ecx, 0x10156c0
call fcn.01011507
mov dword [ebp - 0x214], 0xc
jmp 0x100c4e1
lea eax, [ebp - 0x210]
push eax
push 0x20019
push esi
push 0x1002a30
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x214], eax
push esi
cmp eax, esi
je 0x100c416
push 0x1002abc
push 0x7b7
jmp 0x100c447
push esi
push esi
push esi
lea eax, [ebp - 0x21c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x214], eax
cmp eax, esi
je 0x100c460
push esi
push 0x1002abc
push 0x7cc
push 0x1002710
push 0x1001570
mov ecx, 0x10156c0
call fcn.01011507
jmp 0x100c4e1
push edi
xor edi, edi
cmp dword [ebp - 0x21c], esi
jbe 0x100c4e0
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [ebp - 0x210]
mov dword [ebp - 0x224], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x100c4b9
push esi
push 0x1002abc
push 0x7e0
push 0x1002710
push 0x1001570
mov ecx, 0x10156c0
call fcn.01011507
jmp 0x100c4d7
lea eax, [ebp - 0x20c]
push 1
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x228]
push eax
push 3
push ebx
push esi
call sub.NETAPI32.dll_NetLocalGroupAddMembers
inc edi
cmp edi, dword [ebp - 0x21c]
jb 0x100c46b
pop edi
cmp dword [ebp - 0x210], esi
je 0x100c4fb
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x210], esi
cmp dword [ebp - 0x218], esi
pop esi
pop ebx
je 0x100c510
push dword [ebp - 0x218]
call sub.NETAPI32.dll_NetApiBufferFree
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x214]
xor ecx, ebp
call fcn.01010988
leave
ret 4
Function at 0x100c58e
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 2
xor edi, edi
push edi
push dword [ebp + 8]
mov dword [ebp - 4], edi
push 0x80000002
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, edi
je 0x100c5de
push edi
push 0x1002af8
push 0x29c
push 0x1002710
push 0x1001570
mov ecx, 0x10156c0
call fcn.01011507
jmp 0x100c662
cmp dword [ebp - 4], edi
je 0x100c670
push ebx
lea eax, [ebp - 8]
push eax
push 0x104
mov esi, 0x1002574
push esi
call fcn.0100c529
mov ebx, eax
cmp ebx, edi
jge 0x100c626
push ebx
push 0x1002af8
push 0x2a9
push 0x1002710
push 0x1001570
mov ecx, 0x10156c0
call fcn.01011507
movzx esi, bx
jmp 0x100c661
inc dword [ebp - 8]
push dword [ebp - 8]
push esi
push 1
push edi
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
cmp esi, edi
je 0x100c661
push edi
push 0x1002af8
push 0x2b8
push 0x1002710
push 0x1001570
mov ecx, 0x10156c0
call fcn.01011507
pop ebx
cmp dword [ebp - 4], edi
je 0x100c670
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
leave
ret 8
Function at 0x100c795
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x618
mov eax, dword [0x1015184]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x105
lea eax, [ebp - 0x410]
push eax
mov dword [ebp - 0x618], ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x100c7f0
push eax
push 0x1002b90
push 0x6a2
push 0x1002710
push 0x1001570
mov ecx, 0x10156c0
call fcn.01011507
mov esi, 0x80004005
jmp 0x100c98c
push ebx
push 0x10025a4
lea eax, [ebp - 0x410]
push eax
push 0x1002b84
push 0x104
push eax
call fcn.01009e2c
mov esi, eax
xor ebx, ebx
add esp, 0x14
cmp esi, ebx
jge 0x100c83c
push ebx
push 0x1002b90
push 0x6ae
push 0x1002710
push 0x1001570
mov ecx, 0x10156c0
call fcn.01011507
jmp 0x100c98b
push 2
push ebx
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x614], eax
cmp eax, ebx
jne 0x100c87f
push ebx
push 0x1002b90
push 0x6b7
push 0x1002710
push 0x1001570
mov ecx, 0x10156c0
call fcn.01011507
mov esi, 0x80004005
jmp 0x100c977
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push edi
mov edi, 0x100
push edi
lea eax, [ebp - 0x204]
push eax
push 0x12c
push dword [ebp - 0x614]
call esi
test eax, eax
jne 0x100c8b4
push ebx
push 0x1002b90
push 0x6c5
jmp 0x100c959
push edi
lea eax, [ebp - 0x610]
push eax
push 0x12d
push dword [ebp - 0x614]
call esi
test eax, eax
jne 0x100c8da
push ebx
push 0x1002b90
push 0x6d0
jmp 0x100c959
mov edi, dword [ebp - 0x618]
lea eax, [ebp - 0x204]
push eax
mov ecx, edi
call fcn.0100c230
test eax, eax
jne 0x100c92e
lea eax, [ebp - 0x610]
push eax
lea eax, [ebp - 0x204]
push eax
mov ecx, edi
call fcn.0100c2b3
mov esi, eax
cmp esi, ebx
jge 0x100c92e
push esi
push 0x1002b90
push 0x6e1
push 0x1002710
push 0x1001570
mov ecx, 0x10156c0
call fcn.01011507
jmp 0x100c976
lea eax, [ebp - 0x204]
push eax
mov ecx, edi
call fcn.0100c343
lea eax, [ebp - 0x204]
push eax
mov ecx, edi
call fcn.0100c67d
test eax, eax
je 0x100c974
push ebx
push 0x1002b90
push 0x6f5
push 0x1002710
push 0x1001570
mov ecx, 0x10156c0
call fcn.01011507
mov esi, 0x80004005
jmp 0x100c976
xor esi, esi
pop edi
cmp dword [ebp - 0x614], ebx
je 0x100c98b
push dword [ebp - 0x614]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop ebx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.01010988
leave
ret
Function at 0x100c9a0
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x1015184]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x105
lea eax, [ebp - 0x210]
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x100c9f8
push eax
push 0x1002bd8
push 0x727
push 0x1002710
push 0x1001570
mov ecx, 0x10156c0
call fcn.01011507
mov esi, 0x80004005
jmp 0x100caef
push 0x10025a4
lea eax, [ebp - 0x210]
push eax
push 0x1002b84
push 0x104
push eax
call fcn.01009e2c
mov esi, eax
add esp, 0x14
test esi, esi
jge 0x100ca41
push esi
push 0x1002bd8
push 0x733
push 0x1002710
push 0x1001570
mov ecx, 0x10156c0
call fcn.01011507
jmp 0x100caef
push 2
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x414], eax
test eax, eax
jne 0x100ca69
push eax
push 0x1002bd8
push 0x73d
jmp 0x100cabd
push 0x100
lea ecx, [ebp - 0x410]
push ecx
push 0x12c
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x100ca92
push eax
push 0x1002bd8
push 0x74b
jmp 0x100cabd
lea eax, [ebp - 0x410]
push eax
mov ecx, edi
call fcn.0100c194
lea eax, [ebp - 0x410]
push eax
mov ecx, edi
call fcn.0100c322
test eax, eax
jge 0x100cad8
push eax
push 0x1002bd8
push 0x763
push 0x1002710
push 0x1001570
mov ecx, 0x10156c0
call fcn.01011507
mov esi, 0x80004005
jmp 0x100cada
xor esi, esi
cmp dword [ebp - 0x414], 0
je 0x100caef
push dword [ebp - 0x414]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.01010988
leave
ret

Function at 0x100ee26
Capabilities:
Decode data using base64 via winapi

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
push edi
mov edi, dword [ebp + 0x14]
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 4]
push eax
push edi
xor ebx, ebx
push ebx
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x100ee75
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x100ee66
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
push ebx
push 0x1003378
push 0x1c9
jmp 0x100eebc
push dword [edi]
call dword [sym.imp.msvcrt.dll_malloc]
pop ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
lea ecx, [ebp + 0x14]
push ecx
lea ecx, [ebp - 4]
push ecx
push edi
push eax
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x100eed0
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x100eeaf
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
push ebx
push 0x1003378
push 0x1da
push 0x1003278
push 0x1001570
mov ecx, 0x10156c0
call fcn.01011507
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x10
Function at 0x100f17f
Capabilities:
Encode data using base64 via winapi

Disassembly:
push 4
mov eax, 0x101211a
call fcn.010109db
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x10], ebx
jne 0x100f1c1
mov esi, 0x80070057
push esi
push 0x1003418
push 0x16b
push 0x1003278
push 0x1001570
mov ecx, 0x10156c0
call fcn.01011507
jmp 0x100f29c
mov edi, dword [ebp + 0x14]
mov esi, dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
push edi
push ebx
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x100f1fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x100f1ee
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
push esi
push 0x1003418
push 0x179
jmp 0x100f1a8
mov eax, dword [edi]
add eax, eax
push eax
call dword [sym.imp.msvcrt.dll_malloc]
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x100f235
mov esi, 0x8007000e
push esi
push 0x1003418
push 0x17f
push 0x1003278
push 0x1001570
mov ecx, 0x10156c0
call fcn.01011507
jmp 0x100f290
push edi
push ebx
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x100f268
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x100f259
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
push esi
push 0x1003418
push 0x18d
jmp 0x100f21f
push ebx
lea ecx, [ebp - 0x10]
call fcn.0100f159
mov esi, eax
test esi, esi
jge 0x100f284
push esi
push 0x1003418
push 0x192
jmp 0x100f21f
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x10]
and dword [ebp - 0x10], 0
mov dword [ecx], eax
test ebx, ebx
je 0x100f29c
push ebx
call dword [sym.imp.msvcrt.dll_free]
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, esi
call fcn.01010ac7
ret 0x10
Function at 0x10102bc
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x1015184]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.01010251
mov eax, 0x1000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x98]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x101032f
cmp dword [ebp - 0x94], 5
jb 0x1010350
jmp 0x101034c
cmp dword [ebp - 0x88], 1
jne 0x1010350
cmp dword [ebp - 0x94], 4
ja 0x101034c
jne 0x1010350
cmp dword [ebp - 0x90], 0
jbe 0x1010350
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x1003714
call fcn.01004001
test eax, eax
jge 0x1010371
mov byte [0x10151f4], 1
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.01010988
leave
ret
Function at 0x1010898
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x1012f38
call fcn.01010900
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x10156d4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1010653
cmp eax, esi
jne 0x1010646
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1010656
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x101062d
xor esi, esi
inc esi
mov eax, dword [0x10156d0]
cmp eax, esi
jne 0x1010669
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1010698
mov eax, dword [0x10156d0]
test eax, eax
jne 0x1010692
mov dword [0x10156d0], esi
push 0x1001350
push 0x1001344
call fcn.0101058f
pop ecx
pop ecx
test eax, eax
je 0x1010698
jmp 0x10107bc
mov dword [0x1015388], esi
mov eax, dword [0x10156d0]
cmp eax, esi
jne 0x10106bc
push 0x1001340
push 0x1001324
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x10156d0], 2
cmp dword [ebp - 0x20], ebx
jne 0x10106c9
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x10156e0], ebx
je 0x10106ea
push 0x10156e0
call fcn.01010f69
pop ecx
test eax, eax
je 0x10106ea
push ebx
push 2
push ebx
call dword [0x10156e0]
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0x10107bc
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0x1010754
cmp cx, bx
je 0x101070f
cmp dword [ebp - 0x1c], ebx
jne 0x1010754
movzx ecx, word [eax]
cmp cx, bx
je 0x1010724
cmp cx, 0x20
ja 0x1010724
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x101070f
test byte [ebp - 0x40], 1
je 0x1010730
movzx ecx, word [ebp - 0x3c]
jmp 0x1010733
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x1000000
call main
mov dword [0x1015384], eax
cmp dword [0x1015378], ebx
jne 0x1010799
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cx, 0x22
jne 0x1010765
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0x10106f9
cmp dword [0x1015388], ebx
jne 0x10107a7
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1015384]
jmp 0x10107c8
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.01010945
ret
call fcn.010110b1
jmp 0x10105f0