joyce8/EMBER2024-capa huggingface dataset:
Function at 0x552db5
Capabilities:
Encode data using xor

Disassembly:
add eax, ecx
cmp eax, 5
jl 0x56016e
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x698a90], eax
mov edx, dword [ebp - 0x20c]
mov eax, dword [ebp + 8]
push edx
push eax
jmp 0x498b7e
push ebx
push edi
push esi
call dword [0x698a90]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005481a9
mov esp, ebp
pop ebp
ret 8
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, 1
mov dword [ebp - 0x20c], eax
test byte [0x698a94], cl
jne 0x468323
or dword [0x698a94], ecx
jmp 0x560146
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x408d
xor dx, word [eax*2 + 0x58b574]
mov word [ebp + eax*2 - 0x108], dx
add eax, ecx
cmp eax, 0xa
jl 0x560148
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x2a28
xor dx, word [eax*2 + 0x58b58c]
mov word [ebp + eax*2 - 0x208], dx
jmp 0x4682f8

Function at 0x55339d
Capabilities:
Encode data using xor

Disassembly:
inc edi
cmp edi, esi
jb 0x487e0d
xor ecx, ecx
xor edx, edx
mov eax, ecx
div esi
inc ecx
mov edi, edx
xor edx, edx
div esi
mov eax, esi
sub eax, edx
mov edx, dword [eax*4 + 0x694684]
xor edx, dword [edi*4 + 0x694688]
xor edx, dword [ebx + ecx*4 - 4]
xor edx, dword [ebp + 8]
mov dword [ebx + ecx*4 - 4], edx
cmp ecx, 0x400
jb 0x46c9d3
pop edi
pop esi
pop ebp
ret
push esi
mov esi, dword [0x694654]
push edi
test esi, esi
jne 0x46c9d1
mov dword [0x694654], 0x100
xor edi, edi
jmp 0x487e0d
mov esi, dword [sym.imp.msvcrt.dll_rand]
call esi
mov word [edi*4 + 0x694688], ax
call esi
mov esi, dword [0x694654]
mov word [edi*4 + 0x69468a], ax
jmp 0x46c9c8
push ebp
mov ebp, esp
jmp 0x487dec
Function at 0x562e5f
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x58bc68
call fcn.004707ff
jmp 0x53b912
cmp dword [0x64f06c], ebx
jne 0x4361af
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x64f068]
call fcn.0050d0f5
ret
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x53b928
xor esi, esi
inc esi
mov eax, dword [0x8626d8]
cmp eax, esi
jne 0x480f15
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x5498dd
mov eax, dword [0x8626d8]
test eax, eax
jne 0x5498d7
mov dword [0x8626d8], esi
push 0x58b174
push 0x58b168
call fcn.0041bf1e
pop ecx
pop ecx
test eax, eax
je 0x5498dd
jmp 0x5498c6
cmp dword [ebp - 0x1c], ebx
jne 0x49b573
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x8626e0], ebx
je 0x4e8888
push 0x8626e0
call fcn.00414e83
pop ecx
test eax, eax
je 0x4e8888
push ebx
push 2
push ebx
call dword [0x8626e0]
jmp 0x4e8888
push dword [0x64f054]
push dword [0x64f058]
push dword [0x64f050]
call fcn.0054228a
add esp, 0xc
mov dword [0x64f068], eax
cmp dword [0x64f05c], ebx
jne 0x43619d
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x8626dc
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x480ef8
cmp eax, esi
jne 0x480ee8
xor esi, esi
inc esi
jmp dword [0x53b94d]
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x4361bb
mov dword [0x64f06c], esi
mov eax, dword [0x8626d8]
cmp eax, esi
jne 0x49b562
push 0x58b164
push 0x58b15c
call sub.msvcrt.dll__initterm
push 0x49b556
ret
push 0x40100a
call fcn.00401000
call fcn.0046174b
jmp 0x40d2a5

Function at 0x5651e8
Capabilities:
Encode data using xor
Send data
Send data on socket

Disassembly:
push 0
push 0x50
lea eax, [ebp - 0x58]
push eax
push edi
call dword [sym.imp.WS2_32.dll_send]
cmp byte [ebp - 0x54], 0
je 0x4d765c
mov cl, byte [ebp - 0x53]
xor eax, eax
xor byte [ebp + eax - 0x52], cl
inc eax
cmp eax, 0x4a
jl 0x4d764e
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
jmp dword [0x4d766b]
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x54], 1
mov word [ebp - 0x58], dx
mov edx, ecx
sub edx, dword [ebp - 0x58]
mov word [ebp - 0x56], dx
call esi
and eax, 0x800000ff
jns 0x5065e2
dec eax
or eax, 0xffffff00
inc eax
cmp byte [ebp - 0x54], 0
mov byte [ebp - 0x53], al
je 0x4d7630
mov cl, al
xor eax, eax
jmp dword [0x5065f9]
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.msvcrt.dll_rand]
push edi
mov edi, dword [0x69453c]
call esi
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [ebp - 0x50], 0xa
jmp 0x5065b6
Function at 0x569712
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x569728
xor edx, edx
mov ecx, 0x10b
cmp word [eax + 0x18], cx
sete dl
mov eax, edx
pop ebp
ret
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x4c5ae2
xor eax, eax
pop ebp
ret
Function at 0x5771d4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov dword [ebp - 0x3c], 0x5104c96b
mov dword [ebp - 0x38], 0xb957
mov dword [ebp - 0x34], 0xd1ff0000
mov dword [ebp - 0x30], 0xfb8158
mov dword [ebp - 0x2c], 0xf000000
mov dword [ebp - 0x28], 0x8c
mov dword [ebp - 0x24], 0x6800
mov dword [ebp - 0x20], 0xb90000
mov dword [ebp - 0x1c], 0x51000000
mov dword [ebp - 0x18], 0xbfc031
mov dword [ebp - 0x14], 0xb9000000
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], 0xff59aaf3
mov byte [ebp - 8], dl
mov dword [ebp - 0x7c], ebx
jmp 0x5424e6
mov dword [ebp - 0x22], 0x5265c00
mov dword [ebp - 0x1d], edx
mov dword [ebp - 0x15], edi
mov dword [ebp - 0x10], 0x6c
mov ecx, 0x1c
lea esi, [ebp - 0x78]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call dword [ebp - 0x84]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005481a9
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x5c], 0xb860
mov dword [ebp - 0x58], 0xaf0f0000
mov dword [ebp - 0x54], 0x490731c1
mov dword [ebp - 0x50], 0x8304c783
mov dword [ebp - 0x4c], 0x8f0f00f9
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 0x6861
mov dword [ebp - 0x40], 0x56540000
jmp 0x40ab0e
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [eax + 0xf8]
mov dword [edi], ecx
mov edx, dword [eax + 0x50]
sub edx, eax
mov eax, dword [0x694528]
lea edx, [edx + eax - 0xf8]
shr edx, 2
mov dword [edi + 4], edx
jmp 0x57736e
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x84], eax
lea edi, [eax + 0x100]
mov eax, dword [0x69452c]
xor ecx, ecx
mov dword [ebp - 0x80], ebx
cmp cx, word [eax + 6]
jae 0x53656d
lea esi, [edi + 0xc]
mov edi, edi
mov edx, dword [ebx + eax + 0x104]
add edx, dword [0x694528]
jmp dword [0x542525]
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x40
push 0x3000
xor ebx, ebx
push 0x1000
mov dl, 0xd1
push ebx
mov dword [ebp - 0x78], 0xbb
mov dword [ebp - 0x74], 0xba00
mov dword [ebp - 0x70], 0x3c8b0000
mov dword [ebp - 0x6c], 0x4c3831a
mov dword [ebp - 0x68], 0x831a0c8b
mov dword [ebp - 0x64], 0x348b04c3
mov dword [ebp - 0x60], 0x4c3831a
jmp 0x5298fe
lea eax, [ebp - 0x7c]
push eax
add edx, edx
push 0x40
add edx, edx
push edx
push ecx
mov dword [edi + 8], 4
call esi
mov dword [ebp - 0x72], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
call dword [sym.imp.msvcrt.dll_rand]
imul edi, eax
mov eax, dword [0x69452c]
mov edx, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x5a], edi
mov edi, dword [ebp - 0x84]
mov dword [ebp - 0x36], esi
mov dword [ebp - 0x48], 0xffffffe9
movzx eax, word [eax + 6]
lea ecx, [eax + eax*2 + 3]
add ecx, ecx
add ecx, ecx
mov dword [ebp - 0x2d], ecx
mov dword [ebp - 0x27], 0xffffffb0
jmp 0x4e3810
Function at 0x401686
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x404474], eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [0x4041cf], ebp
mov dword [0x404404], eax
mov dword [0x4041c7], eax
mov dword [0x4043f0], 0x30
mov dword [0x4043f4], 2
jmp 0x4016c6
mov dword [0x4043f8], 0x403051
mov dword [0x4043fc], 0
mov dword [0x404400], 0
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x40440c], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x404408], eax
mov dword [0x40441c], eax
mov dword [0x404418], 0x40439a
mov dword [0x404410], 0xf
push 0x4043f0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4041c7]
push 0
push 0
push 0x1e0
push 0x1fe
push 0xfffff862
push 0xfffff8f8
push 0xcf0000
push 0x4043e7
push str.lunt
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404468], eax
push 5
push dword [0x404468]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404468]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404420]
jmp 0x40179a
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x40178c
mov eax, dword [0x404428]
jmp 0x4017b5
call 0x402a06
ret
Function at 0x40d568
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a428]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00408d1c
mov dword [ebp - 0x14], eax
cmp dword [0x45a098], esi
jne 0x40d65b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d5e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d73b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d73b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d73b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x45a098], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x45a09c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x45a0a0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45a0a8], eax
test eax, eax
je 0x40d658
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45a0a4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d680
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d673
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d695
push 4
pop eax
jmp 0x40d73d
cmp dword [ebp - 0x14], esi
je 0x40d695
push dword [0x45a098]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d67a
mov eax, dword [0x45a0a4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d6f3
cmp dword [0x45a0a8], edi
je 0x40d6f3
push eax
call ebx
push dword [0x45a0a8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d6f3
test eax, eax
je 0x40d6f3
call ecx
test eax, eax
je 0x40d6e8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d6e8
test byte [ebp - 8], 1
jne 0x40d6f3
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d723
mov eax, dword [0x45a09c]
cmp eax, edi
je 0x40d720
push eax
call ebx
test eax, eax
je 0x40d720
call eax
mov esi, eax
test esi, esi
je 0x40d720
mov eax, dword [0x45a0a0]
cmp eax, edi
je 0x40d720
push eax
call ebx
test eax, eax
je 0x40d720
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x45a098]
call ebx
test eax, eax
je 0x40d73b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d73d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004040d0
mov esp, ebp
pop ebp
ret
Function at 0x40d20d
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419c98]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040a501
mov dword [ebp - 0x14], eax
cmp dword [0x8186c4], esi
jne 0x40d300
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d28d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d3e0
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d3e0
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d3e0
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x8186c4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x8186c8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x8186cc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x8186d4], eax
test eax, eax
je 0x40d2fd
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x8186d0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d325
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d318
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d33a
push 4
pop eax
jmp 0x40d3e2
cmp dword [ebp - 0x14], esi
je 0x40d33a
push dword [0x8186c4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d31f
mov eax, dword [0x8186d0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d398
cmp dword [0x8186d4], edi
je 0x40d398
push eax
call ebx
push dword [0x8186d4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d398
test eax, eax
je 0x40d398
call ecx
test eax, eax
je 0x40d38d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d38d
test byte [ebp - 8], 1
jne 0x40d398
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d3c8
mov eax, dword [0x8186c8]
cmp eax, edi
je 0x40d3c5
push eax
call ebx
test eax, eax
je 0x40d3c5
call eax
mov esi, eax
test esi, esi
je 0x40d3c5
mov eax, dword [0x8186cc]
cmp eax, edi
je 0x40d3c5
push eax
call ebx
test eax, eax
je 0x40d3c5
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x8186c4]
call ebx
test eax, eax
je 0x40d3e0
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d3e2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004045c8
mov esp, ebp
pop ebp
ret
Function at 0x10003d80
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10005c7e
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x100091bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push edi
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_310]
push str..
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc100.dll_Ordinal_1483]
lea ecx, [ebp - 0x40]
call sub.mfc100.dll_Ordinal_423
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov bl, 3
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp - 0x40]
call sub.mfc100.dll_Ordinal_4188
test eax, eax
je 0x10003ef3
lea ecx, [ebp - 0x40]
call sub.mfc100.dll_Ordinal_4207
mov esi, eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x40]
call sub.mfc100.dll_Ordinal_4939
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x40]
call sub.mfc100.dll_Ordinal_4936
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x40]
call sub.mfc100.dll_Ordinal_7317
test eax, eax
jne 0x10003eeb
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x40]
push 0x10
lea ecx, [ebp - 0x40]
call eax
test eax, eax
je 0x10003ed8
push edi
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_310]
push 0x10006f1c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc100.dll_Ordinal_1483]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1479]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call sym.CommonDll.dll_void___cdecl_SADeleteTree_char_const__
add esp, 4
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.MSVCR100.dll__rmdir]
add esp, 4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc100.dll_Ordinal_901]
jmp 0x10003eeb
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.MSVCR100.dll_remove]
add esp, 4
test esi, esi
jne 0x10003e05
lea ecx, [ebp - 0x40]
call sub.mfc100.dll_Ordinal_2525
push edi
call dword [sym.imp.MSVCR100.dll__rmdir]
add esp, 4
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call sub.mfc100.dll_Ordinal_979
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10004cea
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100091bc]
jne 0x10004cf4
repz ret
jmp fcn.1000528e
Function at 0x10005a7a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x10005a89
pop dword [ebp - 0x34]
mov eax, 0x10005a89
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x15c4325e
add dword [ebp - 0x44], 0x388e12ed
mov dword [ebp - 0x40], 0x3eed23e8
sub dword [ebp - 0x40], 0xcb9d7a3
mov dword [ebp - 0x3c], 0x9ddaa60a
add dword [ebp - 0x3c], 0xae719e24
mov dword [ebp - 0x38], 0xb50ac22e
sub dword [ebp - 0x38], 0xb50ac22e
lea eax, [ebp - 0x44]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x3130be60
add dword [ebp - 0x44], 0x4341aaf6
mov dword [ebp - 0x40], 0x37945ac7
sub dword [ebp - 0x40], 0xf627f952
mov dword [ebp - 0x3c], 0x7951715d
add dword [ebp - 0x3c], 0xea1dfb0f
mov dword [ebp - 0x38], 0xe4e6a5f1
sub dword [ebp - 0x38], 0xe4e6a5f1
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3d9ce
push 0
call eax
mov ecx, 0x5e67
mov edx, eax
mov ebx, 0x10047400
add ebx, dword [ebp - 0x34]
mov edi, 0x9e04b34f
xor dword [ebp - 0x18], ebx
mov esi, dword [ebx]
add dword [ebp - 0x18], 0x9d495ec7
sub esi, edi
xor dword [ebp - 0x14], ebx
mov dword [edx], esi
add edx, 0x72de2654
add edx, 0x8d21d9b0
add ebx, 4
loop 0x10005b8a
add eax, 0x16c6f
mov ebx, eax
add eax, 5
mov ecx, 0x20ebd2b6
add ecx, 0xef142d4a
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x412678
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x412687
pop dword [ebp - 8]
mov eax, 0x412687
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x34cbe
push 0
mov eax, 0x24972c3a
add eax, 0xdbaa3492
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0x965dea84
add ecx, 0x69a2552e
xor edi, edi
add edi, eax
mov esi, 0xb8bad050
sub esi, 0xb8766850
add esi, dword [ebp - 8]
mov ebx, 0x8790c3b2
xor dword [ebp - 4], 0xa57566f5
mov edx, dword [esi]
sub dword [ebp - 4], ecx
add edx, ebx
xor dword [ebp - 4], 0x41b1eaa9
mov dword [edi], edx
sub dword [ebp - 4], 0xc1d49548
add edi, 0xf7c591f8
add edi, 0x83a6e0c
add esi, 4
loop 0x4126dd
add eax, 0xf19b
mov ebx, eax
add eax, 0xaf379863
add eax, 0x50c867a2
mov ecx, 0x37fbce6e
sub ecx, 0x37bbce6e
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x900baef
Capabilities:
Get common file path

Disassembly:
push 0x224
mov eax, 0x90a5e6b
call fcn.09007236
cmp byte [ebp + 0x10], 0
mov edi, dword [ebp + 8]
push 0x1a
pop esi
push 0x2b
pop eax
cmove esi, eax
xor ebx, ebx
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
mov eax, esi
or eax, 0x8000
cmp byte [ebp + 0xc], bl
push ebx
push ebx
cmovne esi, eax
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x900bb4b
xor al, al
jmp 0x900bb9b
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0900bf5b
push dword [ebp + 0xc]
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], ebx
push str.Adobe
call fcn.0900cfd5
test al, al
je 0x900bb8e
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.0909ff92
mov ecx, edi
call fcn.0900e38a
mov bl, al
lea ecx, [ebp - 0x230]
call fcn.0900e401
mov al, bl
call fcn.09008fc6
ret