joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42acfa
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x434a20]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0042ac8f
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004193c0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x42ad49
cmp dword [ebp - 0x1c], 5
jb 0x42ad61
jmp 0x42ad5d
cmp dword [ebp - 0x10], 1
jne 0x42ad61
cmp dword [ebp - 0x1c], 4
ja 0x42ad5d
jne 0x42ad61
cmp dword [ebp - 0x18], 0
jbe 0x42ad61
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4309ec
call fcn.0042ab63
test eax, eax
jge 0x42ad82
mov byte [0x435e40], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041943a
add ebp, 0x78
leave
ret
Function at 0x10006530
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012bccd
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1019d008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.10004ac0
lea eax, [esi + 0x18]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 0x18]
call fcn.10004ac0
lea eax, [esi + 0x30]
mov byte [ebp - 4], 1
push eax
lea ecx, [edi + 0x30]
call fcn.10004ac0
mov byte [ebp - 4], 2
lea ecx, [edi + 0x4c]
mov eax, dword [esi + 0x48]
mov dword [edi + 0x48], eax
lea eax, [esi + 0x4c]
push eax
call fcn.10004ac0
lea eax, [esi + 0x64]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x64]
call fcn.10004ac0
lea eax, [esi + 0x7c]
mov byte [ebp - 4], 4
push eax
lea ecx, [edi + 0x7c]
call fcn.10004ac0
lea eax, [esi + 0x94]
mov byte [ebp - 4], 5
push eax
lea ecx, [edi + 0x94]
call fcn.10004ac0
lea eax, [esi + 0xac]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0xac]
call fcn.10004ac0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x10007650
Capabilities:
Read file on windows

Disassembly:
call fcn.100046b0
mov ecx, eax
jmp fcn.10014160
Function at 0x1000c190
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x9c]
test edi, edi
je 0x1000c1b0
nop
push 0x2710
mov ecx, edi
call fcn.100634b0
test al, al
je 0x1000c1a0
mov eax, dword [esi]
test eax, eax
je 0x1000c1d6
push str.UnInitialize
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000c1c8
call eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi], 0
cmp byte [esi + 0xa4], 0
je 0x1000c1f5
lea ecx, [esi + 4]
call fcn.100621b0
test al, al
je 0x1000c1f5
pop edi
lea ecx, [esi + 4]
pop esi
jmp fcn.10074b90
pop edi
pop esi
ret

Function at 0x1000d7f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push eax
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1000d872
cmp byte [ebp + 0xc], 0
je 0x1000d872
mov eax, dword [ebp - 4]
test eax, eax
je 0x1000d872
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000ddf0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012c818
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1019d008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x1015fc90
push 0xc8
push dword [0x101a2490]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x1000de4a
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push dword [0x101a2490]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x1000de34
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [0x101a2490]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.10063640
push 0x80
push 2
push 0
push 0x40000000
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.100636f0
mov byte [ebp + 0xb], al
test al, al
je 0x1000df46
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push ebx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
call fcn.10063820
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp - 0x10]
je 0x1000df2a
and ebx, 0x1ff
mov edi, 0x400
push 0
sub edi, ebx
call fcn.1010dcb6
add esp, 4
push eax
call fcn.10111740
shr edi, 2
add esp, 4
test edi, edi
je 0x1000df27
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [eax]
call fcn.1011171f
mov dword [ebp - 0x20], eax
test esi, esi
je 0x1000df22
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1000df22
push 0
lea ecx, [ebp - 0x14]
push ecx
push 4
lea ecx, [ebp - 0x20]
push ecx
push eax
call ebx
sub edi, 1
jne 0x1000df00
mov edi, dword [ebp - 0x18]
test esi, esi
je 0x1000df46
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1000df46
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1000df46
mov dword [esi], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.100636b0
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1000e130
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012c8de
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x1019d008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x88]
call fcn.1001b560
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 7
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push str.2345Pic
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10004c10
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x88]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10004c10
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.10004bb0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0
push eax
lea ecx, [ebp - 0x88]
call fcn.1001d600
mov byte [ebp - 4], 6
cmp dword [ebp - 0x60], 0
je 0x1000e362
call fcn.1000fb80
test al, al
je 0x1000e362
mov edx, esi
lea ecx, [ebp - 0xa0]
call fcn.1005ad50
push 0xe
push str._page_protect
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.1000edd0
mov dword [ebp - 0x30], 0
xor ecx, ecx
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xe
call fcn.10004bb0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
push 0x11
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push str.2345PicLoader.exe
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10004c10
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x12
push eax
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x58]
call fcn.10062e00
add esp, 4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x15
call fcn.10004bb0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x58]
xorps xmm0, xmm0
mov dword [ebp - 0xe0], 0x3c
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x44], 8
movlpd qword [ebp - 0xbc], xmm0
cmovae eax, dword [ebp - 0x58]
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xe0]
push eax
movlpd qword [ebp - 0xb4], xmm0
movlpd qword [ebp - 0xac], xmm0
mov dword [ebp - 0xdc], 0x40
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x19
call fcn.10004bb0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x1d
call fcn.10004bb0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x21
call fcn.10004bb0
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0xffffffff
call fcn.1001b5b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10103789
mov esp, ebp
pop ebp
ret 4
Function at 0x1000f050
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
mov eax, dword [0x1019d008]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [esp + 8]
push 0x208
push 0
push eax
call fcn.10105570
add esp, 0xc
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x1000f0b0
xor al, al
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.10103789
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000f0b7
sub eax, edx
mov ecx, esi
sar eax, 1
push eax
lea eax, [esp + 0xc]
push eax
call fcn.10004c10
mov edx, 0x10
mov ecx, esi
call fcn.10062c60
push 7
push str.2345Pic
mov ecx, esi
call fcn.100051f0
mov edx, 0x10
mov ecx, esi
call fcn.10062c60
mov ecx, esi
call fcn.10062810
push 0x15
push str.2345PicInstaller.data
mov ecx, esi
call fcn.100051f0
mov ecx, dword [esp + 0x214]
mov al, 1
pop esi
xor ecx, esp
call fcn.10103789
mov esp, ebp
pop ebp
ret 4
Function at 0x10012fd0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push 0x105
push ecx
push 0x101a3bb0
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov edi, dword [sym.imp.USER32.dll_CharNextW]
push 0x101a3bb0
call edi
mov ebx, eax
push ebx
call edi
mov esi, eax
mov ax, word [0x101a3bb0]
test ax, ax
je 0x10013017
cmp word [ebx], 0x3a
jne 0x10013017
cmp word [ebx + 2], 0x5c
jne 0x10013017
push esi
call edi
mov esi, eax
jmp 0x10013068
cmp ax, 0x5c
jne 0x10013055
cmp word [0x101a3bb2], ax
jne 0x10013055
mov ebx, 2
nop dword [eax + eax]
movzx eax, word [esi]
dec ebx
test ax, ax
je 0x1001305b
mov ecx, eax
nop dword [eax + eax]
cmp cx, 0x5c
je 0x1001305b
push esi
call edi
mov esi, eax
movzx eax, word [esi]
mov ecx, eax
test ax, ax
jne 0x10013040
pop edi
pop esi
xor al, al
pop ebx
ret
cmp word [esi], 0
je 0x10013055
add esi, 2
test ebx, ebx
jne 0x10013030
test esi, esi
je 0x10013055
mov ecx, esi
call fcn.10012e70
movzx eax, word [esi]
test ax, ax
je 0x10013055
cmp eax, 0x5c
je 0x10013055
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
sub esi, 0x101a3bb0
push 0x101a3bb0
sar esi, 1
call ebx
mov edi, dword [sym.imp.USER32.dll_CharPrevW]
cmp eax, esi
jle 0x100130f8
nop
push 0x101a3960
push 0x101a3bb0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x100130c5
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [0x101a3960], 0x10
je 0x10013055
push 0x101a3bb0
call ebx
lea eax, [eax*2 + 0x101a3bb0]
cmp word [eax], 0x5c
je 0x100130e8
push eax
push 0x101a3bb0
call edi
cmp eax, 0x101a3bb0
ja 0x100130d3
xor ecx, ecx
push 0x101a3bb0
mov word [eax], cx
call ebx
cmp eax, esi
jg 0x100130a0
push 0x101a3bb0
call ebx
lea eax, [eax*2 + 0x101a3bb0]
push eax
push 0x101a3bb0
call edi
cmp word [eax], 0x5c
je 0x10013124
push 0x10160398
push 0x101a3bb0
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x101a3bb0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10013055
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x10014160
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012d1a1
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x1019d008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x450]
call fcn.1001b560
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x438]
push 7
xor eax, eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
push str.2345Pic
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
call fcn.10004c10
mov byte [ebp - 4], 1
lea eax, [ebp - 0x438]
cmp dword [ebp - 0x424], 8
lea ecx, [ebp - 0x450]
push dword [ebp - 0x428]
cmovae eax, dword [ebp - 0x438]
push eax
call fcn.10004c10
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 2
call fcn.10004bb0
mov byte [ebp - 4], 0
test esi, esi
jne 0x10014234
lea ecx, [ebp - 0x450]
call fcn.1001f2e0
jmp 0x10014339
cmp esi, 1
jne 0x10014249
lea ecx, [ebp - 0x450]
call fcn.1001f4c0
jmp 0x10014339
cmp esi, 2
jne 0x10014339
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10105570
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x207
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x438]
call fcn.10007b90
push esi
push 0x10160460
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 6
call fcn.100051f0
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
push 0
cmovae eax, dword [ebp - 0x438]
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
mov dword [ebp - 0x454], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10014315
push 0
lea eax, [ebp - 0x458]
mov dword [ebp - 0x458], 0
push eax
push 4
lea eax, [ebp - 0x454]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
neg eax
push esi
sbb eax, eax
and dword [ebp - 0x454], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x454]
lea ecx, [ebp - 0x450]
call fcn.1001f650
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 7
call fcn.10004bb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x450]
mov dword [ebp - 4], 0xffffffff
call fcn.1001b5b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10103789
mov esp, ebp
pop ebp
ret
Function at 0x10015500
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012d478
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x1019d008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0x9c]
cmp esi, 0x64
ja 0x10015553
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
nop
push 0
push esi
push 0x7e8
push dword [edi + 4]
call ebx
inc esi
cmp esi, 0x64
jbe 0x10015540
push 0x1f8
mov ecx, edi
call fcn.10016080
movzx eax, byte [edi + 0x1a8]
mov ecx, edi
push eax
call fcn.10016800
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov byte [ebp - 0x59], 0
call esi
mov edx, eax
mov dword [ebp - 0x48], 0
mov ecx, edx
mov dword [ebp - 0x44], 0
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100155a3
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.10004c10
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x60], 0
call esi
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
test ebx, ebx
je 0x100156f5
cmp dword [ebp - 0x60], 2
jl 0x100156b3
mov edx, dword [ebx + 4]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10015615
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.10004c10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 3
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x101604c8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10004c10
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x40]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
mov edx, dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
push eax
push 0
call fcn.1000ecc0
add esp, 0xc
mov esi, eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.10004bb0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.10004bb0
cmp esi, 0xffffffff
mov byte [ebp - 4], 0
setne byte [ebp - 0x59]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp byte [ebp - 0x59], 0
je 0x100156f5
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x12c], 0xffffffff
cmp dword [eax + 0x14], 0x1f8
jne 0x100156dd
mov ecx, edi
call fcn.100095c0
push 0xbd0
push dword [edi + 4]
mov dword [edi + 0xd0], 2
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xb
call fcn.10004bb0
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10103789
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1001acb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1019d008]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov edi, edx
push 0
push eax
call fcn.10105570
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x1001ad06
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10103789
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x20c]
push esi
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1001ad10
sub edx, esi
lea eax, [ebp - 0x20c]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.10004c10
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
xor ecx, ebp
pop edi
call fcn.10103789
mov esp, ebp
pop ebp
ret
Function at 0x10020a10
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012f0dc
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push esi
push edi
mov eax, dword [0x1019d008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.100288a0
mov dword [edi], eax
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x34]
push 0x1015b4d8
mov word [edi + 0xc], 0
mov dword [edi + 8], 3
call fcn.10007b90
mov byte [ebp - 4], 4
lea eax, [ebp - 0x34]
push eax
mov ecx, edi
call fcn.10028760
mov dword [eax], 0xe
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.10004ab0
push str.SMDB
lea ecx, [ebp - 0x4c]
call fcn.10007b90
mov byte [ebp - 4], 5
lea eax, [ebp - 0x4c]
push eax
mov ecx, edi
call fcn.10028760
mov dword [eax], 7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.10004ab0
push 0x10160d00
lea ecx, [ebp - 0x64]
call fcn.10007b90
mov byte [ebp - 4], 6
lea eax, [ebp - 0x64]
push eax
mov ecx, edi
call fcn.10028760
mov dword [eax], 0x2d
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.10004ab0
push 0x10160cf8
lea ecx, [ebp - 0x7c]
call fcn.10007b90
mov byte [ebp - 4], 7
lea eax, [ebp - 0x7c]
push eax
mov ecx, edi
call fcn.10028760
mov dword [eax], 0xa
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x7c]
call fcn.10004ab0
push 0x1015b780
lea ecx, [ebp - 0x94]
call fcn.10007b90
mov byte [ebp - 4], 8
lea eax, [ebp - 0x94]
push eax
mov ecx, edi
call fcn.10028760
mov dword [eax], 0x1e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x94]
call fcn.10004ab0
mov dword [ebp - 4], 9
lea ecx, [edi + 0x10]
call fcn.10005020
mov byte [ebp - 4], 0xa
lea esi, [edi + 0x30]
mov ecx, esi
mov dword [ebp - 0x10], esi
call fcn.10005020
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x18]
call fcn.10005020
mov byte [ebp - 4], 0xc
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov byte [esi + 0x44], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002d5a0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10131209
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1019d008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call fcn.10005080
mov dword [ebp - 4], 0
xor esi, esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x1002d752
nop dword [eax]
dec eax
mov dword [ebp + 8], eax
mov al, byte [edi]
inc edi
mov byte [ebp + esi - 0x14], al
inc esi
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x20], edi
mov byte [ebp - 0xf], ch
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], cl
cmp esi, 3
jne 0x1002d694
mov al, cl
xor edi, edi
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
mov byte [ebp - 0x16], cl
and al, 0x3f
mov ecx, 0x101a303c
mov byte [ebp - 0x15], al
call fcn.10004ba0
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x1002d66f
mov ecx, dword [esi]
movzx eax, byte [ebp + edi - 0x18]
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
call fcn.10012470
inc edi
cmp edi, 4
jl 0x1002d665
mov edi, dword [ebp - 0x20]
xor esi, esi
mov dl, byte [ebp - 0xd]
mov cl, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x1002d600
mov dword [ebp + 8], esi
test esi, esi
je 0x1002d752
mov eax, esi
cmp esi, 3
jge 0x1002d6ce
cmp eax, 3
jae 0x1002d766
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 3
jl 0x1002d6b4
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
xor edi, edi
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x15], ch
lea eax, [esi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x1002d738
mov ecx, 0x101a303c
call fcn.10004ba0
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x1002d71e
mov ecx, dword [esi]
movzx eax, byte [ebp + edi - 0x18]
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
call fcn.10012470
inc edi
cmp edi, dword [ebp - 0x20]
jl 0x1002d714
mov esi, dword [ebp + 8]
cmp esi, 3
jge 0x1002d752
mov edi, 3
sub edi, esi
push 0x3d
mov ecx, ebx
call fcn.10012470
sub edi, 1
jne 0x1002d744
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10103e09
int3