joyce8/EMBER2024-capa huggingface dataset:
Function at 0x104bfab
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ecx + 4]
push ebx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ecx]
mov ebx, dword [ecx + 0x18]
push esi
mov esi, dword [eax + 0x18]
mov eax, dword [ecx + 0x105c]
imul eax, dword [ecx + 0x1050]
add eax, ebx
cmp ebx, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], eax
jae 0x104c0e0
mov eax, 0x83e0
mov edx, 0x7c1f
push edi
mov edi, dword [ecx + 0x1050]
mov ecx, dword [ecx + 0x1058]
lea ecx, [ebx + ecx*2]
add edi, ebx
cmp ebx, ecx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], ecx
jae 0x104c0b6
movzx ecx, word [ebx + 2]
movzx esi, word [edi + 2]
mov dword [ebp - 8], ecx
movzx ecx, word [edi]
movzx edi, word [ebx]
mov dword [ebp - 4], ecx
mov ebx, edi
and ebx, eax
mov ecx, esi
and ecx, eax
add ecx, ebx
mov ebx, dword [ebp - 4]
and ebx, eax
add ecx, ebx
mov ebx, dword [ebp - 8]
and ebx, eax
lea ebx, [ecx + ebx + 0x10040]
mov dword [ebp - 0x20], edi
and edi, edx
mov ecx, esi
and ecx, edx
add ecx, edi
mov edi, dword [ebp - 4]
and edi, edx
add ecx, edi
mov edi, dword [ebp - 8]
and edi, edx
lea ecx, [ecx + edi + 0x802]
shr ecx, 2
mov edi, dword [ebp - 0x14]
shr ebx, 2
xor ebx, ecx
mov ecx, dword [ebp - 0x20]
and ecx, eax
and esi, eax
add esi, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add esi, ecx
mov ecx, dword [ebp - 8]
and bx, dx
and ecx, eax
lea ecx, [esi + ecx + 0x10040]
shr ecx, 2
add edi, 4
mov dword [ebp - 0x14], edi
xor ebx, ecx
mov ecx, dword [ebp - 0xc]
add dword [ebp - 0xc], 2
mov word [ecx], bx
mov ebx, dword [ebp - 0x10]
add ebx, 4
cmp ebx, dword [ebp - 0x24]
mov dword [ebp - 0x10], ebx
jb 0x104c013
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
mov edi, dword [ecx + 4]
mov esi, dword [ebp - 0x18]
add esi, dword [edi + 0x1050]
mov ecx, dword [ecx]
mov edi, dword [ecx + 0x1050]
lea ebx, [ebx + edi*2]
cmp ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
jb 0x104bfee
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x104c0eb
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x18]
push ebx
mov ebx, dword [edx + 0x18]
push esi
mov esi, dword [edx + 0x105c]
imul esi, dword [edx + 0x1050]
add esi, ebx
cmp ebx, esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], esi
jae 0x104c22e
mov eax, 0xf0f0
push edi
mov edi, dword [edx + 0x1050]
mov edx, dword [edx + 0x1058]
lea edx, [ebx + edx*2]
add edi, ebx
cmp ebx, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x20], edx
jae 0x104c208
movzx ecx, word [edi]
movzx edx, word [edi + 2]
movzx esi, word [ebx + 2]
mov dword [ebp - 4], ecx
movzx ecx, word [ebx]
mov ebx, ecx
and bx, ax
mov edi, edx
and di, ax
mov dword [ebp - 0x1c], ecx
and ecx, 0xffff0f0f
add edi, ebx
mov ebx, dword [ebp - 4]
and bx, ax
add edi, ebx
mov ebx, esi
and bx, ax
lea edi, [edi + ebx + 0x2020]
mov ebx, edx
and ebx, 0xffff0f0f
add ebx, ecx
mov ecx, dword [ebp - 4]
and ecx, 0xffff0f0f
add ebx, ecx
mov ecx, esi
and ecx, 0xffff0f0f
lea ecx, [ebx + ecx + 0x202]
mov ebx, dword [ebp - 0xc]
shr ecx, 2
shr edi, 2
xor edi, ecx
mov ecx, dword [ebp - 0x1c]
and ecx, eax
and edx, eax
add edx, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add edx, ecx
and esi, eax
and edi, 0xffff0f0f
lea ecx, [edx + esi + 0x2020]
shr ecx, 2
xor edi, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 2
mov word [ecx], di
mov edi, dword [ebp - 0x10]
add ebx, 4
add edi, 4
cmp ebx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
jb 0x104c150
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov edi, dword [edx + 4]
add ecx, dword [edi + 0x1050]
mov edx, dword [edx]
mov edi, dword [edx + 0x1050]
lea ebx, [ebx + edi*2]
cmp ebx, esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
jb 0x104c12b
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x104c239
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, ecx
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x18]
push ebx
push edi
mov dword [ebp - 0x28], eax
mov eax, dword [eax]
mov edi, dword [eax + 0x105c]
imul edi, dword [eax + 0x1050]
mov ebx, dword [eax + 0x18]
add edi, ebx
cmp ebx, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], edi
jae 0x104c363
push esi
mov esi, 0xe3
mov edx, dword [eax + 0x1050]
mov eax, dword [eax + 0x1058]
add eax, ebx
add edx, ebx
cmp ebx, eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], eax
jae 0x104c33d
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
movzx edi, byte [ebx + 1]
mov dword [ebp - 4], ecx
movzx ecx, byte [ebx]
mov ebx, ecx
and ebx, 0x1c
mov edx, eax
and edx, 0x1c
add edx, ebx
mov ebx, dword [ebp - 4]
and ebx, 0x1c
add edx, ebx
mov dword [ebp - 0x1c], ecx
and cx, si
mov ebx, edi
and ebx, 0x1c
lea edx, [edx + ebx + 8]
mov ebx, eax
and bx, si
shr edx, 2
and ax, si
add ebx, ecx
mov ecx, dword [ebp - 4]
and cx, si
add ebx, ecx
mov ecx, edi
and cx, si
and di, si
lea ecx, [ebx + ecx + 0x42]
shr ecx, 2
xor dl, cl
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0xc]
and cx, si
and dl, 0x1c
add eax, ecx
mov ecx, dword [ebp - 4]
and cx, si
add eax, ecx
lea eax, [eax + edi + 0x42]
shr eax, 2
xor dl, al
mov eax, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [eax], dl
mov edx, dword [ebp - 0x10]
inc ebx
inc ebx
inc edx
inc edx
cmp ebx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edx
jb 0x104c29d
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 4]
add ecx, dword [edx + 0x1050]
mov eax, dword [eax]
mov edx, dword [eax + 0x1050]
lea ebx, [ebx + edx*2]
cmp ebx, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
jb 0x104c279
pop esi
pop edi
xor eax, eax
pop ebx
leave
ret
Function at 0x104c411
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov eax, ecx
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x18]
push esi
mov esi, dword [eax]
mov ebx, dword [esi + 0x18]
push edi
mov edi, dword [esi + 0x105c]
imul edi, dword [esi + 0x1050]
add edi, ebx
cmp ebx, edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], edi
jae 0x104c54a
mov eax, 0xff1c
mov edx, dword [esi + 0x1050]
mov esi, dword [esi + 0x1058]
lea esi, [ebx + esi*2]
add edx, ebx
cmp ebx, esi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], esi
jae 0x104c525
movzx esi, word [edx + 2]
movzx ecx, word [edx]
movzx edx, word [ebx]
movzx edi, word [ebx + 2]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov ebx, esi
mov ecx, 0xe3
and dx, cx
and bx, cx
add ebx, edx
mov edx, dword [ebp - 4]
and dx, cx
add ebx, edx
mov edx, edi
and dx, cx
mov ecx, esi
and cx, ax
and esi, eax
lea edx, [ebx + edx + 0x42]
mov ebx, dword [ebp - 0xc]
and bx, ax
shr edx, 2
add ecx, ebx
mov ebx, dword [ebp - 4]
and bx, ax
add ecx, ebx
mov ebx, edi
and bx, ax
and edi, eax
lea ecx, [ecx + ebx + 0x208]
mov ebx, dword [ebp - 0x10]
shr ecx, 2
xor dl, cl
mov ecx, dword [ebp - 0xc]
and ecx, eax
add esi, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add esi, ecx
and edx, 0xffff00e3
lea ecx, [esi + edi + 0x208]
shr ecx, 2
xor edx, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 2
mov word [ecx], dx
mov edx, dword [ebp - 0x14]
add ebx, 4
add edx, 4
cmp ebx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edx
jb 0x104c476
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, dword [edx + 4]
add ecx, dword [esi + 0x1050]
mov esi, dword [edx]
mov edx, dword [esi + 0x1050]
lea ebx, [ebx + edx*2]
cmp ebx, edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ebx
jb 0x104c451
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x104c676
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov eax, ecx
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x18]
push esi
mov esi, dword [eax]
mov ebx, dword [esi + 0x18]
push edi
mov edi, dword [esi + 0x105c]
imul edi, dword [esi + 0x1050]
add edi, ebx
cmp ebx, edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], edi
jae 0x104c7af
mov eax, 0xff00
mov edx, dword [esi + 0x1050]
mov esi, dword [esi + 0x1058]
lea esi, [ebx + esi*2]
add edx, ebx
cmp ebx, esi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], esi
jae 0x104c78a
movzx esi, word [edx + 2]
movzx ecx, word [edx]
movzx edx, word [ebx]
movzx edi, word [ebx + 2]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov ebx, esi
mov ecx, 0xff
and dx, cx
and bx, cx
add ebx, edx
mov edx, dword [ebp - 4]
and dx, cx
add ebx, edx
mov edx, edi
and dx, cx
mov ecx, esi
and cx, ax
and esi, eax
lea edx, [ebx + edx + 2]
mov ebx, dword [ebp - 0xc]
and bx, ax
shr edx, 2
add ecx, ebx
mov ebx, dword [ebp - 4]
and bx, ax
add ecx, ebx
mov ebx, edi
and bx, ax
and edi, eax
lea ecx, [ecx + ebx + 0x200]
mov ebx, dword [ebp - 0x10]
shr ecx, 2
xor dl, cl
mov ecx, dword [ebp - 0xc]
and ecx, eax
add esi, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add esi, ecx
and edx, 0xffff00ff
lea ecx, [esi + edi + 0x200]
shr ecx, 2
xor edx, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 2
mov word [ecx], dx
mov edx, dword [ebp - 0x14]
add ebx, 4
add edx, 4
cmp ebx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edx
jb 0x104c6db
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, dword [edx + 4]
add ecx, dword [esi + 0x1050]
mov esi, dword [edx]
mov edx, dword [esi + 0x1050]
lea ebx, [ebx + edx*2]
cmp ebx, edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ebx
jb 0x104c6b6
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x104c7bb
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, ecx
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x18]
push ebx
push edi
mov dword [ebp - 0x28], eax
mov eax, dword [eax]
mov edi, dword [eax + 0x105c]
imul edi, dword [eax + 0x1050]
mov ebx, dword [eax + 0x18]
add edi, ebx
cmp ebx, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], edi
jae 0x104c8e5
push esi
mov esi, 0xf0
mov edx, dword [eax + 0x1050]
mov eax, dword [eax + 0x1058]
add eax, ebx
add edx, ebx
cmp ebx, eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], eax
jae 0x104c8bf
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
movzx edi, byte [ebx + 1]
mov dword [ebp - 4], ecx
movzx ecx, byte [ebx]
mov ebx, ecx
and ebx, 0xf
mov edx, eax
and edx, 0xf
add edx, ebx
mov ebx, dword [ebp - 4]
and ebx, 0xf
add edx, ebx
mov dword [ebp - 0x1c], ecx
and cx, si
mov ebx, edi
and ebx, 0xf
lea edx, [edx + ebx + 2]
mov ebx, eax
and bx, si
shr edx, 2
and ax, si
add ebx, ecx
mov ecx, dword [ebp - 4]
and cx, si
add ebx, ecx
mov ecx, edi
and cx, si
and di, si
lea ecx, [ebx + ecx + 0x20]
shr ecx, 2
xor dl, cl
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0xc]
and cx, si
and dl, 0xf
add eax, ecx
mov ecx, dword [ebp - 4]
and cx, si
add eax, ecx
lea eax, [eax + edi + 0x20]
shr eax, 2
xor dl, al
mov eax, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [eax], dl
mov edx, dword [ebp - 0x10]
inc ebx
inc ebx
inc edx
inc edx
cmp ebx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edx
jb 0x104c81f
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 4]
add ecx, dword [edx + 0x1050]
mov eax, dword [eax]
mov edx, dword [eax + 0x1050]
lea ebx, [ebx + edx*2]
cmp ebx, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
jb 0x104c7fb
pop esi
pop edi
xor eax, eax
pop ebx
leave
ret
Function at 0x10544ba
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x1084efc]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, esi
push edi
mov dword [ebp - 4], eax
mov edi, ecx
mov dword [ebp - 0x9c], ebx
jne 0x10544eb
mov eax, 0x8876086c
jmp 0x10545eb
cmp dword [ebp + 0xc], esi
je 0x1054585
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
je 0x1054567
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
push esi
call ebx
mov dword [ebp - 0xa4], eax
add eax, 3
and eax, 0xfffffffc
call fcn.01010730
mov dword [ebp - 0xa0], esp
push esi
push esi
push dword [ebp - 0xa4]
push dword [ebp - 0xa0]
push 0xffffffffffffffff
push dword [ebp - 0x9c]
push esi
push esi
call ebx
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x9c], eax
mov dword [ebp + 0xc], esi
mov ebx, eax
cmp dword [ebp + 0xc], esi
je 0x1054585
push esi
push 0x10000000
push 3
push esi
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x105459c
push esi
push 0x10000000
push 3
push esi
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [edi], eax
je 0x10545dc
push esi
push esi
push esi
push 2
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, 0xffffffff
mov dword [edi + 4], eax
je 0x10545dc
push esi
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, esi
mov dword [edi + 8], eax
je 0x10545dc
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [edi + 0xc], eax
jne 0x10545e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x88760b59
jmp 0x10545eb
xor eax, eax
lea esp, [ebp - 0xb0]
mov ecx, dword [ebp - 4]
call fcn.01010358
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x1054696
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
xor esi, esi
cmp dword [ebx], esi
push edi
je 0x10546ab
call fcn.01054670
cmp dword [ebp + 0x14], esi
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
jne 0x10546bc
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp dword [ebp + 0x10], esi
je 0x10546d1
push 2
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov esi, eax
test esi, esi
jne 0x10546e1
push 0xa
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov esi, eax
test esi, esi
je 0x1054710
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
mov dword [ebx + 8], eax
je 0x1054710
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebx], eax
je 0x1054710
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [ebx + 4], eax
jne 0x105471d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x88760b59
jmp 0x105471f
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x10556b7
Capabilities:
Check for software breakpoints

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x10556eb
push esi
call fcn.0106643c
cmp byte [esi + 0x40], 0
pop ecx
je 0x10556e4
mov dword [esi + 0x10], 0xcf
mov al, 1
jmp 0x105577b
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x1055758
mov eax, dword [esi + 0x18c]
cmp byte [eax + 0x10], 0
je 0x105574d
mov eax, dword [esi + 8]
test eax, eax
je 0x105570c
push esi
call dword [eax]
pop ecx
mov eax, dword [esi + 0x18c]
push esi
call dword [eax]
test eax, eax
pop ecx
je 0x1055749
cmp eax, 2
je 0x105574d
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1055701
cmp eax, 3
je 0x1055730
cmp eax, 1
jne 0x1055701
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x1055701
mov ecx, dword [esi + 0x118]
add dword [eax + 8], ecx
jmp 0x1055701
xor al, al
jmp 0x105577b
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
jmp 0x1055776
cmp eax, 0xcc
je 0x1055776
mov eax, dword [esi]
mov dword [eax + 0x14], 0x12
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
mov dword [eax + 0x18], ecx
mov eax, dword [esi]
push esi
call dword [eax]
pop ecx
call fcn.0105557a
pop esi
pop ebp
ret

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x1067ea0
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 0x10]
cmp eax, 8
push ebx
push esi
mov esi, dword [ebp + 8]
not esi
mov ecx, 0xff
jb 0x1067f61
push edi
mov edi, eax
shr edi, 3
xor ebx, ebx
mov bl, byte [edx]
sub eax, 8
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x1004cd8]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x1004cd8]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x1004cd8]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x1004cd8]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x1004cd8]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x1004cd8]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x1004cd8]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x1004cd8]
inc edx
dec edi
jne 0x1067ebe
pop edi
test eax, eax
je 0x1067f7b
xor ebx, ebx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x1004cd8]
inc edx
dec eax
jne 0x1067f65
mov eax, esi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x107509a
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x1084efc]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
push 4
pop eax
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf8], eax
xor eax, eax
lea edi, [ebp - 0xdc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edi, [ebp - 0xec]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xf8]
push eax
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0xf4]
push eax
xor edi, edi
push edi
push 0x1005d38
push ecx
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x108], 0x10
call ebx
cmp dword [esi + 0x1730], edi
mov dword [ebp - 0xfc], edi
jbe 0x10752de
lea eax, [esi + 0x570]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x10752bc
mov eax, dword [esi + eax*4 + 0x232c]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0xfc]
inc eax
push eax
lea eax, [ebp - 0xcc]
push 0x1005d24
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push edi
lea eax, [ebp - 0xf0]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10752bc
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xf4]
push eax
push edi
push 0x1005d0c
push dword [ebp - 0xf0]
call ebx
mov esi, dword [ebp - 0x104]
lea eax, [ebp - 0xf8]
push eax
lea eax, [esi + 0x2a58]
push eax
lea eax, [ebp - 0xf4]
push eax
push edi
push 0x1005cf4
push dword [ebp - 0xf0]
call ebx
push 4
lea edi, [esi + 0x41c]
pop ecx
lea esi, [ebp - 0xdc]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x1075214
push 4
pop ecx
lea edi, [ebp - 0xec]
lea esi, [ebp - 0xdc]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x10752a8
mov esi, dword [ebp - 0x104]
lea eax, [ebp - 0xf8]
push eax
lea eax, [esi + 0x2a5c]
push eax
lea eax, [ebp - 0xf4]
push eax
xor edi, edi
push edi
push 0x1005cd0
push dword [ebp - 0xf0]
call ebx
lea eax, [ebp - 0xf8]
push eax
lea eax, [esi + 0x2a4c]
push eax
lea eax, [ebp - 0xf4]
push eax
push edi
push 0x1005cc4
push dword [ebp - 0xf0]
call ebx
lea eax, [ebp - 0xf8]
push eax
lea eax, [esi + 0x2a50]
push eax
lea eax, [ebp - 0xf4]
push eax
push edi
push 0x1005cb4
push dword [ebp - 0xf0]
call ebx
lea eax, [ebp - 0xf8]
push eax
add esi, 0x2a54
push esi
lea eax, [ebp - 0xf4]
push eax
push edi
push 0x1005ca4
push dword [ebp - 0xf0]
call ebx
push dword [ebp - 0xf0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x110]
xor edi, edi
inc dword [ebp - 0xfc]
mov eax, dword [ebp - 0xfc]
add dword [ebp - 0x100], 0x234
cmp eax, dword [esi + 0x1730]
jb 0x1075133
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01010358
leave
ret 4
Function at 0x10752f2
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x1084efc]
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
push 4
mov ebx, ecx
lea ecx, [ebx + 8]
push ecx
push 4
xor edi, edi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x1005d38
push eax
mov dword [ebp - 0xdc], eax
call esi
cmp dword [ebx + 0x1730], edi
mov dword [ebp - 0xd4], edi
jbe 0x1075477
lea eax, [ebx + 0x570]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x1075455
mov edi, dword [ebx + eax*4 + 0x232c]
mov eax, dword [ebp - 0xd4]
inc eax
push eax
lea eax, [ebp - 0xcc]
push 0x1005d24
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
xor eax, eax
push eax
lea ecx, [ebp - 0xd0]
push ecx
push eax
push 0xf003f
push eax
push eax
push eax
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 0xdc]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1075455
push 4
lea eax, [edi + 0x2a58]
push eax
push 4
push 0
push 0x1005cf4
push dword [ebp - 0xd0]
call esi
push 4
lea eax, [edi + 0x2a5c]
push eax
push 4
push 0
push 0x1005cd0
push dword [ebp - 0xd0]
call esi
push 4
lea eax, [edi + 0x2a4c]
push eax
push 4
push 0
push 0x1005cc4
push dword [ebp - 0xd0]
call esi
push 4
lea eax, [edi + 0x2a50]
push eax
push 4
push 0
push 0x1005cb4
push dword [ebp - 0xd0]
call esi
push 4
lea eax, [edi + 0x2a54]
push eax
push 4
push 0
push 0x1005ca4
push dword [ebp - 0xd0]
call esi
push 0x10
add edi, 0x41c
push edi
push 3
push 0
push 0x1005d0c
push dword [ebp - 0xd0]
call esi
push dword [ebp - 0xd0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0xd4]
mov eax, dword [ebp - 0xd4]
add dword [ebp - 0xd8], 0x234
cmp eax, dword [ebx + 0x1730]
jb 0x107534a
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01010358
leave
ret 4