joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429992
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x4299d7
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x4299d7
xor edx, edx
mov eax, esi
shl eax, 3
push 6
pop ecx
div ecx
mov ecx, esi
shl ecx, 3
mov edx, eax
imul edx, edx, 6
sub ecx, edx
dec ecx
dec ecx
je 0x4299ca
dec ecx
dec ecx
jne 0x4299cd
inc eax
inc eax
jmp 0x4299cd
add eax, 3
mov ecx, dword [ebp + 0xc]
inc eax
cmp dword [ecx], eax
jae 0x4299de
mov dword [ecx], eax
push 0xfffffffffffffff0
pop eax
pop edi
pop esi
leave
ret
push ebx
xor edx, edx
push 3
pop ecx
mov eax, esi
div ecx
mov ecx, dword [ebp + 8]
xor edx, edx
imul eax, eax, 3
test eax, eax
jbe 0x429a62
dec eax
push 3
pop esi
div esi
inc eax
mov dword [ebp + 0x10], eax
imul eax, eax, 3
mov dword [ebp - 4], eax
movzx esi, byte [edi]
inc edi
movzx eax, byte [edi]
mov ebx, esi
shr ebx, 2
and ebx, 0x3f
mov bl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc edi
movzx edx, byte [edi]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 4
shl esi, 4
add ebx, esi
and ebx, 0x3f
mov bl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov esi, edx
shr esi, 6
inc edi
inc ecx
mov byte [ecx], bl
lea eax, [esi + eax*4]
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
and edx, 0x3f
mov al, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
dec dword [ebp + 0x10]
jne 0x429a04
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp - 4]
cmp edx, esi
jae 0x429ab7
movzx eax, byte [edi]
inc edx
cmp edx, esi
jae 0x429a74
movzx edi, byte [edi + 1]
jmp 0x429a76
xor edi, edi
mov ebx, eax
shr ebx, 2
and ebx, 0x3f
mov bl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], bl
shl eax, 4
mov ebx, edi
shr ebx, 4
add ebx, eax
and ebx, 0x3f
mov al, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
cmp edx, esi
jae 0x429aaf
and edi, 0xf
mov al, byte [edi*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
jmp 0x429ab2
mov byte [ecx], 0x3d
inc ecx
mov byte [ecx], 0x3d
inc ecx
mov edx, dword [ebp + 0xc]
mov eax, ecx
sub eax, dword [ebp + 8]
pop ebx
mov dword [edx], eax
mov byte [ecx], 0
xor eax, eax
jmp 0x4299da
Function at 0x429acc
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
test ebx, ebx
je 0x429bef
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x429bef
xor ecx, ecx
xor edi, edi
xor esi, esi
test edx, edx
jbe 0x429b4d
mov eax, edx
sub eax, esi
cmp eax, 2
jb 0x429b09
cmp byte [esi + ebx], 0xd
jne 0x429b09
cmp byte [esi + ebx + 1], 0xa
je 0x429b44
mov al, byte [esi + ebx]
cmp al, 0xa
je 0x429b44
cmp al, 0x3d
jne 0x429b1e
inc edi
cmp edi, 2
ja 0x429bef
cmp al, 0x7f
ja 0x429bef
movzx eax, al
mov al, byte [eax + 0x436280]
cmp al, 0x7f
je 0x429bef
cmp al, 0x40
jae 0x429b43
test edi, edi
jne 0x429bef
inc ecx
inc esi
cmp esi, edx
jb 0x429af3
test ecx, ecx
jne 0x429b54
xor eax, eax
jmp 0x429bf2
imul ecx, ecx, 6
add ecx, 7
shr ecx, 3
mov eax, ecx
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], eax
jae 0x429b6f
mov dword [ecx], eax
push 0xfffffffffffffff0
jmp 0x429bf1
mov eax, dword [ebp + 8]
xor edx, edx
push 3
pop edi
mov dword [ebp - 4], edx
test esi, esi
jbe 0x429be5
mov cl, byte [ebx]
cmp cl, 0xd
je 0x429bd9
cmp cl, 0xa
je 0x429bd9
movzx ecx, cl
mov cl, byte [ecx + 0x436280]
xor ebx, ebx
cmp cl, 0x40
sete bl
movzx ecx, cl
and ecx, 0x3f
shl edx, 6
or edx, ecx
sub edi, ebx
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
jne 0x429bd6
and dword [ebp - 4], 0
test edi, edi
jbe 0x429bc1
mov ecx, edx
shr ecx, 0x10
mov byte [eax], cl
inc eax
cmp edi, 1
jbe 0x429bce
mov ecx, edx
shr ecx, 8
mov byte [eax], cl
inc eax
cmp edi, 2
jbe 0x429bd6
mov byte [eax], dl
inc eax
mov ebx, dword [ebp + 0x10]
dec esi
inc ebx
mov dword [ebp + 0x10], ebx
test esi, esi
ja 0x429b7e
mov ecx, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
mov dword [ecx], eax
jmp 0x429b4d
push 0xffffffffffffffee
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42a09e
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x118
sub eax, 0x80
push edi
je 0x42a0da
sub eax, 0x40
je 0x42a0cf
sub eax, 0x40
je 0x42a0c4
or eax, 0xffffffff
jmp 0x42a1ba
mov edi, dword [ebp + 8]
mov dword [edi], 0xe
jmp 0x42a0e3
mov edi, dword [ebp + 8]
mov dword [edi], 0xc
jmp 0x42a0e3
mov edi, dword [ebp + 8]
mov dword [edi], 0xa
push esi
push dword [ebp + 0x10]
lea eax, [ebp - 0x118]
push dword [ebp + 0xc]
lea esi, [edi + 8]
push eax
mov dword [edi + 4], esi
call fcn.00429e1a
mov eax, dword [ebp - 0x118]
shl eax, 4
add eax, dword [ebp - 0x114]
add esp, 0xc
mov ecx, dword [eax]
mov dword [esi], ecx
push 4
pop ecx
add eax, ecx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
add eax, ecx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
add eax, ecx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
mov edi, dword [edi]
add esi, ecx
dec edi
sub eax, 0x1c
test edi, edi
jle 0x42a19d
push ebx
mov dword [ebp + 0x10], ecx
movzx edx, byte [eax + 3]
movzx edx, byte [edx + str.cw]
movzx ebx, byte [eax + 2]
movzx ebx, byte [ebx + str.cw]
mov edx, dword [edx*4 + 0x438100]
xor edx, dword [ebx*4 + 0x437d00]
movzx ebx, byte [eax + 1]
movzx ebx, byte [ebx + str.cw]
xor edx, dword [ebx*4 + 0x437900]
mov ebx, dword [eax]
and ebx, 0xff
movzx ebx, byte [ebx + str.cw]
xor edx, dword [ebx*4 + 0x437500]
add eax, ecx
mov dword [esi], edx
add esi, ecx
dec dword [ebp + 0x10]
jne 0x42a13d
dec edi
sub eax, 0x20
test edi, edi
jg 0x42a13a
pop ebx
mov edx, dword [eax]
mov dword [esi], edx
add eax, ecx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
add esi, ecx
add eax, ecx
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
xor eax, eax
pop esi
pop edi
leave
ret
Function at 0x42ae47
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x445bbc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x42ae75
xor al, al
jmp 0x42aed4
push 0x228
lea eax, [ebp - 0x22c]
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x42aec3
lea eax, [ebp - 0x20c]
push eax
push edi
call sub.MSVCR90.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
je 0x42aec9
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42aea3
jmp 0x42aecb
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00428868
leave
ret

Function at 0x42b1ac
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push dword [ebp + 0xc]
mov esi, ecx
lea ecx, [esi + 8]
mov dword [esi + 4], eax
call dword [0x434330]
push dword [ebp + 0x10]
lea ecx, [esi + 0x24]
call fcn.00417fad
push dword [ebp + 0x14]
lea ecx, [esi + 0x3c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x64], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x68], eax
mov eax, dword [ebp + 0x20]
mov dword [esi + 0x6c], eax
xor eax, eax
push eax
push eax
push esi
push 0x42af20
push eax
push eax
call dword [sym.imp.MSVCR90.dll__beginthreadex]
add esp, 0x18
mov al, 1
pop esi
pop ebp
ret 0x1c
Function at 0x42bcce
Capabilities:
Get disk information

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x445bbc]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x40
mov eax, 0x4315fe
call fcn.00428d8c
mov edi, dword [ebp + 0x214]
mov esi, dword [ebp + 0x218]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], ebx
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
mov dword [ebp - 0x14], edi
call sub.MSVCR90.dll_memset
lea eax, [ebp - 0x4c]
push esi
push eax
call fcn.0041701f
add esp, 0x14
cmp dword [eax + 0x18], 8
jb 0x42bd33
mov eax, dword [eax + 4]
jmp 0x42bd36
add eax, 4
push 0x104
lea ecx, [ebp]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea eax, [ebp - 0x30]
xor esi, esi
push eax
inc esi
push edi
mov dword [ebp - 4], esi
call fcn.0042bc5a
pop ecx
pop ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00428868
add ebp, 0x20c
leave
ret
Function at 0x42d11e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
push 0x438f98
push dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 4], edi
call dword [sym.imp.MSVCR90.dll__wfopen]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x42d162
push ebx
push 1
push 2
push 0x4385f0
call dword [sym.imp.MSVCR90.dll_fwrite]
add esp, 0x10
cmp eax, 1
je 0x42d16b
push ebx
call dword [sym.imp.MSVCR90.dll_fclose]
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
lea esi, [edi + 4]
push esi
push dword [esi + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00417d55
push esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x24]
call fcn.00417d55
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
call fcn.00419319
test al, al
jne 0x42d267
mov edi, dword [sym.imp.MSVCR90.dll_fwprintf]
lea ecx, [ebp - 0x14]
call fcn.00424ab2
mov esi, eax
cmp dword [esi + 0x18], 8
jb 0x42d1b5
mov eax, dword [esi + 4]
jmp 0x42d1b8
lea eax, [esi + 4]
push eax
push str.__s__r_n
push ebx
call edi
add esp, 0xc
test eax, eax
jl 0x42d15a
add esi, 0x1c
push esi
push dword [esi + 0xc]
lea ecx, [ebp - 0xc]
call fcn.00417d55
push esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x1c]
call fcn.00417d55
jmp 0x42d226
lea ecx, [ebp - 0xc]
call fcn.00424ab2
cmp dword [eax + 0x34], 8
jb 0x42d1f8
mov ecx, dword [eax + 0x20]
jmp 0x42d1fb
lea ecx, [eax + 0x20]
cmp dword [eax + 0x18], 8
jb 0x42d206
mov eax, dword [eax + 4]
jmp 0x42d209
add eax, 4
push ecx
push eax
push str._s_s_r_n
push ebx
call edi
add esp, 0x10
test eax, eax
jl 0x42d15a
lea ecx, [ebp - 0xc]
call fcn.0041b9aa
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xc]
call fcn.00419319
test al, al
je 0x42d1e5
push 0x438610
push ebx
call edi
pop ecx
pop ecx
test eax, eax
jl 0x42d15a
lea ecx, [ebp - 0x14]
call fcn.0042becb
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
call fcn.00419319
test al, al
je 0x42d1a0
mov edi, dword [ebp - 4]
push ebx
call dword [sym.imp.MSVCR90.dll_fclose]
pop ecx
mov byte [edi + 0x3c], 0
mov al, 1
jmp 0x42d164
Function at 0x42f452
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, ecx
call fcn.0042ea65
push 0x438fa0
push dword [ebp + 8]
call dword [sym.imp.MSVCR90.dll__wfopen]
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x42f4d0
and dword [ebp - 4], 0
push edi
push esi
push 1
lea eax, [ebp - 4]
push 2
push eax
call dword [sym.imp.MSVCR90.dll_fread]
push esi
mov edi, eax
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 0x14
cmp edi, 1
pop edi
jne 0x42f4cc
mov eax, 0xfeff
cmp word [ebp - 4], ax
je 0x42f4c0
cmp word [ebp - 4], 0x5b
je 0x42f4c0
cmp word [ebp - 4], 0x7f
jbe 0x42f4c0
push dword [ebp + 8]
mov ecx, ebx
call fcn.0042ed00
jmp 0x42f4d2
push dword [ebp + 8]
mov ecx, ebx
call fcn.0042f086
jmp 0x42f4d2
mov al, 1
jmp 0x42f4d2
xor al, al
pop esi
pop ebx
leave
ret 4

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408f6c
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5d35080c
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e3d0
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x70652b91
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x431006
Capabilities:
Encode data using xor

Disassembly:
call 0x43100c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x1007f6e
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1008600
call fcn.01007f80
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x100a750
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1007d83
cmp eax, esi
jne 0x1007d76
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x1007d86
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1007d5d
xor esi, esi
inc esi
mov eax, dword [0x100a74c]
cmp eax, esi
jne 0x1007d99
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1007dd4
mov eax, dword [0x100a74c]
test eax, eax
jne 0x1007dce
mov dword [0x100a74c], esi
push 0x1001210
push 0x1001204
call fcn.01007cda
pop ecx
pop ecx
test eax, eax
je 0x1007dd4
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x1007e9e
mov dword [0x100a414], esi
mov eax, dword [0x100a74c]
cmp eax, esi
jne 0x1007df8
push 0x1001200
push 0x10011f8
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100a74c], 2
cmp dword [ebp - 0x1c], ebx
jne 0x1007e05
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100a754], ebx
je 0x1007e26
push 0x100a754
call fcn.010081a9
pop ecx
test eax, eax
je 0x1007e26
push ebx
push 2
push ebx
call dword [0x100a754]
push dword [0x100a3fc]
push dword [0x100a400]
push dword [0x100a3f8]
call fcn.010067b3
add esp, 0xc
mov dword [0x100a410], eax
cmp dword [0x100a404], ebx
jne 0x1007e84
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x100a414], ebx
jne 0x1007e92
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x100a410]
call fcn.01007fc5
ret
call fcn.010082f6
jmp 0x1007d3b

Function at 0x1001e838
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.1001e8b7
jae 0x1001e844
xor ecx, ecx
call fcn.1001e8b7
jae 0x1001e86e
xor eax, eax
call fcn.1001e8b7
jae 0x1001e87f
mov al, 0x10
call fcn.1001e8b7
adc al, al
jae 0x1001e860
jne 0x1001e8ac
stosb byte es:[edi], al
jmp 0x1001e845
call fcn.1001e8c3
dec ecx
loop 0x1001e88b
mov eax, ebp
call fcn.1001e8c1
jmp 0x1001e8ad
lodsb al, byte [esi]
shr eax, 1
je 0x1001e8d3
adc ecx, 2
mov ebp, eax
jmp 0x1001e8ad
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.1001e8c1
cmp eax, 0x7d00
jae 0x1001e8ab
cmp eax, 0x500
jae 0x1001e8ac
cmp eax, 0x7f
ja 0x1001e8ad
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1001e845
pop ebp
ret 8
Function at 0x406004
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x422a1c], esi
push edi
jne 0x40603e
mov ecx, 0x422a18
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x40601a
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x422e18
jl 0x406015
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x406073
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a18]
xor eax, esi
inc ecx
dec edx
jne 0x406056
pop edi
pop esi
not eax
ret 0xc

Function at 0x430003
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x41480e
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x4148c2
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0041479e
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x41489b
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4148ce
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x4148e9
test ebp, ebp
je 0x4148e9
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x4148f1
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x414931
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x41498d
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x414988
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x414973
test dl, dl
je 0x41496f
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x414973
add ecx, 2
add eax, 2
test dl, dl
jne 0x414953
xor eax, eax
jmp 0x414978
sbb eax, eax
or eax, 1
test eax, eax
je 0x414997
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x414940
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x4149ae
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.0041480e
test eax, eax
jne 0x4149c6
pop edi
pop ebx
add esp, 0x10
ret
push esi
lea edx, [esp + 0xc]
mov ecx, eax
mov dword [esp + 0xc], 0x74726956
mov dword [esp + 0x10], 0x416c6175
mov dword [esp + 0x14], 0x636f6c6c
mov byte [esp + 0x18], 0
call fcn.004148ce
mov esi, eax
test esi, esi
jne 0x4149fc
pop esi
pop edi
pop ebx
add esp, 0x10
ret
push 0x40
push 0x3000
push edi
push ebx
call esi
test eax, eax
jne 0x414a16
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
pop edi
pop ebx
add esp, 0x10
ret