joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413aa0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x58
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x5c]
push esi
push eax
mov eax, dword [esp + 0x68]
lea ecx, [esp + 8]
mov dword [esp + 8], 0x67452301
mov dword [esp + 0xc], 0xefcdab89
mov dword [esp + 0x10], 0x98badcfe
mov dword [esp + 0x14], 0x10325476
call fcn.004137e0
add esp, 4
lea esi, [esp + 4]
call fcn.00413900
pop esi
add esp, 0x58
ret
Function at 0x413bc0
Capabilities:
Check os version
Get system information on windows

Disassembly:
sub esp, 0x14c
push ebx
push ebp
mov ebp, dword [esp + 0x158]
push esi
xor ebx, ebx
push edi
mov dword [ebp], ebx
mov dword [ebp + 0x18], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.IsWow64Process
push str.kernel32.dll
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x413c04
xor al, al
jmp 0x413c1f
lea ecx, [esp + 0x10]
push ecx
push esi
mov dword [esp + 0x18], ebx
call eax
test eax, eax
jne 0x413c18
xor al, al
jmp 0x413c1f
cmp dword [esp + 0x10], ebx
setne al
push 0x118
lea edx, [esp + 0x48]
push ebx
push edx
mov byte [ebp + 0x20], al
mov dword [esp + 0x4c], 0x11c
call fcn.004a4620
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
add esp, 0xc
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x44]
cmp eax, 5
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [ebp + 4], eax
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], edx
jne 0x413ca8
cmp ecx, ebx
jle 0x413cd1
xor eax, eax
cmp ecx, 1
setne al
add eax, 1
mov dword [ebp], eax
jmp 0x413cd1
cmp eax, 6
jne 0x413cc8
sub ecx, ebx
je 0x413cbf
sub ecx, 1
jne 0x413cd1
mov dword [ebp], 4
jmp 0x413cd1
mov dword [ebp], 3
jmp 0x413cd1
jle 0x413cd1
mov dword [ebp], 6
movzx ecx, word [esp + 0x154]
movzx edx, word [esp + 0x156]
mov eax, dword [ebp]
cmp eax, ebx
mov dword [ebp + 0x10], ecx
mov dword [ebp + 0x14], edx
je 0x413cf3
cmp eax, 6
jne 0x413d28
lea edi, [esp + 0x14]
lea ebx, [esp + 0x18]
lea esi, [esp + 0x10]
call fcn.00413e60
test eax, eax
jne 0x413d26
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
mov dword [ebp + 4], edx
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
call fcn.00413f00
mov dword [ebp], eax
xor ebx, ebx
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x413d50
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x413d57
lea ecx, [esp + 0x1c]
push ecx
call eax
movzx eax, word [esp + 0x1c]
cmp eax, 0xc
ja case.0x413d68.1
movzx edx, byte [eax + 0x413dc0]
jmp dword [edx*4 + 0x413dac]
mov dword [ebp + 0x18], ebx
jmp case.0x413d68.1
mov dword [ebp + 0x18], 1
jmp case.0x413d68.1
mov dword [ebp + 0x18], 2
jmp case.0x413d68.1
mov dword [ebp + 0x18], 4
mov eax, dword [esp + 0x30]
mov edi, ebp
mov dword [ebp + 0x1c], eax
call fcn.00413fd0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x14c
ret 4
Function at 0x4142a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x230
cmp dword [esi + 0x14], 0x104
jb 0x4142bb
xor al, al
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [esp + 0x26]
push 0
push eax
mov word [esp + 0x2c], 0
call fcn.004a4620
add esp, 0xc
cmp dword [esi + 0x18], 8
jb 0x4142e1
mov eax, dword [esi + 4]
jmp 0x4142e4
lea eax, [esi + 4]
push eax
lea ecx, [esp + 0x24]
push 0x105
push ecx
call fcn.004a1bab
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov word [esp + 0x28], ax
add esp, 0xc
lea eax, [esp]
lea edx, [esp + 0x20]
push eax
mov dword [esp + 4], 0
mov dword [esp + 8], 3
mov dword [esp + 0xc], edx
mov word [esp + 0x14], 0x414
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp dword [esp + 0x12], 0
jne 0x4142b5
test eax, eax
je 0x414360
cmp eax, 2
je 0x414360
cmp eax, 0x402
je 0x414360
xor eax, eax
mov esp, ebp
pop ebp
ret
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x414c70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SoftwareKingsoft_antivirus_sysopt
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 4
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x414d03
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
push eax
push eax
mov eax, dword [esp + 0x10]
push str.LogLevel
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x414cf5
mov eax, dword [esp + 4]
cmp eax, 5
jae 0x414ceb
cmp eax, 3
jle 0x414ce4
mov dword [0x504dc4], 3
jmp 0x414cf5
mov dword [0x504dc4], eax
jmp 0x414cf5
mov dword [0x504dc4], 1
mov eax, dword [esp]
test eax, eax
je 0x414d03
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add esp, 0xc
ret
Function at 0x414d10
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4d8f7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x430
push ebx
xor ebx, ebx
cmp dword [0x504edc], ebx
mov dword [esp + 0x20], ebx
je 0x414d6f
push 0xffffffffffffffff
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
push ebx
mov eax, 0x504ec8
mov ecx, edi
mov word [edi + 4], bx
call fcn.0040e5b0
mov eax, edi
pop ebx
mov ecx, dword [esp + 0x430]
mov dword fs:[0], ecx
add esp, 0x43c
ret
push esi
push 0x208
lea eax, [esp + 0x2c]
push ebx
push eax
call fcn.004a4620
push 0x208
lea ecx, [esp + 0x240]
push ebx
push ecx
call fcn.004a4620
add esp, 0x18
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], ebx
mov word [esp + 0xc], bx
push 0x104
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x448], ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
call esi
test eax, eax
je 0x414e67
push ebp
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.log_
lea ecx, [esp + 0x30]
push ecx
call ebp
push ebx
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x414e04
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x414e66
push 0x104
lea eax, [esp + 0x238]
push eax
push 0x400000
call esi
test eax, eax
je 0x414e66
lea ecx, [esp + 0x234]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea edx, [esp + 0x30]
push edx
call ebp
lea eax, [esp + 0x2c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x414e40
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x30]
push eax
lea esi, [esp + 0x14]
call fcn.0040e660
mov ecx, esi
push ecx
call fcn.00416780
pop ebp
push 0xffffffffffffffff
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
push ebx
lea eax, [esp + 0x10]
mov ecx, edi
mov word [edi + 4], bx
call fcn.0040e5b0
cmp dword [esp + 0x20], 8
pop esi
jb 0x414e98
mov edx, dword [esp + 8]
push edx
call fcn.0049f15f
add esp, 4
mov ecx, dword [esp + 0x434]
mov eax, edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x43c
ret

Function at 0x415090
Capabilities:
Get file size

Disassembly:
sub esp, 0xc
mov ecx, dword [0x5092e8]
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
lea eax, [esp]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x4150b7
xor al, al
add esp, 0xc
ret
cmp dword [esp + 4], 0
ja 0x4150c7
cmp dword [esp], 0xa00000
jbe 0x4150d0
mov eax, 1
add esp, 0xc
ret
xor eax, eax
add esp, 0xc
ret
Function at 0x415200
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4da0bd
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
xor ebx, ebx
cmp byte [0x5092e2], bl
push edi
je 0x415237
mov al, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop edi
pop ebx
add esp, 0x30
ret
call fcn.00414c70
call fcn.00414ec0
mov eax, dword [0x5092ec]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp + 0x34], ebx
mov eax, dword [0x5092e8]
cmp eax, ebx
je 0x415269
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x5092e8], ebx
cmp dword [0x5092e4], ebx
jne 0x4152a5
push 0x1c
call fcn.0049fa24
add esp, 4
cmp eax, ebx
jne 0x415292
push 0x4f7e44
lea ecx, [esp + 0x13]
push ecx
mov byte [esp + 0x17], bl
call fcn.004b1663
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], ebx
mov word [eax + 4], bx
mov dword [0x5092e4], eax
lea edi, [esp + 0x10]
call fcn.00414d10
push 0xffffffffffffffff
mov byte [esp + 0x38], 1
mov ecx, dword [0x5092e4]
push ebx
call fcn.0040e5b0
mov byte [esp + 0x34], bl
cmp dword [esp + 0x28], 8
jb 0x4152d9
mov edx, dword [esp + 0x14]
push edx
call fcn.0049f15f
add esp, 4
mov eax, dword [esp + 0x3c]
cmp dword [eax], ebx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], bx
jne 0x41530c
mov eax, dword [0x5092e4]
cmp dword [eax + 0x18], 8
jb 0x415302
mov eax, dword [eax + 4]
jmp 0x415305
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.004150e0
mov ecx, dword [0x5092ec]
push ecx
mov bl, al
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [esp + 0x2c]
pop edi
mov al, bl
mov dword fs:[0], ecx
pop ebx
add esp, 0x30
ret
Function at 0x415470
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4da09e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4cc
push ebx
push ebp
mov ebp, dword [esp + 0x4e4]
push esi
push edi
lea edi, [ebp + 4]
push 0x4e32a0
push edi
mov dword [esp + 0x4ec], 1
call fcn.00418960
add esp, 8
lea eax, [esp + 0x34]
mov ecx, edi
call fcn.00416240
mov byte [esp + 0x4e4], 2
cmp dword [eax + 0x18], 8
jb 0x4154d0
mov eax, dword [eax + 4]
jmp 0x4154d3
add eax, 4
push 0xfde9
lea ecx, [esp + 0x58]
push eax
lea eax, [esp + 0x58]
mov dword [esp + 0x58], ecx
call fcn.00403a30
mov byte [esp + 0x4e4], 3
mov edx, dword [esp + 0x50]
xor ebx, ebx
mov eax, edx
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x415510
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.00407520
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x54]
cmp eax, edx
je 0x41553b
push eax
call fcn.0049f15f
add esp, 4
mov byte [esp + 0x4e4], 6
cmp dword [esp + 0x4c], 8
jb 0x415557
mov eax, dword [esp + 0x38]
push eax
call fcn.0049f15f
add esp, 4
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
call fcn.00414ec0
mov ecx, dword [0x5092ec]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [esp + 0x4e4], 7
call fcn.004150e0
test al, al
mov esi, 0x10
je 0x4155c9
mov edx, dword [0x5092e8]
push 2
push ebx
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esp + 0x2c], esi
mov eax, dword [esp + 0x18]
jae 0x4155b1
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x28]
push ebx
lea ecx, [esp + 0x34]
push ecx
push edx
push eax
mov eax, dword [0x5092e8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [esp + 0x4e4], 6
mov ecx, dword [0x5092ec]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [ebp], 4
jne 0x415621
mov eax, dword [esp + 0x28]
cmp eax, 0x400
jb 0x4155f4
mov eax, 0x400
cmp dword [esp + 0x2c], esi
mov ecx, dword [esp + 0x18]
jae 0x415602
lea ecx, [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0xdc]
push 0x400
push edx
call fcn.004a2817
add esp, 0x10
int3
cmp dword [esp + 0x2c], esi
jb 0x415634
mov eax, dword [esp + 0x18]
push eax
call fcn.0049f15f
add esp, 4
mov ecx, dword [ebp + 0x8c]
push ecx
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea esi, [edi + 0x4c]
mov ecx, esi
mov dword [esp + 0x4e4], 0xffffffff
call fcn.004161b0
push esi
mov dword [esi], vtable.std::ios_base.0
call fcn.004babaf
mov ecx, dword [esp + 0x4e0]
add esp, 4
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x4d8
ret 4
Function at 0x416900
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d9710
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x20]
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [edi + ecx], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov edx, dword [edi]
mov esi, dword [edx + 4]
add esi, edi
call fcn.00405100
mov eax, dword [esp + 0x24]
push esi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
call fcn.004182d0
cmp dword [esi + 0x28], ebx
mov word [esi + 0x30], ax
jne 0x41696d
mov eax, dword [esi + 8]
or eax, 4
and eax, 0x17
test dword [esi + 0xc], eax
mov dword [esi + 8], eax
je 0x41696d
push ebx
mov ecx, esi
call fcn.00404fc0
mov ecx, dword [esp + 0x10]
mov dword [esi + 4], ebx
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 8
Function at 0x4193b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x4193cc
mov eax, dword [ebp - 4]
jmp 0x4194a7
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x419482
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
mov edi, edi
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4e7fc0]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4e7fc0]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4e7fc0]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4e7fc0]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4e7fc0]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4e7fc0]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4e7fc0]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4e7fc0]
dec ebp
jne 0x4193ec
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x41949e
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x4e7fc0]
dec ecx
jne 0x41948c
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4196f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d5a88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0xc]
push edx
mov dl, byte [esp + 0x30]
push eax
push ecx
mov dword [esp + 0x24], 0
call fcn.00419570
mov esi, eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x18]
add esp, 0x14
test eax, eax
je 0x419752
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 8]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret
Function at 0x41a130
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d5af8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
mov dword [esi + 4], vtable.ICompressSetInStream.0
mov dword [esi + 8], vtable.ISequentialInStream.0
mov dword [esi + 0xc], vtable.ICompressSetOutStream.0
mov dword [esi + 0x10], vtable.ISequentialOutStream.0
mov dword [esi + 0x14], vtable.IOutStreamFlush.0
mov dword [esi + 0x18], vtable.ICryptoSetPassword.0
mov dword [esi + 0x1c], vtable.ICompressSetCoderProperties.0
mov dword [esi + 0x20], vtable.ICompressWriteCoderProperties.0
mov dword [esi + 0x24], vtable.ICryptoResetInitVector.0
mov dword [esi + 0x28], vtable.ICompressSetDecoderProperties2.0
push edi
xor edi, edi
mov dword [esi + 0x2c], edi
mov dword [esi], vtable.CFilterCoder.0
mov dword [esi + 4], vtable.CFilterCoder.1.0
mov dword [esi + 8], vtable.CFilterCoder.2.0
mov dword [esi + 0xc], vtable.CFilterCoder.3.0
mov dword [esi + 0x10], vtable.CFilterCoder.4.0
mov dword [esi + 0x14], vtable.CFilterCoder.5.0
mov dword [esi + 0x18], vtable.CFilterCoder.6.0
mov dword [esi + 0x1c], vtable.CFilterCoder.7.0
mov dword [esi + 0x20], vtable.CFilterCoder.8.0
mov dword [esi + 0x24], vtable.CFilterCoder.9.0
mov dword [esi + 0x28], vtable.CFilterCoder.10.0
mov dword [esi + 0x34], edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
push 4
push 0x1000
push 0x20000
push edi
mov byte [esp + 0x24], 7
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp eax, edi
mov dword [esi + 0x30], eax
jne 0x41a235
push 0x4f7d84
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 1
call fcn.004b1663
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x41ace0
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push ecx
push 0x41c1f0
push 0
push 0
call fcn.004a32a5
mov edx, dword [esp + 0x20]
add esp, 0x18
test eax, eax
mov dword [edx], eax
je 0x41ad09
xor eax, eax
pop ecx
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41ad18
mov eax, 1
pop ecx
ret 4
Function at 0x41b050
Capabilities:
Read file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d6628
push eax
mov dword fs:[0], esp
mov eax, dword [edi + 0x10]
sub esp, 0x18
push ebx
push ebp
push esi
or esi, 0xffffffff
cmp eax, esi
je 0x41b083
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41b0fa
mov dword [edi + 0x10], esi
mov eax, dword [edi + 0x18]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], esi
jbe 0x41b0c3
mov ecx, dword [edi + 0x14]
mov ebx, dword [esp + 0x34]
call fcn.0041c190
test eax, eax
jne 0x41b0ff
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x14]
push 0x50b040
push eax
mov ecx, esi
call dword [0x509000]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x18], eax
cmp byte [edi + 0x28], 0
je 0x41b1a0
mov dword [esp + 0xc], esi
mov dword [esp + 0x2c], 0
mov eax, dword [edi + 0x1c]
push eax
lea esi, [esp + 0x10]
call fcn.00445440
test al, al
jne 0x41b113
mov eax, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x41b0fa
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x80004005
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
cmp ebp, dword [edi + 0x34]
ja 0x41b197
jb 0x41b123
mov ecx, dword [esp + 0x18]
cmp ecx, dword [edi + 0x30]
jae 0x41b197
mov eax, dword [edi + 0x14]
push 0
lea edx, [esp + 0x18]
push edx
push 0x100000
push eax
mov eax, dword [esp + 0x1c]
push eax
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41b1d9
mov esi, dword [esp + 0x14]
test esi, esi
je 0x41b197
mov ecx, dword [edi + 0x14]
mov ebx, dword [esp + 0x34]
mov eax, esi
call fcn.0041c190
mov ebx, eax
test ebx, ebx
jne 0x41b1e7
mov edx, dword [edi + 0x14]
mov ecx, dword [esp + 0x10]
push 0x50b040
push esi
call dword [0x509000]
add dword [esp + 0x18], esi
mov dword [esp + 0x10], eax
adc ebp, ebx
cmp ebp, dword [edi + 0x34]
jb 0x41b123
ja 0x41b197
mov ecx, dword [esp + 0x18]
cmp ecx, dword [edi + 0x30]
jb 0x41b123
lea esi, [esp + 0xc]
call fcn.00419d60
mov edx, dword [esp + 0x10]
cmp dword [edi + 0x38], edx
jne 0x41b0fa
mov eax, dword [esp + 0x18]
cmp eax, dword [edi + 0x30]
jne 0x41b0fa
cmp ebp, dword [edi + 0x34]
jne 0x41b0fa
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
lea esi, [esp + 0xc]
call fcn.00419d60
jmp 0x41b0fa
lea esi, [esp + 0xc]
call fcn.00419d60
mov ecx, dword [esp + 0x24]
pop esi
pop ebp
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 4
Function at 0x41f530
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
push ebx
xor bl, bl
lea eax, [esp + 4]
push eax
mov byte [esi + 0x1c], bl
mov byte [esi + 0x32], 1
mov byte [esi + 0x33], bl
mov byte [esi + 0x34], bl
mov byte [esi + 0x35], bl
mov byte [esi + 0x36], bl
mov byte [esi + 0x37], 1
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x18]
or eax, 0xffffffff
mov byte [esi + 0x40], bl
mov byte [esi + 0x31], bl
mov byte [esi + 0x30], bl
mov dword [esi], ecx
mov dword [esi + 0x3c], 5
mov byte [esi + 0x38], 1
mov dword [esi + 4], 4
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
pop ebx
add esp, 0x24
ret

Function at 0x420e30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
push esi
mov dword [eax + 0x30], edx
mov dword [eax + 0x4c], edx
mov dword [eax + 0x20], edx
mov dword [eax + 0x2c], 0x20
mov dword [eax + 0x54], 1
mov dword [eax + 0x48], 4
mov dword [eax + 0x58], edx
lea esi, [eax + 0x70]
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [esi], ecx
add edx, 1
add esi, 4
cmp edx, 0x100
jb 0x420e57
pop esi
ret

Function at 0x425480
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor eax, eax
or ecx, 0x100
push edi
lea ebx, [ebx]
mov ebx, ecx
shr ebx, 7
mov edi, ecx
shr edi, 8
movzx edi, word [esi + edi*2]
and ebx, 1
neg ebx
sar ebx, 4
shr edi, 4
and ebx, 0x7f
xor edi, ebx
add eax, dword [edx + edi*4]
add ecx, ecx
cmp ecx, 0x10000
jb 0x425490
pop edi
pop ebx
ret

Function at 0x4254c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, eax
mov edx, 0x100
xor eax, eax
or ecx, edx
mov edi, edi
add esi, esi
mov ebx, edx
and ebx, esi
add ebx, edx
mov ebp, ecx
shr ebp, 8
add ebp, ebx
mov ebx, dword [esp + 0x10]
movzx ebx, word [ebx + ebp*2]
mov ebp, ecx
shr ebp, 7
and ebp, 1
neg ebp
shr ebx, 4
sar ebp, 4
and ebp, 0x7f
xor ebx, ebp
add eax, dword [edi + ebx*4]
add ecx, ecx
mov ebx, ecx
xor ebx, esi
not ebx
and edx, ebx
cmp ecx, 0x10000
jb 0x4254d0
pop esi
pop ebp
pop ebx
ret