joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46a670
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d76b6
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x517074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
lea eax, [esi + 0x4c]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x46a743
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
push ecx
push ecx
push ecx
mov byte [ebp - 4], 0xa
push ecx
mov dword [esi + 0x64], ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46a769
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x14], edi
test edi, edi
jne 0x46a796
push str.Unable_to_create_a_synchronization_event_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00477100
add esp, 0xc
lea eax, [ebp - 0x1c]
push 0x513ed8
push eax
call fcn.004a4f7b
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
mov eax, dword [esi + 0x24]
test eax, eax
je 0x46a7b4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x24], edi
test edi, edi
je 0x46a770
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
mov eax, dword [esi + 0x18]
test eax, eax
je 0x46a7d9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x18], edi
test edi, edi
je 0x46a770
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x46a7fe
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x1c], edi
test edi, edi
je 0x46a770
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x46a827
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x20], edi
test edi, edi
je 0x46a770
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46a850
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0x10
cmp dword [eax + 0x10], 0
je 0x46a87f
cmp dword [eax + 0x14], 8
jb 0x46a86a
mov eax, dword [eax]
push 0x10000000
push 0xffffffffffffffff
push eax
push dword [ecx + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
je 0x46a885
mov esp, ebp
pop ebp
ret 4
push str.Unable_to_add_headers_to_the_request_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 8]
push eax
call fcn.00477100
add esp, 0xc
lea eax, [esp]
push 0x513ed8
push eax
call fcn.004a4f7b
int3
Function at 0x46cef0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce316
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x517074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0x30]
mov dword [edi], vtable.asw::mi::ModuleDestructions.0
call fcn.0046d640
push dword [edi + 0x30]
call fcn.0048bcaf
add esp, 4
lea ecx, [edi + 0x28]
call fcn.0046d640
push dword [edi + 0x28]
call fcn.0048bcaf
add esp, 4
lea eax, [edi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [ebp - 4], 0
mov edi, dword [edi + 8]
test edi, edi
je 0x46cf79
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x46cf79
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4db310]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret

Function at 0x470ef0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d26c6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x517074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0048bcb4
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00488426
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4718c0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8460
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x517074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, edx
mov dword [ebp - 0x28], eax
mov edi, ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x2c], eax
push ecx
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
jne 0x471936
push 0x4fb81c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004770a0
add esp, 0xc
lea eax, [ebp - 0x3c]
push 0x513ed8
push eax
call fcn.004a4f7b
push ebx
call fcn.0048bf2e
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
push esi
push ebx
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
push dword [ebp - 0x28]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x471980
push 0x4fb808
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004770a0
add esp, 0xc
lea eax, [ebp - 0x4c]
push 0x513ed8
push eax
call fcn.004a4f7b
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x4ec0fc
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x4719be
push 0x4fb858
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004770a0
add esp, 0xc
lea eax, [ebp - 0x5c]
push 0x513ed8
push eax
call fcn.004a4f7b
mov ecx, dword [ebp - 0x24]
cmp dword [ecx], 0xfeef04bd
je 0x4719ef
push str.VerQueryValueW_signature_is_invalid
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004770a0
add esp, 0xc
lea eax, [ebp - 0x6c]
push 0x513ed8
push eax
call fcn.004a4f7b
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
mov eax, ecx
shr eax, 0x10
mov word [edi], ax
mov eax, edx
shr eax, 0x10
mov word [edi + 2], cx
mov word [edi + 4], ax
mov word [edi + 6], dx
test esi, esi
je 0x471a1b
push esi
call fcn.0048bd21
add esp, 4
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 - 0x14]
xor ecx, ebp
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
Function at 0x471cc0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8498
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x517074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x14], ebx
push 0x10000
mov dword [ebp - 0x18], 0
call fcn.0048bf2e
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
test edi, edi
je 0x471d1a
mov eax, edi
jmp 0x471d22
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x8000
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.PSAPI.DLL_GetMappedFileNameW]
test eax, eax
jne 0x471d7b
test edi, edi
jne 0x471d55
push 0x8000
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
jne 0x471d7b
push str.Unable_to_retrieve_the_path_of_the_module_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004770a0
add esp, 0xc
lea eax, [ebp - 0x2c]
push 0x513ed8
push eax
call fcn.004a4f7b
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00414090
mov ecx, ebx
call fcn.00472730
add esp, 0x18
test esi, esi
je 0x471d9d
push esi
call fcn.0048bd21
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
Function at 0x472b90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x517074]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
test ecx, ecx
je 0x472c30
test edx, edx
je 0x472c30
cmp word [edx], 0
je 0x472c30
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 0x14]
or eax, 1
push eax
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x472c19
mov dword [ebp - 8], eax
push eax
mov ecx, edi
call fcn.0046f740
lea eax, [ebp - 8]
push eax
push dword [edi]
push dword [ebp - 0x10]
push 0
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [edi], 0
mov esi, eax
mov eax, dword [ebp - 8]
jne 0x472c11
test eax, eax
je 0x472c11
test esi, esi
je 0x472be2
cmp esi, 0xea
je 0x472be2
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x472c35
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xc], 0
jmp 0x472c35
mov esi, 0x57
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
test esi, esi
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
Function at 0x473050
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x517074]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
push esi
push edi
mov edi, dword [ebp + 0xc]
test edx, edx
je 0x4730c3
test edi, edi
je 0x4730c3
push 0
lea eax, [ebp - 8]
push eax
push 0
push 2
push 0
push 0
push 0
push edx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x4730ac
push 4
push edi
push 4
push eax
push str.SfxInstProgress
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x4730c8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 8], 0
jmp 0x4730c8
mov esi, 0x57
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
test esi, esi
pop edi
sete al
xor ecx, ebp
pop esi
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
Function at 0x475a60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce316
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x517074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0x30]
call fcn.0046d640
push dword [edi + 0x30]
call fcn.0048bcaf
add esp, 4
lea ecx, [edi + 0x28]
call fcn.0046d640
push dword [edi + 0x28]
call fcn.0048bcaf
add esp, 4
lea eax, [edi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [ebp - 4], 0
mov edi, dword [edi + 8]
test edi, edi
je 0x475ae3
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x475ae3
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4db310]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
Function at 0x4793c0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x4793cb
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.004793e0
Function at 0x479680
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x517074]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, ecx
mov dword [ebp - 0x60], 0
push 0x3ff0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x5c], 0x67452301
mov dword [ebp - 0x58], 0xefcdab89
mov dword [ebp - 0x54], 0x98badcfe
mov dword [ebp - 0x50], 0x10325476
call fcn.00479dd0
add esp, 4
lea ecx, [ebp - 0x64]
mov edx, esi
call fcn.00479ea0
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret

Function at 0x47a2b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp byte [edi + 0xc], 0
jne 0x47a2ca
mov dword [edi + 0x18], 6
xor al, al
pop edi
pop ebp
ret 0xc
mov ecx, dword [ebp + 8]
mov edx, 0x400000
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov byte [edi + 0xd], 0
nop dword [eax]
cmp esi, 0x400000
mov eax, esi
cmova eax, edx
push eax
push ecx
push dword [edi + 0x14]
call fcn.004bcb32
add esp, 0xc
test eax, eax
jle 0x47a30f
mov ecx, dword [ebp + 8]
add ebx, eax
add ecx, eax
mov edx, 0x400000
mov dword [ebp + 8], ecx
sub esi, eax
jne 0x47a2e0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x47a318
mov dword [eax], ebx
cmp dword [ebp + 0xc], ebx
pop esi
pop ebx
je 0x47a335
call fcn.004b7e9d
mov ecx, dword [eax]
call fcn.0047a4b0
mov dword [edi + 0x18], eax
xor al, al
pop edi
pop ebp
ret 0xc
push 1
push 0
push dword [edi + 0x14]
call fcn.004bc609
add esp, 0xc
mov dword [edi + 4], eax
mov al, 1
pop edi
pop ebp
ret 0xc

Function at 0x47b1d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, 0x100
mov dword [ebp - 4], ecx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
or edx, esi
add edi, edi
mov ecx, esi
and ecx, edi
mov eax, edx
add ecx, esi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
movzx ecx, word [ecx + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp + 0xc]
add ebx, dword [eax + ecx*4]
mov ecx, edx
xor ecx, edi
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x47b1e6
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47b4c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0x18], edi
movzx esi, word [edi]
movzx ecx, word [edi + 2]
mov eax, esi
shr eax, 4
xor esi, 0x7f0
shr esi, 4
mov eax, dword [ebx + eax*4]
mov dword [ebp - 0x10], eax
mov eax, ecx
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
mov eax, dword [ebx + eax*4]
add eax, dword [ebx + esi*4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + ecx*4]
add eax, dword [ebx + esi*4]
xor esi, esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], esi
cmp esi, dword [ebp + 8]
jae 0x47b634
mov edx, esi
mov dword [ebp - 0xc], 0
mov esi, dword [ebp - 0xc]
or edx, 8
nop dword [eax]
mov eax, dword [ebp - 8]
mov ecx, edx
shr ecx, 1
and edx, 1
neg edx
sar edx, 4
and edx, 0x7f
lea eax, [ecx + eax*8]
movzx eax, word [edi + eax*2 + 4]
shr eax, 4
xor eax, edx
mov edx, ecx
add esi, dword [ebx + eax*4]
cmp edx, 1
jne 0x47b530
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add eax, esi
mov esi, dword [ebp - 4]
mov dword [ecx + esi*4], eax
inc esi
mov dword [ebp - 4], esi
cmp esi, 8
jb 0x47b514
cmp esi, 0x10
jae 0x47b5da
lea eax, [esi - 8]
mov dword [ebp - 0xc], eax
nop dword [eax + eax]
cmp esi, dword [ebp + 8]
jae 0x47b634
mov edx, eax
xor esi, esi
or edx, 8
mov eax, dword [ebp - 8]
mov ecx, edx
shr ecx, 1
and edx, 1
neg edx
sar edx, 4
and edx, 0x7f
lea eax, [ecx + eax*8]
movzx eax, word [edi + eax*2 + 0x104]
shr eax, 4
xor eax, edx
mov edx, ecx
add esi, dword [ebx + eax*4]
cmp edx, 1
jne 0x47b590
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
add eax, esi
mov esi, dword [ebp - 4]
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], eax
cmp esi, 0x10
jb 0x47b580
cmp esi, dword [ebp + 8]
jae 0x47b634
lea eax, [esi - 0x10]
mov dword [ebp - 0xc], eax
mov esi, dword [ebp - 0x18]
xor edi, edi
or eax, 0x100
nop
mov edx, eax
and eax, 1
shr edx, 1
neg eax
sar eax, 4
and eax, 0x7f
movzx ecx, word [esi + edx*2 + 0x204]
shr ecx, 4
xor ecx, eax
mov eax, edx
add edi, dword [ebx + ecx*4]
cmp eax, 1
jne 0x47b5f0
mov esi, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
add eax, edi
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp + 8]
jb 0x47b5e5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47d160
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor eax, eax
mov dword [ebp - 0x10], ecx
lea edx, [ecx + 0x325c8]
mov dword [ebp - 8], eax
push esi
mov dword [ebp - 0xc], edx
push edi
nop word [eax + eax]
xor ebx, ebx
mov dword [ebp - 4], 4
mov edi, eax
lea eax, [ebx + 1]
nop
movzx edx, word [ecx + eax*2 + 0x32c4c]
mov esi, edi
and esi, 1
shr edx, 4
mov ecx, esi
shr edi, 1
neg ecx
add eax, eax
sar ecx, 4
or eax, esi
and ecx, 0x7f
xor edx, ecx
mov ecx, dword [ebp - 0x10]
add ebx, dword [ecx + edx*4 + 0x30f34]
sub dword [ebp - 4], 1
jne 0x47d190
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov dword [edx], ebx
add edx, 4
mov dword [ebp - 0xc], edx
cmp eax, 0x10
jb 0x47d180
pop edi
pop esi
mov dword [ecx + 0x84], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47d1f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x517074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, 4
push edi
mov edi, ecx
mov dword [ebp - 0x208], ebx
nop dword [eax]
nop word [eax + eax]
movzx ecx, byte [edi + ebx + 0x30734]
mov esi, 1
mov eax, ecx
mov dword [ebp - 0x218], ecx
mov edx, ecx
shr eax, 1
dec eax
mov dword [ebp - 0x20c], 0
and edx, 1
mov dword [ebp - 0x210], eax
or edx, 2
mov ecx, eax
shl edx, cl
mov ecx, ebx
sub ecx, edx
mov dword [ebp - 0x214], edx
test eax, eax
je 0x47d2c0
mov ebx, eax
mov eax, esi
mov edx, ecx
sub eax, dword [ebp - 0x218]
and edx, 1
add eax, dword [ebp - 0x214]
add esi, esi
shr ecx, 1
or esi, edx
mov dword [ebp - 0x210], ecx
movzx ecx, word [edi + eax*2 + 0x32b66]
mov eax, edx
neg eax
shr ecx, 4
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp - 0x20c]
add eax, dword [edi + ecx*4 + 0x30f34]
mov ecx, dword [ebp - 0x210]
mov dword [ebp - 0x20c], eax
sub ebx, 1
jne 0x47d264
mov ebx, dword [ebp - 0x208]
jmp 0x47d2c2
xor eax, eax
mov dword [ebp + ebx*4 - 0x204], eax
inc ebx
mov dword [ebp - 0x208], ebx
cmp ebx, 0x80
jb 0x47d220
lea eax, [ebp - 0x204]
mov dword [ebp - 0x21c], edi
sub eax, edi
mov dword [ebp - 0x210], 4
lea esi, [edi + 0x319c8]
sub eax, 0x31dc8
lea edx, [edi + 0x31dd0]
mov dword [ebp - 0x208], esi
mov dword [ebp - 0x20c], edx
mov dword [ebp - 0x218], eax
nop word [eax + eax]
xor ebx, ebx
mov dword [ebp - 0x214], ebx
cmp dword [edi + 0x88], ebx
jbe 0x47d390
mov eax, ebx
xor esi, esi
mov ebx, dword [ebp - 0x21c]
or eax, 0x40
nop dword [eax]
mov edx, eax
and eax, 1
shr edx, 1
neg eax
sar eax, 4
and eax, 0x7f
movzx ecx, word [ebx + edx*2 + 0x32968]
shr ecx, 4
xor ecx, eax
mov eax, edx
add esi, dword [edi + ecx*4 + 0x30f34]
cmp eax, 1
jne 0x47d340
mov ebx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x208]
mov dword [eax + ebx*4], esi
inc ebx
mov dword [ebp - 0x214], ebx
cmp ebx, dword [edi + 0x88]
jb 0x47d330
mov edx, dword [ebp - 0x20c]
mov esi, eax
mov ecx, 0xe
cmp dword [edi + 0x88], ecx
jbe 0x47d3b6
nop dword [eax]
mov eax, ecx
shr eax, 1
shl eax, 4
sub eax, 0x50
add dword [esi + ecx*4], eax
inc ecx
cmp ecx, dword [edi + 0x88]
jb 0x47d3a0
mov eax, dword [esi]
mov ecx, 4
mov ebx, dword [ebp - 0x218]
mov dword [edx - 8], eax
mov eax, dword [esi + 4]
mov dword [edx - 4], eax
mov eax, dword [esi + 8]
mov dword [edx], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 4], eax
add edx, 8
nop word [eax + eax]
movzx eax, byte [edi + ecx + 0x30734]
lea edx, [edx + 4]
inc ecx
mov eax, dword [esi + eax*4]
add eax, dword [edx + ebx - 4]
mov dword [edx - 4], eax
cmp ecx, 0x80
jb 0x47d3e0
mov edx, dword [ebp - 0x20c]
add esi, 0x100
sub dword [ebp - 0x21c], 0xffffff80
add edx, 0x200
sub ebx, 0x200
mov dword [ebp - 0x208], esi
sub dword [ebp - 0x210], 1
mov dword [ebp - 0x20c], edx
mov dword [ebp - 0x218], ebx
jne 0x47d320
mov ecx, dword [ebp - 4]
mov dword [edi + 0x80], 0
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
Function at 0x481b90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov dword [ecx + 0x34], 0
lea esi, [ecx + 0x60]
mov word [ecx + 0x1e], 0
xor edx, edx
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x30], 0x20
mov byte [ecx + 0x1d], 1
mov dword [ecx + 0x48], 4
nop dword [eax]
mov ecx, edx
lea esi, [esi + 4]
and ecx, 1
mov eax, edx
dec ecx
shr eax, 1
not ecx
inc edx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor eax, ecx
mov dword [esi - 4], eax
cmp edx, 0x100
jb 0x481bc0
pop esi
ret

Function at 0x482c70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov esi, ecx
push eax
push 0
push dword [ebp + 8]
push edx
push 0
push 0
call fcn.004bb174
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x482c9a
xor eax, eax
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
mov eax, ecx
mov esp, ebp
pop ebp
ret