joyce8/EMBER2024-capa huggingface dataset:
Function at 0x589688
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push 8
call fcn.0064adfa
mov ebx, eax
test ebx, ebx
pop ecx
jne 0x5896a7
mov esi, 0x8007000e
jmp 0x589713
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebx], ecx
mov ecx, dword [eax + 8]
shr ecx, 2
mov dword [ebx + 4], ecx
mov ecx, dword [eax + 8]
mov esi, dword [eax + 0xc]
push edi
mov eax, ecx
shr ecx, 2
lea edi, [ebx + 8]
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 4]
push edx
push ebx
push 8
push 0
mov ecx, eax
mov eax, dword [ebp + 8]
push 0
and ecx, 3
push 0x6c7728
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov esi, eax
test esi, esi
pop edi
jge 0x5896f6
push str.Failed_to_create_x_file_data_object_
jmp 0x58970d
mov eax, dword [ebp + 0x10]
push dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov esi, eax
test esi, esi
jge 0x589713
push str.Failed_to_add_x_file_data_object_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 4]
test eax, eax
je 0x589724
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 4], 0
push ebx
call fcn.0064ae23
pop ecx
mov eax, esi
pop esi
pop ebx
leave
ret 0xc

Function at 0x589733
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [esi]
call fcn.0058947b
test eax, eax
mov dword [ebp - 8], eax
jne 0x58975f
mov edi, 0x8007000e
jmp 0x589805
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push 4
push 0
push 0
push 0x6c7718
push ebx
call dword [eax + 0x10]
mov edi, eax
xor eax, eax
cmp edi, eax
jge 0x58978b
push str.Failed_to_create_x_file_data_object_
jmp 0x5897fe
cmp dword [esi + 4], eax
mov dword [ebp + 8], eax
jbe 0x5897e7
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 8]
add eax, ecx
mov ecx, dword [eax + 4]
dec ecx
je 0x5897c2
dec ecx
je 0x5897b6
dec ecx
jne 0x5897d8
push dword [ebp - 4]
push eax
push ebx
call fcn.00589688
jmp 0x5897d2
push dword [ebp - 4]
push eax
push ebx
call fcn.005895d4
jmp 0x5897d2
push dword [ebp - 4]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push ebx
call fcn.00589531
mov edi, eax
test edi, edi
jl 0x589804
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
add dword [ebp + 0xc], 0x10
cmp eax, dword [esi + 4]
jb 0x589796
mov eax, dword [ebp + 0x18]
push dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov edi, eax
test edi, edi
jge 0x589804
push str.Failed_to_add_x_file_data_object_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x589812
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
pop edi
pop esi
leave
ret 0x14
Function at 0x58981a
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
xor esi, esi
push edi
push 0x2c
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call fcn.0064adfa
mov edi, eax
cmp edi, esi
pop ecx
mov dword [ebp - 0x10], edi
jne 0x589855
push str.Out_of_memory_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp + 0xc], 0x8007000e
jmp 0x589955
mov ecx, dword [ebp - 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
mov esi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ebx + 0x40]
push 4
pop edi
lea eax, [ecx + 0x10]
mov dword [eax], edx
mov edx, dword [ebx + 0x20]
add eax, edi
mov dword [eax], edx
mov edx, dword [ebx + 0x24]
mov esi, dword [ebp + 8]
add eax, edi
mov dword [eax], edx
mov edx, dword [ebx + 0x28]
add eax, edi
mov dword [eax], edx
mov edx, dword [ebx + 0x30]
add eax, edi
mov dword [eax], edx
mov edx, dword [ebx + 0x34]
add eax, edi
mov dword [eax], edx
mov edx, dword [ebx + 0x38]
mov dword [eax + 4], edx
mov eax, dword [esi]
lea edx, [ebp - 4]
push edx
push ecx
push 0x2c
push 0
push 0
push 0x6cae60
push esi
call dword [eax + 0x10]
test eax, eax
mov dword [ebp + 0xc], eax
jge 0x5898c6
push str.Failed_to_create_x_file_data_object_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x589954
mov eax, dword [ebp + 0x1c]
push dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
test eax, eax
mov dword [ebp + 0xc], eax
jl 0x58992e
mov ebx, dword [ebx + 0x44]
test ebx, ebx
je 0x589935
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
call fcn.0058947b
test eax, eax
mov dword [ebp - 0xc], eax
jne 0x5898fc
mov dword [ebp + 0xc], 0x8007000e
jmp 0x589954
mov eax, dword [esi]
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push 0
push 0
push 0x6caec0
push esi
call dword [eax + 0x10]
test eax, eax
mov dword [ebp + 0xc], eax
jl 0x5898b6
mov eax, dword [ebp - 4]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
test eax, eax
mov dword [ebp + 0xc], eax
jge 0x589935
push str.Failed_to_add_x_file_data_object_
jmp 0x5898bb
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x589954
cmp dword [eax], 0
je 0x589954
push dword [ebp - 4]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push esi
call fcn.00589733
mov dword [ebp + 0xc], eax
pop ebx
mov eax, dword [ebp - 8]
test eax, eax
pop edi
pop esi
je 0x589968
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 8], 0
mov eax, dword [ebp - 4]
test eax, eax
je 0x589979
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 4], 0
push dword [ebp - 0x10]
call fcn.0064ae23
mov eax, dword [ebp + 0xc]
pop ecx
leave
ret 0x18
Function at 0x589a50
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
and dword [ebp - 4], 0
push ebx
push esi
push edi
push eax
call dword [ecx + 0x10]
mov esi, eax
lea edi, [esi + esi*2]
shl edi, 2
lea eax, [edi + 4]
push eax
mov dword [ebp + 0xc], eax
call fcn.0064adfa
mov ebx, eax
test ebx, ebx
pop ecx
jne 0x589a86
mov esi, 0x8007000e
jmp 0x589ae5
lea eax, [esi + esi*2]
mov esi, dword [ebp + 0x10]
mov dword [ebx], eax
mov ecx, edi
mov eax, ecx
shr ecx, 2
lea edi, [ebx + 4]
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 4]
push edx
push ebx
push dword [ebp + 0xc]
mov ecx, eax
mov eax, dword [ebp + 8]
push 0
push 0
and ecx, 3
push 0x6c7828
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov esi, eax
test esi, esi
jge 0x589ac8
push str.Failed_to_create_x_file_data_object_
jmp 0x589adf
mov eax, dword [ebp + 0x14]
push dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov esi, eax
test esi, esi
jge 0x589ae5
push str.Failed_to_add_x_file_data_object_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 4]
test eax, eax
je 0x589af6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 4], 0
push ebx
call fcn.0064ae23
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10
Function at 0x58ac84
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x20]
push edi
mov edi, dword [ebp + 0x1c]
lea eax, [esi*4 + 4]
imul eax, edi
lea ecx, [ebx + ebx*2]
lea eax, [eax + ecx*4 + 8]
push eax
mov dword [ebp - 0xc], eax
call fcn.0064adfa
test eax, eax
pop ecx
mov dword [ebp - 8], eax
jne 0x58acc6
mov esi, 0x8007000e
jmp 0x58adae
and dword [ebp + 0x10], 0
mov dword [eax], ebx
add eax, 4
test ebx, ebx
jbe 0x58ad07
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx + 0xc0]
imul edx, dword [ebp + 0x10]
mov esi, dword [ecx + 0x94]
movzx esi, word [esi + 2]
mov edi, dword [ebp + 0xc]
add edi, edx
add esi, edi
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 0xc
inc dword [ebp + 0x10]
cmp dword [ebp + 0x10], ebx
movsd dword es:[edi], dword [esi]
jb 0x58acd6
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x20]
mov edx, dword [ebp + 0x18]
mov dword [eax], edi
add eax, 4
test edx, edx
je 0x58ad3b
test edi, edi
jbe 0x58ad68
mov dword [eax], esi
add eax, 4
xor ecx, ecx
test esi, esi
jbe 0x58ad2f
mov ebx, dword [edx + ecx*4]
mov dword [eax], ebx
add eax, 4
inc ecx
cmp ecx, esi
jb 0x58ad22
mov ecx, esi
shl ecx, 2
add edx, ecx
dec edi
jne 0x58ad17
jmp 0x58ad68
test edi, edi
jbe 0x58ad68
mov edx, dword [ebp + 0x14]
lea ebx, [esi + esi]
mov dword [ebp + 0x1c], edi
mov dword [eax], esi
add eax, 4
xor ecx, ecx
test esi, esi
jbe 0x58ad61
movzx edi, word [edx + ecx*2]
mov dword [eax], edi
add eax, 4
inc ecx
cmp ecx, esi
jb 0x58ad53
add edx, ebx
dec dword [ebp + 0x1c]
jne 0x58ad48
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0
push 0
push 0x6caeb0
push eax
call dword [ecx + 0x10]
mov esi, eax
test esi, esi
jge 0x58ad91
push str.Failed_to_create_x_file_data_object_
jmp 0x58ada8
mov eax, dword [ebp + 0x28]
push dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov esi, eax
test esi, esi
jge 0x58adae
push str.Failed_to_add_x_file_data_object_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 4]
test eax, eax
je 0x58adbf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 4], 0
push dword [ebp - 8]
call fcn.0064ae23
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x24
Function at 0x58add1
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0x10]
lea eax, [esi*8 + 4]
push edi
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], eax
call fcn.0064adfa
mov edi, eax
cmp edi, ebx
pop ecx
mov dword [ebp - 8], edi
jne 0x58ae06
mov esi, 0x8007000e
jmp 0x58ae8e
cmp esi, ebx
mov dword [edi], esi
lea ecx, [edi + 4]
mov dword [ebp + 0x10], ebx
jbe 0x58ae4c
mov edx, dword [ebp + 0x14]
mov edi, dword [edx + 0xc0]
imul edi, dword [ebp + 0x10]
mov eax, dword [edx + 0xa0]
movzx eax, word [eax + 2]
mov ebx, dword [ebp + 0xc]
add ebx, edi
add eax, ebx
mov edi, dword [eax]
mov dword [ecx], edi
mov eax, dword [eax + 4]
add ecx, 4
mov dword [ecx], eax
add ecx, 4
inc dword [ebp + 0x10]
cmp dword [ebp + 0x10], esi
jb 0x58ae15
mov edi, dword [ebp - 8]
xor ebx, ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push edi
push dword [ebp - 0xc]
push ebx
push ebx
push 0x6caea0
push eax
call dword [ecx + 0x10]
mov esi, eax
cmp esi, ebx
jge 0x58ae71
push str.Failed_to_create_x_file_data_object_
jmp 0x58ae88
mov eax, dword [ebp + 0x18]
push dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov esi, eax
cmp esi, ebx
jge 0x58ae8e
push str.Failed_to_add_x_file_data_object_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x58ae9e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], ebx
push edi
call fcn.0064ae23
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x14
Function at 0x58aeae
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
lea eax, [edi + edi*4]
lea eax, [eax*4 + 4]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], eax
call fcn.0064adfa
cmp eax, ebx
pop ecx
mov dword [ebp + 0x10], eax
jne 0x58aee4
mov esi, 0x8007000e
jmp 0x58af74
test edi, edi
mov dword [eax], edi
lea esi, [eax + 4]
jbe 0x58af2e
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ecx + 0xc0]
imul eax, ebx
add eax, dword [ebp + 0xc]
push eax
call fcn.0058a7c6
mov ecx, dword [ebp - 0x18]
mov dword [esi], ebx
push 4
pop eax
add esi, eax
mov dword [esi], ecx
mov ecx, dword [ebp - 0x14]
add esi, eax
mov dword [esi], ecx
mov ecx, dword [ebp - 0x10]
add esi, eax
mov dword [esi], ecx
mov ecx, dword [ebp - 0xc]
add esi, eax
mov dword [esi], ecx
add esi, eax
inc ebx
cmp ebx, edi
jb 0x58aeed
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push dword [ebp + 0x10]
push dword [ebp - 8]
push 0
push 0
push 0x6caed0
push eax
call dword [ecx + 0x10]
mov esi, eax
test esi, esi
jge 0x58af57
push str.Failed_to_create_x_file_data_object_
jmp 0x58af6e
mov eax, dword [ebp + 0x18]
push dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov esi, eax
test esi, esi
jge 0x58af74
push str.Failed_to_add_x_file_data_object_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 4]
test eax, eax
je 0x58af85
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 4], 0
push dword [ebp + 0x10]
call fcn.0064ae23
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x14
Function at 0x58b900
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x398
push ebx
push esi
mov esi, dword [ebp + 0x18]
mov eax, dword [esi + 4]
xor ebx, ebx
push edi
xor edi, edi
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x58ba3c
mov ecx, dword [esi + 0xc0]
imul ecx, dword [ebp + 0x10]
add ecx, 3
shr ecx, 2
lea eax, [ecx + eax*4]
lea eax, [eax*4 + 8]
push eax
mov dword [ebp + 0x18], eax
call fcn.0064adfa
mov ebx, eax
test ebx, ebx
pop ecx
jne 0x58b955
mov edi, 0x8007000e
jmp 0x58ba2b
mov eax, dword [esi + 4]
mov dword [ebx], eax
mov eax, dword [esi]
xor ecx, ecx
cmp dword [esi + 4], ecx
lea edi, [ebx + 4]
jbe 0x58b995
add eax, 5
movzx edx, byte [eax - 1]
mov dword [edi], edx
movzx edx, byte [eax]
add edi, 4
mov dword [edi], edx
movzx edx, byte [eax + 1]
add edi, 4
mov dword [edi], edx
movzx edx, byte [eax + 2]
add edi, 4
mov dword [edi], edx
add edi, 4
add eax, 8
inc ecx
cmp ecx, dword [esi + 4]
jb 0x58b969
mov eax, dword [esi + 0xc0]
imul eax, dword [ebp + 0x10]
add eax, 3
shr eax, 2
mov dword [edi], eax
push dword [esi]
mov eax, dword [ebp + 0x14]
push dword [eax]
lea ecx, [ebp - 0x398]
call fcn.005717a4
add edi, 4
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x398]
call fcn.0056729d
xor edi, edi
xor esi, esi
cmp dword [ebp + 0x10], edi
jbe 0x58b9e9
push 1
push esi
push esi
lea ecx, [ebp - 0x398]
call fcn.005672c4
inc esi
cmp esi, dword [ebp + 0x10]
jb 0x58b9d4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push ebx
push dword [ebp + 0x18]
push edi
push edi
push 0x6c7788
push eax
call dword [ecx + 0x10]
mov edi, eax
test edi, edi
jge 0x58ba0e
push str.Failed_to_create_x_file_data_object_
jmp 0x58ba25
mov eax, dword [ebp + 0x1c]
push dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov edi, eax
test edi, edi
jge 0x58ba2b
push str.Failed_to_add_x_file_data_object_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 4]
test eax, eax
je 0x58ba3c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 4], 0
push ebx
call fcn.0064ae23
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x18

Function at 0x58ece9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x58ed40
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x58ed40
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x58ed40
xor eax, eax
inc eax
jmp 0x58ed42
xor eax, eax
leave
ret 0x10
Function at 0x592253
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x592374
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x592358
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x5922aa
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x592288
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18
Function at 0x592640
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x20]
push ebp
push esi
mov esi, dword [ecx]
mov ebp, dword [esi + 0x1064]
push edi
mov edi, dword [esi + 0x1058]
imul ebp, edi
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x20]
add ebp, eax
cmp eax, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebp
jae 0x592787
mov edx, 0xf81f
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1060]
lea esi, [eax + esi*2]
mov dword [esp + 0x10], ebx
add edi, eax
cmp eax, esi
mov ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
jae 0x592762
movzx ecx, word [ebx]
movzx esi, word [ebx + 2]
movzx eax, word [edi + 2]
movzx edi, word [edi]
mov ebp, ecx
mov ebx, eax
and bx, dx
and bp, dx
mov dword [esp + 0x24], ecx
and ecx, 0xffff07e0
add ebx, ebp
mov ebp, edi
and bp, dx
add ebx, ebp
mov ebp, esi
and bp, dx
lea ebx, [ebx + ebp + 0x1002]
mov ebp, eax
and ebp, 0xffff07e0
add ebp, ecx
mov ecx, edi
and ecx, 0xffff07e0
add ebp, ecx
mov ecx, esi
and ecx, 0xffff07e0
shr ebx, 2
lea ecx, [ecx + ebp + 0x40]
shr ecx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x24]
and eax, edx
and ecx, edx
add eax, ecx
and edi, edx
add eax, edi
mov edi, dword [esp + 0x1c]
and esi, edx
and ebx, 0xffff07e0
lea eax, [eax + esi + 0x1002]
shr eax, 2
xor ebx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
mov word [eax], bx
mov ebx, dword [esp + 0x18]
add ebx, 4
add edi, 4
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
jb 0x5926a9
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1058]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1058]
lea eax, [eax + edi*2]
cmp eax, ebp
mov dword [esp + 0x20], eax
jb 0x592680
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x5928e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x20]
push ebp
push esi
mov esi, dword [ecx]
mov ebp, dword [esi + 0x1064]
mov edx, dword [esi + 0x20]
push edi
mov edi, dword [esi + 0x1058]
imul ebp, edi
add ebp, edx
cmp edx, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], ebp
jae 0x592a26
mov eax, 0x83e0
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1060]
lea esi, [edx + esi*2]
mov dword [esp + 0x10], ebx
add edi, edx
cmp edx, esi
mov ebx, edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
jae 0x592a01
movzx ecx, word [ebx]
movzx esi, word [ebx + 2]
movzx edx, word [edi + 2]
movzx edi, word [edi]
mov ebp, ecx
and ebp, eax
mov ebx, edx
and ebx, eax
add ebx, ebp
mov ebp, edi
and ebp, eax
add ebx, ebp
mov dword [esp + 0x24], ecx
and ecx, 0x7c1f
mov ebp, esi
and ebp, eax
lea ebx, [ebx + ebp + 0x10040]
mov ebp, edx
and ebp, 0x7c1f
add ebp, ecx
mov ecx, edi
and ecx, 0x7c1f
add ebp, ecx
mov ecx, esi
and ecx, 0x7c1f
lea ecx, [ecx + ebp + 0x802]
shr ecx, 2
shr ebx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x24]
and ecx, eax
and edx, eax
add edx, ecx
and edi, eax
add edx, edi
mov edi, dword [esp + 0x1c]
and esi, eax
and ebx, 0xffff7c1f
lea ecx, [edx + esi + 0x10040]
shr ecx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x10]
add dword [esp + 0x10], 2
mov word [ecx], bx
mov ebx, dword [esp + 0x18]
add ebx, 4
add edi, 4
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
jb 0x592949
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1058]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1058]
lea edx, [edx + edi*2]
cmp edx, ebp
mov dword [esp + 0x20], edx
jb 0x592920
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x592a5b
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x20]
push ebp
push esi
mov esi, dword [ecx]
mov ebp, dword [esi + 0x1064]
push edi
mov edi, dword [esi + 0x1058]
imul ebp, edi
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x20]
add ebp, eax
cmp eax, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebp
jae 0x592ba5
mov edx, 0xf0f0
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1060]
lea esi, [eax + esi*2]
mov dword [esp + 0x10], ebx
add edi, eax
cmp eax, esi
mov ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
jae 0x592b80
movzx ecx, word [ebx]
movzx esi, word [ebx + 2]
movzx eax, word [edi + 2]
movzx edi, word [edi]
mov ebp, ecx
mov ebx, eax
and bx, dx
and bp, dx
mov dword [esp + 0x24], ecx
and ecx, 0xffff0f0f
add ebx, ebp
mov ebp, edi
and bp, dx
add ebx, ebp
mov ebp, esi
and bp, dx
lea ebx, [ebx + ebp + 0x2020]
mov ebp, eax
and ebp, 0xffff0f0f
add ebp, ecx
mov ecx, edi
and ecx, 0xffff0f0f
add ebp, ecx
mov ecx, esi
and ecx, 0xffff0f0f
shr ebx, 2
lea ecx, [ecx + ebp + 0x202]
shr ecx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x24]
and eax, edx
and ecx, edx
add eax, ecx
and edi, edx
add eax, edi
mov edi, dword [esp + 0x1c]
and esi, edx
and ebx, 0xffff0f0f
lea eax, [eax + esi + 0x2020]
shr eax, 2
xor ebx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
mov word [eax], bx
mov ebx, dword [esp + 0x18]
add ebx, 4
add edi, 4
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
jb 0x592ac4
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1058]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1058]
lea eax, [eax + edi*2]
cmp eax, ebp
mov dword [esp + 0x20], eax
jb 0x592a9b
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret