joyce8/EMBER2024-capa huggingface dataset:
Function at 0x567c10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591fe2
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x8f9064]
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, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x24c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0x24c], 1
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x567cc6
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x567ca0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push esi
push ecx
push eax
call dword [sym.imp.PocoFoundation.dll_public:_static_void___cdecl_Poco::UnicodeConverter::convert_wchar_t_const___unsigned_int__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____]
add esp, 0xc
jmp 0x567db7
mov ecx, edi
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x567ce6
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x230]
call fcn.0042b970
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.PocoFoundation.dll_public:_static_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_Poco::Environment::get_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov edi, eax
add esp, 8
cmp esi, edi
je 0x567d66
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x567d34
inc ecx
push ecx
push dword [esi]
call fcn.00431f80
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov eax, dword [ebp - 0x234]
cmp eax, 0x10
jb 0x567d81
inc eax
push eax
push dword [ebp - 0x248]
call fcn.00431f80
add esp, 8
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
cmp eax, 0x10
jb 0x567db7
inc eax
push eax
push dword [ebp - 0x230]
call fcn.00431f80
add esp, 8
mov eax, esi
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.0056d0b2
mov esp, ebp
pop ebp
ret
Function at 0x568240
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5920ce
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x8f9064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 0
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
xor esi, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 1
lea edi, [esi + 0x30]
lea ebx, [esi + 2]
nop dword [eax]
test esi, esi
je 0x5682af
push esi
call fcn.0056d0c3
add esp, 4
add edi, edi
xor ecx, ecx
mov eax, edi
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0056d681
add esp, 4
mov esi, eax
push edi
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
je 0x5682a0
mov ebx, dword [ebp + 8]
push ebx
push eax
push esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 1
call dword [sym.imp.PocoFoundation.dll_public:_static_void___cdecl_Poco::UnicodeConverter::convert_wchar_t_const___unsigned_int__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____]
add esp, 0xc
jmp 0x56831a
push esi
call fcn.0056d0c3
add esp, 4
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

Function at 0x569420
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x8f9064]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
mov ecx, dword [ebp - 4]
setae al
xor ecx, ebp
call fcn.0056d0b2
mov esp, ebp
pop ebp
ret
Function at 0x56a270
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x38
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 0x3c
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call fcn.00569420
test al, al
mov dword [ebp - 0x34], 0
mov eax, dword [ebp + 0xc]
mov ecx, str.runas
cmove ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x38], 0x140
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 1
je 0x56a340
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0xc], eax
cmp eax, 0x4c7
jne 0x56a311
sub esp, 8
mov eax, esp
mov dword [eax], str.User_refused_elevation.
mov dword [eax + 4], 0x17
call fcn.0042f040
mov eax, dword [ebp + 8]
add esp, 8
mov dword [eax], 0
mov byte [eax + 4], 0
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 0xc]
push eax
sub esp, 8
mov eax, esp
mov dword [eax], str.Privilege_elevation_failed_____Cannot_continue.
mov dword [eax + 4], 0x31
call fcn.004f46d0
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [eax], 0
mov byte [eax + 4], 0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov byte [eax + 4], 1
mov esp, ebp
pop ebp
ret
Function at 0x100583a7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x100583b6
pop dword [ebp - 0x20]
mov eax, 0x7ffe3588
sub eax, 0x6ff8b1d2
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xde28e601
add dword [ebp - 0x30], 0x70295f4a
mov dword [ebp - 0x2c], 0x5d03a5ef
sub dword [ebp - 0x2c], 0x2ad059aa
mov dword [ebp - 0x28], 0xf17f4579
add dword [ebp - 0x28], 0x5accfeb5
mov dword [ebp - 0x24], 0xd60234ac
add dword [ebp - 0x24], 0x29fdcb54
lea eax, [ebp - 0x30]
push eax
mov eax, 0x9158e451
sub eax, 0x8152e441
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xc719f046
add dword [ebp - 0x30], 0xad587910
mov dword [ebp - 0x2c], 0xd414067c
sub dword [ebp - 0x2c], 0x92a7a507
mov dword [ebp - 0x28], 0xc04bde46
add dword [ebp - 0x28], 0xa3238e26
mov dword [ebp - 0x24], 0xef7101f
sub dword [ebp - 0x24], 0xef7101f
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0xc6698524
sub eax, 0xb6638510
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x53627
push 0
call eax
mov ecx, 0x3e52
mov edi, eax
mov ebx, 0x2382626f
sub ebx, 0x1379a66f
add ebx, dword [ebp - 0x20]
mov esi, 0xde50e270
add esi, 0x4777cb0b
xor dword [ebp - 0x18], 0x3d54a5e1
mov edx, dword [ebx]
mov dword [ebp - 0x14], 0xa7e2930a
xor edx, esi
xor dword [ebp - 0x10], edx
mov dword [edi], edx
sub dword [ebp - 4], 0x78a5a2ea
add edi, 0x26737774
add edi, 0xd98c8890
add ebx, 0xa2c7fabc
sub ebx, 0xa2c7fab8
loop 0x100584d2
add eax, 0x2a0a7ba7
sub eax, 0x2a098f8c
mov ebx, eax
add eax, 0xb1c44395
add eax, 0x4e3bbc70
mov ecx, 0x10000000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x40100e
Capabilities:
Check for debugger via api
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x848
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [0x426320]
push esi
mov dword [ebp - 0x24], eax
mov eax, dword [0x426324]
push edi
xor edi, edi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
mov dword [ebp - 0x20], 0x9e3779b9
call fcn.00401007
add dword [ebp - 8], 0xe0
cmp dword [0x428edc], 0xc8
jne 0x401064
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
mov eax, dword [0x426328]
mov dword [ebp - 0x28], eax
mov eax, dword [0x42632c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov edx, dword [0x428edc]
mov esi, ebx
shl esi, 4
cmp edx, 0x4c3
jne 0x4010ce
push str.twotabumoguri
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
push edi
push str.mepohajakuvugufawihunurerali
push str.soxapexadiwisejipokoh
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [0x428edc]
add esi, dword [ebp - 0x28]
cmp edx, 0xfa9
jne 0x4010e3
mov dword [0x428ed8], 0xedeb2e40
cmp edx, 0x3eb
jne 0x4010f1
mov dword [0x4279bc], edi
mov eax, dword [ebp - 8]
add eax, ebx
push eax
mov eax, esi
mov dword [0x428ed4], 0x9150ce2e
call fcn.00401000
mov ecx, dword [ebp - 0xc]
mov esi, eax
mov eax, ebx
shr eax, cl
add eax, dword [ebp - 0x18]
xor esi, eax
cmp edx, 0x18f
jne 0x40113d
push edi
push edi
lea eax, [ebp - 0x844]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
mov edx, dword [0x428edc]
sub dword [ebp - 0x10], esi
cmp edx, 0xc
jne 0x40114b
call dword [sym.imp.KERNEL32.dll_GetLastError]
and eax, 0x5dc052bb
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
add eax, ecx
push eax
mov eax, ecx
shl eax, 4
add eax, dword [ebp - 0x24]
mov dword [0x4279b8], edi
call fcn.00401000
shr ecx, 5
add ecx, dword [ebp - 0x1c]
xor eax, ecx
sub ebx, eax
mov eax, dword [ebp - 0x20]
sub dword [ebp - 8], eax
dec dword [ebp - 0x14]
jne 0x40107b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
pop edi
pop esi
mov dword [eax], ebx
mov dword [eax + 4], ecx
pop ebx
leave
ret 4
Function at 0x401197
Capabilities:
Enumerate gui resources
Get uefi variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x428edc]
mov ecx, dword [0x4289cc]
sub esp, 0x404
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x401203
mov edi, ecx
mov ebx, eax
cmp dword [0x428edc], 0xae9
jne 0x4011f7
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push esi
call dword [sym.imp.KERNEL32.dll_CancelDeviceWakeupRequest]
push esi
lea eax, [esp + 0x14]
push eax
push str.lukewipulebaxiki
push str.himotetihawexiburexewepaduron
call dword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push edi
call fcn.0040100e
add edi, 8
dec ebx
jne 0x4011be
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402703
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0x40
push 0x1000
push dword [0x428edc]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x4289cc], eax
ret
Function at 0x403156
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x42659c]
sub esp, 0x80c
mov dword [0x428edc], eax
cmp eax, 0xc
jne 0x4031f8
xor esi, esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push esi
lea eax, [ebp - 0x80c]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push esi
push esi
call dword [sym.imp.ole32.dll_CoGetMalloc]
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push esi
call fcn.00403993
push esi
call fcn.0040375b
push esi
push esi
push esi
call fcn.004038aa
push esi
push esi
call fcn.0040358c
push 0x41e382
push 0x427530
call fcn.00403224
add esp, 0x24
lea ecx, [ebp - 0xc]
call fcn.004032a8
lea ecx, [ebp - 0xc]
call fcn.004032e4
push esi
call fcn.0040380a
push esi
call fcn.00403575
pop ecx
pop ecx
call fcn.004037c0
mov eax, 0xb2d3b
add dword [0x428edc], eax
call fcn.0040271e
xor eax, eax
leave
ret 0x10

Function at 0x4089e4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x425c24]
jne 0x4089ee
repz ret
jmp fcn.0040bce6
Function at 0x409aed
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x425c24]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405e55
and dword [ebp - 0x14], 0
cmp dword [0x4271a0], 0
mov dword [ebp - 0x18], eax
jne 0x409ba0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x409c48
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x409c48
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4271a0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4271a4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4271a8], eax
call edi
push eax
call esi
mov dword [0x4271b0], eax
test eax, eax
je 0x409ba0
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4271ac], eax
mov eax, dword [0x4271ac]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x409bf9
cmp dword [0x4271b0], ecx
je 0x409bf9
push eax
call esi
push dword [0x4271b0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x409bf9
test ebx, ebx
je 0x409bf9
call edi
test eax, eax
je 0x409bf0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x409bf0
test byte [ebp - 8], 1
jne 0x409bf9
or dword [ebp + 0x10], 0x200000
jmp 0x409c2c
mov eax, dword [0x4271a4]
cmp eax, dword [ebp - 0x18]
je 0x409c2c
push eax
call esi
test eax, eax
je 0x409c2c
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x409c2c
mov eax, dword [0x4271a8]
cmp eax, dword [ebp - 0x18]
je 0x409c2c
push eax
call esi
test eax, eax
je 0x409c2c
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4271a0]
call esi
test eax, eax
je 0x409c48
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x409c4a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004089e4
leave
ret
Function at 0x40e1e3
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x421050]
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.004094cd
mov dword [ebp - 0x14], eax
cmp dword [0x42311c], esi
jne 0x40e2d6
push 0x800
push esi
push 0x4196a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40e263
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40e3b6
push esi
push esi
push 0x4196a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40e3b6
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e3b6
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x42311c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x423120], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x423124], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42312c], eax
test eax, eax
je 0x40e2d3
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x423128], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40e2fb
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40e2ee
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40e310
push 4
pop eax
jmp 0x40e3b8
cmp dword [ebp - 0x14], esi
je 0x40e310
push dword [0x42311c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40e2f5
mov eax, dword [0x423128]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40e36e
cmp dword [0x42312c], edi
je 0x40e36e
push eax
call ebx
push dword [0x42312c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40e36e
test eax, eax
je 0x40e36e
call ecx
test eax, eax
je 0x40e363
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 0x40e363
test byte [ebp - 8], 1
jne 0x40e36e
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40e39e
mov eax, dword [0x423120]
cmp eax, edi
je 0x40e39b
push eax
call ebx
test eax, eax
je 0x40e39b
call eax
mov esi, eax
test esi, esi
je 0x40e39b
mov eax, dword [0x423124]
cmp eax, edi
je 0x40e39b
push eax
call ebx
test eax, eax
je 0x40e39b
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x42311c]
call ebx
test eax, eax
je 0x40e3b6
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40e3b8
xor eax, eax
mov ecx, dword [ebp - 4]
Function at 0x40a6d0
Capabilities:
Hash data with md5

Disassembly:
movsd xmm1, qword [0x4ad138]
mov edx, ecx
movss xmm0, dword [0x4ad45c]
subss xmm0, dword [0x4a0fa4]
addsd xmm1, qword [0x4a04f8]
movsd xmm3, qword [0x49ea58]
subss xmm0, dword [0x4a29a4]
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
movsd xmm0, qword [0x4ad138]
addsd xmm0, xmm3
lahf
movsd qword [0x4ad138], xmm0
test ah, 0x44
jp 0x40a786
movsd xmm2, qword [0x4ad610]
movsd xmm0, qword [0x4ad320]
movsd xmm1, qword [0x4a19a8]
subsd xmm1, xmm0
movsd xmm0, qword [0x4ad610]
addsd xmm0, xmm3
subsd xmm1, qword [0x4a1b28]
movsd qword [0x4ad610], xmm0
comisd xmm2, xmm1
jbe 0x40a790
movss xmm0, dword [0x4ad10c]
cvtps2pd xmm1, xmm0
movsd xmm0, qword [0x4ad1c0]
mulsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
movss dword [0x4ad10c], xmm0
jmp 0x40a790
add dword [0x4ad5d4], 0x800578d
mov dword [edx], 0
mov eax, dword [section..data]
mov ecx, dword [0x4ad33c]
movsd xmm1, qword [0x4a21e0]
sub ecx, eax
mov eax, dword [0x4ad464]
add eax, ecx
mov ecx, dword [0x4ad304]
imul ecx, eax
mov dword [0x4ad304], ecx
mov dword [edx + 4], 0
mov dword [edx + 8], 0x67452301
movsd xmm0, qword [0x4ad0e0]
movsx eax, word [0x4ad2dc]
subsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
mov word [0x4ad2dc], ax
mov dword [edx + 0xc], 0xefcdab89
movss xmm0, dword [0x4ad0a0]
cvttss2si eax, xmm0
mov word [0x4ad3f8], ax
mov dword [edx + 0x10], 0x98badcfe
movsd xmm1, qword [0x4ad378]
mov eax, dword [0x4ad5f4]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movsd qword [0x4ad378], xmm1
inc dword [0x4ad5f4]
mov dword [edx + 0x14], 0x10325476
movsd xmm0, qword [0x4ad658]
subsd xmm0, qword [0x49ecd0]
addsd xmm0, qword [0x49feb8]
cvttsd2si eax, xmm0
mov dword [0x4ad2c0], eax
ret

Function at 0x40cc80
Capabilities:
Terminate process

Disassembly:
movss xmm1, dword [0x4ad4c0]
movss xmm0, dword [0x4a12c4]
comiss xmm0, xmm1
jbe 0x40ccaf
movsd xmm0, qword [0x4ad370]
subsd xmm0, qword [0x4a1dc8]
movsd qword [0x4ad370], xmm0
jmp 0x40cccb
mov ax, word [0x4ad3f0]
mov ecx, dword [0x4ad5d8]
cwde
add ecx, eax
mov word [0x4ad3f0], cx
dec dword [0x4ad5d8]
push dword [0x4ae5a8]
call fcn.0043e310
mov eax, dword [0x4ad434]
add esp, 4
add eax, dword [0x4ad424]
mov dword [0x4ad424], eax
push 1
call fcn.00456402
int3
Function at 0x486026
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00485e1a

Function at 0x488284
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00487a5e

Function at 0x48828f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00487c99

Function at 0x491f84
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00491b89

Function at 0x491f8f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00491d0a
Function at 0x1000316c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x10009e98
call fcn.10009aa0
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.10003d98
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 1
je 0x10003198
push edi
call esi
cmp eax, 0xffffffff
jne 0x100031da
test ebx, ebx
je 0x100031d7
lea ecx, [ebp - 0x18]
call fcn.10001d2c
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.10003ea1
test al, al
push dword [ebp - 0x18]
je 0x100031d1
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.100024e1
pop ecx
mov eax, esi
jmp 0x100031da
call fcn.100024e1
pop ecx
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x10003783
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push edi
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100037ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x100037ad
xor al, al
jmp 0x100037cd
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.10009af0
mov ecx, eax
xor eax, eax
add ecx, edi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop edi
leave
ret 4

Function at 0x10004659
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov eax, 0x10009fa0
call fcn.10009aa0
sub esp, 0x84
push ebx
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
mov edi, ecx
xor esi, esi
mov eax, dword [edi]
cmp eax, esi
je 0x10004685
push eax
call ebx
test eax, eax
je 0x10004685
mov dword [edi], esi
push dword [ebp + 8]
lea ecx, [ebp - 0x24]
call fcn.10001d6f
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], esi
call fcn.1000476c
push 0x20
mov edx, eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.10004751
push dword [ebp + 0xc]
mov edx, eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.10001c94
push dword [ebp - 0x40]
call fcn.100024e1
push dword [ebp - 0x4c]
call fcn.100024e1
push dword [ebp - 0x24]
call fcn.100024e1
add esp, 0xc
lea eax, [ebp - 0x34]
mov dword [ebp - 0x90], 0x44
mov dword [ebp - 0x8c], esi
push eax
lea eax, [ebp - 0x90]
push eax
mov dword [ebp - 0x88], esi
push dword [ebp + 0x10]
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x64], esi
mov word [ebp - 0x5e], si
push esi
push esi
push esi
push esi
push esi
mov dword [ebp - 0x5c], esi
push dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1000472b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x10004735
push dword [ebp - 0x30]
call ebx
mov eax, dword [ebp - 0x34]
mov dword [edi], eax
push dword [ebp - 0x18]
call fcn.100024e1
pop ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc