joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5eda45
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x5eda73
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x5eda7a
cmp ebx, dword [eax + 4]
jae 0x5eda7a
xor eax, eax
jmp 0x5edc6a
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x5eda8b
xor eax, eax
inc eax
jmp 0x5edc69
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5edaa1
cmp ecx, edx
jae 0x5edbe6
cmp dword [eax + 4], 0
je 0x5edaaa
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x5eda92
cmp dword [ebp + 8], 0
je 0x5edacc
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x5edbe6
cmp eax, esi
jae 0x5edbe6
mov eax, dword [0x6fc4b0]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x5edaf1
cmp dword [esi*4 + 0x6fc4b8], edi
je 0x5edbea
inc esi
cmp esi, eax
jl 0x5edadf
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x5edc66
cmp dword [ebp - 8], 0x1000000
jne 0x5edc66
test byte [ebp - 0xc], 0xcc
je 0x5edb6f
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x5edc66
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x5edc66
cmp word [eax + 0x18], 0x10b
jne 0x5edc66
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x5edc66
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x5edb6f
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x5edb6f
test byte [ecx + 0x27], 0x80
jne 0x5edbe6
push 1
push 0x6fc4f8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x5eda83
mov ecx, dword [0x6fc4b0]
test ecx, ecx
mov edx, ecx
jle 0x5edba3
lea eax, [ecx*4 + 0x6fc4b4]
cmp dword [eax], edi
je 0x5edba3
dec edx
sub eax, 4
test edx, edx
jg 0x5edb97
test edx, edx
jne 0x5edbd4
push 0xf
pop ebx
cmp ecx, ebx
jg 0x5edbb0
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x5edbc8
lea eax, [edx*4 + 0x6fc4b8]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x5edbb6
cmp ecx, 0x10
jge 0x5edbd4
inc ecx
mov dword [0x6fc4b0], ecx
push 0
push 0x6fc4f8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x5eda83
xor eax, eax
jmp 0x5edc69
test esi, esi
jle 0x5eda83
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x6fc4f8
call ebx
test eax, eax
jne 0x5eda83
cmp dword [esi*4 + 0x6fc4b8], edi
je 0x5edc40
mov eax, dword [0x6fc4b0]
lea esi, [eax - 1]
test esi, esi
jl 0x5edc2e
cmp dword [esi*4 + 0x6fc4b8], edi
je 0x5edc2a
dec esi
jns 0x5edc1e
test esi, esi
jge 0x5edc3e
cmp eax, 0x10
jge 0x5edc39
inc eax
mov dword [0x6fc4b0], eax
lea esi, [eax - 1]
jmp 0x5edc40
je 0x5edc58
xor ecx, ecx
test esi, esi
jl 0x5edc58
lea eax, [ecx*4 + 0x6fc4b8]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x5edc46
push 0
push 0x6fc4f8
call ebx
jmp 0x5eda83
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5eecdf
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x687c50
call fcn.005e66a4
xor edi, edi
xor ebx, ebx
inc ebx
cmp dword [0x6fc528], edi
jne 0x5eed23
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x5eed0e
mov dword [0x6fc528], ebx
jmp 0x5eed23
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x5eed23
mov dword [0x6fc528], 2
mov eax, dword [0x6fc528]
cmp eax, ebx
jne 0x5eed43
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x5eee06
cmp eax, 2
je 0x5eed4c
cmp eax, edi
jne 0x5eed74
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
cmp dword [ebp + 0x18], edi
jne 0x5eed5f
mov eax, dword [0x6fc0f0]
mov dword [ebp + 0x18], eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x20], eax
cmp eax, edi
jne 0x5eed7b
xor eax, eax
jmp 0x5eee06
mov dword [ebp - 4], edi
add eax, 3
and eax, 0xfffffffc
call fcn.005e1650
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x28], esi
or dword [ebp - 4], 0xffffffff
jmp 0x5eedae
cmp esi, edi
jne 0x5eedc4
push dword [ebp - 0x20]
call fcn.005e3791
pop ecx
mov esi, eax
cmp esi, edi
je 0x5eed74
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x20]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x5eedf7
cmp dword [ebp + 0x14], edi
jne 0x5eede1
push edi
push edi
jmp 0x5eede7
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], edi
je 0x5eee03
push esi
call fcn.005e17ba
pop ecx
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x34]
call fcn.005e66df
ret
Function at 0x5eee0f
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x687c60
call fcn.005e66a4
xor esi, esi
cmp dword [0x6fc52c], esi
jne 0x5eee53
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x5eee3e
mov dword [0x6fc52c], edi
jmp 0x5eee53
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x5eee53
mov dword [0x6fc52c], 2
mov eax, dword [0x6fc52c]
cmp eax, 2
je 0x5eef34
cmp eax, esi
je 0x5eef34
cmp eax, 1
jne 0x5eee98
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x5eee81
mov eax, dword [0x6fc0f0]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x5eee9f
xor eax, eax
jmp 0x5eef46
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.005e1650
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x5eeed5
cmp edi, esi
jne 0x5eeef0
lea eax, [ebx + ebx]
push eax
call fcn.005e3791
pop ecx
mov edi, eax
cmp edi, esi
je 0x5eee98
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x5eef23
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x5eef0d
push esi
push esi
jmp 0x5eef13
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x5eef2f
push edi
call fcn.005e17ba
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x5eef46
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.005e66df
ret
Function at 0x5f0144
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.005e1650
mov eax, dword [0x6f853c]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, dword [0x6fe384]
mov dword [ebp - 4], eax
jae 0x5f0287
mov eax, ebx
sar eax, 5
mov eax, dword [eax*4 + 0x6fe3a0]
mov ecx, ebx
and ecx, 0x1f
test byte [eax + ecx*8 + 4], 1
je 0x5f0287
push 1
push esi
push ebx
call fcn.005ea026
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp - 0x1008], eax
je 0x5f0291
push 2
push esi
push ebx
call fcn.005ea026
add esp, 0xc
cmp eax, 0xffffffff
je 0x5f0291
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x5f0231
push 0x1000
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.005ebed0
push 0x8000
push ebx
call fcn.005f1014
add esp, 0x14
mov dword [ebp + 8], eax
mov eax, 0x1000
cmp edi, eax
jge 0x5f01f0
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push ebx
call fcn.005e991e
add esp, 0xc
cmp eax, 0xffffffff
je 0x5f020e
sub edi, eax
test edi, edi
jg 0x5f01e5
jmp 0x5f0224
cmp dword [0x6fc038], 5
jne 0x5f0221
mov dword [0x6fc034], 0xd
or esi, 0xffffffff
push dword [ebp + 8]
push ebx
call fcn.005f1014
pop ecx
pop ecx
jmp 0x5f0271
jge 0x5f0271
push 0
push dword [ebp + 0xc]
push ebx
call fcn.005ea026
push ebx
call fcn.005ef233
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, 0xffffffff
jne 0x5f0271
mov dword [0x6fc034], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x6fc038], eax
push 0
push dword [ebp - 0x1008]
push ebx
call fcn.005ea026
add esp, 0xc
mov eax, esi
pop edi
jmp 0x5f0294
mov dword [0x6fc034], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.005e1637
leave
ret
Function at 0x5f0e3f
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x5f0e58
or eax, 0xffffffff
jmp 0x5f0eb9
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x5f0eb5
push 0x3d
push esi
call fcn.005f10c1
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x5f0eb5
cmp esi, eax
je 0x5f0eb5
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x6fc060]
sete cl
cmp eax, dword [0x6fc064]
mov dword [ebp - 8], ecx
jne 0x5f0e9b
mov edi, eax
call fcn.005f0dde
mov dword [0x6fc060], eax
cmp eax, ebx
jne 0x5f0ef4
cmp dword [ebp + 0xc], ebx
je 0x5f0ebd
cmp dword [0x6fc068], ebx
je 0x5f0ebd
call fcn.005f00b4
test eax, eax
je 0x5f0ef4
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x5f0ec6
xor eax, eax
jmp 0x5f0eb8
push 4
call fcn.005e3791
cmp eax, ebx
pop ecx
mov dword [0x6fc060], eax
je 0x5f0eb5
mov dword [eax], ebx
cmp dword [0x6fc068], ebx
jne 0x5f0ef4
push 4
call fcn.005e3791
cmp eax, ebx
pop ecx
mov dword [0x6fc068], eax
je 0x5f0eb5
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x6fc060]
call fcn.005f0d91
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x5f0f55
cmp dword [esi], ebx
je 0x5f0f55
lea esi, [esi + edi*4]
push dword [esi]
call fcn.005e17ba
cmp dword [ebp - 8], ebx
pop ecx
jne 0x5f0f38
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x5f0f96
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x5f0f2f
mov eax, edi
shl eax, 2
push eax
push dword [0x6fc060]
call fcn.005e35bd
cmp eax, ebx
pop ecx
pop ecx
je 0x5f0f96
jmp 0x5f0f91
cmp dword [ebp - 8], ebx
jne 0x5f1001
cmp edi, ebx
jge 0x5f0f64
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x6fc060]
call fcn.005e35bd
cmp eax, ebx
pop ecx
pop ecx
je 0x5f0eb5
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x6fc060], eax
cmp dword [ebp + 0xc], ebx
je 0x5f0feb
push dword [ebp - 4]
call fcn.005e3a40
inc eax
inc eax
push eax
call fcn.005e3791
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x5f0feb
push dword [ebp - 4]
push esi
call fcn.005e59d0
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x5f0fe4
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.005e17ba
pop ecx
cmp dword [ebp - 8], ebx
je 0x5f0ff9
push dword [ebp - 4]
call fcn.005e17ba
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x5f0eb8
push dword [ebp - 4]
call fcn.005e17ba
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x5f0ec2
Function at 0x5f54b8
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
push ebp
mov ebp, dword [eax + 0x18]
mov eax, dword [edx + 0x18]
push esi
mov esi, dword [edx + 0x1054]
push edi
mov edi, dword [edx + 0x1048]
imul esi, edi
add esi, eax
cmp eax, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], esi
jae 0x5f560d
push ebx
mov ebx, 0xffc03fc0
mov edx, dword [edx + 0x1050]
lea edx, [eax + edx*4]
add edi, eax
cmp eax, edx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edx
jae 0x5f55e8
mov esi, dword [eax + 4]
mov eax, dword [eax]
mov edx, dword [edi + 4]
mov edi, dword [edi]
mov ecx, eax
shr ecx, 2
and ecx, ebx
mov ebp, edi
shr ebp, 2
and ebp, ebx
add ecx, ebp
mov ebp, esi
shr ebp, 2
and ebp, ebx
add ecx, ebp
mov ebp, edx
shr ebp, 2
and ebp, ebx
lea ebx, [ecx + ebp - 0x7fff80]
mov ecx, eax
mov ebp, edi
and ecx, 0xff00ff
and ebp, 0xff00ff
add ecx, ebp
mov ebp, esi
and ebp, 0xff00ff
add ecx, ebp
mov ebp, edx
and ebp, 0xff00ff
shr eax, 2
lea ecx, [ecx + ebp + 0x20002]
shr ecx, 2
xor ebx, ecx
mov ecx, 0x3fc03fc0
and eax, ecx
shr edi, 2
and edi, ecx
add eax, edi
mov edi, dword [esp + 0x18]
shr esi, 2
and esi, ecx
add eax, esi
shr edx, 2
and edx, ecx
lea eax, [eax + edx + 0x800080]
and ebx, 0xff00ff
xor ebx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 4
mov dword [eax], ebx
mov eax, dword [esp + 0x14]
add eax, 8
add edi, 8
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
mov ebx, 0xffc03fc0
jb 0x5f551b
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
add ebp, dword [edx + 0x1048]
mov edx, dword [ecx]
mov edi, dword [edx + 0x1048]
lea eax, [eax + edi*2]
cmp eax, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
jb 0x5f54f8
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20
ret
Function at 0x5f5732
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
push esi
mov esi, dword [ecx]
mov ebp, dword [esi + 0x1054]
push edi
mov edi, dword [esi + 0x1048]
imul ebp, edi
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x18]
add ebp, eax
cmp eax, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebp
jae 0x5f5879
push ebx
mov edx, 0xf81f
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1050]
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 0x5f5854
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 0x5f579b
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1048]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1048]
lea eax, [eax + edi*2]
cmp eax, ebp
mov dword [esp + 0x20], eax
jb 0x5f5772
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x5f59a6
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
push esi
mov esi, dword [ecx]
mov ebp, dword [esi + 0x1054]
mov edx, dword [esi + 0x18]
push edi
mov edi, dword [esi + 0x1048]
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 0x5f5aec
push ebx
mov eax, 0x83e0
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1050]
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 0x5f5ac7
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 0x5f5a0f
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1048]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1048]
lea edx, [edx + edi*2]
cmp edx, ebp
mov dword [esp + 0x20], edx
jb 0x5f59e6
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x5f5af5
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
push esi
mov esi, dword [ecx]
mov ebp, dword [esi + 0x1054]
push edi
mov edi, dword [esi + 0x1048]
imul ebp, edi
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x18]
add ebp, eax
cmp eax, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebp
jae 0x5f5c3f
push ebx
mov edx, 0xf0f0
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1050]
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 0x5f5c1a
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 0x5f5b5e
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1048]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1048]
lea eax, [eax + edi*2]
cmp eax, ebp
mov dword [esp + 0x20], eax
jb 0x5f5b35
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x5f5c48
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
push ebp
mov ebp, dword [eax + 0x18]
mov eax, dword [edx + 0x18]
push esi
mov esi, dword [edx + 0x1054]
push edi
mov edi, dword [edx + 0x1048]
imul esi, edi
add esi, eax
cmp eax, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], esi
jae 0x5f5d7e
push ebx
mov edx, dword [edx + 0x1050]
add edx, eax
add edi, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edx
jae 0x5f5d59
movzx ebp, byte [ebx]
movzx esi, byte [ebx + 1]
movzx eax, byte [edi + 1]
movzx edi, byte [edi]
mov edx, eax
push 0x1c
pop ecx
and edx, ecx
mov ebx, ebp
and ebx, ecx
add edx, ebx
mov ebx, edi
and ebx, ecx
add edx, ebx
mov ebx, esi
and ebx, ecx
lea edx, [edx + ebx + 8]
mov ecx, eax
and ecx, 0xffff00e3
mov ebx, ebp
and ebx, 0xffff00e3
add ecx, ebx
mov ebx, edi
and ebx, 0xffff00e3
add ecx, ebx
mov ebx, esi
and ebx, 0xffff00e3
shr edx, 2
lea ecx, [ecx + ebx + 0x42]
mov ebx, dword [esp + 0x14]
shr ecx, 2
xor dl, cl
mov ecx, 0xe3
and ax, cx
and bp, cx
and di, cx
and si, cx
and dl, 0x1c
add eax, ebp
add eax, edi
mov edi, dword [esp + 0x18]
lea eax, [eax + esi + 0x42]
shr eax, 2
xor dl, al
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
inc ebx
inc ebx
inc edi
inc edi
cmp ebx, dword [esp + 0x24]
mov byte [eax], dl
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
jb 0x5f5ca7
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
add ebp, dword [edx + 0x1048]
mov edx, dword [ecx]
mov edi, dword [edx + 0x1048]
lea eax, [eax + edi*2]
cmp eax, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
jb 0x5f5c83
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20
ret
Function at 0x5f5e22
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
mov ebp, dword [edx + 0x1048]
push edi
mov edi, dword [edx + 0x1054]
imul edi, ebp
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x18]
add edi, eax
cmp eax, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edi
jae 0x5f5f66
push ebx
push esi
mov esi, 0xff1c
mov ebx, dword [esp + 0x14]
mov edx, dword [edx + 0x1050]
lea edx, [eax + edx*2]
mov dword [esp + 0x10], ebx
add ebp, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], edx
jae 0x5f5f40
movzx edx, word [ebx]
movzx edi, word [ebx + 2]
movzx eax, word [ebp + 2]
movzx ebp, word [ebp]
mov dword [esp + 0x18], edx
mov ebx, eax
mov ecx, 0xe3
and bx, cx
and dx, cx
add ebx, edx
mov edx, ebp
and dx, cx
add ebx, edx
mov edx, edi
and dx, cx
mov ecx, eax
and cx, si
and eax, esi
lea edx, [ebx + edx + 0x42]
mov ebx, dword [esp + 0x18]
and bx, si
shr edx, 2
add ecx, ebx
mov ebx, ebp
and bx, si
and ebp, esi
add ecx, ebx
mov ebx, edi
and bx, si
and edi, esi
lea ecx, [ecx + ebx + 0x208]
mov ebx, dword [esp + 0x1c]
shr ecx, 2
xor dl, cl
mov ecx, dword [esp + 0x18]
and ecx, esi
add eax, ecx
add eax, ebp
mov ebp, dword [esp + 0x20]
lea eax, [eax + edi + 0x208]
shr eax, 2
and edx, 0xffff00e3
xor edx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
add ebx, 4
add ebp, 4
cmp ebx, dword [esp + 0x28]
mov word [eax], dx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
jb 0x5f5e8b
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov edx, dword [edx + 0x1048]
add dword [esp + 0x14], edx
mov edx, dword [ecx]
mov ebp, dword [edx + 0x1048]
lea eax, [eax + ebp*2]
cmp eax, edi
mov dword [esp + 0x24], eax
jb 0x5f5e62
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x24
ret