joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401650
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40b95a
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5995c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
push 0
push 0x40ea61
mov dword [ebp - 4], 1
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
mov esi, dword [ebp + 8]
add esp, 8
mov dword [esi], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], 1
push eax
lea ecx, [ebp - 0x1c]
xor ebx, ebx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QFile::constructor_class_QString_const__]
push ecx
mov eax, esp
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
mov dword [eax], 1
call dword [sym.imp.Qt5Core.dll_public_virtual:_bool___thiscall_QFile::open_class_QFlags_enum_QIODevice::OpenModeFlag__]
test al, al
je 0x401776
lea ecx, [ebp - 0x1c]
call dword [sym.imp.Qt5Core.dll_public_virtual:_bool___thiscall_QFileDevice::atEnd_void_const]
test al, al
jne 0x40174b
nop dword [eax]
push 0
push 0x100000
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray___thiscall_QIODevice::read_long_long___int64__]
mov eax, dword [ebp - 0x10]
xor edi, edi
or esi, 0xffffffff
mov byte [ebp - 4], 3
cmp dword [eax + 4], edi
jle 0x40172a
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
movsx eax, byte [eax + edi]
inc edi
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x40ec68]
mov eax, dword [ebp - 0x10]
cmp edi, dword [eax + 4]
jl 0x401705
not esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
xor ebx, esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.Qt5Core.dll_public_virtual:_bool___thiscall_QFileDevice::atEnd_void_const]
test al, al
je 0x4016e0
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.Qt5Core.dll_public_virtual:_void___thiscall_QFileDevice::close_void_]
push 0x10
lea eax, [ebp - 0x10]
push ebx
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::number_unsigned_int__int_]
add esp, 0xc
mov ecx, esi
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.Qt5Core.dll_public_virtual:_void___thiscall_QFile::destructor_void_]
lea ecx, [ebp + 0xc]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40b306
Capabilities:
Parse pe header

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

Function at 0x40b5f0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x18
push ebx
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x40b622
or eax, 0xffffffff
pop ebx
add esp, 0x18
ret 0x10
mov eax, dword [esp + 4]
xor ecx, ecx
inc eax
mov edx, 4
mul edx
push ebp
push esi
seto cl
neg ecx
or ecx, eax
push edi
push ecx
call fcn.0040b70f
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x14], 0
mov ebp, eax
mov dword [esp + 0x20], ebp
test ecx, ecx
je 0x40b6bc
mov eax, ebx
sub eax, ebp
mov dword [esp + 0x1c], eax
mov ebx, dword [eax + ebp]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
push esi
call fcn.0040b70f
add esp, 4
mov edi, eax
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [esp + 0x14]
lea ebp, [ebp + 4]
inc eax
mov dword [ebp - 4], edi
mov ecx, dword [esp + 0x10]
cmp eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
jne 0x40b661
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
push ebx
mov dword [ebp + ecx*4], 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebp
push dword [esp + 0x14]
call fcn.00404ed0
xor esi, esi
add esp, 8
mov edi, eax
cmp dword [esp + 0x10], esi
je 0x40b6fa
mov ecx, dword [ebp + esi*4]
test ecx, ecx
je 0x40b6fa
push ecx
call fcn.0040b718
inc esi
add esp, 4
cmp esi, dword [esp + 0x10]
jne 0x40b6e2
push ebp
call fcn.0040b718
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10
Function at 0x402c91
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x940000
push 0x50e811
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
in al, dx
sbb byte [ebx + 0x56], dl
push edi
add byte [eax], al
pushal
xchg edi, eax
add byte [ecx], dh
inc esp
clc
xor eax, ebp
push eax
lea eax, [eax]
add byte [ebx], ah
add byte [eax], al
add byte [ebx - 0x76ffff0f], cl
jge 0x402ca8
lea eax, [eax + 0x50]
call fcn.0040c805
mov ecx, dword [eax + 0x9c]
push ecx
call fcn.00502cdd
mov ebx, eax
mov byte [ebp - 0x24], bl
mov dword [ebp - 0x1c], edi
add byte [eax], al
jne 0x402cff
xor eax, eax
mov ecx, dword [ebp - 0x10]
add byte fs:[eax], al
add byte [eax], al
add byte [eax], al
dec eax
pop edi
pop esi
pop ebx
mov esp, ebp
add byte [eax], al
add al, 0
mov dword [ebp - 4], edi
lea edi, [ebp - 0x28]
add byte [eax], al
add byte [eax], al
add byte [ebx - 0x36ccdfbc], cl
test eax, eax
add byte [eax], al
rol dword [ebp - 0x17fa8a37], 0x1c
popfd
add byte [eax], al
mov edx, dword [ebp + 8]
push edx
in al, dx
ror byte [ebx + 0x7d89f8], 1
add byte [ebp - 4], al
invalid

Function at 0x454c01
Capabilities:
Encode data using xor

Disassembly:
push cs
outsd dx, dword [esi]
jne 0x454bfd
cdq
aaa
adc esi, ebx
mov ecx, 0x3e84e9c2
cld
imul esi, dword [edi - 0x10292857], 0x55475b60
adc eax, 0x7594599c
jnp 0x454c3c
push es
test al, 0xb8
call 0x9e8d998f
leave
sbb cl, bl
jmp 0x40b0266f
adc edi, dword [0x698b59d7]
wait
push eax
xor dword [ebx + 0x214aa86a], eax
mov bl, 0xf9
cld
sub al, 0x15
mov ah, 0x57
pop ebx
adc eax, 0x2a5b57b4
fldcw word [esp + ecx*2]
sub bl, cl
sub al, 0x4c
les edx, [edx + 0x2c9caf5a]
sub esi, dword [eax + 0x6d]
stosb byte es:[edi], al
nop
xor eax, 0x4ae57131
xchg ebx, eax
push esi
jge 0x454beb
xchg ecx, eax
std
sub byte [0xd84cc469], 0x86
jae 0x454bae
pushfd
inc ebp
sbb ah, byte fs:[ebp + edx*2 + 0x44]
test al, 0x51
pop eax
inc ebp
pop ecx
test al, 0xa9
invalid
clc
ret 0xcbeb
Function at 0x5459a0
Capabilities:
Compare security identifiers
Create directory
Create mailslot
Create process on windows
Create service
Delete directory
Delete registry key
Delete registry value
Enumerate gui resources
Get user security identifier
Query or enumerate registry value
Set file attributes
Set registry value

Disassembly:
push ecx
mov eax, dword [0x61182e]
mov ecx, dword [esp]
push ebx
push esi
push edi
push 0
or ecx, eax
push 0
push 0
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, eax
mov eax, dword [esp + 0xc]
or ecx, esi
or eax, ecx
lea edx, [esp + 0xc]
mov dword [esp + 0xc], eax
push eax
push 0
lea eax, [esp + 0x14]
push edx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov ecx, dword [esp + 0xc]
push 0
or ecx, eax
push 0
push ecx
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
mov esi, dword [esp + 0xc]
push 0
push 0
push 0
or esi, eax
push 0
push 0
mov dword [esp + 0x20], esi
mov esi, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 0
push 0
call esi
mov ecx, dword [esp + 0xc]
push 0
or ecx, eax
push 0
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [esp + 0xc]
or ecx, eax
push ecx
push ecx
push 0
push 0
mov dword [esp + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov ecx, dword [esp + 0xc]
push 0
or ecx, eax
push 0
push 0
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
mov ecx, dword [esp + 0xc]
push 0
push 0
push 0
or ecx, eax
push 0
push 0
mov dword [esp + 0x20], ecx
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
mov ebx, dword [esp + 0xc]
push 0
or ebx, eax
push 0
push 0
mov dword [esp + 0x18], ebx
push 0
push 0
push 0
push 0
call esi
mov ecx, dword [esp + 0xc]
or ecx, eax
mov dword [esp + 0xc], ecx
mov ecx, dword [0x7f519c]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [esp + 0xc]
or ecx, eax
push ecx
push 0
push ecx
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [esp + 0xc]
push 0
or ecx, eax
mov dword [esp + 0x10], ecx
call dword [sym.imp.KERNEL32.dll_CancelIo]
or dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_AllocConsole]
or dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
mov ecx, dword [esp + 0xc]
or ecx, eax
push ecx
push 0
push 0
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
mov ecx, dword [esp + 0xc]
or ecx, eax
push ecx
push 0
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesA]
mov ecx, dword [esp + 0xc]
push 0
push 0
or ecx, eax
push 0
push 0
mov dword [esp + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_CreateMailslotA]
mov ecx, dword [esp + 0xc]
push 0
push 0
or ecx, eax
push 0
push 0
mov dword [esp + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_RaiseException]
Function at 0x546460
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x854
push esi
push edi
lea eax, [ebp - 0xd0]
mov dword [ebp - 8], eax
mov ecx, 0x1d
xor eax, eax
mov edi, dword [ebp - 8]
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, dword [0x614c0c]
add ecx, eax
mov dword [0x614c0c], ecx
push 0x6150e0
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x5464f4
mov edx, dword [ebp - 8]
mov eax, dword [0x7f5188]
mov dword [edx + 0x6c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x614c0c]
add ecx, eax
mov dword [0x614c0c], ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00441c10
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x5464e7
mov edi, dword [ebp - 8]
add edi, 0x2c
mov ecx, 8
mov esi, dword [ebp - 0xc]
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x7f519c], eax
jmp 0x546511
call fcn.005459a0
mov dword [ebp - 0xc], eax
mov byte [0x611031], 0x44
mov byte [0x7f5176], 0x71
mov byte [0x9d51a2], 0x72
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x70], 0x504960
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x24], 0x5c8130
mov edx, dword [ebp - 8]
mov dword [edx + 0x1c], 0x482da0
mov eax, dword [ebp - 8]
mov dword [eax + 0x18], 0x546660
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xc], 0x441c60
push 0x6150e0
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edx, dword [0x614c0c]
add edx, eax
mov dword [0x614c0c], edx
mov eax, dword [ebp - 8]
mov dword [eax + 0x14], 0x504d90
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x20], 0x587520
mov edx, dword [ebp - 8]
mov dword [edx + 0x28], 0x6093b0
lea eax, [ebp - 0x850]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], 0x401000
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], 0x4c3bf0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
mov ecx, dword [0x614c0c]
add ecx, eax
mov dword [0x614c0c], ecx
mov edx, dword [ebp - 8]
mov eax, dword [0x614c24]
mov dword [edx + 4], eax
mov dword [0x614c0c], 0
mov dword [0x614c10], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x854], edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb36
jne 0x546623
mov eax, dword [ebp - 8]
mov dword [eax], 0xa3
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x28], 0xa3
mov edx, dword [ebp - 8]
mov dword [edx + 0x1c], 0x401000
mov eax, dword [ebp - 8]
mov dword [eax + 0x10], 0x5c8130
push 0
call fcn.00482870
add esp, 4
jmp 0x546643
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov dword [ecx], edx
mov eax, dword [ebp - 0x854]
add eax, 0x10
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
call fcn.005048b0
add esp, 0xc
mov edx, dword [ebp - 8]
push edx
call dword [ebp - 4]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x54e495
Capabilities:
Encode data using xor

Disassembly:
jne 0x54e4b2
ret
rep movsb byte es:[edi], byte [esi]
idiv bl
pop ebp
ja 0x54e44c
in eax, dx
and edx, dword [ecx]
or dword [eax + 0x5e], edi
xchg ebx, eax
cmp eax, 0xc630f1b3
sal byte [edx], 0xc2
and byte [ebx], al
sar byte [ebx], cl
cmp edi, ecx
and bl, byte [ecx - 0x16]
adc byte [bp - 0x2287], bh
mov eax, dword [0x38a498d5]
loope 0x54e48d
cmp cl, ah
stc
adc byte [edx - 0x3d076d63], al
mov ch, byte [edx - 0x182ef72b]
xchg edi, eax
xor dword [ecx], eax
sbb al, 0xb
xor edx, dword [esi + edx + 0x50]
dec ebx
dec ecx
jbe 0x54e4a1
and bh, byte [ecx + 0x518933f1]
push ecx
pushfd
jo 0x54e464
mov edi, 0x1c6a69
mov dh, 0xc2
loope 0x54e491
int3

Function at 0x551571
Capabilities:
Encode data using xor

Disassembly:
in al, 0x15
rol byte [edi - 0x23], cl
push eax
add dword [ecx + 0x8be0b27], eax
sub cl, bh
fsub dword [eax + 0x24]
ror byte [esi], 0x48
dec esp
sbb eax, 0x9dc3902f
or dword [edx + 0x5c5c3c91], esp
sbb esp, esi
mov esp, 0x7d56c7
xor dl, byte [esi + 0x11e3fb01]
sub ebp, dword [eax]
jno 0x551564
mov byte [esi], al
scasd eax, dword es:[edi]
lodsd eax, dword [esi]
cmp al, 0x9b
nop
mov ah, 0x70
test dword [eax - 0x3f68b089], 0xe431f2ea
enter 0xfffffffffffffbfa, 0x24
and edi, dword [edx]
mov dl, 0x10
push cs
adc byte [edi - 0x78], ah
ja 0x5514b9
sbb cl, byte [edi + 0x68]
fild qword [edi + 0x4ba038ae]
cmp ah, byte [edi]
nop
and bl, 0xa
aad 0xf1
mov byte [0x37c30714], al
dec esp
push esi
mov ebx, 0xad14a23e
pop edi
in al, 0x4f
dec ecx
rol byte [eax + 0x3d], 1
push ds
cwde
cmp dl, byte [ecx]
mov ebx, 0xa7002047
adc bl, dh
rcl ecx, cl
adc esi, dword [edi]
invalid
or byte [edx + 0x676bef11], ah
daa
test al, 0x7e
inc edx
push esp
push edx
pop edi
loop 0x5514f3
lcall 0x737f, 0xe403a472
adc byte [0xfc6fc1ef], ch
shr dword [ebp - 0xba7c513], 0x7e
jns 0x5515e2
insd dword es:[edi], dx
jno 0x5515fe
inc ecx
mov dword [0xf35b8742], eax
push eax
mov ch, 0x84
invalid
pushal
and eax, 0x13cb4356
loopne 0x5515eb
dec eax
jo 0x551655
adc byte [ebx], dl
ret
hlt
invalid
Function at 0x587270
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
mov ecx, dword [esp + 0x18]
push ebx
push ebp
push esi
mov edx, dword [ecx + 0x3c]
push edi
mov dword [esp + 0x10], 0
mov eax, dword [edx + ecx + 0x78]
mov edx, dword [edx + ecx + 0x7c]
mov dword [esp + 0x20], edx
mov edx, dword [eax + ecx + 0x1c]
add edx, ecx
mov dword [esp + 0x1c], edx
mov edx, dword [eax + ecx + 0x24]
add edx, ecx
mov dword [esp + 0x18], edx
mov edx, dword [eax + ecx + 0x20]
mov eax, dword [eax + ecx + 0x14]
add edx, ecx
test eax, eax
mov dword [esp + 0x14], eax
jbe 0x587315
mov edi, dword [esp + 0x2c]
mov ebx, edx
mov al, byte [edi]
mov byte [esp + 0x28], al
mov edx, dword [ebx]
mov al, byte [esp + 0x28]
mov esi, ecx
xor ebp, ebp
add esi, edx
mov dl, byte [esi]
cmp dl, al
jne 0x5872f5
mov eax, edi
mov edi, esi
sub edi, dword [esp + 0x2c]
test dl, dl
je 0x5872f1
cmp byte [eax], 0
je 0x5872f1
mov dl, byte [edi + eax + 1]
inc ebp
inc eax
cmp dl, byte [eax]
je 0x5872de
mov edi, dword [esp + 0x2c]
cmp byte [esi + ebp], 0
jne 0x587301
cmp byte [edi + ebp], 0
je 0x587321
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
inc eax
add ebx, 4
cmp eax, edx
mov dword [esp + 0x10], eax
jb 0x5872c4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret 8
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
xor edx, edx
pop edi
mov dx, word [eax + esi*2]
mov eax, dword [esp + 0x18]
pop esi
pop ebp
mov eax, dword [eax + edx*4]
pop ebx
add eax, ecx
add esp, 0x14
ret 8
Function at 0x587350
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60f2c0
push 0x609538
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x34], 0x5a4d
mov dword [ebp - 0x24], 0x4550
mov edx, dword [sym.imp.KERNEL32.dll_GetVersion]
and edx, 0xffff0000
sub edx, 0x1000
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], 0
mov edi, 0xc0000002
mov eax, edi
mov ebx, edi
test dword [ebp - 0x10], ebx
sete cl
lea esi, [ebp - 0x2c]
movzx ebx, word [esi + 3]
mov ebx, dword [esi]
xor esi, ebx
inc ebx
or ebx, 5
xor eax, eax
mov ax, word [edx]
cmp eax, dword [ebp - 0x34]
je 0x5873d7
mov dword [ebp - 4], 0xffffffff
jmp 0x58747a
mov edi, 0xc0000002
mov eax, edi
mov ebx, edi
test dword [ebp - 0x10], ebx
sete cl
lea esi, [ebp - 0x2c]
movzx ebx, word [esi + 3]
mov ebx, dword [esi]
xor esi, ebx
inc ebx
or ebx, 5
mov eax, dword [edx + 0x3c]
add eax, edx
mov dword [ebp - 0x1c], eax
mov edi, 0xc0000002
mov eax, edi
mov ebx, edi
test dword [ebp - 0x10], ebx
sete cl
lea esi, [ebp - 0x2c]
movzx ebx, word [esi + 3]
mov ebx, dword [esi]
xor esi, ebx
inc ebx
or ebx, 5
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
mov cx, word [eax]
cmp ecx, dword [ebp - 0x24]
je 0x587437
mov dword [ebp - 4], 0xffffffff
jmp 0x58747a
mov dword [0x7f5188], edx
mov dword [ebp - 4], 0xffffffff
jmp 0x587486
cmp edx, 0x1000000
ja 0x587390
mov dword [0x614f1c], 0x50746547
mov dword [0x614f20], 0x41636f72
mov dword [0x614f24], 0x65726464
mov word [0x614f28], 0x7373
mov word [0x614f2a], 0
push 0x614f1c
push edx
call fcn.00587270
mov dword [0x614c24], eax
mov dword [0x614f1c], 0x61427349
mov dword [0x614f20], 0x61655264
mov dword [0x614f24], 0x72745064
mov word [0x614f28], 0
push 0x614f1c
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00587270
mov dword [0x614c34], eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412edf
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov cl, byte [esi]
cmp cl, 2
je 0x412f8e
cmp byte [esi + 3], 0
jne 0x412f8e
cmp byte [esi + 4], 0
jne 0x412f8e
cmp cl, 1
jne 0x412f31
push dword [esi + 0xc]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
cmp byte [esi + 5], 0
je 0x412f8e
push dword [esi + 0xc]
call dword [sym.imp.msvcrt.dll_fflush]
pop ecx
jmp 0x412f8e
push ebx
push edi
xor edi, edi
test cl, cl
jne 0x412f3e
mov eax, dword [esi + 0x14]
jmp 0x412f40
mov eax, edi
test eax, eax
je 0x412f93
test cl, cl
jne 0x412f4d
mov eax, dword [esi + 0x14]
jmp 0x412f4f
mov eax, edi
mov ebx, dword [ebp + 0xc]
add eax, ebx
cmp eax, dword [esi + 0x1c]
jb 0x412f70
test cl, cl
jne 0x412f62
mov eax, dword [esi + 0x10]
jmp 0x412f64
mov eax, edi
add eax, ebx
mov ecx, esi
push eax
call fcn.00413067
mov cl, byte [esi]
test cl, cl
jne 0x412f77
mov edi, dword [esi + 0x14]
push ebx
push dword [ebp + 8]
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp byte [esi], 0
jne 0x412f8c
add dword [esi + 0x14], ebx
pop edi
pop ebx
pop esi
pop ebp
ret 8
push 0x40da54
mov edx, 0xdd
mov ecx, 0x40da6c
call fcn.00412d7c
int3

Function at 0x4131a3
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x417e58
call fcn.00413f28
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x418728
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x4131e8
cmp eax, esi
jne 0x4131db
xor esi, esi
inc esi
mov edi, esi
jmp 0x4131eb
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4131bf
xor esi, esi
inc esi
cmp dword [0x41872c], esi
jne 0x4131fd
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x413237
cmp dword [0x41872c], ebx
jne 0x413231
mov dword [0x41872c], esi
push 0x4034e8
push 0x4034dc
call fcn.0041331c
pop ecx
pop ecx
test eax, eax
je 0x413237
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x41330c
mov dword [0x4183cc], esi
cmp dword [0x41872c], esi
jne 0x41325a
push 0x4034d8
push 0x4034cc
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x41872c], 2
test edi, edi
jne 0x413267
xor eax, eax
mov ecx, 0x418728
xchg dword [ecx], eax
cmp dword [0x418734], 0
je 0x413293
push 0x418734
call fcn.00413d80
pop ecx
test eax, eax
je 0x413293
push ebx
push 2
push ebx
mov esi, dword [0x418734]
mov ecx, esi
call dword [0x419190]
call esi
push dword [0x4183d8]
push dword [0x4183d4]
push dword [0x4183d0]
call fcn.00410df6
add esp, 0xc
mov dword [0x4183c8], eax
cmp dword [0x4183e0], 0
jne 0x4132f1
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x4183cc], 0
jne 0x413305
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x4183c8]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.004a8000
jmp 0x4131a3
Function at 0x10006f02
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1014a7b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x3d8], 0xffffffff
jne 0x10006f23
xor eax, eax
inc eax
jmp 0x10006f64
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push dword [esi + 0x3d8]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [esi + 0x3d8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [esi + 0x3d8], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100ee6a0
leave
ret

Function at 0x10006f82
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x1014a7b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x3d8]
cmp eax, 0xffffffff
jne 0x10006fa8
xor eax, eax
inc eax
jmp 0x10006fee
and dword [ebp - 8], 0
lea ecx, [ebp - 8]
push 0
push ecx
push dword [edi + 8]
push dword [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 8]
add dword [esi + 0xc8], edx
adc dword [esi + 0xcc], 0
lea ecx, [eax - 1]
neg ecx
mov esi, 0x80004005
sbb ecx, ecx
and ecx, esi
cmp eax, 1
jne 0x10006fec
xor eax, eax
mov ecx, esi
cmp dword [edi + 8], edx
cmove ecx, eax
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100ee6a0
leave
ret 4

Function at 0x10009ec4
Capabilities:
Delete file

Disassembly:
push 0x50
mov eax, 0x100f0e98
call fcn.100eefb3
mov ebx, ecx
mov esi, dword [ebp + 8]
xor edi, edi
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x10009ee1
mov eax, dword [esi]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
pop ecx
test eax, eax
je 0x10009f7e
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x10009efb
mov ecx, dword [esi]
push dword [ebp - 0x2c]
mov edx, dword [esi + 0x10]
push 1
push ecx
push ecx
call 0x1000dfbc
push 0xffffffffffffffff
inc eax
mov ecx, esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1000b708
push 0x10127f5c
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], edi
call fcn.10007efe
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x44]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10007efe
mov byte [ebp - 4], 2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x44]
push ecx
push dword [eax]
lea eax, [ebx + 0x15c]
push eax
call fcn.10009fb9
lea ecx, [ebp - 0x44]
call fcn.1000815b
lea ecx, [ebp - 0x5c]
call fcn.1000815b
lea ecx, [ebp - 0x28]
mov edi, 0x80004005
call fcn.1000815b
mov eax, edi
call fcn.100eef5d
ret 4