joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e650
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9886
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push esi
push edi
mov eax, dword [0x4fb00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
mov edi, dword [ebp + 0xc]
mov esi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_bool_]
movzx eax, byte [edi + 0xd]
push eax
call esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
movzx eax, byte [edi + 0xc]
push eax
call esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
mov esi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_int_]
push 1
call esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
push dword [edi + 8]
call esi
mov byte [ebp - 4], 4
lea eax, [edi + 4]
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_class_QDateTime_const__]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
push dword [ebp + 8]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__]
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x10]
call fcn.00407d20
lea ecx, [ebp - 0x90]
push ecx
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
mov ecx, eax
call edx
lea ecx, [ebp - 0xa0]
mov esi, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_void_]
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebx + 0x10]
call fcn.00408770
push edx
mov edi, eax
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
push esi
lea ecx, [ebp + 0xc]
call fcn.004841b0
add esp, 0x18
lea eax, [ebp + 0xc]
lea ecx, [edi + 8]
push eax
push str.UpdateScheduledScanV4_QString__IDispatch__QDateTime___ScheduleFrequency__int__bool__bool_
lea eax, [ebp - 0x80]
push eax
call fcn.00484430
mov ecx, dword [ebp + 0xc]
call fcn.00403ca0
test al, al
jne 0x43e76a
push dword [ebp + 0xc]
call fcn.0041d650
mov esi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
lea ecx, [ebp - 0x80]
call esi
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x90]
call esi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa0]
call esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00407cb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x446b10
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4abc0f
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4fb00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov dword [ebp - 4], 0
lea ecx, [ebx + 8]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDateTime::constructor_void_]
mov byte [ebp - 4], 1
lea ecx, [ebx + 0xc]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 2
lea edi, [ebx + 0x14]
mov ecx, edi
mov byte [ebx + 0x10], 0
mov dword [ebp - 0x14], edi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 3
lea ecx, [edi + 4]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 4
lea ecx, [edi + 8]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 5
lea ecx, [edi + 0x10]
mov dword [edi + 0xc], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 6
lea ecx, [edi + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 7
lea ecx, [edi + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 8
lea ecx, [edi + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 9
lea esi, [edi + 0x24]
mov dword [edi + 0x20], 0
lea ecx, [esi + 4]
mov dword [ebp - 0x18], esi
mov dword [esi], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 0xa
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov word [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 1
mov byte [ebp - 4], 0xb
mov eax, dword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov dword [edi + 0x6c], eax
mov dword [ebp - 4], 0xffffffff
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 0x44cc30
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad750
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4fb00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xe
lea ecx, [esi + 0x50]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [ebp - 4], 0xd
lea ecx, [esi + 0x4c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [ebp - 4], 0xc
lea ecx, [esi + 0x48]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x3c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x38]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [ebp - 4], 9
lea ecx, [esi + 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [ebp - 4], 8
lea ecx, [esi + 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [ebp - 4], 7
lea ecx, [esi + 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [ebp - 4], 6
lea ecx, [esi + 0x28]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [ebp - 4], 5
lea ecx, [esi + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [ebp - 4], 4
lea ecx, [esi + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [ebp - 4], 3
lea ecx, [esi + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [ebp - 4], 2
lea ecx, [esi + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [ebp - 4], 1
lea ecx, [esi + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [ebp - 4], 0
lea ecx, [esi + 0xc]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 4]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45e140
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1610
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4fb00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
mov dword [esi], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov dword [ebp - 4], 0
lea ecx, [esi + 0xc]
mov dword [esi + 8], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 1
lea ecx, [esi + 0x14]
mov word [esi + 0x10], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 2
lea ecx, [esi + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 3
lea ecx, [esi + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 4
lea ecx, [esi + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 5
lea ecx, [esi + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 6
lea ecx, [esi + 0x28]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 7
lea ecx, [esi + 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 8
lea ecx, [esi + 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 9
lea ecx, [esi + 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x38]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x3c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 0xc
xor eax, eax
lea ecx, [esi + 0x48]
mov word [esi + 0x40], ax
mov byte [esi + 0x42], 1
mov dword [esi + 0x44], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 0xd
lea ecx, [esi + 0x4c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov byte [ebp - 4], 0xe
lea ecx, [esi + 0x50]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46a030
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov dword [ebp - 8], ecx
push edi
nop dword [eax]
mov edi, dword [ecx]
mov dword [ebp - 4], edi
mov eax, dword [edi]
cmp eax, 0x270
jne 0x46a096
lea eax, [edi + 8]
mov esi, 0x270
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
sub esi, 1
jne 0x46a056
mov eax, dword [edi]
jmp 0x46a178
cmp eax, 0x4e0
jb 0x46a178
mov eax, dword [edi + 0x9c4]
lea ebx, [edi + 0x9c4]
mov edi, 0xe3
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x46a0b2
mov ebx, dword [ebp - 4]
mov edi, 0x18c
add ebx, 0xd50
mov eax, dword [ebx]
nop dword [eax + eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x46a100
mov edi, dword [ebp - 4]
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
mov ecx, dword [ebp - 8]
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
cmp eax, dword [ecx + 8]
ja 0x46a040
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46a450
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov eax, dword [edi]
cmp eax, 0x270
jne 0x46a4ae
lea edx, [edi + 8]
mov esi, eax
nop dword [eax]
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x46a470
mov eax, dword [edi]
jmp 0x46a599
cmp eax, 0x4e0
jb 0x46a599
mov eax, dword [edi + 0x9c4]
push ebx
lea ebx, [edi + 0x9c4]
mov edi, 0xe3
nop dword [eax + eax]
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x46a4d0
mov ebx, dword [ebp - 4]
mov edi, 0x18c
add ebx, 0xd50
mov eax, dword [ebx]
nop dword [eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x46a520
mov edi, dword [ebp - 4]
pop ebx
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4977f0
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 0x497822
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.00499c72
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 0x4978bc
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.00499c72
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 0x497861
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]
mov ecx, dword [esp + 0x10]
mov edx, ebp
call fcn.0040b780
xor esi, esi
mov edi, eax
cmp dword [esp + 0x10], esi
je 0x4978f8
mov ecx, dword [ebp + esi*4]
test ecx, ecx
je 0x4978f8
push ecx
call fcn.00499be6
inc esi
add esp, 4
cmp esi, dword [esp + 0x10]
jne 0x4978e0
push ebp
call fcn.00499be6
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10
Function at 0x52f7e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x52f805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x52f878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x52f83a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x52f86d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x52f86b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x52f831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x52f7fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x401380
Capabilities:
Get common file path
Get file size
Move file

Disassembly:
sub esp, 0x528
mov eax, dword [0x41f00c]
xor eax, esp
mov dword [esp + 0x524], eax
push ebx
push esi
mov esi, dword [esp + 0x538]
push edi
mov edi, dword [esp + 0x538]
push 4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov ebx, eax
test ebx, ebx
jne 0x40157a
push ebp
test esi, esi
mov eax, 0x4172c8
push edi
cmovne eax, esi
push eax
lea eax, [esp + 0x13c]
push str._hs_hs_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [str._Rename__r_n]
mov edi, eax
mov eax, dword [0x4172e8]
add esp, 0x10
mov dword [esp + 0x18], ecx
mov ecx, dword [0x4172dc]
mov dword [esp + 0x28], eax
mov ax, word [0x4172ec]
mov dword [esp + 0x1c], ecx
mov cx, word [0x4172e0]
mov word [esp + 0x2c], ax
mov al, byte [0x4172ee]
mov word [esp + 0x20], cx
mov cl, byte [0x4172e2]
mov byte [esp + 0x2e], al
lea eax, [esp + 0x30]
push 0x104
mov byte [esp + 0x26], cl
mov ecx, dword [str._rename__r_n]
push eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x2c], ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.WinInit.Ini
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebx
push 0x8000080
push 4
push ebx
push ebx
push 0xc0000000
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x40147b
xor eax, eax
jmp 0x401579
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
mov esi, eax
lea ecx, [edi + 0xa]
add ecx, esi
push ecx
push 0
push 4
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [esp + 0x14], eax
test eax, eax
je 0x40155b
push 0
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x40154d
lea eax, [esp + 0x18]
push eax
push edi
call fcn.00403900
add esp, 8
test eax, eax
jne 0x401501
lea eax, [esp + 0x24]
push eax
push edi
call fcn.00403900
add esp, 8
test eax, eax
jne 0x401501
lea eax, [esp + 0x18]
push eax
lea eax, [edi + esi]
push 0x417300
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
add esi, eax
mov ebx, esi
jmp 0x401525
push 0xa
push eax
call fcn.00403690
mov ecx, edi
lea ebx, [eax + 1]
sub ecx, ebx
add ecx, esi
push ecx
mov ecx, dword [esp + 0x1c]
add ecx, ebx
push ebx
push ecx
call fcn.004040f0
add esp, 0x14
sub ebx, edi
push dword [esp + 0x10]
lea eax, [esp + 0x138]
push eax
lea eax, [ebx + edi]
push eax
call fcn.00403b70
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
add esi, dword [esp + 0x10]
mov ebx, 1
push dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x401561
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebp
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push ebp
call edi
mov eax, ebx
pop ebp
mov ecx, dword [esp + 0x530]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00402c19
add esp, 0x528
ret 8
Function at 0x40ba18
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0040b88e

Function at 0x42cb40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x22000]
push edi
or ebp, 0xffffffff
jmp 0x42cb62
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42cb69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42cb58
mov eax, 1
add ebx, ebx
jne 0x42cb7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42cb70
jne 0x42cb8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42cb70
xor ecx, ecx
sub eax, 3
jb 0x42cba0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42cc12
mov ebp, eax
add ebx, ebx
jne 0x42cbab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42cbb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42cbdc
inc ecx
add ebx, ebx
jne 0x42cbc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42cbbd
jne 0x42cbd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42cbbd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42cbfc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42cbed
jmp 0x42cb5e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42cbfc
add edi, ecx
jmp 0x42cb5e
pop esi
mov edi, esi
mov ecx, 0x10
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42cc1a
cmp byte [edi], 1
jne 0x42cc1a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x42cc1f
lea edi, [esi + 0x2a000]
mov eax, dword [edi]
or eax, eax
je 0x42cc97
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x30fb8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x30ff4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42cc4c
mov ecx, edi
jns 0x42cc7b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x30ff8]
or eax, eax
je 0x42cc91
mov dword [ebx], eax
add ebx, 4
jmp 0x42cc69
call dword [esi + 0x31008]
mov ebp, dword [esi + 0x30ffc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42cccb
sub esp, 0xffffff80
jmp 0x4011b4
Function at 0x405b1c
Capabilities:
Hide graphical window

Disassembly:
cmp byte [0x40bc16], 3
je 0x405b88
cmp byte [0x40bc16], 4
je 0x4058cc