joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ddb0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x442d48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x548
mov eax, dword [0x45a1e8]
push ebx
push esi
push edi
mov dword [esp + 0x54c], eax
xor eax, eax
xor esi, esi
mov word [esp + 0x138], si
mov ecx, 0x81
lea edi, [esp + 0x13a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x138]
push 0x104
push eax
call dword [sym.imp.ServiceCore.dll_public:_static_bool___cdecl_CWHService::GetWorkDirectory_wchar_t__const__unsigned_short_int_]
mov word [esp + 0x348], si
mov esi, dword [sym.imp.MSVCR71.dll__snwprintf]
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x34a]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x140]
push ecx
push str._sPhraseInfo.ini
lea edx, [esp + 0x350]
push 0x104
push edx
stosw word es:[edi], ax
call esi
xor ecx, ecx
mov edx, dword [ebp + 8]
mov dword [esp + 0x32], ecx
mov dword [esp + 0x36], ecx
mov dword [esp + 0x3a], ecx
mov dword [esp + 0x3e], ecx
mov dword [esp + 0x42], ecx
mov dword [esp + 0x46], ecx
mov dword [esp + 0x4a], ecx
xor eax, eax
mov word [esp + 0x4e], cx
mov word [esp + 0x50], ax
mov word [esp + 0x30], ax
mov ecx, 0x3f
lea edi, [esp + 0x52]
rep stosd dword es:[edi], eax
add esp, 0x18
push edx
lea ecx, [esp + 0x18]
mov bl, 1
stosw word es:[edi], ax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x14]
mov dword [esp + 0x55c], 0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::TrimLeft]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::TrimRight]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
nop
movzx eax, bl
push eax
push str.Phrase_d
lea ecx, [esp + 0x20]
push 0x10
push ecx
call esi
add esp, 0x10
lea edx, [esp + 0x340]
push edx
push 0x80
lea eax, [esp + 0x40]
push eax
push 0x44515c
lea ecx, [esp + 0x28]
push ecx
push str.ServerChatShort
call edi
cmp word [esp + 0x38], 0
je 0x42df69
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x10]
mov byte [esp + 0x55c], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::TrimLeft]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::TrimRight]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_CWinThread::CommonConstruct]
test eax, eax
lea ecx, [esp + 0x10]
je 0x42df98
inc bl
mov byte [esp + 0x55c], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
cmp word [esp + 0x38], 0
je 0x42df69
cmp bl, 0x10
jb 0x42dec0
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor al, al
mov ecx, dword [esp + 0x554]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x54c]
call fcn.0043ef61
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov al, bl
jmp 0x42df75
Function at 0x42ffe9
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x442d19
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x2fe4]
lea ebp, [esi + 0x2fe4]
mov ecx, ebp
mov dword [esp + 0x14], esi
call dword [eax + 0x14]
mov ecx, dword [esi + 0xc0]
mov edx, dword [ecx]
mov dword [esp + 8], eax
call dword [edx + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xc8]
shr eax, 4
test al, 1
je 0x430052
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x14]
cmp ax, 0x64
jb 0x430052
mov eax, dword [esp + 0x28]
pop esi
mov word [eax + 8], 0
mov word [eax + 0xa], 0x64
pop ebp
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
mov eax, dword [ebp]
push ebx
xor esi, esi
push edi
mov ecx, ebp
mov dword [esp + 0x14], esi
call dword [eax + 0x10]
test ax, ax
mov edi, dword [esp + 0x30]
jbe 0x430167
nop
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x10]
movzx ecx, ax
movzx eax, word [edi + 6]
movzx edx, si
add eax, edx
cdq
idiv ecx
cmp word [esp + 0x18], dx
mov word [edi + 8], dx
je 0x43014d
mov eax, dword [ebp]
push edx
mov ecx, ebp
call dword [eax + 0x40]
mov esi, eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x28]
cmp al, 1
je 0x43014d
cmp byte [edi + 4], 1
jne 0x4300c5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
cmp al, 1
je 0x43014d
mov edx, dword [esi]
lea ebx, [edi + 0xa]
push ebx
mov ecx, esi
call dword [edx + 8]
mov esi, eax
test si, si
jbe 0x43014d
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
xor ecx, ecx
mov cx, word [ebx]
xor edx, edx
mov dx, word [edi + 8]
lea eax, [esp + 0x30]
push eax
push 0
mov dword [esp + 0x30], 0
push ecx
mov ecx, dword [esp + 0x28]
push edx
call fcn.0042d620
test al, al
je 0x43013b
cmp byte [edi], 1
jne 0x430115
cmp si, 1
je 0x430189
cmp byte [edi + 1], 1
jne 0x430121
cmp si, 2
je 0x430189
cmp byte [edi + 3], 1
jne 0x43012e
cmp si, word [esp + 0x10]
jb 0x430189
cmp byte [edi + 2], 1
jne 0x43013b
cmp si, word [esp + 0x10]
je 0x430189
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov esi, dword [esp + 0x14]
mov eax, dword [ebp]
inc esi
mov ecx, ebp
mov dword [esp + 0x14], esi
call dword [eax + 0x10]
cmp si, ax
jb 0x430070
mov eax, 0xffff
mov word [edi + 8], ax
mov word [edi + 0xa], ax
pop edi
pop ebx
pop esi
pop ebp
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x20]
pop edi
pop ebx
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x436480
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x45a1e8]
mov edx, dword [ebp + 0x14]
push esi
push edi
mov dword [esp + 0x94], eax
mov esi, ecx
xor eax, eax
mov word [esp + 0x10], 0
mov ecx, 0x1f
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, edi
mov dword [ecx], eax
mov dword [ecx + 4], eax
push edx
mov edx, dword [ebp + 0xc]
mov dword [ecx + 8], eax
push 0x40
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x18]
push eax
push 0x44515c
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x10], 0
je 0x436543
lea ecx, [esp + 0xc]
lea eax, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.00436410
lea edx, [esp + 0xc]
push edx
mov ecx, esi
mov dword [edi], eax
call fcn.00436410
mov dword [edi + 4], eax
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00436410
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
mov dword [edi + 8], eax
call fcn.00436410
mov dword [edi + 0xc], eax
mov al, 1
mov ecx, dword [esp + 0x94]
call fcn.0043ef61
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x94]
xor al, al
call fcn.0043ef61
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x436560
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x45a1e8]
mov edx, dword [ebp + 0x14]
push esi
push edi
mov dword [esp + 0x94], eax
mov esi, ecx
xor eax, eax
mov word [esp + 0x10], 0
mov ecx, 0x1f
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
xor eax, eax
mov ecx, edi
mov dword [ecx], eax
push 0x40
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x18]
push eax
push 0x44515c
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x10], 0
je 0x4365ff
lea ecx, [esp + 0xc]
lea eax, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.00436410
lea edx, [esp + 0xc]
push edx
mov ecx, esi
mov dword [edi], eax
call fcn.00436410
mov dword [edi + 4], eax
mov al, 1
mov ecx, dword [esp + 0x94]
call fcn.0043ef61
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x94]
xor al, al
call fcn.0043ef61
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x436620
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x45a1e8]
mov edx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov dword [esp + 0x94], eax
mov esi, ecx
xor eax, eax
mov word [esp + 0x10], 0
mov ecx, 0x1f
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push 0x40
lea ecx, [esp + 0x18]
push ecx
push 0x44515c
push edx
push eax
mov dword [edi], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x10], 0
je 0x4366d5
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
mov dword [esp + 0xc], ecx
push edx
mov ecx, esi
call fcn.00436410
xor ebx, ebx
mov bh, al
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00436410
mov bl, al
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
shl ebx, 8
call fcn.00436410
movzx edx, al
or ebx, edx
mov dword [edi], ebx
mov al, 1
mov ecx, dword [esp + 0x94]
call fcn.0043ef61
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x94]
xor al, al
call fcn.0043ef61
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43ddb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x443aee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call sub.MFC71U.DLL_CWnd::CWnd
xor ebx, ebx
mov dword [esi], 0x44ffa8
mov dword [esp + 0x60], ebx
mov dword [esi + 0x94], 0x44ffa0
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
push ebx
push ebx
mov eax, 0xffff
push ebx
mov word [esi + 0x56], ax
mov word [esi + 0x58], ax
mov word [esi + 0x5a], ax
push ebx
lea eax, [esi + 0x80]
push eax
mov byte [esi + 0x54], bl
mov dword [esi + 0x90], ebx
call dword [sym.imp.USER32.dll_SetRect]
cmp dword [0x4603ac], ebx
jne 0x43de3d
mov dword [0x4603ac], esi
lea ecx, [esp + 0x28]
call fcn.00407020
mov byte [esp + 0x60], 2
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 8]
push 0x2000
push ebx
push ebx
push ebx
push 0xbb
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
push ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], eax
call fcn.004044f0
mov ecx, dword [esp + 0x34]
mov eax, 0x55555556
imul ecx
mov eax, dword [esp + 0x38]
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], eax
call dword [sym.imp.SkinControl.dll_public:_static_class_CSkinRenderManager____cdecl_CSkinRenderManager::GetInstance_void_]
mov edx, dword [esi + 0x7c]
mov edi, eax
lea eax, [edx + edx - 1]
push eax
push 2
lea ecx, [esp + 0x30]
call fcn.0043d8f0
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call dword [sym.imp.SkinControl.dll_public:_struct_COLORHSB___thiscall_CSkinRenderManager::RGBToHSB_unsigned_long_int_]
mov ecx, dword [eax]
lea edx, [esi + 0x60]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0xc]
mov dword [edx + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x10], ecx
mov eax, dword [eax + 0x14]
lea ecx, [esp + 0x28]
mov dword [edx + 0x14], eax
call fcn.00407940
mov ecx, dword [esp + 0x58]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret
Function at 0x43ed1a
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x450100
call fcn.0043f2dc
xor edi, edi
mov dword [ebp - 0x20], edi
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call ebx
cmp word [eax], 0x5a4d
jne 0x43ed5a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43ed5a
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x43ed72
cmp eax, 0x20b
je 0x43ed5f
mov dword [ebp - 0x1c], edi
jmp 0x43ed86
cmp dword [ecx + 0x84], 0xe
jbe 0x43ed5a
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x43ed80
cmp dword [ecx + 0x74], 0xe
jbe 0x43ed5a
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x46043c], 0xffffffff
or dword [0x460440], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x4603c4]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x4603c0]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x460438], eax
call fcn.0043f334
call fcn.0043f3d4
cmp dword [0x45a210], edi
jne 0x43ede6
push fcn.0043f3d4
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.0043f3c2
push 0x45a078
push 0x45a074
call sub.MSVCR71.dll__initterm
push 0x43f378
call fcn.0043efa6
mov eax, dword [0x4603bc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x4603b8]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___wgetmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, edi
jge 0x43ee3a
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x45a070
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__wcmdln]
mov esi, dword [eax]
cmp esi, edi
jne 0x43ee64
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x43ef1e
mov dword [ebp - 0x24], esi
mov ax, word [esi]
cmp ax, 0x20
ja 0x43eed3
cmp ax, di
je 0x43ee7a
cmp dword [ebp - 0x20], edi
jne 0x43eed3
mov ax, word [esi]
cmp ax, di
je 0x43ee8f
cmp ax, 0x20
ja 0x43ee8f
inc esi
inc esi
mov dword [ebp - 0x24], esi
jmp 0x43ee7a
mov dword [ebp - 0x58], edi
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x58], 1
je 0x43eeab
movzx eax, word [ebp - 0x54]
jmp 0x43eeae
push 0xa
pop eax
push eax
push esi
push edi
push edi
call ebx
push eax
call fcn.0043f62a
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], edi
jne 0x43eecb
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x43ef18
cmp ax, 0x22
jne 0x43eee4
xor eax, eax
cmp dword [ebp - 0x20], edi
sete al
mov dword [ebp - 0x20], eax
inc esi
inc esi
jmp 0x43ee64
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0043f317
ret
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x401c66
pop dword [ebp - 0x28]
mov eax, 0x6cbc112e
add eax, 0x93840b38
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x54f56f41
add dword [ebp - 0x38], 0xf95cd60a
mov dword [ebp - 0x34], 0x3568f793
sub dword [ebp - 0x34], 0x335ab4e
mov dword [ebp - 0x30], 0xed2e6dd
add dword [ebp - 0x30], 0x3d795d51
mov dword [ebp - 0x2c], 0x7e645691
sub dword [ebp - 0x2c], 0x7e645691
lea eax, [ebp - 0x38]
push eax
mov eax, 0x77c740d7
sub eax, 0x77871083
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x9365fa4f
add dword [ebp - 0x38], 0xe10c6f07
mov dword [ebp - 0x34], 0x8b41ff7d
sub dword [ebp - 0x34], 0x49d59e08
mov dword [ebp - 0x30], 0xbf9b4cf5
sub dword [ebp - 0x30], 0x5c2be089
mov dword [ebp - 0x2c], 0x3cb05bf
add dword [ebp - 0x2c], 0xfc34fa41
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0xc091bad8
sub eax, 0xc0518aac
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x363d2
push 0
call eax
mov ecx, 0x4708
xor edx, edx
add edx, eax
mov esi, 0x407000
add esi, dword [ebp - 0x28]
mov ebx, 0xa6d28318
add ebx, 0xd50031aa
xor dword [ebp - 0x24], edi
mov edi, dword [esi]
sub dword [ebp - 0x18], 0x488f91d
sub edi, ebx
xor dword [ebp - 0x18], 0xe7cabcf1
mov dword [edx], edi
add dword [ebp - 4], 0xea452179
add edx, 0x49dc4d30
add edx, 0xb623b2d4
add esi, 0x1b29d21d
add esi, 0xe4d62de7
loop 0x401d7e
add eax, 0x10ef3
mov ebx, eax
add eax, 5
mov ecx, 0x2803c39a
add ecx, 0xd83c3c66
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x1000a87a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x100271cf
call fcn.10015b54
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp eax, esi
jne 0x1000a8d3
call fcn.10003e9c
mov esi, eax
jmp 0x1000a9a9
push ebx
push edi
push eax
call dword [sym.imp.kernel32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x1000a8ec
call fcn.10003e9c
jmp 0x1000a99b
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, esi
je 0x1000a8e2
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x424], edi
cmp eax, edi
jae 0x1000a926
mov esi, 0x8007000e
jmp 0x1000a99d
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.1000e8ef
mov dword [ebp - 4], 1
jmp 0x1000a954
cmp dword [ebp - 0x418], esi
je 0x1000a91f
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x420]
push esi
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x1000a8e2
mov edx, dword [ebp - 0x418]
push dword [ebp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.1000e8ef
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1000a9c2
lea ecx, [ebp - 0x418]
call fcn.10009448
mov eax, esi
call fcn.10015bb0
ret 0x10
Function at 0x1000e8ef
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x1000e8fe
pop dword [ebp - 0x40]
mov eax, 0x6dd41d94
sub eax, 0x5dd33496
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x3b122
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0xd0021f8e
add ecx, 0x2ffe1a16
xor esi, esi
add esi, eax
mov edi, 0xf3a149ac
sub edi, 0xe39d27ac
add edi, dword [ebp - 0x40]
mov edx, 0x39a2c055
sub edx, 0x37019272
sub dword [ebp - 0x20], esi
mov ebx, dword [edi]
add dword [ebp - 0x18], 0xd9ad44f6
xor ebx, edx
xor dword [ebp - 0x30], ecx
mov dword [esi], ebx
add dword [ebp - 0x28], 0xd57f6814
add esi, 4
add edi, 0x550b286b
add edi, 0xaaf4d799
loop 0x1000e95a
add eax, 0xd963
xor ebx, ebx
add ebx, eax
add eax, 0x74cabe6a
sub eax, 0x74cabe65
mov ecx, 0x10000000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x1000f81c
Capabilities:
Delete file

Disassembly:
push 0x14
mov eax, 0x1002753c
call fcn.10015ab5
mov ebx, ecx
mov eax, dword [ebx]
xor esi, esi
xor edi, edi
call dword [eax + 0x18]
cmp eax, esi
jne 0x1000f8a0
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
cmp dword [ebx + 0x44], esi
je 0x1000f8e0
push str.Excel.Application
lea ecx, [ebp - 0x10]
call fcn.1000e8ef
test al, al
je 0x1000f8b8
push 0xb
pop eax
mov word [ebp - 0x20], ax
xor eax, eax
mov word [ebp - 0x18], ax
mov eax, dword [ebx + 0x44]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
push 1
movsd dword es:[edi], dword [esi]
push str.Close
push eax
movsd dword es:[edi], dword [esi]
push 0
push 1
push ebx
mov byte [ebp - 4], 1
movsd dword es:[edi], dword [esi]
call fcn.1000e8ef
mov edi, eax
add esp, 0x28
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor esi, esi
jmp 0x1000f8d0
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x1000f83a
push 0x8007000e
call fcn.1000e8ef
mov eax, dword [ebx + 0x44]
push esi
push str.Close
push eax
push esi
push 1
push ebx
call fcn.1000e8ef
add esp, 0x18
mov edi, eax
mov eax, dword [ebx + 0x44]
cmp eax, esi
je 0x1000f8e0
mov dword [ebx + 0x44], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebx + 0x24], esi
je 0x1000f8ff
push str.Excel.Application
lea ecx, [ebp - 0x10]
call fcn.1000e8ef
test al, al
je 0x1000f8ff
push dword [ebx + 0x24]
call dword [sym.imp.kernel32.dll_DeleteFileW]
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, edi
call fcn.10015b8d
ret
Function at 0x1000f910
Capabilities:
Terminate process

Disassembly:
push 0x820
mov eax, 0x10027562
call fcn.10015b1e
xor edi, edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x818], edi
mov dword [ebp - 0x814], edi
cmp dword [esi + 0x40], edi
je 0x1000fa39
lea eax, [ebp - 0x82c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esi + 0x40]
push edi
push str.Caption
push eax
lea eax, [ebp - 0x82c]
push eax
push 2
push esi
mov dword [ebp - 4], edi
call fcn.1000e8ef
add esp, 0x18
test eax, eax
jne 0x1000f99f
push dword [ebp - 0x824]
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.1000e8ef
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push edi
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x814], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x818]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
mov ebx, eax
cmp ebx, edi
jl 0x1000f9d3
cmp dword [ebp - 0x818], edi
jne 0x1000f9d3
mov eax, dword [esi + 0x40]
push edi
push str.Quit
push eax
push edi
push 1
push esi
call fcn.1000e8ef
add esp, 0x18
mov ebx, eax
mov eax, dword [esi + 0x40]
cmp eax, edi
je 0x1000f9e3
mov dword [esi + 0x40], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x82c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [ebp - 0x814], edi
je 0x1000fa39
cmp dword [ebp - 0x818], edi
jne 0x1000fa39
cmp ebx, edi
jge 0x1000fa39
lea eax, [ebp - 0x81c]
push eax
push dword [ebp - 0x814]
mov dword [ebp - 0x81c], edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x81c]
push 1
push 0x1fffff
call dword [sym.imp.kernel32.dll_OpenProcess]
push 1
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
mov eax, ebx
call fcn.10015ba1
ret