joyce8/EMBER2024-capa huggingface dataset:
Function at 0xc4a000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xc4a131
push esi
call fcn.00c4d145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00c3c080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xc4a131
push 0
push ebp
call fcn.00c3c3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00c3c260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xc4a08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00c3c2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xc4a121
push 0xc62918
push edi
call fcn.00c4b3f0
push eax
push ebx
push esi
call fcn.00c49f60
push 0xc628f8
push edi
call fcn.00c4b3f0
push eax
push ebx
push esi
call fcn.00c49f60
push 0xc628d8
push edi
call fcn.00c4b3f0
push eax
push ebx
push esi
call fcn.00c49f60
push 0xc628c0
push edi
call fcn.00c4b3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00c49f60
push 0xc628a0
push edi
call fcn.00c4b3f0
push eax
push ebx
push esi
call fcn.00c49f60
push 0xc62888
push edi
call fcn.00c4b3f0
push eax
push ebx
push esi
call fcn.00c49f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xc4b1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00c4b140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00c4b140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00c4b140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00c4b140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xc4bbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xc4bc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xc5d87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xc4bc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xc4bc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x47a25a3c
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..text_1
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x72b9273c
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x402750
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
mov eax, 0xffff
jle 0x402784
mov edx, dword [esp + 0xc]
push ebx
mov ecx, eax
xor ebx, ebx
mov bl, byte [edx]
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, ah
mov ax, word [edi + ecx*2]
xor ax, bx
inc edx
dec esi
jne 0x402766
pop ebx
pop edi
pop esi
not eax
ret 8

Function at 0x402790
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
test edi, edi
mov esi, ecx
mov eax, 0xffff
jle 0x4027c3
mov ecx, dword [esp + 0x10]
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, ah
mov ax, word [esi + edx*2]
xor ax, bx
inc ecx
dec edi
jne 0x4027a6
mov ecx, dword [esp + 0x18]
mov edx, eax
mov edi, ecx
and edx, 0xff
and edi, 0xff
xor ebx, ebx
xor edx, edi
mov bl, ah
pop edi
mov ax, word [esi + edx*2]
xor edx, edx
xor ax, bx
mov dl, ch
mov ecx, eax
and edx, 0xff
and ecx, 0xff
xor edx, ecx
xor ecx, ecx
mov cl, ah
xor eax, eax
mov dx, word [esi + edx*2]
pop esi
xor dx, cx
pop ebx
cmp dx, 0xf0b8
sete al
ret 0xc
Function at 0x407d90
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf0
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x43a668]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x48], al
inc ecx
cmp ecx, 0x38
jl 0x407da3
xor edx, edx
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x84]
lea ebp, [esp + eax*4 + 0x80]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x43a710]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x407e03
mov bl, byte [esp + ecx + 0x48]
jmp 0x407e07
mov bl, byte [esp + ecx + 0x2c]
mov byte [esp + eax + 0x10], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x407df8
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x407e25
mov bl, byte [esp + ecx + 0x48]
jmp 0x407e29
mov bl, byte [esp + ecx + 0x2c]
mov byte [esp + eax + 0x10], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x407e1a
xor ecx, ecx
mov eax, 0x43a678
xor ebx, ebx
mov bl, byte [ecx + 0x43a720]
cmp byte [esp + ebx + 0x10], 0
je 0x407e54
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x43a738]
cmp byte [esp + ebx + 0x10], 0
je 0x407e6b
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x407e3b
inc edx
cmp edx, 0x10
jl 0x407dce
mov edx, dword [esp + 0x10c]
mov ecx, dword [esp + 0x104]
lea eax, [esp + 0x80]
push edx
push eax
push ecx
call fcn.00407ee0
push 0x38
lea edx, [esp + 0x58]
push 0
push edx
call fcn.00408220
push 0x38
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.00408220
push 0x80
lea ecx, [esp + 0xa8]
push 0
push ecx
call fcn.00408220
add esp, 0x30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf0
ret
Function at 0x420450
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00413770
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x42051b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x42051b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4204ce
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4204d9
or bh, 8
and edi, 0x8000000
je 0x4204f4
mov eax, dword [0x442ddc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x42051b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4208f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x42091b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x42093f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x42095a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x42584c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x42588e
call fcn.0042a691
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x42588e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x425885
xor eax, eax
jmp 0x425896
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0042589c
pop edi
pop esi
pop ebx
ret 4

Function at 0x42ae4a
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x42ae78
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42ae96
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0042adb0
jmp 0x42ae96
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42ae96
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0042adb0
test edi, edi
mov eax, edi
jne 0x42ae80
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x42d672
Capabilities:
Receive data
Receive data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call sub.WSOCK32.dll_recv
ret 0xc

Function at 0x42d689
Capabilities:
Send data
Send data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call sub.WSOCK32.dll_send
ret 0xc
Function at 0x401000
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xc], eax
lea eax, [esp + 4]
mov dword [esp + 8], 8
push eax
push 2
push 0
push 0x403148
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4010ae
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push str.VCPUs
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x4013d0
test eax, eax
jne 0x401072
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x4031b4
call fcn.004011b0
add esp, 4
jmp 0x40108b
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, 0x4031d4
push eax
call fcn.004011b0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004013ff
mov esp, ebp
pop ebp
ret
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, 0x4031f0
push 0x4013d0
push eax
call fcn.004011b0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [esp + 0xc]
xor eax, eax
xor ecx, esp
call fcn.004013ff
mov esp, ebp
pop ebp
ret

Function at 0x401c05
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001d6b1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10029bc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword fs:[0x2c]
mov edx, dword [0x1002d970]
mov edx, dword [eax + edx*4]
mov eax, dword [0x10029ddc]
cmp eax, dword [edx + 4]
jg 0x10001ce9
mov eax, dword [0x10029dd8]
mov eax, dword [eax + esi]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001c2d0
mov esp, ebp
pop ebp
ret
push 0x10029ddc
call fcn.1001c26c
add esp, 4
cmp dword [0x10029ddc], 0xffffffff
jne 0x10001cc7
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0x54695f6d
mov dword [ebp - 0x18], 0x4e6d6165
mov word [ebp - 0x14], 0x6d75
mov byte [ebp - 0x12], 0
mov eax, 0x10024290
lea ecx, [ebp - 0x2c]
sub eax, 0x30274ad5
push eax
call fcn.10001340
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
push ecx
push eax
mov ecx, 0x1002d808
call fcn.1001bb00
push 0x10029ddc
mov dword [0x10029dd8], eax
call fcn.1001c21b
add esp, 4
jmp 0x10001cc7
Function at 0x10008640
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov edx, 0x72
xor eax, eax
mov cl, byte [eax + edi - 0x2c0196d0]
xor cl, dl
inc edx
mov byte [esi + eax], cl
and edx, 0x800000ff
jns 0x1000866e
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0xc
jl 0x10008651
pop edi
mov byte [esi + 0xc], 0
mov eax, esi
pop esi
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [ebx]
mov edi, dword [ebp + 0x10]
cmp edi, 7
ja case.default.0x10008776
jmp dword [edi*4 + 0x1000890c]
mov ecx, esi
and ecx, 3
sub edi, ecx
sub ecx, 1
je 0x100087b9
sub ecx, 1
je 0x100087a6
sub ecx, 1
jne 0x100087cc
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10024520]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10024520]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10024520]
inc esi
mov edx, edi
sar edx, 3
test edx, edx
je 0x1000884e
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10024520]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10024520]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10024520]
mov ecx, eax
movzx eax, cl
shr ecx, 8
mov eax, dword [eax*4 + 0x10024520]
xor eax, dword [esi + 4]
add esi, 8
xor eax, ecx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10024520]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10024520]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10024520]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10024520]
sub edx, 1
jne 0x100087d5
and edi, 7
jmp 0x10008771
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10024520]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10024520]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10024520]
inc esi
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
pop edi
pop esi
xor eax, dword [ecx*4 + 0x10024520]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10024520]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10024520]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10024520]
mov dword [ebx], eax
pop ebx
pop ebp
ret
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10024520]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10024520]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10024520]
pop edi
pop esi
mov dword [ebx], eax
pop ebx
pop ebp
ret
Function at 0x1000888f
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [ebx]
mov edi, dword [ebp + 0x10]
cmp edi, 7
ja case.default.0x10008776
jmp dword [edi*4 + 0x1000890c]
mov ecx, esi
and ecx, 3
sub edi, ecx
sub ecx, 1
je 0x100087b9
sub ecx, 1
je 0x100087a6
sub ecx, 1
jne 0x100087cc
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10024520]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10024520]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10024520]
inc esi
mov edx, edi
sar edx, 3
test edx, edx
je 0x1000884e
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10024520]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10024520]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10024520]
mov ecx, eax
movzx eax, cl
shr ecx, 8
mov eax, dword [eax*4 + 0x10024520]
xor eax, dword [esi + 4]
add esi, 8
xor eax, ecx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10024520]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10024520]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10024520]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10024520]
sub edx, 1
jne 0x100087d5
and edi, 7
jmp 0x10008771
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10024520]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10024520]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10024520]
inc esi
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
pop edi
pop esi
xor eax, dword [ecx*4 + 0x10024520]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10024520]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10024520]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10024520]
mov dword [ebx], eax
pop ebx
pop ebp
ret
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10024520]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10024520]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10024520]
pop edi
pop esi
mov dword [ebx], eax
pop ebx
pop ebp
ret
Function at 0x1000ac70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10029bc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1002d970]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1002a9d4]
cmp eax, dword [ecx + 4]
jg 0x1000acb8
push dword [ebp + 8]
call dword [0x1002a9d0]
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
call fcn.1001c2d0
mov esp, ebp
pop ebp
ret 4
push 0x1002a9d4
call fcn.1001c26c
add esp, 4
cmp dword [0x1002a9d4], 0xffffffff
jne 0x1000ac9c
mov eax, str.__3408
mov dword [ebp - 0x10], 0x646e6152
sub eax, 0x1f6cc5b
mov dword [ebp - 0xc], 0x65536d6f
push eax
lea ecx, [ebp - 0x18]
mov word [ebp - 8], 0x6465
mov byte [ebp - 6], 0
call fcn.10009fc0
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1002a9d4
mov dword [0x1002a9d0], eax
call fcn.1001c21b
add esp, 4
jmp 0x1000ac9c