joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10053db3
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1008c3cc]
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
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.10047f22
mov dword [ebp - 0x14], eax
cmp dword [0x10093e6c], edi
jne 0x10053ea4
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x10053e31
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10053f84
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10053f84
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10053f84
push eax
call ebx
push 0x10076764
push esi
mov dword [0x10093e6c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x10093e70], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x10093e74], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10093e7c], eax
test eax, eax
je 0x10053ea1
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10093e78], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10053ec9
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10053ebc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x10053ede
push 4
pop eax
jmp 0x10053f86
cmp dword [ebp - 0x14], edi
je 0x10053ede
push dword [0x10093e6c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10053ec3
mov eax, dword [0x10093e78]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x10053f3c
cmp dword [0x10093e7c], esi
je 0x10053f3c
push eax
call ebx
push dword [0x10093e7c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10053f3c
test eax, eax
je 0x10053f3c
call ecx
test eax, eax
je 0x10053f31
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 0x10053f31
test byte [ebp - 8], 1
jne 0x10053f3c
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x10053f6c
mov eax, dword [0x10093e70]
cmp eax, esi
je 0x10053f69
push eax
call ebx
test eax, eax
je 0x10053f69
call eax
mov edi, eax
test edi, edi
je 0x10053f69
mov eax, dword [0x10093e74]
cmp eax, esi
je 0x10053f69
push eax
call ebx
test eax, eax
je 0x10053f69
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x10093e6c]
call ebx
test eax, eax
je 0x10053f84
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x10053f86
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003cd0a
leave
ret
Function at 0x438c94
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x438a14
mov edx, 0x337fbfb4
sub edi, 0x6f440f38
mov edx, edi
call fcn.00438cd3
add edx, edi
xor dword [ecx], esi
mov edx, edx
sub edi, edi
add ecx, 1
sub edi, edi
mov edi, edi
cmp ecx, ebx
jne fcn.00438c94
sub edx, 0xbc6aebed
add edi, 1
ret
Function at 0x4172b3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4172f2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4172f2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4172f2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4172f2
cmp dword [ecx + 0x74], 0xe
jbe 0x4172f2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x429590
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4295bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4295bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40153b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esp
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [esp + 0x2c], 1
je 0x401554
movzx esi, word [esp + 0x30]
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x4044e0], eax
mov dword [ebp - 0x4c], 0x30
call fcn.0040152b
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x44], 0x40120e
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], str.Trick
mov dword [ebp - 0x20], eax
call fcn.0040151e
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
test eax, eax
je 0x401626
mov eax, 0x80000000
push edi
push dword [ebp - 0x38]
push edi
push edi
push eax
push eax
push eax
push eax
push 0x80
push str.Qindom
push str.Trick
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x4044e8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4044e8]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push edi
push edi
push edi
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
je 0x401626
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x1c]
push ecx
call ebx
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
jne 0x40160a
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405e00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b465
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x2d4
mov eax, dword [0x4310c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2a8], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.004099b0
mov byte [ebp - 4], 1
push 0x42ecd0
lea ecx, [ebp - 0x60]
call fcn.00402260
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2a8]
mov dword [eax + 0xb4], fcn.00404470
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x44]
call fcn.004099e0
mov edx, dword [ebp - 0x2a8]
mov ecx, dword [edx + 0xb4]
mov dword [eax], ecx
mov byte [ebp - 0x74], 0x38
mov byte [ebp - 0x73], 0x59
mov byte [ebp - 0x18], 0x44
mov byte [ebp - 0x17], 0x34
mov byte [ebp - 0x16], 0x44
mov byte [ebp - 0x24], 0x53
mov byte [ebp - 0x23], 0x38
mov byte [ebp - 0x22], 0x4a
mov byte [ebp - 0x21], 0x30
mov byte [ebp - 0x20], 0x51
mov byte [ebp - 0x1f], 0x39
mov byte [ebp - 0x1e], 0x36
mov byte [ebp - 0x70], 0x56
mov byte [ebp - 0x6f], 0x59
mov byte [ebp - 0x6e], 0x58
mov byte [ebp - 0x6d], 0x47
mov byte [ebp - 0x6c], 0x59
mov byte [ebp - 0x6b], 0x4e
mov byte [ebp - 0x6a], 0x51
mov byte [ebp - 0x69], 0x43
mov byte [ebp - 0x68], 0x53
mov byte [ebp - 0x1a], 0x5f
mov byte [ebp - 0x64], 0x31
mov byte [ebp - 0x63], 0x30
mov byte [ebp - 0x62], 0x35
mov byte [ebp - 0x19], 0x43
lea edx, [ebp - 0x19]
push edx
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x1a]
push ecx
lea edx, [ebp - 0x70]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1f0], esp
push 0x42ece0
call fcn.00402260
mov dword [ebp - 0x2ac], eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x74]
push edx
mov ecx, dword [ebp - 0x2a8]
call fcn.00404fa0
mov byte [ebp - 4], 3
mov dword [ebp - 0x7c], 0
jmp 0x405f46
mov eax, dword [ebp - 0x7c]
add eax, 1
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x5a
jge 0x405f55
mov dword [ebp - 0x78], 0
jmp 0x405f3d
mov dword [ebp - 0x1f4], 0x2f
push 0x42fc60
lea ecx, [ebp - 0x1f4]
push ecx
call fcn.0040e1a6
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1f8], esp
lea edx, [ebp + 0x30]
push edx
call fcn.004022a0
mov dword [ebp - 0x2b0], eax
mov ecx, dword [ebp - 0x2a8]
call fcn.004072d0
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp - 0x2b4]
mov dword [ebp + 0x24], eax
mov dword [ebp - 4], 2
mov eax, 0x405fb8
ret
Function at 0x40d17d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4310c4]
jne 0x40d187
repz ret
jmp fcn.0040e701

Function at 0x41fedd
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040f1dd
and dword [ebp - 4], 0
cmp dword [0x432ab4], 0
mov ebx, eax
jne 0x41ff8e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42003f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x42003f
push eax
call fcn.0040f16b
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x432ab4], eax
call esi
push eax
call fcn.0040f16b
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x432ab8], eax
call esi
push eax
call fcn.0040f16b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x432abc], eax
call esi
push eax
call fcn.0040f16b
pop ecx
mov dword [0x432ac4], eax
test eax, eax
je 0x41ff8e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040f16b
pop ecx
mov dword [0x432ac0], eax
mov eax, dword [0x432ac0]
cmp eax, ebx
je 0x41ffe6
cmp dword [0x432ac4], ebx
je 0x41ffe6
push eax
call fcn.0040f1e6
push dword [0x432ac4]
mov esi, eax
call fcn.0040f1e6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41ffe6
test edi, edi
je 0x41ffe6
call esi
test eax, eax
je 0x41ffdd
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41ffdd
test byte [ebp - 0xc], 1
jne 0x41ffe6
or dword [ebp + 0x10], 0x200000
jmp 0x42001f
mov eax, dword [0x432ab8]
cmp eax, ebx
je 0x42001f
push eax
call fcn.0040f1e6
pop ecx
test eax, eax
je 0x42001f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42001f
mov eax, dword [0x432abc]
cmp eax, ebx
je 0x42001f
push eax
call fcn.0040f1e6
pop ecx
test eax, eax
je 0x42001f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x432ab4]
call fcn.0040f1e6
pop ecx
test eax, eax
je 0x42003f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x420041
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10019af0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006850e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10087fd4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
lea edi, [esi + 0xc]
mov ecx, dword [ebp + 0x18]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x28]
mov dword [esi], vtable.Intel::OpenCL::CPUDevice::TaskDispatcher.0
mov dword [esi + 8], ecx
mov dword [edi], 0
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
mov dword [eax + 4], 0
mov dword [eax], vtable.Intel::OpenCL::Utils::SharedPtr_class_Intel::OpenCL::TaskExecutor::ITEDevice_.0
lea eax, [esi + 0x38]
mov dword [esi + 0x30], 0
mov byte [esi + 0x34], 0
mov dword [ebp + 8], eax
mov dword [eax + 4], 0
mov dword [eax], vtable.Intel::OpenCL::Utils::SharedPtr_class_Intel::OpenCL::TaskExecutor::ITaskList_.0
mov eax, dword [ebp + 0x20]
mov byte [ebp - 4], 4
mov dword [esi + 0x40], eax
test ecx, ecx
je 0x10019bae
mov ecx, dword [esi + 8]
push edi
push str.CPU_Device:_TaskDispatcher
push dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x10019bae
mov dword [edi], 0
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [esi + 0x24], eax
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov dword [esi + 0x10], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x1001dd70
Capabilities:
Query environment variable

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
test esi, esi
je 0x1001dde9
mov eax, dword [0x10087fac]
mov edi, 0x1008ca06
sub edi, eax
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov edx, eax
cmp edx, edi
jb 0x1001ddad
lea ecx, [edi - 1]
push ecx
lea eax, [edx - 1]
push eax
push esi
push 5
call fcn.1001dd50
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
test edx, edx
je 0x1001ddc4
mov eax, dword [0x10087fac]
pop edi
pop esi
lea ecx, [eax + 1]
add ecx, edx
mov dword [0x10087fac], ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1001ddd6
mov eax, dword [0x10087fac]
pop edi
pop esi
ret
cmp eax, 0xcb
je 0x1001dde9
push eax
push esi
push 4
call fcn.1001dd50
add esp, 0xc
pop edi
xor eax, eax
pop esi
ret
Function at 0x1001ddf0
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x10087fac]
sub esp, 0xc
push esi
mov esi, 0x1008ca06
sub esi, eax
push esi
push eax
push str.INTEL_LIBITTNOTIFY32
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
cmp eax, esi
jb 0x1001de28
lea ecx, [esi - 1]
dec eax
push ecx
push eax
push str.INTEL_LIBITTNOTIFY32
push 5
call fcn.1001dd50
add esp, 0x10
jmp 0x1001de6e
test eax, eax
je 0x1001de3c
mov ecx, dword [0x10087fac]
inc eax
add eax, ecx
mov dword [0x10087fac], eax
jmp 0x1001de4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1001de57
mov ecx, dword [0x10087fac]
test ecx, ecx
je 0x1001de6e
mov eax, ecx
pop esi
add esp, 0xc
ret
cmp eax, 0xcb
je 0x1001de6e
push eax
push str.INTEL_LIBITTNOTIFY32
push 4
call fcn.1001dd50
add esp, 0xc
push edi
push 0x1007b588
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
mov dword [esp + 0x10], 0
test edi, edi
jne 0x1001de8e
pop edi
pop esi
add esp, 0xc
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push ebp
push str.RegCloseKey
push edi
call esi
push str.RegOpenKeyExA
push edi
mov ebp, eax
call esi
push str.RegGetValueA
push edi
mov ebx, eax
call esi
mov esi, eax
test ebp, ebp
je 0x1001df73
test ebx, ebx
je 0x1001df73
test esi, esi
je 0x1001df73
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push str.SoftwareIntel_CorporationITT_EnvironmentCollector
push 0x80000001
call ebx
test eax, eax
jne 0x1001df73
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1001df73
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 4
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0x10
push 0
push str.AutoDetect
push eax
call esi
test eax, eax
jne 0x1001df6d
cmp dword [esp + 0x10], eax
je 0x1001df6d
cmp dword [esp + 0x18], eax
je 0x1001df6d
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0xff5
push eax
push 0x1008ca08
push 0
push 1
push 0
push str.INTEL_LIBITTNOTIFY32
push dword [esp + 0x2c]
call esi
push dword [esp + 0x14]
mov esi, eax
call ebp
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
jne 0x1001df7a
cmp dword [esp + 0x10], esi
jbe 0x1001df7a
pop ebp
pop ebx
pop edi
mov eax, 0x1008ca08
pop esi
add esp, 0xc
ret
push dword [esp + 0x14]
call ebp
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret
Function at 0x10025870
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100690c8
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10087fd4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x10]
mov dword [ebp - 4], 0
cmp ecx, 0x7fff
jb 0x100258c3
mov dword [esi + 0x10], 0x7fff
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x100258ba
mov eax, dword [esi]
mov byte [eax + 0x7fff], 0
jmp 0x100258d4
mov eax, 0x7fff
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.1001e1b0
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x100258de
mov ecx, dword [esi]
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
push 0x7fff
cmovae eax, dword [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ecx, dword [esi + 0x10]
mov edi, eax
cmp edi, ecx
ja 0x10025910
mov dword [esi + 0x10], edi
cmp dword [esi + 0x14], 0x10
jb 0x1002590a
mov esi, dword [esi]
mov byte [esi + edi], 0
jmp 0x1002591e
mov eax, edi
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.1001e1b0
mov edx, dword [ebp + 0x20]
xor esi, esi
test edi, edi
mov eax, 0xfffff510
cmove esi, eax
cmp edx, 0x10
jb 0x1002595a
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10025950
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002596d
push edx
push ecx
call fcn.1002b1ea
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1004e445
int3

Function at 0x10025f50
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x44
mov eax, dword [0x10087fd4]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [0x1008db08]
mov edx, dword [0x1008db0c]
test eax, eax
jne 0x10025fc0
test edx, edx
jne 0x10025fc0
lea eax, [esp]
mov dword [esp], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x10025f97
xor edx, edx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.1002b224
add esp, 0x44
ret
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
cmp edx, ecx
ja 0x10025faf
mov eax, dword [esp + 0x28]
jb 0x10025fb5
cmp eax, dword [esp + 8]
jb 0x10025fb5
mov eax, dword [esp + 8]
mov edx, ecx
mov dword [0x1008db08], eax
mov dword [0x1008db0c], edx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.1002b224
add esp, 0x44
ret

Function at 0x10025fd0
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x44
mov eax, dword [0x10087fd4]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [0x1008db10]
mov edx, dword [0x1008db14]
test eax, eax
jne 0x1002602a
test edx, edx
jne 0x1002602a
lea eax, [esp]
mov dword [esp], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x10026017
xor edx, edx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.1002b224
add esp, 0x44
ret
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [0x1008db10], eax
mov dword [0x1008db14], edx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.1002b224
add esp, 0x44
ret
Function at 0x100310ca
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x1004bdfd
Capabilities:
Terminate process

Disassembly:
push edi
push esi
push ebx
sub esp, 0x90
mov eax, dword [str.KERNEL32.dll]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
sub esp, 4
mov ebx, eax
mov dword [esp], 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [0x1008b628]
sub esp, 4
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 8], esi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, dword [0x1008b628]
sub esp, 0xc
mov esi, eax
test edx, edx
je 0x1004be67
add edx, eax
nop
mov byte [eax], 0
add eax, 1
cmp eax, edx
jne 0x1004be5d
mov eax, dword [sym.cpu_device32_emu.dll_Ordinal_0]
mov dword [esp + 8], 0x104
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov edx, dword [str.SpyShelter.exe]
sub esp, 0xc
cmp word [esi], 0
je 0x1004beb6
add eax, 1
cmp word [esi + eax*2], 0
jne 0x1004be92
cmp word [esi + eax*2 - 2], 0x5c
je 0x1004bebe
mov esi, esi
lea edi, [edi]
xor ecx, ecx
mov word [esi + eax*2], cx
sub eax, 1
cmp word [esi + eax*2 - 2], 0x5c
jne 0x1004bead
movzx ecx, word [edx]
lea edi, [esi + eax*2]
lea eax, [edx + 2]
test cx, cx
je 0x1004bede
nop
mov word [edi], cx
movzx ecx, word [eax]
add edi, 2
add eax, 2
test cx, cx
jne 0x1004becd
lea edi, [esp + 0x4c]
mov eax, edi
mov esi, esi
lea edi, [edi]
mov byte [eax], 0
lea edx, [esp + 0x90]
add eax, 1
cmp eax, edx
jne 0x1004beed
mov byte [esp + 0x3c], 0
mov byte [esp + 0x3d], 0
mov byte [esp + 0x3e], 0
mov byte [esp + 0x3f], 0
mov byte [esp + 0x40], 0
mov byte [esp + 0x41], 0
mov byte [esp + 0x42], 0
mov byte [esp + 0x43], 0
mov byte [esp + 0x44], 0
mov byte [esp + 0x45], 0
mov byte [esp + 0x46], 0
mov byte [esp + 0x47], 0
mov byte [esp + 0x48], 0
mov byte [esp + 0x49], 0
mov byte [esp + 0x4a], 0
invalid
inc esp

Function at 0x1004bf6a
Capabilities:
Terminate process

Disassembly:
and byte [ecx - 0x38dbdbac], cl
inc esp
and al, 0x1c
add byte [eax], al
add byte [eax], al
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
adc al, 0
add byte [eax], al
add bh, al
inc esp
and al, 0x10
add byte [eax], al
add byte [eax], al

Function at 0x1004bf82
Capabilities:
Terminate process

Disassembly:
adc al, 0
add byte [eax], al
add bh, al
inc esp
and al, 0x10
add byte [eax], al
add byte [eax], al
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], esi
call eax
sub esp, 0x28
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x10060c1e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10060c29