joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000c260
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x64]
test edi, edi
je 0x1000c280
nop dword [eax + eax]
push 0x2710
mov ecx, edi
call fcn.1005f730
test al, al
je 0x1000c270
mov eax, dword [esi]
test eax, eax
je 0x1000c2a6
push 0x1015727c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000c298
call eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi], 0
cmp byte [esi + 0x6c], 0
je 0x1000c2c2
lea ecx, [esi + 4]
call fcn.1005e430
test al, al
je 0x1000c2c2
pop edi
lea ecx, [esi + 4]
pop esi
jmp fcn.10070d30
pop edi
pop esi
ret

Function at 0x1000d340
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 + 0xc]
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 0x1000d3bc
mov eax, dword [ebp - 4]
test eax, eax
je 0x1000d3bc
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 8
Function at 0x1000d940
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10125278
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10193008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10157158
push 0xc8
push dword [0x10198470]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x1000d99a
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 [0x10198470]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x1000d984
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [0x10198470]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.1005f8c0
push 0x80
push 2
push 0
push 0x40000000
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.1005f970
mov byte [ebp + 0xb], al
test al, al
je 0x1000da96
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push ebx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
call fcn.1005faa0
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp - 0x10]
je 0x1000da7a
and ebx, 0x1ff
mov edi, 0x400
push 0
sub edi, ebx
call fcn.101066d6
add esp, 4
push eax
call fcn.1010a155
shr edi, 2
add esp, 4
test edi, edi
je 0x1000da77
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [eax]
call fcn.1010a134
mov dword [ebp - 0x20], eax
test esi, esi
je 0x1000da72
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1000da72
push 0
lea ecx, [ebp - 0x14]
push ecx
push 4
lea ecx, [ebp - 0x20]
push ecx
push eax
call ebx
sub edi, 1
jne 0x1000da50
mov edi, dword [ebp - 0x18]
test esi, esi
je 0x1000da96
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1000da96
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1000da96
mov dword [esi], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.1005f930
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 0x1000e510
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
mov eax, dword [0x10193008]
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.100fdf90
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 0x1000e570
xor al, al
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.100fc1a9
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 0x1000e577
sub eax, edx
mov ecx, esi
sar eax, 1
push eax
lea eax, [esp + 0xc]
push eax
call fcn.10004c40
mov edx, 0x10
mov ecx, esi
call fcn.1005eee0
push 7
push str.2345Pic
mov ecx, esi
call fcn.10005880
mov edx, 0x10
mov ecx, esi
call fcn.1005eee0
mov ecx, esi
call fcn.1005ea90
push 0x15
push str.2345PicInstaller.data
mov ecx, esi
call fcn.10005880
mov ecx, dword [esp + 0x214]
mov al, 1
pop esi
xor ecx, esp
call fcn.100fc1a9
mov esp, ebp
pop ebp
ret 4
Function at 0x100111c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push 0x105
push ecx
push 0x10199b30
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov edi, dword [sym.imp.USER32.dll_CharNextW]
push 0x10199b30
call edi
mov ebx, eax
push ebx
call edi
mov esi, eax
mov ax, word [0x10199b30]
test ax, ax
je 0x10011207
cmp word [ebx], 0x3a
jne 0x10011207
cmp word [ebx + 2], 0x5c
jne 0x10011207
push esi
call edi
mov esi, eax
jmp 0x10011258
cmp ax, 0x5c
jne 0x10011245
cmp word [0x10199b32], ax
jne 0x10011245
mov ebx, 2
nop dword [eax + eax]
movzx eax, word [esi]
dec ebx
test ax, ax
je 0x1001124b
mov ecx, eax
nop dword [eax + eax]
cmp cx, 0x5c
je 0x1001124b
push esi
call edi
mov esi, eax
movzx eax, word [esi]
mov ecx, eax
test ax, ax
jne 0x10011230
pop edi
pop esi
xor al, al
pop ebx
ret
cmp word [esi], 0
je 0x10011245
add esi, 2
test ebx, ebx
jne 0x10011220
test esi, esi
je 0x10011245
mov ecx, esi
call fcn.10011060
movzx eax, word [esi]
test ax, ax
je 0x10011245
cmp eax, 0x5c
je 0x10011245
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
sub esi, 0x10199b30
push 0x10199b30
sar esi, 1
call ebx
mov edi, dword [sym.imp.USER32.dll_CharPrevW]
cmp eax, esi
jle 0x100112e8
nop
push 0x101998e0
push 0x10199b30
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x100112b5
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [0x101998e0], 0x10
je 0x10011245
push 0x10199b30
call ebx
lea eax, [eax*2 + 0x10199b30]
cmp word [eax], 0x5c
je 0x100112d8
push eax
push 0x10199b30
call edi
cmp eax, 0x10199b30
ja 0x100112c3
xor ecx, ecx
push 0x10199b30
mov word [eax], cx
call ebx
cmp eax, esi
jg 0x10011290
push 0x10199b30
call ebx
lea eax, [eax*2 + 0x10199b30]
push eax
push 0x10199b30
call edi
cmp word [eax], 0x5c
je 0x10011314
push 0x10157670
push 0x10199b30
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x10199b30
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10011245
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x100119e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10125811
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x10193008]
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.100189f0
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.10004c40
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.10004c40
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 2
call fcn.10004be0
mov byte [ebp - 4], 0
test esi, esi
jne 0x10011ab4
lea ecx, [ebp - 0x450]
call fcn.1001c770
jmp 0x10011bb9
cmp esi, 1
jne 0x10011ac9
lea ecx, [ebp - 0x450]
call fcn.1001c950
jmp 0x10011bb9
cmp esi, 2
jne 0x10011bb9
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100fdf90
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.10008180
push esi
push 0x101576e8
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 6
call fcn.10005880
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 0x10011b95
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.1001cae0
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 7
call fcn.10004be0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x450]
mov dword [ebp - 4], 0xffffffff
call fcn.10018a40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100fc1a9
mov esp, ebp
pop ebp
ret
Function at 0x10012c30
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10125ab8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x10193008]
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 0x10012c83
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 0x10012c70
push 0x1f8
mov ecx, edi
call fcn.10013780
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 0x10012cc4
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.10004c40
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 0x10012e16
cmp dword [ebp - 0x60], 2
jl 0x10012dd4
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 0x10012d36
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.10004c40
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 0x1015779c
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10004c40
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.1000e3b0
add esp, 0xc
mov esi, eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.10004be0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.10004be0
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 0x10012e16
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x12c], 0xffffffff
cmp dword [eax + 0x14], 0x1f8
jne 0x10012dfe
mov ecx, edi
call fcn.10009a90
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.10004be0
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.100fc1a9
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100151b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10125de8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10193008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x14]
sub eax, 0x258
je 0x10015355
sub eax, 2
jne 0x10015360
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x35
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x40]
push str.https:__bbs.2345.cn_post.php_fid5tid0fromktwsoft
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.10004c40
lea eax, [esi + 0xdc]
mov dword [ebp - 4], 0
push eax
lea eax, [esi + 0xc4]
push eax
lea eax, [esi + 0xa8]
push eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x58]
call fcn.10005290
add esp, 0xc
mov byte [ebp - 4], 1
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x18], 0
cmovae edx, dword [ebp - 0x58]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10015291
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10004c40
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.10009b20
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10004be0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.10004be0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10004be0
push 2
mov dword [ebp - 4], 3
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [0x10199848]
test al, 1
jne 0x1001532c
or eax, 1
mov dword [0x10199848], eax
mov byte [ebp - 4], 4
call fcn.1001d760
mov byte [ebp - 4], 5
mov byte [0x10199850], 0
push 0x10142f90
mov byte [ebp - 4], 4
call fcn.100fc649
add esp, 4
mov byte [ebp - 4], 3
sub esp, 8
lea eax, [ebp - 0x70]
mov ecx, 0x1019984c
push eax
call fcn.10008160
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 6
call fcn.10004be0
mov dword [ebp - 4], 0xffffffff
jmp 0x10015360
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100fc1a9
mov esp, ebp
pop ebp
ret
Function at 0x10018140
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10193008]
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.100fdf90
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 0x10018196
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100fc1a9
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 0x100181a0
sub edx, esi
lea eax, [ebp - 0x20c]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.10004c40
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
xor ecx, ebp
pop edi
call fcn.100fc1a9
mov esp, ebp
pop ebp
ret
Function at 0x1001dbb0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012765c
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push esi
push edi
mov eax, dword [0x10193008]
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.100256d0
mov dword [edi], eax
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x34]
push 0x101534d8
mov word [edi + 0xc], 0
mov dword [edi + 8], 3
call fcn.10008180
mov byte [ebp - 4], 4
lea eax, [ebp - 0x34]
push eax
mov ecx, edi
call fcn.10025590
mov dword [eax], 0xe
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.10004ae0
push str.SMDB
lea ecx, [ebp - 0x4c]
call fcn.10008180
mov byte [ebp - 4], 5
lea eax, [ebp - 0x4c]
push eax
mov ecx, edi
call fcn.10025590
mov dword [eax], 7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.10004ae0
push 0x1015801c
lea ecx, [ebp - 0x64]
call fcn.10008180
mov byte [ebp - 4], 6
lea eax, [ebp - 0x64]
push eax
mov ecx, edi
call fcn.10025590
mov dword [eax], 0x2d
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.10004ae0
push 0x10158000
lea ecx, [ebp - 0x7c]
call fcn.10008180
mov byte [ebp - 4], 7
lea eax, [ebp - 0x7c]
push eax
mov ecx, edi
call fcn.10025590
mov dword [eax], 0xa
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x7c]
call fcn.10004ae0
push 0x10153770
lea ecx, [ebp - 0x94]
call fcn.10008180
mov byte [ebp - 4], 8
lea eax, [ebp - 0x94]
push eax
mov ecx, edi
call fcn.10025590
mov dword [eax], 0x1e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x94]
call fcn.10004ae0
mov dword [ebp - 4], 9
lea ecx, [edi + 0x10]
call fcn.100056b0
mov byte [ebp - 4], 0xa
lea esi, [edi + 0x30]
mov ecx, esi
mov dword [ebp - 0x10], esi
call fcn.100056b0
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x18]
call fcn.100056b0
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 0x1002a320
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101296d9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x10193008]
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.10005710
mov dword [ebp - 4], 0
xor esi, esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x1002a4d2
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 0x1002a414
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, 0x1019901c
mov byte [ebp - 0x15], al
call fcn.10004bd0
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x1002a3ef
mov ecx, dword [esi]
movzx eax, byte [ebp + edi - 0x18]
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
call fcn.10010660
inc edi
cmp edi, 4
jl 0x1002a3e5
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 0x1002a380
mov dword [ebp + 8], esi
test esi, esi
je 0x1002a4d2
mov eax, esi
cmp esi, 3
jge 0x1002a44e
cmp eax, 3
jae 0x1002a4e6
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 3
jl 0x1002a434
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 0x1002a4b8
mov ecx, 0x1019901c
call fcn.10004bd0
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x1002a49e
mov ecx, dword [esi]
movzx eax, byte [ebp + edi - 0x18]
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
call fcn.10010660
inc edi
cmp edi, dword [ebp - 0x20]
jl 0x1002a494
mov esi, dword [ebp + 8]
cmp esi, 3
jge 0x1002a4d2
mov edi, 3
sub edi, esi
push 0x3d
mov ecx, ebx
call fcn.10010660
sub edi, 1
jne 0x1002a4c4
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.100fc829
int3
Function at 0x1002d870
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10129db8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10193008]
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]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
mov dword [esi + 0x10], eax
call fcn.101066d6
mov ecx, dword [esi]
add esp, 4
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
test ecx, ecx
je 0x1002d94a
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x1c], edx
call fcn.100229e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.10005620
test al, al
jne 0x1002d93b
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x38]
call fcn.10006600
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1002d93b
test esi, esi
je 0x1002d93b
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 8
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.10004ae0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100fc1a9
mov esp, ebp
pop ebp
ret 4
Function at 0x10032110
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012a6cb
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10193008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0
push 0
mov dword [ebp - 0x14], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.10022eb0
mov dword [edi], eax
mov dword [ebp - 4], 2
lea esi, [edi + 8]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10035840
mov dword [esi], eax
mov byte [ebp - 4], 5
lea esi, [edi + 0x10]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100357a0
mov dword [esi], eax
mov byte [ebp - 4], 8
lea esi, [edi + 0x18]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10035840
mov dword [esi], eax
mov byte [ebp - 4], 0xb
lea esi, [edi + 0x20]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10035700
mov dword [esi], eax
mov byte [ebp - 4], 0xe
lea esi, [edi + 0x28]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10035660
mov dword [esi], eax
mov byte [ebp - 4], 0x11
lea esi, [edi + 0x30]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10035660
mov dword [esi], eax
mov byte [ebp - 4], 0x14
lea esi, [edi + 0x38]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
push 0
push 0
call fcn.10035660
mov dword [esi], eax
mov byte [ebp - 4], 0x17
lea ecx, [edi + 0x40]
call fcn.10007dc0
mov byte [ebp - 4], 0x18
lea ecx, [edi + 0x78]
call fcn.100056b0
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