joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e0cb
Capabilities:
Check for peb ntglobalflag flag
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45498a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x46a1c0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x14]
push eax
lea eax, [esi + 0x68]
push eax
call fcn.00416f48
and dword [esp + 0x30], 0
lea edi, [esi + 0x78]
push edi
call fcn.0040ab02
or dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0041749e
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.004174cf
lea edi, [esi + 0x70]
push edi
mov dword [esp + 0x34], 1
call fcn.0040ab02
or dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0041a53e
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.0041a5bc
lea ebx, [esi + 0x80]
push ebx
mov dword [esp + 0x34], 2
call fcn.0040ab02
or dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.0041aa9f
mov ecx, ebx
call fcn.0041ab0e
and dword [esi + 0xf8], 0
and dword [esi + 0xfc], 0
mov dword [esi + 0xd8], eax
mov eax, edi
call fcn.00416f43
push 0x10
mov dword [esi + 0x98], eax
lea eax, [esi + 0xe8]
push 0
push eax
call fcn.0043e4b0
add esp, 0xc
mov ecx, ebx
call fcn.0041aad0
mov dword [esi + 0x100], eax
xor eax, eax
mov dword [esi + 0x104], edx
inc eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
not dword [ecx]
xor edx, edx
cmp dword [esp + 8], edx
jbe 0x42ec1f
push esi
push edi
mov eax, dword [ecx]
mov esi, dword [esp + 0xc]
movzx esi, byte [edx + esi]
mov edi, eax
and edi, 0xff
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x45b488]
inc edx
mov dword [ecx], eax
cmp edx, dword [esp + 0x10]
jb 0x42ebf6
pop edi
pop esi
not dword [ecx]
ret

Function at 0x42ec22
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
cmp dword [esp + 8], ecx
jbe 0x42ec57
movzx eax, word [edx]
push esi
push edi
mov esi, dword [esp + 0xc]
movzx esi, byte [ecx + esi]
movzx edi, al
shr ax, 8
xor esi, edi
xor ax, word [esi*2 + 0x45b888]
inc ecx
movzx eax, ax
cmp ecx, dword [esp + 0x10]
jb 0x42ec2f
pop edi
mov word [edx], ax
pop esi
ret

Function at 0x42eda9
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x40
mov eax, 0x453622
call fcn.00442764
mov eax, dword [ebp + 8]
push eax
lea edi, [ebp - 0x4c]
call fcn.00409256
xor esi, esi
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.0041348c
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x42edd9
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42edec
test al, 0x10
je 0x42edec
xor esi, esi
inc esi
lea edi, [ebp - 0x4c]
call fcn.00408154
mov eax, esi
call fcn.004427e7
ret
Function at 0x42ef1d
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
je 0x42efe2
cmp ebx, esi
je 0x42efe2
lea ecx, [ebx + 0x18]
call fcn.0042eea1
push esi
or eax, 0x2000000
push eax
push 3
push esi
push 1
push 0x40000000
push dword [ebp + 8]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x42efe2
mov eax, dword [ebx]
or eax, dword [ebx + 4]
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
je 0x42ef88
lea edi, [ebp - 0x1c]
mov esi, ebx
call fcn.0042ee71
mov eax, edi
mov dword [ebp - 0xc], eax
lea esi, [ebx + 8]
mov eax, dword [esi]
or eax, dword [esi + 4]
je 0x42ef9f
lea edi, [ebp - 0x24]
call fcn.0042ee71
mov eax, edi
mov dword [ebp - 4], eax
lea esi, [ebx + 0x10]
mov eax, dword [esi]
or eax, dword [esi + 4]
je 0x42efb6
lea edi, [ebp - 0x2c]
call fcn.0042ee71
mov eax, edi
mov dword [ebp - 8], eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_SetFileTime]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push dword [ebp - 0x14]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
xor eax, eax
inc eax
jmp 0x42efe7
mov eax, 0x200
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42efec
Capabilities:
Create directory

Disassembly:
push 0x6c
mov eax, 0x453fe4
call fcn.00442764
mov esi, ecx
push esi
lea edi, [ebp - 0x68]
call fcn.00409256
xor edi, edi
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], edi
call fcn.0041348c
push esi
call fcn.0042eda9
pop ecx
test eax, eax
je 0x42f02e
xor esi, esi
inc esi
lea edi, [ebp - 0x68]
call fcn.00408154
mov eax, esi
call fcn.004427e7
ret
lea eax, [ebp - 0x68]
push eax
lea esi, [ebp - 0x30]
call fcn.00401258
mov byte [ebp - 4], 1
cmp dword [ebp - 0x54], edi
jbe 0x42f065
lea eax, [ebp - 0x68]
call fcn.004089c9
cmp word [eax], 0x2f
jne 0x42f05f
lea eax, [ebp - 0x68]
call fcn.00401285
push 0x5c
pop ecx
mov word [eax], cx
inc edi
cmp edi, dword [ebp - 0x54]
jb 0x42f043
push 0x5c
pop ebx
xor esi, esi
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x74], ebx
push 1
lea eax, [ebp - 0x74]
push eax
mov eax, esi
lea ecx, [ebp - 0x68]
call fcn.00404e3c
or esi, 0xffffffff
cmp eax, esi
je 0x42f08d
mov esi, eax
cmp dword [ebp - 0x6c], 0
je 0x42f0df
cmp dword [ebp - 0x54], 2
jbe 0x42f0de
xor edi, edi
lea eax, [ebp - 0x68]
call fcn.00401285
cmp word [eax], bx
jne 0x42f0de
inc edi
lea eax, [ebp - 0x68]
call fcn.00401285
cmp word [eax], bx
jne 0x42f0de
push 1
push 1
lea eax, [ebp - 0x70]
push eax
push 2
pop eax
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x78], ebx
call fcn.00404e3c
lea ecx, [ebp - 0x78]
push ecx
inc eax
lea ecx, [ebp - 0x68]
call fcn.00404e3c
mov esi, eax
inc esi
cmp esi, 0xffffffff
je 0x42f13f
mov edi, esi
lea eax, [ebp - 0x30]
call fcn.00401285
movzx ebx, word [eax]
lea eax, [ebp - 0x30]
call fcn.00401285
xor ecx, ecx
mov word [eax], cx
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x42f10a
lea eax, [ebp - 0x2c]
push eax
call fcn.0042eda9
pop ecx
test eax, eax
jne 0x42f12e
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x42f121
lea eax, [ebp - 0x2c]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
je 0x42f169
mov edi, esi
lea eax, [ebp - 0x30]
call fcn.00401285
push 0x5c
mov word [eax], bx
inc esi
pop ebx
cmp dword [ebp - 0x6c], 0
je 0x42f14a
dec esi
and dword [ebp - 0x6c], 0
cmp esi, 0xffffffff
je 0x42f158
cmp esi, dword [ebp - 0x54]
jb 0x42f074
push 0
push 1
lea esi, [ebp - 0x30]
call fcn.0040146e
jmp 0x42f01b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.0042edfc
push 0
push 1
lea esi, [ebp - 0x30]
mov edi, eax
call fcn.0040146e
mov esi, edi
jmp 0x42f01e
Function at 0x42f20d
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [ecx + 0x80]
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0xc], ecx
cmp eax, edi
je 0x42f37c
cmp dword [ecx + 0x24], 2
jne 0x42f23d
mov eax, 0x300
jmp 0x42f381
mov esi, dword [ebp + 8]
xor eax, eax
xor ebx, ebx
test byte [esi], 2
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], eax
je 0x42f28e
lea eax, [esi + 8]
lea ecx, [esp + 0x10]
call fcn.0042f5d8
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
test byte [esi], 4
je 0x42f2b7
lea eax, [esi + 0x10]
lea ecx, [esp + 0x30]
call fcn.0042f5d8
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0xc]
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
inc ebx
test byte [esi], 8
je 0x42f2e0
lea eax, [esi + 0x18]
lea ecx, [esp + 0x30]
call fcn.0042f5d8
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0xc]
xor edi, edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
inc edi
test eax, eax
jne 0x42f2ec
test ebx, ebx
jne 0x42f2ec
test edi, edi
je 0x42f330
neg ebx
sbb ebx, ebx
lea edx, [esp + 0x18]
and ebx, edx
neg edi
sbb edi, edi
lea edx, [esp + 0x20]
and edi, edx
neg eax
push ebx
sbb eax, eax
lea edx, [esp + 0x2c]
push edi
and eax, edx
push eax
push dword [ecx + 0x80]
call dword [sym.imp.KERNEL32.DLL_SetFileTime]
test eax, eax
jne 0x42f32c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.0042fc16
jmp 0x42f381
mov ecx, dword [esp + 0xc]
test byte [esi], 0x10
je 0x42f368
test byte [ecx + 0x24], 5
je 0x42f368
push dword [esi + 0x24]
push dword [esi + 0x20]
call fcn.0042fb14
cmp eax, dword [esi + 0x20]
jne 0x42f31d
cmp edx, dword [esi + 0x24]
jne 0x42f31d
mov eax, dword [esp + 0xc]
push dword [eax + 0x80]
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
je 0x42f31d
mov ecx, dword [esp + 0xc]
test byte [esi], 1
je 0x42f377
or dword [ecx + 0x50], 1
mov eax, dword [esi + 4]
mov dword [ecx + 0x54], eax
xor eax, eax
inc eax
jmp 0x42f381
mov eax, 0x1000000
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42f38a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [ecx + 0x80]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0xc], ecx
cmp eax, ebx
je 0x42f4b1
mov esi, dword [ebp + 8]
mov edi, dword [esi]
and edi, 2
jne 0x42f3bc
cmp edi, ebx
je 0x42f454
mov ecx, edi
neg ecx
sbb ecx, ecx
lea edx, [esp + 0x20]
and ecx, edx
push ecx
mov ecx, edi
neg ecx
sbb ecx, ecx
lea edx, [esp + 0x1c]
and ecx, edx
push ecx
mov ecx, edi
neg ecx
sbb ecx, ecx
lea edx, [esp + 0x18]
and ecx, edx
push ecx
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.DLL_GetFileTime]
test eax, eax
jne 0x42f418
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.0042fc16
jmp 0x42f4b6
cmp edi, ebx
je 0x42f454
lea eax, [esp + 0x10]
push eax
call fcn.0042f568
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
cmp edi, ebx
je 0x42f454
lea eax, [esp + 0x18]
push eax
call fcn.0042f568
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
cmp edi, ebx
je 0x42f454
lea eax, [esp + 0x20]
push eax
call fcn.0042f568
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
test byte [esi], 0x10
je 0x42f468
mov ecx, dword [esp + 0xc]
call fcn.0042fb0f
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
test byte [esi], 1
je 0x42f492
mov eax, dword [esp + 0xc]
call fcn.0042fb7a
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x42f406
lea ecx, [esp + 0x10]
call fcn.0042f4bf
mov dword [esi + 4], eax
test byte [esi], 0x20
je 0x42f4ac
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x20], 8
jb 0x42f4a6
mov eax, dword [eax + 0xc]
jmp 0x42f4a9
add eax, 0xc
mov dword [esi + 0x28], eax
xor eax, eax
inc eax
jmp 0x42f4b6
mov eax, 0x1000000
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42f633
Capabilities:
Clear file content

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x80], 0
jne 0x42f645
xor eax, eax
xor edx, edx
jmp 0x42f668
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.0042fb28
push dword [esi + 0x80]
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
pop esi
ret 8

Function at 0x42f6ef
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x80]
test eax, eax
je 0x42f753
and dword [ebp - 4], 0
push 0
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x42f72d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.0042fc16
mov dword [esi + 0x4c], eax
jmp 0x42f750
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x42f73d
mov dword [esi + 0x4c], 0x1000c00
jmp 0x42f750
lea eax, [esi + 0x88]
add dword [eax], ecx
mov dword [esi + 0x4c], 1
adc dword [eax + 4], 0
mov eax, dword [ebp - 4]
pop esi
leave
ret 8
Function at 0x42f758
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x80]
test eax, eax
je 0x42f7af
and dword [ebp - 4], 0
push 0
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x42f796
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.0042fc16
mov dword [esi + 0x4c], eax
jmp 0x42f7ac
mov ecx, dword [ebp - 4]
lea eax, [esi + 0x88]
add dword [eax], ecx
mov dword [esi + 0x4c], 1
adc dword [eax + 4], 0
mov eax, dword [ebp - 4]
pop esi
leave
ret 8

Function at 0x42f990
Capabilities:
Set file attributes

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x80]
test eax, eax
je 0x42f9d9
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea edi, [esi + 0x50]
test byte [edi], 1
je 0x42f9d1
lea ecx, [esi + 0x54]
call fcn.0042eea1
push eax
mov eax, esi
call fcn.0042fb7a
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
push 0x30
push 0
push edi
call fcn.0043e4b0
add esp, 0xc
and dword [esi + 0x80], 0
pop edi
pop esi
ret
Function at 0x42fc86
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4535ec
mov eax, dword fs:[0]
push eax
sub esp, 0x550
mov eax, dword [0x46a1c0]
xor eax, esp
mov dword [esp + 0x548], eax
push ebx
push esi
push edi
mov eax, dword [0x46a1c0]
xor eax, esp
push eax
lea eax, [esp + 0x560]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, ecx
mov dword [esp + 0x10], esi
call fcn.0042ff7f
lea eax, [esp + 0x4c]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x42fcf7
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.0042fc16
jmp 0x42fe6c
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
push 0x4411
push 0x2b4
lea eax, [esp + 0x2a4]
push eax
push dword [esp + 0x58]
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
xor edi, edi
cmp eax, edi
je 0x42fce5
mov eax, dword [esp + 0x4c]
mov dword [ebx + 0x48], edi
test al, 1
je 0x42fd33
mov dword [ebx + 0x48], 0x80
test al, 0x20
je 0x42fd3b
or dword [ebx + 0x48], 2
mov ecx, 0x800
test ecx, eax
je 0x42fd48
or dword [ebx + 0x48], 4
test eax, 0x4000
je 0x42fd53
or dword [ebx + 0x48], 8
test al, 2
je 0x42fd5b
or dword [ebx + 0x48], 0x10
test al, al
jns 0x42fd63
or dword [ebx + 0x48], 0x20
test al, 4
je 0x42fd6e
or dword [ebx + 0x48], 0x400
test eax, 0x100
je 0x42fd78
or dword [ebx + 0x48], ecx
test al, 0x10
je 0x42fd80
or dword [ebx + 0x48], 1
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.0042fec2
push dword [esp + 0x5c]
mov dword [ebx + 0x58], eax
push dword [esp + 0x5c]
mov dword [ebx + 0x5c], edx
call fcn.0042fec2
push dword [esp + 0x64]
mov dword [ebx + 0x60], eax
push dword [esp + 0x64]
mov dword [ebx + 0x64], edx
call fcn.0042fec2
mov dword [ebx + 0x68], eax
mov eax, dword [esp + 0x68]
mov dword [ebx + 0x6c], edx
mov edx, edi
mov cl, 0x20
call fcn.0044d8a0
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x6c]
add dword [ebx + 8], eax
lea eax, [esp + 0x4b0]
push eax
mov dword [ebx + 0xc], edx
adc dword [ebx + 0xc], edi
lea eax, [esp + 0x18]
call fcn.00401238
lea esi, [esp + 0x30]
call fcn.00401225
mov dword [esp + 0x568], edi
lea esi, [ebx + 0x10]
lea edi, [esp + 0x14]
call fcn.0041342f
call fcn.00408154
mov eax, dword [esp + 0x2a0]
mov esi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x4010
mov dword [ebx + 0x50], eax
mov edi, 0x2b4
push edi
lea eax, [esp + 0x2a4]
push eax
push dword [esp + 0x58]
push dword [esp + 0x20]
call esi
test eax, eax
je 0x42fe43
mov eax, dword [esp + 0x2a0]
mov dword [ebx + 0x54], eax
push 0x4012
push edi
lea eax, [esp + 0x2a4]
push eax
push dword [esp + 0x58]
push dword [esp + 0x20]
call esi
test eax, eax
je 0x42fe69
mov eax, dword [esp + 0x2a0]
mov dword [ebx + 0x4c], eax
xor eax, eax
inc eax
mov ecx, dword [esp + 0x560]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x548]
xor ecx, esp
call fcn.0043de6e
mov esp, ebp
pop ebp
ret 4
Function at 0x430235
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
movzx edx, byte [eax + 0x10]
movzx ecx, cl
xor ecx, edx
mov ecx, dword [ecx*4 + 0x45b088]
mov edx, dword [eax + 0x10]
shr edx, 8
xor ecx, edx
movzx edx, byte [eax + 0x18]
mov dword [eax + 0x10], ecx
movzx ecx, cl
add ecx, dword [eax + 0x14]
imul ecx, ecx, 0x8088405
inc ecx
mov dword [eax + 0x14], ecx
shr ecx, 0x18
xor ecx, edx
mov edx, dword [eax + 0x18]
shr edx, 8
xor edx, dword [ecx*4 + 0x45b088]
mov dword [eax + 0x18], edx
ret

Function at 0x430938
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
cmp dword [ebp + 0xc], esi
jbe 0x430964
mov eax, ebx
call fcn.0043091e
xor byte [esi + edi], al
mov cl, byte [esi + edi]
mov eax, ebx
call fcn.00430a29
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x43094a
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x43096d
mov dword [eax], edi
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x430999
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
mov eax, edi
push dword [ebp + 8]
call fcn.004309f4
push dword [ebp + 0x18]
lea eax, [edi + 8]
push dword [ebp + 0x14]
push 0xc
push eax
call fcn.0043e18e
xor esi, esi
add esp, 0x10
cmp dword [ebp + 0x18], esi
jbe 0x4309e9
push ebx
mov eax, edi
call fcn.0043091e
mov bl, al
mov eax, dword [ebp + 0x14]
xor bl, byte [esi + eax]
mov eax, edi
mov cl, bl
call fcn.00430a29
mov byte [edi + esi + 8], bl
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x4309c6
pop ebx
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x20], eax
pop esi
pop ebp
ret 0x14

Function at 0x430a29
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
movzx edx, byte [eax + 0x14]
movzx ecx, cl
xor ecx, edx
mov ecx, dword [ecx*4 + 0x45ac88]
mov edx, dword [eax + 0x14]
shr edx, 8
xor ecx, edx
movzx edx, byte [eax + 0x1c]
mov dword [eax + 0x14], ecx
movzx ecx, cl
add ecx, dword [eax + 0x18]
imul ecx, ecx, 0x8088405
inc ecx
mov dword [eax + 0x18], ecx
shr ecx, 0x18
xor ecx, edx
mov edx, dword [eax + 0x1c]
shr edx, 8
xor edx, dword [ecx*4 + 0x45ac88]
mov dword [eax + 0x1c], edx
ret

Function at 0x4317d3
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push edi
mov edi, 0x104
push edi
lea ebx, [esi + 0x104]
push esi
push ebx
xor ebp, ebp
call fcn.0043fad0
add esp, 0xc
mov eax, edi
sub eax, ebp
push eax
lea eax, [esi + ebp]
push eax
call dword [esi + 0x20c]
add ebp, eax
pop ecx
pop ecx
cmp ebp, edi
jb 0x4317ee
xor eax, eax
mov cl, byte [ebx + eax]
not cl
xor byte [eax + esi], cl
inc eax
cmp eax, edi
jb 0x431807
push esi
call fcn.00431742
push ebx
call fcn.00431742
pop ecx
pop ecx
pop edi
pop ebp
pop ebx
ret
Function at 0x43213d
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0x9c]
push edi
cmp eax, 0xffffffff
je 0x4321ac
cmp eax, 0x40
jbe 0x432169
push esi
lea esi, [ebx + 0x40]
push ebx
call fcn.00434061
pop ecx
mov dword [ebx + 0x9c], 0x14
pop esi
mov eax, dword [ebx + 0x9c]
push 0x40
pop ecx
sub ecx, eax
push ecx
add eax, ebx
push 0
push eax
call fcn.0043e4b0
add esp, 0xc
xor eax, eax
xor dword [ebx + eax*4], 0x36363636
inc eax
cmp eax, 0x10
jb 0x432184
lea eax, [ebx + 0x40]
call fcn.00433fd0
push 0x40
mov edi, eax
mov ecx, ebx
call fcn.00433ffb
or dword [ebx + 0x9c], 0xffffffff
pop ecx
cmp dword [esp + 0x10], 0
je 0x4321c4
push dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
lea edi, [ebx + 0x40]
call fcn.00433ffb
pop ecx
pop edi
pop ebx
ret

Function at 0x4321c7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x46a1c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
cmp dword [ebx + 0x9c], 0xffffffff
push esi
push edi
mov dword [ebp - 0x1c], eax
je 0x4321f9
push ebx
push 0
push 0
call fcn.0043213d
add esp, 0xc
lea eax, [ebp - 0x18]
lea esi, [ebx + 0x40]
push eax
call fcn.00434061
pop ecx
xor eax, eax
xor dword [ebx + eax*4], 0x6a6a6a6a
inc eax
cmp eax, 0x10
jb 0x432208
mov eax, esi
call fcn.00433fd0
push 0x40
mov edi, esi
mov ecx, ebx
call fcn.00433ffb
push 0x14
lea ecx, [ebp - 0x18]
call fcn.00433ffb
lea eax, [ebp - 0x18]
push eax
call fcn.00434061
add esp, 0xc
cmp dword [ebp + 0xc], 0
pop edi
pop esi
pop ebx
jbe 0x432258
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
call fcn.0043fad0
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043de6e
leave
ret
Function at 0x432264
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x220
mov eax, dword [0x46a1c0]
xor eax, ebp
mov dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x78]
push ebx
mov ebx, dword [ebp + 0x70]
push esi
mov dword [ebp - 0x1bc], eax
lea eax, [ebp - 0x108]
push edi
push eax
mov esi, ecx
call fcn.004320c4
push dword [ebp + 0x6c]
push esi
lea esi, [ebp - 0x108]
call fcn.004320d8
mov edi, 0xa0
push edi
mov eax, esi
push eax
lea eax, [ebp - 0x1a8]
push eax
call fcn.0043fad0
lea eax, [ebp - 0x1a8]
push eax
push dword [ebp + 0x74]
push ebx
call fcn.0043213d
mov eax, dword [ebp + 0x7c]
add esp, 0x24
push 0x14
dec eax
xor edx, edx
pop ecx
div ecx
mov esi, eax
inc esi
je 0x4323e9
and dword [ebp - 0x1b0], 0
xor ebx, ebx
lea eax, [ebp + 0x38]
inc ebx
mov dword [ebp - 0x1b4], eax
push 0x14
lea eax, [ebp + 0x38]
push 0
push eax
call fcn.0043e4b0
push edi
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0043fad0
mov eax, ebx
shr eax, 0x18
mov byte [ebp + 0x4c], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp + 0x4d], al
mov eax, ebx
add esp, 0x18
shr eax, 8
mov byte [ebp + 0x4e], al
mov byte [ebp + 0x4f], bl
mov dword [ebp - 0x1ac], 4
mov dword [ebp - 0x1b8], 0x3e8
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x1ac]
lea eax, [ebp + 0x4c]
push eax
call fcn.0043213d
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x4c]
push 0x14
push eax
call fcn.004321c7
add esp, 0x18
xor eax, eax
mov cl, byte [ebp + eax + 0x4c]
xor byte [ebp + eax + 0x38], cl
inc eax
cmp eax, 0x14
jb 0x43236b
mov dword [ebp - 0x1ac], eax
push edi
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0043fad0
add esp, 0xc
dec dword [ebp - 0x1b8]
jne 0x432344
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x1b0]
cmp eax, dword [ebp + 0x7c]
jae 0x4323cf
mov ecx, dword [ebp - 0x1b4]
mov cl, byte [ecx + eax]
mov edx, dword [ebp - 0x1bc]
inc dword [ebp - 0x1ac]
mov byte [eax + edx], cl
inc eax
cmp dword [ebp - 0x1ac], 0x14
jb 0x4323a8
add dword [ebp - 0x1b0], 0x14
sub dword [ebp - 0x1b4], 0x14
inc ebx
lea eax, [ebx - 1]
cmp eax, esi
jb 0x4322f4
mov ecx, dword [ebp + 0x60]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043de6e
add ebp, 0x64
leave
ret