joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e7990
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x10]
mov cl, byte [ebx]
mov eax, ebp
imul eax, dword [esp + 0x14]
test cl, cl
je 0x4e79d1
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push 0
push ecx
push eax
mov eax, dword [ebx + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4e79c6
mov byte [ebx + 8], 1
mov eax, dword [esp + 0xc]
xor edx, edx
div ebp
pop ebp
pop ebx
ret
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
push esi
push edi
lea esi, [edx + eax]
cmp esi, ecx
jbe 0x4e79e4
sub ecx, edx
mov eax, ecx
mov esi, dword [ebx + 0x14]
mov edi, dword [esp + 0x14]
mov ecx, eax
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xor edx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x1c]
pop edi
add ecx, eax
pop esi
div ebp
mov dword [ebx + 0x1c], ecx
pop ebp
pop ebx
ret
Function at 0x4e86c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
xor ebx, ebx
cmp edi, ebx
jne 0x4e86dc
pop edi
pop esi
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
cmp dword [edi + 0x18], ebx
jne 0x4e86ed
pop edi
pop esi
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
cmp dword [edi + 0x7c], ebx
je 0x4e86fb
push edi
call fcn.004e8bd0
add esp, 4
lea eax, [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
push edi
call fcn.004e84c0
add esp, 0x10
test eax, eax
je 0x4e8723
pop edi
pop esi
mov eax, 0xffffff99
pop ebx
add esp, 8
ret
push 0x84
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x4e8742
pop edi
pop esi
mov eax, 0xffffff98
pop ebx
add esp, 8
ret
push 0x4000
call sub.MFC42.DLL_operatornew
mov dword [esi], eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x44], ecx
mov edx, dword [esp + 0x10]
add esp, 4
cmp eax, ebx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
jne 0x4e877b
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, 0xffffff98
pop edi
pop esi
pop ebx
add esp, 8
ret
mov dword [esi + 0x40], ebx
mov edx, dword [edi + 0x34]
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp edx, ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
sete al
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
cmp eax, ebx
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
jne 0x4e87c9
lea eax, [esi + 4]
mov dword [esi + 0x24], ebx
push eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.004e7220
add esp, 4
test eax, eax
jne 0x4e87c9
mov dword [esi + 0x40], 1
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x58], ecx
mov edx, dword [edi + 0x44]
mov dword [esi + 0x5c], edx
mov al, byte [edi + 0x30]
and al, 1
mov byte [esi + 0x6c], al
mov ecx, dword [edi + 0x30]
shr ecx, 3
test cl, 1
je 0x4e87f6
mov edx, dword [edi + 0x38]
shr edx, 8
mov byte [esi + 0x80], dl
jmp 0x4e8802
mov eax, dword [edi + 0x3c]
shr eax, 0x18
mov byte [esi + 0x80], al
mov cl, byte [esi + 0x6c]
push ebp
mov ebp, dword [esp + 0x20]
lea ebx, [esi + 0x70]
neg cl
sbb ecx, ecx
mov dword [ebx], 0x12345678
and ecx, 0xc
mov dword [esi + 0x74], 0x23456789
test ebp, ebp
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x78], 0x34567890
je 0x4e8843
mov al, byte [ebp]
test al, al
je 0x4e8843
push eax
push ebx
call fcn.004e6f40
add esp, 8
inc ebp
jne 0x4e882f
mov edx, dword [edi + 0x78]
mov eax, dword [esp + 0x14]
mov dword [esi + 8], 0
pop ebp
lea ecx, [edx + eax + 0x1e]
xor eax, eax
mov dword [esi + 0x3c], ecx
mov dword [edi + 0x7c], esi
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x4e8da0
Capabilities:
Get common file path

Disassembly:
push ecx
push ebp
mov ebp, ecx
push esi
push edi
cmp dword [ebp], 0
jne 0x4e8e82
cmp dword [ebp + 4], 0xffffffff
jne 0x4e8e82
push ebx
lea ebx, [ebp + 0x13c]
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov cl, byte [ecx + ebp + 0x13b]
cmp cl, 0x5c
je 0x4e8e12
cmp cl, 0x2f
je 0x4e8e12
mov edi, 0x627838
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
cmp edi, 1
pop ebx
jne 0x4e8e3e
push 1
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4e8e3e
pop edi
pop esi
mov eax, 0x2000000
pop ebp
pop ecx
ret 0xc
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
push edi
push ecx
push esi
call fcn.004e7740
add esp, 0x10
test eax, eax
jne 0x4e8e61
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
pop ecx
ret 0xc
push eax
call fcn.004e7d10
add esp, 4
mov dword [ebp], eax
neg eax
sbb eax, eax
pop edi
and eax, 0xfffffe00
pop esi
add eax, 0x200
pop ebp
pop ecx
ret 0xc
pop edi
pop esi
mov eax, 0x1000000
pop ebp
pop ecx
ret 0xc

Function at 0x4e9480
Capabilities:
Create directory

Disassembly:
sub esp, 0x208
push esi
mov esi, dword [esp + 0x214]
mov al, byte [esi]
test al, al
je 0x4e9552
push ebx
push ebp
push edi
mov ebx, esi
mov ecx, esi
cmp al, 0x2f
je 0x4e94a7
cmp al, 0x5c
jne 0x4e94a9
mov ebx, ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x4e949f
mov ebp, dword [esp + 0x21c]
cmp ebx, esi
mov edx, ebx
je 0x4e94ec
mov eax, ebx
lea edi, [esp + 0x10]
sub eax, esi
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [esp + eax + 0x10], 0
lea eax, [esp + 0x10]
push eax
push ebp
call fcn.004e9480
add esp, 8
lea edx, [ebx + 1]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0x114]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
lea ebx, [esp + 0x114]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x118]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x208
ret
Function at 0x5371f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59e581
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea edx, [esp + 0x10]
mov ecx, dword [eax]
push ecx
push ebx
push edx
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
lea eax, [esp + 0x20]
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.00538090
mov esi, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], edx
je 0x53729b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x537292
cmp al, 0xff
je 0x537292
dec al
mov byte [ecx], al
jmp 0x53729b
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x5372cc
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x5372c3
cmp al, 0xff
je 0x5372c3
dec al
mov byte [ecx], al
jmp 0x5372cc
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x401000
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x29bc
call fcn.004121e0
mov eax, dword [0x41a004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
or eax, 0xffffffff
mov byte [0x41b2d8], 0
push esi
mov dword [ebp - 0x29bc], eax
lea eax, [ebp - 0x29b4]
push edi
push eax
lea eax, [ebp - 0x29b0]
mov byte [ebp - 0x29b5], 0
push eax
mov dword [ebp - 0x29b4], 0x2880
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea edi, [ebp - 0x29b0]
mov ecx, 0x418ebc
nop word [eax + eax]
mov ebx, dword [edi + 0x1a0]
xor esi, esi
mov byte [ebp - 0x130], 0
cmp dword [edi + 0x190], esi
jle 0x4010df
nop word [eax + eax]
movzx eax, byte [edi + esi + 0x194]
push eax
push str._02X
lea eax, [ebp - 0x18]
push 0x14
push eax
call fcn.00401310
add esp, 0x10
test esi, esi
je 0x4010b9
push 0x418eb4
lea eax, [ebp - 0x130]
push 0xb4
push eax
call fcn.00404e98
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x130]
push 0xb4
push eax
call fcn.00404e98
inc esi
add esp, 0xc
cmp esi, dword [edi + 0x190]
jl 0x401080
mov ecx, 0x418ebc
cmp byte [0x41b2d4], 0
mov esi, dword [ebp - 0x29bc]
je 0x40112a
cmp ebx, 6
mov eax, 0x418eb8
cmovne eax, ecx
cmp byte [ebp - 0x29b5], 0
push eax
mov eax, 0x418eb8
cmove eax, ecx
push eax
push esi
push dword [edi + 0x19c]
lea eax, [ebp - 0x130]
push eax
push 0x41b2d8
push 0x418ec0
call fcn.004012d0
add esp, 0x1c
lea eax, [edi + 0x10c]
push eax
lea eax, [ebp - 0x7c]
push 0x64
push eax
call fcn.0040504d
mov al, byte [ebp - 0x7c]
lea edx, [ebp - 0x7c]
add esp, 0xc
test al, al
je 0x401164
nop dword [eax]
lea ecx, [eax - 0x61]
cmp cl, 0x19
ja 0x40115c
sub al, 0x20
mov byte [edx], al
mov al, byte [edx + 1]
inc edx
test al, al
jne 0x401150
cmp ebx, 6
jne 0x401224
push 0xb
lea eax, [ebp - 0x7c]
push str.VIRTUALBOX
push eax
call fcn.004050b0
add esp, 0xc
test eax, eax
je 0x401224
lea eax, [ebp - 0x7c]
push str.BLUETOOTH
push eax
call fcn.00401e80
add esp, 8
test eax, eax
jne 0x401224
lea eax, [ebp - 0x7c]
push str.WIRELESS
push eax
call fcn.00401e80
add esp, 8
test eax, eax
jne 0x401224
lea eax, [ebp - 0x7c]
push str.WI_FI
push eax
call fcn.00401e80
add esp, 8
test eax, eax
jne 0x401224
lea eax, [ebp - 0x7c]
push str.WIFI
push eax
call fcn.00401e80
add esp, 8
test eax, eax
jne 0x401224
cmp byte [ebp - 0x130], al
je 0x401224
cmp byte [ebp - 0x29b5], al
je 0x4011f8
cmp dword [edi + 0x19c], esi
jge 0x401224
lea eax, [ebp - 0x130]
push eax
push 0xb4
push 0x41b2d8
call fcn.0040504d
mov eax, dword [edi + 0x19c]
add esp, 0xc
mov dword [ebp - 0x29bc], eax
mov byte [ebp - 0x29b5], 1
mov edi, dword [edi]
mov ecx, 0x418ebc
test edi, edi
jne 0x401060
mov ecx, dword [ebp - 4]
mov eax, 0x41b2d8
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040133f
mov esp, ebp
pop ebp
ret

Function at 0x401b44
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x411f0d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x411f0d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4082e8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x44d1fc], 0
mov ebp, esp
push edi
mov ecx, dword [ebp + 0xc]
push esi
push ebx
mov ebx, dword [ebp + 0x10]
jne 0x408329
xor edx, edx
mov eax, edx
mov esi, 8
mov edi, eax
and eax, 1
neg eax
shr edi, 1
and eax, 0xedb88320
xor eax, edi
dec esi
jne 0x408306
mov dword [edx*4 + 0x44d1f8], eax
inc edx
cmp edx, 0x100
jne 0x4082ff
mov eax, dword [ebp + 8]
not eax
jmp 0x408343
mov dl, byte [ecx]
dec ebx
inc ecx
xor edx, eax
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0x44d1f8]
test ebx, ebx
jne 0x408330
pop ebx
not eax
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x19db654
Capabilities:
Execute anti-debugging instructions

Disassembly:
sar ah, cl
lea eax, [edi + 0x50]
cmp cx, sp
pushfd
cmp ebp, eax
jmp 0x19dcd26
lea esp, [esp + 8]
ja 0x19db97f
rdtsc
add dl, al
rdtsc
mov dh, al
mov edx, esp
ror eax, cl
adc ah, 0xce
sar ch, 2
lea ecx, [edi + 0x40]
daa
movsx ax, cl
sub ecx, edx
cmp si, 0x6e4f
lea eax, [ebp - 0x80]
not di
push esi
shrd di, sp, cl
and al, 0xfc
xor edi, 0x570ffcb9
xor di, di
sub eax, ecx
pushal
not di
pop edi
mov esp, eax
movzx di, al
movzx di, dl
pushfd
mov di, bx
call fcn.019dd950
jmp 0x19dca8f

Function at 0x409ebd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x409ebd
lcall 0x5de5, 0x8b10c483
jmp fcn.0076d6b4
Function at 0x401078
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x5c8]
sub esp, 0x648
mov eax, dword [0x417030]
xor eax, ebp
mov dword [ebp + 0x5c4], eax
mov eax, dword [ebp + 0x5d0]
push ebx
push esi
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x5d8]
push edi
mov dword [ebp - 0x64], eax
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp + 0x3bc], ax
xor ebx, ebx
lea eax, [ebp + 0x3be]
push ebx
push eax
call fcn.00407180
add esp, 0xc
lea eax, [ebp + 0x3bc]
push eax
mov edi, 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x40111e
xor eax, eax
push esi
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x52]
push ebx
push eax
call fcn.00407180
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.12au_x
lea eax, [ebp - 0x54]
push edi
push eax
call fcn.00405c73
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp + 0x3bc]
push edi
push eax
call fcn.00405d0e
add esp, 0x1c
mov ecx, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
mov dword [ebp - 0x58], ebx
call fcn.0040165a
cmp eax, ebx
je 0x401206
lea ecx, [ebp - 0x60]
push ecx
mov esi, eax
mov dword [ebp - 0x60], ebx
call fcn.0040185e
pop ecx
cmp eax, ebx
je 0x40115a
lea ecx, [ebp + 0x3bc]
push ecx
push dword [ebp - 0x60]
mov ecx, eax
call fcn.004033ff
pop ecx
pop ecx
cmp dword [ebp - 0x58], ebx
je 0x401168
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 0x204
lea eax, [ebp + 0x1b8]
push ebx
push eax
mov dword [ebp + 0x1b4], 0x30
call fcn.00407180
push 0xffffffffffffffff
lea eax, [ebp + 0x3bc]
push eax
lea eax, [ebp + 0x1b4]
push edi
push eax
call fcn.00405ba0
push 0x412cdc
lea eax, [ebp + 0x1b4]
push edi
push eax
call fcn.00405d0e
push 0x412ce0
lea eax, [ebp + 0x1b4]
push edi
push eax
call fcn.00405d0e
add esp, 0x34
lea eax, [ebp + 0x1b4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, ebx
je 0x401206
push str.InstallerModuleEntry
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4011f8
push dword [ebp - 0x64]
lea ecx, [ebp + 0x3bc]
push ecx
push dword [ebp - 0x5c]
call eax
add esp, 0xc
jmp 0x4011fd
call fcn.00401000
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x40120b
call fcn.00401000
lea eax, [ebp + 0x3bc]
push eax
lea esi, [ebp - 0x80]
call fcn.00401245
mov eax, esi
call fcn.004019f9
push ebx
push 1
call fcn.004012e9
mov ecx, dword [ebp + 0x5c4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00405b91
add ebp, 0x5c8
leave
ret 0x10
Function at 0x401ba8
Capabilities:
Enumerate files on windows

Disassembly:
push 0x294
mov eax, 0x410cf4
call fcn.00407916
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
mov dword [ebp - 0x268], ecx
jb 0x401bcb
mov eax, dword [eax + 4]
jmp 0x401bce
add eax, 4
lea ecx, [ebp - 0x264]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor ebx, ebx
mov edi, eax
inc ebx
cmp edi, 0xffffffff
je 0x401c97
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x412d34
lea eax, [ebp - 0x238]
push eax
call esi
test eax, eax
je 0x401c81
push 0x412d38
lea eax, [ebp - 0x238]
push eax
call esi
test eax, eax
je 0x401c81
cmp byte [ebp + 0xc], 0
je 0x401c49
test byte [ebp - 0x264], 0x10
je 0x401c81
lea eax, [ebp - 0x238]
push eax
lea esi, [ebp - 0x284]
call fcn.00401245
and dword [ebp - 4], 0
mov eax, esi
push eax
mov eax, dword [ebp - 0x268]
call fcn.00401f35
jmp 0x401c75
test byte [ebp - 0x264], 0x10
jne 0x401c81
lea eax, [ebp - 0x238]
push eax
lea esi, [ebp - 0x2a0]
call fcn.00401245
mov eax, esi
push eax
mov eax, dword [ebp - 0x268]
mov dword [ebp - 4], ebx
call fcn.00401f35
or dword [ebp - 4], 0xffffffff
push 0
push ebx
call fcn.004012e9
lea eax, [ebp - 0x264]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, ebx
je 0x401bea
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, bl
call fcn.00407999
ret

Function at 0x403301
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x417030]
xor eax, ebp
mov dword [ebp - 4], eax
test esi, esi
je 0x4033f1
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jl 0x4033f1
push edi
xor eax, eax
push 0x4e
push eax
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x52]
push eax
call fcn.00407180
movzx eax, byte [ebp - 0x25d]
push eax
movzx eax, byte [ebp - 0x25e]
push eax
movzx eax, byte [ebp - 0x25f]
push eax
movzx eax, byte [ebp - 0x260]
push eax
movzx eax, byte [ebp - 0x261]
push eax
movzx eax, byte [ebp - 0x262]
push eax
movzx eax, byte [ebp - 0x263]
push eax
movzx eax, byte [ebp - 0x264]
push eax
movzx eax, word [ebp - 0x266]
push eax
movzx eax, word [ebp - 0x268]
push eax
push dword [ebp - 0x26c]
lea edi, [ebp - 0x54]
push str._08X__04X__04x__02X_02X__02X_02X_02X_02X_02X_02X
push 0x28
pop ecx
call fcn.00403268
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x25c], ax
lea eax, [ebp - 0x25a]
push eax
call fcn.00407180
add esp, 0x48
lea eax, [ebp - 0x25c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, edi
push eax
lea eax, [ebp - 0x25c]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
xor eax, eax
inc eax
pop edi
jmp 0x4033f3
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405b91
leave
ret
Function at 0x4054c8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, eax
test edx, edx
jne 0x4054d3
xor eax, eax
pop edi
ret
or eax, 0xffffffff
push esi
mov ecx, 0xff
cmp edi, 8
jb 0x405586
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4142e0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4142e0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4142e0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4142e0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4142e0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4142e0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4142e0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4142e0]
inc edx
sub edi, 8
dec esi
jne 0x4054eb
pop ebx
test edi, edi
je 0x40559f
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x4142e0]
inc edx
dec edi
jne 0x40558a
pop esi
not eax
pop edi
ret

Function at 0x405b91
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x417030]
jne 0x405b9b
repz ret
jmp fcn.004079b7
Function at 0xa1a058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xa1a1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xa1a07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa1a06a
add dl, dl
jne 0xa1a089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa1a0dc
xor eax, eax
add dl, dl
jne 0xa1a096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa1a17d
add dl, dl
jne 0xa1a0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa1a0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa1a0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa1a0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xa1a0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xa1a075
mov eax, 1
add dl, dl
jne 0xa1a0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa1a0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa1a0e1
sub eax, ebx
mov ebx, 1
jne 0xa1a128
mov ecx, 1
add dl, dl
jne 0xa1a10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa1a119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa1a105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa1a075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xa1a13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa1a14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa1a136
cmp eax, 0x7d00
jae 0xa1a16d
cmp eax, 0x500
jb 0xa1a168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa1a075
cmp eax, 0x7f
ja 0xa1a170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa1a075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xa1a19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xa1a075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x937570
Capabilities:
Encode data using xor

Disassembly:
jmp 0x93757a
pushal
call 0x937580
pop ebp
sub ebp, 0x10
sub ebp, 0x537570
jmp 0x937596
mov eax, 0x537570
add eax, ebp
add eax, 0x4c
mov ecx, 0x613
mov edx, 0xab1d20f7
xor byte [eax], dl
inc eax
dec ecx
jne 0x9375ad
jmp 0x9375c0
jl 0x9375fc
jl 0x937642
retf
ror byte [eax], 1
invalid
sal ebx, cl
div edi
neg dword [edi - 0x8067431]
lahf
iretd
Function at 0x79d9a0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x79d9aa
pushal
call 0x79d9b0
pop ebp
sub ebp, 0x10
sub ebp, 0x39d9a0
jmp 0x79d9c6
mov eax, 0x39d9a0
add eax, ebp
add eax, 0x4c
mov ecx, 0x601
mov edx, 0x62b6dba1
xor byte [eax], dl
inc eax
dec ecx
jne 0x79d9dd
jmp 0x79d9f0
sub ch, byte [edx + ebp + 0x28]
popfd
mov eax, dword [0x6020a1a1]
pop ecx
mov eax, dword [0x6ca2a1a1]
sbb dword [ebx + 0x1ba1a1a1], esp
mov dword [ecx + 0x4356a1a1], esp
mov byte [0xad202a69], al
mov eax, dword [0x64a2a1a1]
int1
int1
leave
frstor dword [edi + ebp*4]
mov eax, dword [0x8af585c9]
mov eax, dword [0xc9858da0]
invalid

Function at 0x408933
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x4085d8
pop edx
call fcn.0040896a
add ebx, edi
sub edi, ebx
xor dword [ecx], edx
add ecx, 1
sub ebx, 1
or ebx, edi
cmp ecx, eax
jne fcn.00408933
mov ebx, 0x1878965c
push edi
pop edi
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6a
sub eax, 0x403d10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219