joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b1ad
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
push esi
mov esi, 0x80004005
cmp dword [eax + 0xc], ecx
je 0x42b1da
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x42b21a
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.0042b686
test eax, eax
je 0x42b21a
xor esi, esi
jmp 0x42b21a
push edi
mov edi, dword [eax + 0x10]
cmp edi, 0xffffffff
je 0x42b219
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp + 8], ecx
mov dword [ebp + 0x10], eax
push ecx
jmp 0x42b203
mov eax, dword [ebp + 0x10]
add eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
sub ebx, dword [ebp + 8]
je 0x42b216
push 0
lea ecx, [ebp + 8]
push ecx
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42b1f3
jmp 0x42b218
xor esi, esi
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x10

Function at 0x42b221
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x60e8c0
call fcn.0060b6e8
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
lea ecx, [ebp + 8]
call fcn.00406173
mov dword [ebp - 4], ebx
mov ecx, edi
push dword [ebp + 8]
call fcn.0042b385
test eax, eax
jne 0x42b362
push ebx
push dword [ebp + 8]
call fcn.005f1350
pop ecx
pop ecx
test eax, eax
jne 0x42b365
call fcn.00404f47
push eax
lea ecx, [ebp - 0x10]
call fcn.004065d8
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._s_d__x
push eax
call fcn.00406cc8
mov esi, dword [ebp - 0x10]
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push dword [ebp + 8]
call fcn.005f3234
pop ecx
pop ecx
test eax, eax
je 0x42b2e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.MoveFileEx_Rename_file_fail__error:_d
push 0x6c7880
call fcn.0048d855
push 0x696200
lea edx, [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0040aec1
add esp, 0x10
mov byte [ebp - 4], 2
jmp 0x42b313
lea ecx, [esi - 0x10]
call fcn.00404ea9
jmp 0x42b365
push 4
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push dword [ebp + 8]
mov ecx, edi
call fcn.0042b385
test eax, eax
jne 0x42b35a
push 0x696200
lea edx, [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0040aec1
pop ecx
mov byte [ebp - 4], 3
push dword [eax]
mov ecx, edi
call fcn.0042b385
mov byte [ebp - 4], 1
mov edi, eax
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
test edi, edi
je 0x42b2dc
push 0x696200
lea edx, [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0040aec1
pop ecx
push 5
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
lea ecx, [esi - 0x10]
call fcn.00404ea9
xor ebx, ebx
inc ebx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00404ea9
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x42b3f8
Capabilities:
Copy file

Disassembly:
mov eax, 0x60e902
call fcn.0060b6e8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x14], 0xffffffff
je 0x42b546
push dword [ebx + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx + 0xc]
push eax
lea edx, [ebx + 8]
lea ecx, [ebp - 0x18]
call fcn.0040b545
pop ecx
and dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0042bd0c
test eax, eax
je 0x42b53b
call fcn.00404f47
push eax
lea ecx, [ebp - 0x10]
call fcn.004065d8
mov byte [ebp - 4], 1
call fcn.00404f47
push eax
lea ecx, [ebp - 0x14]
call fcn.004065d8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0042bdb7
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
call fcn.0042be79
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.0040b545
pop ecx
push 0
push dword [eax]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0x1c]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00404ea9
test esi, esi
mov esi, dword [ebp - 0x10]
je 0x42b528
push ecx
lea eax, [esi - 0x10]
mov dword [ebp - 0x20], esp
mov edi, esp
push eax
mov dword [ebp - 0x1c], edi
call fcn.004067cf
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.0040b545
pop ecx
pop ecx
mov byte [ebp - 4], 6
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.0042bedc
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
lea ecx, [esi - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
or dword [ebx + 0x14], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b9c2
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push 0x80
push 2
push edi
push 1
push 0xc0000000
push ebx
mov dword [esp + 0x30], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x42ba0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
push str.CreateFileByMem_CreateFile_error:_d__path:_ws
jmp 0x42baf7
xor ecx, ecx
push ecx
push dword [esi + 4]
push ecx
push 4
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x10], edi
jne 0x42ba46
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push ebx
call esi
push eax
push str.CreateFileByMem_CreateFileMapping_error:_d__path:_ws
push 0x6c7880
call fcn.0048d855
add esp, 0x10
jmp 0x42babe
push dword [esi + 4]
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x42ba71
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push ebx
call esi
push eax
push str.CreateFileByMem_MapViewOfFile_error:_d__path:_ws
jmp 0x42ba37
mov ecx, eax
mov dword [esp + 0xc], eax
mov eax, dword [esi + 8]
mov esi, dword [eax]
cmp esi, eax
je 0x42bab1
mov ebx, dword [esp + 0x14]
mov edi, dword [esi + 8]
mov eax, dword [edi + 4]
sub eax, dword [edi]
push eax
push dword [edi]
push ecx
call fcn.005dfc80
mov eax, dword [edi + 4]
add esp, 0xc
sub eax, dword [edi]
mov ecx, dword [esp + 0xc]
mov esi, dword [esi]
add ecx, eax
mov dword [esp + 0xc], ecx
cmp esi, dword [ebx + 8]
jne 0x42ba84
mov ebx, dword [ebp + 8]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor edi, edi
inc edi
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x42bacf
push eax
call esi
push dword [esp + 0x10]
call esi
test edi, edi
je 0x42bb04
mov ecx, dword [esp + 0x14]
push ebx
call fcn.0042bb0f
mov edi, eax
test edi, edi
jne 0x42bb04
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push edi
push str.ChecksumFileByMem_return_d__path:_ws
push 0x6c7880
call fcn.0048d855
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42bb0f
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, 0xffffffff
jne 0x42bb60
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
push str.ChecksumFileByMem_CreateFile_error:_d__path:_ws
push 0x6c7880
call fcn.0048d855
add esp, 0x10
jmp 0x42bc28
mov eax, dword [ebp - 4]
push edi
push dword [eax + 4]
push edi
push 2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x10], eax
test esi, esi
jne 0x42bb99
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push ebx
call esi
push eax
push str.ChecksumFileByMem_CreateFileMapping_error:_d__path:_ws
push 0x6c7880
call fcn.0048d855
add esp, 0x10
jmp 0x42bc13
mov esi, dword [ebp - 4]
push dword [esi + 4]
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x42bbc4
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push ebx
call esi
push eax
push str.ChecksumFileByMem_MapViewOfFile_error:_d__path:_ws
jmp 0x42bb8a
mov edx, eax
mov dword [ebp + 8], eax
mov eax, dword [esi + 8]
mov esi, dword [eax]
cmp esi, eax
je 0x42bc07
mov ecx, dword [esi + 8]
mov dword [ebp - 8], ecx
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
push eax
push dword [ecx]
push edx
call fcn.005e12da
add esp, 0xc
test eax, eax
jne 0x42bc33
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov esi, dword [esi]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
add edx, eax
mov eax, dword [ebp - 4]
mov dword [ebp + 8], edx
cmp esi, dword [eax + 8]
jne 0x42bbd2
xor edi, edi
inc edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x42bc23
push eax
call esi
push dword [ebp - 0x14]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push ebx
push str.ChecksumFileByMem_memcmp_return_not_same__path:_ws
push 0x6c7880
call fcn.0048d855
add esp, 0xc
jmp 0x42bc0a
Function at 0x42bc76
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov eax, 0x60c405
call fcn.0060b6e8
push ecx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x10]
push edi
call fcn.00406173
xor esi, esi
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42bcec
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x42bcec
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x42bcec
lea ecx, [ebp - 0x10]
call fcn.0040b418
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], esi
je 0x42bcef
mov ecx, eax
call fcn.0042bc76
test eax, eax
je 0x42bcef
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x42bcec
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42bcef
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00404ea9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x42bdb7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword fs:[0x2c]
and dword [ebp - 8], 0
push esi
mov esi, ecx
mov edx, dword [eax]
mov eax, dword [0x6c7bd8]
push edi
mov dword [ebp - 4], esi
mov edi, 0x6c7bdc
cmp eax, dword [edx + 4]
jle 0x42be1b
push ebx
mov ebx, 0x6c7bd8
push ebx
call fcn.00499481
cmp dword [0x6c7bd8], 0xffffffff
pop ecx
jne 0x42be1a
call fcn.00404f47
push eax
mov ecx, edi
call fcn.004065d8
push 0x612a2c
call fcn.004997d8
push ebx
call fcn.00499442
pop ecx
pop ecx
pop ebx
mov eax, dword [0x6c7bdc]
cmp dword [eax - 0xc], 0
jne 0x42be62
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x42be5d
lea eax, [ebp - 0x210]
mov ecx, edi
push eax
call fcn.004060f8
mov ecx, edi
call fcn.0042bc48
push str.drivers_
mov ecx, edi
call fcn.004062d3
mov eax, dword [0x6c7bdc]
add eax, 0xfffffff0
push eax
call fcn.004067cf
add eax, 0x10
pop ecx
mov dword [esi], eax
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42d2b7
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x60eae5
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x30]
mov dword [esi], vtable.CFilterCoder.10.0
mov dword [esi + 4], vtable.CFilterCoder.9.0
mov dword [esi + 8], vtable.CFilterCoder.8.0
mov dword [esi + 0xc], vtable.CFilterCoder.7.0
mov dword [esi + 0x10], vtable.CFilterCoder.6.0
mov dword [esi + 0x14], vtable.CFilterCoder.5.0
mov dword [esi + 0x18], vtable.CFilterCoder.4.0
mov dword [esi + 0x1c], vtable.CFilterCoder.3.0
mov dword [esi + 0x20], vtable.CFilterCoder.2.0
mov dword [esi + 0x24], vtable.CFilterCoder.1.0
mov dword [esi + 0x28], vtable.CFilterCoder.0
call fcn.00431119
and dword [ebp - 4], 0
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x42d337
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 1
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x42d34b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 2
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x42d35f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 3
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x42d373
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 4
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x42d387
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 5
mov ecx, dword [esi + 0x60]
test ecx, ecx
je 0x42d39b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 6
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x42d3af
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 7
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x42d3c3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42ea0d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 4], ebx
jne 0x42ea28
lea ecx, [esi + 4]
call fcn.00437288
test eax, eax
jne 0x42ea90
push edi
lea edi, [esi + 8]
cmp dword [edi], ebx
jne 0x42ea3b
mov ecx, edi
call fcn.00437288
test eax, eax
jne 0x42ea8f
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
jne 0x42ea4d
call fcn.00437218
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
jne 0x42ea5e
call fcn.00437218
mov byte [esi + 0x10], bl
cmp dword [esi + 0xc], ebx
je 0x42ea6a
xor eax, eax
jmp 0x42ea8f
lea eax, [ebp - 4]
push eax
push ebx
push esi
push 0x42e9cd
push ebx
push ebx
call fcn.005f33c0
add esp, 0x18
mov dword [esi + 0xc], eax
test eax, eax
jne 0x42ea8d
call fcn.00437218
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f528
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x60ebfa
call fcn.0060b6e8
push ecx
mov dword [ebp - 0x10], ecx
lea eax, [ecx + 0x10]
mov dword [ecx + 4], vtable.ICompressSetBufSize.0
xor edx, edx
mov dword [ecx + 8], edx
mov dword [ecx], vtable.NCompress::NBcj2::CDecoder.1.0
mov dword [ecx + 4], vtable.NCompress::NBcj2::CDecoder.0
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x18], edx
lea eax, [ecx + 0x30]
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x18], edx
lea eax, [ecx + 0x50]
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x18], edx
lea eax, [ecx + 0x70]
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x18], edx
lea eax, [ecx + 0x4a0]
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x20], edx
mov eax, 0x100000
mov dword [ecx + 0x4d8], 0x10000
mov dword [ecx + 0x4c8], eax
mov dword [ecx + 0x4cc], eax
mov dword [ecx + 0x4d0], eax
mov dword [ecx + 0x4d4], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x430cc6
Capabilities:
Delete file
Set file attributes

Disassembly:
push esi
mov esi, ecx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x430cda
xor al, al
pop esi
ret
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
pop esi
setne al
ret

Function at 0x432238
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, edx
cmp dword [esi], ebx
jne 0x4322e5
lea ecx, [esi + 0x30]
call fcn.004372ef
test eax, eax
je 0x432261
push 0xc
pop eax
jmp 0x4322e7
lea ecx, [esi + 0x14]
mov dword [esi + 0x28], 1
call fcn.00437288
test eax, eax
jne 0x432259
lea ecx, [esi + 0x18]
call fcn.00437288
test eax, eax
jne 0x432259
lea ecx, [esi + 0x1c]
call fcn.00437288
test eax, eax
jne 0x432259
push dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
lea ecx, [esi + 0x20]
call fcn.004372aa
pop ecx
test eax, eax
jne 0x432259
push dword [ebp + 0xc]
lea ecx, [esi + 0x24]
xor edx, edx
call fcn.004372aa
pop ecx
test eax, eax
jne 0x432259
lea eax, [ebp - 4]
mov dword [esi + 4], 1
push eax
push ebx
push dword [ebp + 8]
push edi
push ebx
push ebx
call fcn.005f33c0
add esp, 0x18
mov dword [esi + 0x10], eax
test eax, eax
jne 0x4322df
call fcn.00437218
test eax, eax
jne 0x432259
mov dword [esi], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x434964
Capabilities:
Encode data using xor

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

Function at 0x4349ab
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, 0x100
mov dword [ebp - 4], ecx
xor edi, edi
or edx, esi
add ebx, ebx
mov ecx, esi
and ecx, ebx
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 edi, dword [eax + ecx*4]
mov ecx, edx
xor ecx, ebx
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x4349c1
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x434a99
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
bts esi, edx
mov ebx, ecx
cmp esi, 1
je 0x434ad4
push edi
mov edi, dword [ebp + 0xc]
mov edx, esi
and esi, 1
shr edx, 1
neg esi
sar esi, 4
and esi, 0x7f
movzx ecx, word [ebx + edx*2]
shr ecx, 4
xor ecx, esi
mov esi, edx
add eax, dword [edi + ecx*4]
cmp esi, 1
jne 0x434ab1
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x434ad8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor esi, esi
inc edi
test ebx, ebx
je 0x434b1f
mov eax, dword [ebp + 8]
mov edx, eax
movzx ecx, word [ecx + edi*2]
and edx, 1
shr eax, 1
add edi, edi
mov dword [ebp + 8], eax
or edi, edx
mov eax, edx
shr ecx, 4
neg eax
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp + 0xc]
add esi, dword [eax + ecx*4]
mov ecx, dword [ebp - 4]
sub ebx, 1
jne 0x434aed
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
xor eax, eax
mov esi, ecx
push edi
push 8
mov ebx, eax
lea ecx, [esi + 0x19c]
mov dword [esi + 0x3bcd4], eax
mov dword [esi + 0x3bcd0], eax
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x4c], eax
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x58], eax
lea eax, [ecx + 0x70]
pop edi
mov dword [ecx + 0x2c], 0x20
mov dword [ecx + 0x54], 1
mov dword [ecx + 0x48], 4
mov dword [ebp - 4], eax
mov dword [ebp - 8], edi
mov edx, ebx
mov ecx, edi
mov eax, edx
shr edx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor edx, eax
sub ecx, 1
jne 0x4365be
mov eax, dword [ebp - 4]
inc ebx
mov dword [eax], edx
add eax, 4
mov dword [ebp - 4], eax
cmp ebx, 0x100
jb 0x4365ba
xor ebx, ebx
lea ecx, [esi + 0x19c]
mov dword [esi + 0x118], ebx
mov dword [esi + 0x148], ebx
mov dword [esi + 0x170], ebx
mov dword [esi + 0x174], ebx
mov dword [esi + 0x158], ebx
mov dword [esi + 0x15c], ebx
mov dword [esi + 0x160], ebx
mov dword [esi + 0x164], ebx
mov dword [esi + 0x168], ebx
mov dword [esi + 0x16c], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x198], ecx
lea ecx, [ebp - 0x38]
call fcn.004345ad
mov edx, ecx
mov ecx, esi
call fcn.004346aa
push 2
pop edi
mov word [esi + 0x306a0], 0x100
mov ebx, edi
mov ecx, ebx
xor edx, edx
sar ecx, 1
inc edx
dec ecx
shl edx, cl
mov dword [ebp - 4], edx
test edx, edx
je 0x436693
push edx
lea eax, [esi + 0x306a0]
add eax, edi
push ebx
push eax
call fcn.005e1180
add esp, 0xc
add edi, dword [ebp - 4]
inc ebx
cmp ebx, 0x16
jl 0x43666c
mov edi, dword [ebp - 8]
push 4
mov ecx, edi
xor edx, edx
pop ebx
imul ecx, ecx
mov eax, 0x10000
add edx, edx
jmp 0x4366b2
shr ecx, 1
inc edx
cmp ecx, eax
jae 0x4366af
sub ebx, 1
jne 0x4366a3
mov eax, edi
mov ecx, 0xa1
shr eax, 4
sub ecx, edx
add edi, 0x10
mov dword [esi + eax*4 + 0x30ea0], ecx
cmp edi, 0x800
jb 0x43669c
and dword [esi + 0x325ac], ebx
and dword [esi + 0x3bd14], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret