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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, ecx
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
mov ecx, dword [edx + 0x20]
push esi
push edi
mov edi, dword [eax + 0x20]
mov eax, dword [edx + 0x6c]
lea esi, [edx + 0x60]
imul eax, dword [esi]
add eax, ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], eax
cmp ecx, eax
jmp 0x100dd044
mov eax, dword [edx + 0x68]
mov esi, dword [esi]
lea eax, [ecx + eax*2]
add esi, ecx
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], esi
mov dword [ebp - 0x1c], eax
cmp ecx, eax
jae 0x100dd031
mov eax, ecx
movzx ebx, word [eax]
movzx edi, word [eax + 2]
movzx edx, word [esi + 2]
movzx esi, word [esi]
mov ecx, ebx
and ecx, 0xf81f
mov eax, esi
and eax, 0xf81f
add ecx, eax
mov eax, edi
and eax, 0xf81f
add ecx, eax
and edx, 0xf81f
lea edx, [ecx + edx + 0x1002]
mov ecx, ebx
and ecx, 0x7e0
mov eax, esi
and eax, 0x7e0
add ecx, eax
mov eax, edi
and eax, 0x7e0
add ecx, eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 8]
movzx eax, word [ecx + 2]
mov ecx, dword [ebp - 0x18]
and eax, 0x7e0
lea eax, [ecx + eax + 0x40]
shr eax, 2
mov ecx, 0xf81f
and esi, ecx
and ebx, ecx
shr edx, 2
xor edx, eax
add ebx, esi
mov esi, dword [ebp - 8]
movzx eax, word [esi + 2]
and eax, ecx
and edi, ecx
add ebx, edi
lea eax, [ebx + eax + 0x1002]
shr eax, 2
and edx, 0x7e0
xor edx, eax
mov eax, dword [ebp - 0xc]
mov word [eax], dx
add eax, 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
add eax, 4
add esi, 4
mov dword [ebp - 4], eax
mov dword [ebp - 8], esi
cmp eax, dword [ebp - 0x1c]
jb 0x100dcf6d
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x10]
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
add edi, dword [eax + 0x60]
lea esi, [edx + 0x60]
mov eax, dword [esi]
lea ecx, [ecx + eax*2]
cmp ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edi
jb 0x100dcf4d
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x100dd166
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, ecx
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
mov ecx, dword [edx + 0x20]
push esi
push edi
mov edi, dword [eax + 0x20]
mov eax, dword [edx + 0x6c]
lea esi, [edx + 0x60]
imul eax, dword [esi]
add eax, ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], eax
cmp ecx, eax
jmp 0x100dd290
mov eax, dword [edx + 0x68]
mov esi, dword [esi]
lea eax, [ecx + eax*2]
add esi, ecx
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], esi
mov dword [ebp - 0x1c], eax
cmp ecx, eax
jae 0x100dd27d
mov eax, ecx
movzx ebx, word [eax]
movzx edi, word [eax + 2]
movzx edx, word [esi + 2]
movzx esi, word [esi]
mov ecx, ebx
and ecx, 0x83e0
mov eax, esi
and eax, 0x83e0
add ecx, eax
mov eax, edi
and eax, 0x83e0
add ecx, eax
and edx, 0x83e0
lea edx, [ecx + edx + 0x10040]
mov ecx, ebx
and ecx, 0x7c1f
mov eax, esi
and eax, 0x7c1f
add ecx, eax
mov eax, edi
and eax, 0x7c1f
add ecx, eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 8]
movzx eax, word [ecx + 2]
mov ecx, dword [ebp - 0x18]
and eax, 0x7c1f
lea eax, [ecx + eax + 0x802]
shr eax, 2
mov ecx, 0x83e0
and esi, ecx
and ebx, ecx
shr edx, 2
xor edx, eax
add ebx, esi
mov esi, dword [ebp - 8]
movzx eax, word [esi + 2]
and eax, ecx
and edi, ecx
add ebx, edi
lea eax, [ebx + eax + 0x10040]
shr eax, 2
and edx, 0x7c1f
xor edx, eax
mov eax, dword [ebp - 0xc]
mov word [eax], dx
add eax, 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
add eax, 4
add esi, 4
mov dword [ebp - 4], eax
mov dword [ebp - 8], esi
cmp eax, dword [ebp - 0x1c]
jb 0x100dd1b6
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x10]
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
add edi, dword [eax + 0x60]
lea esi, [edx + 0x60]
mov eax, dword [esi]
lea ecx, [ecx + eax*2]
cmp ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edi
jb 0x100dd196
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x100dd2a8
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, ecx
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
mov ecx, dword [edx + 0x20]
push esi
push edi
mov edi, dword [eax + 0x20]
mov eax, dword [edx + 0x6c]
lea esi, [edx + 0x60]
imul eax, dword [esi]
add eax, ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], eax
cmp ecx, eax
jmp 0x100dd3d2
mov eax, dword [edx + 0x68]
mov esi, dword [esi]
lea eax, [ecx + eax*2]
add esi, ecx
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], esi
mov dword [ebp - 0x1c], eax
cmp ecx, eax
jae 0x100dd3bf
mov eax, ecx
movzx ebx, word [eax]
movzx edi, word [eax + 2]
movzx edx, word [esi + 2]
movzx esi, word [esi]
mov ecx, ebx
and ecx, 0xf0f0
mov eax, esi
and eax, 0xf0f0
add ecx, eax
mov eax, edi
and eax, 0xf0f0
add ecx, eax
and edx, 0xf0f0
lea edx, [ecx + edx + 0x2020]
mov ecx, ebx
and ecx, 0xf0f
mov eax, esi
and eax, 0xf0f
add ecx, eax
mov eax, edi
and eax, 0xf0f
add ecx, eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 8]
movzx eax, word [ecx + 2]
mov ecx, dword [ebp - 0x18]
and eax, 0xf0f
lea eax, [ecx + eax + 0x202]
shr eax, 2
mov ecx, 0xf0f0
and esi, ecx
and ebx, ecx
shr edx, 2
xor edx, eax
add ebx, esi
mov esi, dword [ebp - 8]
movzx eax, word [esi + 2]
and eax, ecx
and edi, ecx
add ebx, edi
lea eax, [ebx + eax + 0x2020]
shr eax, 2
and edx, 0xf0f
xor edx, eax
mov eax, dword [ebp - 0xc]
mov word [eax], dx
add eax, 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
add eax, 4
add esi, 4
mov dword [ebp - 4], eax
mov dword [ebp - 8], esi
cmp eax, dword [ebp - 0x1c]
jb 0x100dd2f8
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x10]
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
add edi, dword [eax + 0x60]
lea esi, [edx + 0x60]
mov eax, dword [esi]
lea ecx, [ecx + eax*2]
cmp ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edi
jb 0x100dd2d8
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x100dd3ea
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, ecx
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
mov ecx, dword [edx + 0x20]
push esi
push edi
mov edi, dword [eax + 0x20]
mov eax, dword [edx + 0x6c]
lea esi, [edx + 0x60]
imul eax, dword [esi]
add eax, ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], eax
cmp ecx, eax
jmp 0x100dd4fb
mov eax, dword [edx + 0x68]
mov esi, dword [esi]
add eax, ecx
add esi, ecx
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], esi
mov dword [ebp - 0x1c], eax
cmp ecx, eax
jae 0x100dd4e8
mov eax, ecx
movzx ebx, byte [eax]
movzx edi, byte [eax + 1]
movzx edx, byte [esi + 1]
movzx esi, byte [esi]
mov ecx, ebx
and ecx, 0xe3
mov eax, esi
and eax, 0xe3
add ecx, eax
and edx, 0xe3
mov eax, edi
and eax, 0xe3
add ecx, eax
lea edx, [ecx + edx + 0x42]
mov ecx, ebx
and ecx, 0x1c
mov eax, esi
and eax, 0x1c
add ecx, eax
mov eax, edi
and eax, 0x1c
add ecx, eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 8]
movzx eax, byte [ecx + 1]
mov ecx, dword [ebp - 0x18]
and eax, 0x1c
lea eax, [ecx + eax + 8]
shr eax, 2
mov ecx, 0xe3
and esi, ecx
and ebx, ecx
shr edx, 2
xor dl, al
add ebx, esi
mov esi, dword [ebp - 8]
movzx eax, byte [esi + 1]
and eax, ecx
and edi, ecx
add ebx, edi
lea eax, [ebx + eax + 0x42]
shr eax, 2
and dl, 0x1c
xor dl, al
mov eax, dword [ebp - 0xc]
mov byte [eax], dl
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
add eax, 2
add esi, 2
mov dword [ebp - 4], eax
mov dword [ebp - 8], esi
cmp eax, dword [ebp - 0x1c]
jb 0x100dd439
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x10]
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
add edi, dword [eax + 0x60]
lea esi, [edx + 0x60]
mov eax, dword [esi]
lea ecx, [ecx + eax*2]
cmp ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edi
jb 0x100dd41a
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x100dd5b9
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, ecx
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
mov ecx, dword [edx + 0x20]
push esi
push edi
mov edi, dword [eax + 0x20]
mov eax, dword [edx + 0x6c]
lea esi, [edx + 0x60]
imul eax, dword [esi]
add eax, ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], eax
cmp ecx, eax
jmp 0x100dd6e0
mov eax, dword [edx + 0x68]
mov esi, dword [esi]
lea eax, [ecx + eax*2]
add esi, ecx
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], esi
mov dword [ebp - 0x1c], eax
cmp ecx, eax
jae 0x100dd6cd
mov eax, ecx
movzx ebx, word [eax]
movzx edi, word [eax + 2]
movzx edx, word [esi + 2]
movzx esi, word [esi]
mov ecx, ebx
and ecx, 0xe3
mov eax, esi
and eax, 0xe3
add ecx, eax
mov eax, edi
and eax, 0xe3
add ecx, eax
and edx, 0xe3
lea edx, [ecx + edx + 0x42]
mov ecx, ebx
and ecx, 0xff1c
mov eax, esi
and eax, 0xff1c
add ecx, eax
mov eax, edi
and eax, 0xff1c
add ecx, eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 8]
movzx eax, word [ecx + 2]
mov ecx, dword [ebp - 0x18]
and eax, 0xff1c
lea eax, [ecx + eax + 0x208]
shr eax, 2
mov ecx, 0xff1c
and esi, ecx
and ebx, ecx
shr edx, 2
xor edx, eax
add ebx, esi
mov esi, dword [ebp - 8]
movzx eax, word [esi + 2]
and eax, ecx
and edi, ecx
add ebx, edi
lea eax, [ebx + eax + 0x208]
shr eax, 2
and edx, 0xe3
xor edx, eax
mov eax, dword [ebp - 0xc]
mov word [eax], dx
add eax, 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
add eax, 4
add esi, 4
mov dword [ebp - 4], eax
mov dword [ebp - 8], esi
cmp eax, dword [ebp - 0x1c]
jb 0x100dd609
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x10]
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
add edi, dword [eax + 0x60]
lea esi, [edx + 0x60]
mov eax, dword [esi]
lea ecx, [ecx + eax*2]
cmp ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edi
jb 0x100dd5e9
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x100dd802
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
push ebx
mov ebx, dword [eax + 0x20]
mov eax, dword [edx + 0x6c]
push esi
lea esi, [edx + 0x60]
imul eax, dword [esi]
push edi
mov edi, dword [edx + 0x20]
add eax, edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
cmp edi, eax
jmp 0x100dd91d
mov eax, dword [esi]
add eax, edi
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 0x68]
lea eax, [edi + eax*2]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], eax
cmp edi, eax
jae 0x100dd90a
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
movzx eax, word [ecx]
movzx ebx, word [ecx + 2]
movzx edx, word [edi]
movzx ecx, al
movzx eax, dl
add ecx, eax
movzx eax, bl
add ecx, eax
movzx eax, word [edi + 2]
movzx eax, al
lea esi, [ecx + eax + 2]
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
and ecx, 0xff00
mov eax, edx
and eax, 0xff00
add ecx, eax
mov eax, ebx
and eax, 0xff00
add ecx, eax
movzx eax, word [edi + 2]
and eax, 0xff00
lea eax, [ecx + eax + 0x200]
mov ecx, dword [ebp - 4]
shr eax, 2
shr esi, 2
xor esi, eax
movzx eax, word [ecx]
and eax, 0xff00
mov ecx, 0xff00
and edx, ecx
and ebx, ecx
movzx ecx, word [edi + 2]
add eax, edx
add eax, ebx
and ecx, 0xff00
lea eax, [eax + ecx + 0x200]
mov ecx, dword [ebp - 4]
shr eax, 2
and esi, 0xff
xor esi, eax
mov eax, dword [ebp - 8]
add ecx, 4
mov word [eax], si
add eax, 2
add edi, 4
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
cmp ecx, dword [ebp - 0x18]
jb 0x100dd854
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0xc]
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
add ebx, dword [eax + 0x60]
lea esi, [edx + 0x60]
mov eax, dword [esi]
lea edi, [edi + eax*2]
cmp edi, dword [ebp - 0x20]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], ebx
jb 0x100dd830
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x100dd935
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, ecx
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
mov ecx, dword [edx + 0x20]
push esi
push edi
mov edi, dword [eax + 0x20]
mov eax, dword [edx + 0x6c]
lea esi, [edx + 0x60]
imul eax, dword [esi]
add eax, ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], eax
cmp ecx, eax
jmp 0x100dda46
mov eax, dword [edx + 0x68]
mov esi, dword [esi]
add eax, ecx
add esi, ecx
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], esi
mov dword [ebp - 0x1c], eax
cmp ecx, eax
jae 0x100dda33
mov eax, ecx
movzx ebx, byte [eax]
movzx edi, byte [eax + 1]
movzx edx, byte [esi + 1]
movzx esi, byte [esi]
mov ecx, ebx
and ecx, 0xf0
mov eax, esi
and eax, 0xf0
add ecx, eax
and edx, 0xf0
mov eax, edi
and eax, 0xf0
add ecx, eax
lea edx, [ecx + edx + 0x20]
mov ecx, ebx
and ecx, 0xf
mov eax, esi
and eax, 0xf
add ecx, eax
mov eax, edi
and eax, 0xf
add ecx, eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 8]
movzx eax, byte [ecx + 1]
mov ecx, dword [ebp - 0x18]
and eax, 0xf
lea eax, [ecx + eax + 2]
shr eax, 2
mov ecx, 0xf0
and esi, ecx
and ebx, ecx
shr edx, 2
xor dl, al
add ebx, esi
mov esi, dword [ebp - 8]
movzx eax, byte [esi + 1]
and eax, ecx
and edi, ecx
add ebx, edi
lea eax, [ebx + eax + 0x20]
shr eax, 2
and dl, 0xf
xor dl, al
mov eax, dword [ebp - 0xc]
mov byte [eax], dl
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
add eax, 2
add esi, 2
mov dword [ebp - 4], eax
mov dword [ebp - 8], esi
cmp eax, dword [ebp - 0x1c]
jb 0x100dd984
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x10]
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
add edi, dword [eax + 0x60]
lea esi, [edx + 0x60]
mov eax, dword [esi]
lea ecx, [ecx + eax*2]
cmp ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edi
jb 0x100dd965
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x101089c6
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x34]
mov edx, dword [eax]
push edi
push eax
mov dword [ebp - 4], ecx
call dword [edx + 0xc]
mov ecx, dword [ebp + 8]
mov ebx, dword [eax + 0xc]
add ebx, dword [ecx]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 4]
xor edx, edx
test byte [ecx + 0x138], 1
mov dword [ebp - 8], eax
lea edi, [ebp - 0x20]
mov dword [ebp - 0x14], ebx
mov dword [ebp + 0xc], edx
jne 0x10108a3c
cmp dword [ebp + 0x10], edx
je 0x10108a3c
push edx
push edx
call sub.msvcrt.dll__controlfp
mov ecx, dword [ebp - 4]
push 0x30000
push 0
mov dword [ecx + 0x134], eax
call sub.msvcrt.dll__controlfp
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
add esp, 0x10
or dword [ecx + 0x138], 1
cmp dword [esi + 0x38], 0
je 0x10108b1c
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x10]
add edx, dword [ecx]
xor edi, edi
mov dword [ebp + 0x10], edx
mov edx, dword [eax + 0x14]
add edx, dword [ecx]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0x18]
add edx, dword [ecx]
mov dword [ebp - 0xc], edx
xor edx, edx
cmp dx, word [esi + 0x4a]
jae 0x10108b14
mov ebx, dword [ebp - 4]
lea eax, [esi + 0x30]
movzx ecx, di
imul ecx, ecx, 0x18
add ecx, dword [eax]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov eax, dword [eax]
cmp eax, dword [ebx + 0x38]
jbe 0x10108afd
mov ecx, dword [ecx + 8]
movzx eax, word [ecx + 4]
sub eax, 0
je 0x10108adb
dec eax
je 0x10108ac0
dec eax
jne 0x10108afd
push 0xffffffffffffffff
lea eax, [ebp + 0xc]
push eax
movzx eax, word [ecx + 8]
push ecx
push dword [esi + 0x38]
push eax
movzx eax, word [ecx + 6]
shl eax, 5
add eax, dword [ebp + 0x10]
push eax
push edx
mov ecx, ebx
call fcn.1010806a
jmp 0x10108afd
push 0xffffffffffffffff
lea eax, [ebp + 0xc]
push eax
movzx eax, word [ecx + 8]
push ecx
push dword [esi + 0x38]
push eax
movzx eax, word [ecx + 6]
shl eax, 5
add eax, dword [ebp - 0xc]
jmp 0x10108ab5
push 0xffffffffffffffff
lea eax, [ebp + 0xc]
push eax
movzx eax, word [ecx + 8]
push ecx
push dword [esi + 0x38]
push eax
movzx eax, word [ecx + 6]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax*8]
push eax
push edx
mov ecx, ebx
call fcn.10108467
inc edi
lea eax, [esi + 0x30]
cmp di, word [esi + 0x4a]
jb 0x10108a75
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov edi, dword [eax + 0x10]
add edi, dword [ecx]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x18]
push eax
push eax
push eax
xor eax, eax
push eax
push edx
push eax
push ebx
push ebx
push ebx
push eax
push edi
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x40]
push dword [esi + 0x3c]
call fcn.100eddba
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x101117e7
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x10111832
mov esi, dword [ebp + 0x10]
and dword [ebp - 4], 0
sub esi, edi
cmp esi, 0x400000
jbe 0x1011180c
mov esi, 0x400000
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
push esi
add eax, edi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1011183a
cmp dword [ebp - 4], esi
jne 0x1011183f
add edi, esi
cmp edi, dword [ebp + 0x10]
jne 0x101117f6
xor eax, eax
pop edi
pop esi
leave
ret 0xc
call fcn.101117ac
mov eax, 0x80004005
jmp 0x10111834

Function at 0x1011184b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x1011189c
mov esi, dword [ebp + 0x10]
and dword [ebp - 4], 0
sub esi, edi
cmp esi, 0x400000
jbe 0x10111870
mov esi, 0x400000
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
push esi
add eax, edi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x101118a4
cmp dword [ebp - 4], 0
je 0x101118a9
cmp dword [ebp - 4], esi
jne 0x101118a9
add edi, esi
cmp edi, dword [ebp + 0x10]
jne 0x1011185a
xor eax, eax
pop edi
pop esi
leave
ret 0xc
call fcn.101117ac
mov eax, 0x80004005
jmp 0x1011189e
Function at 0x10111acb
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x101d9590]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x20], esi
test eax, eax
je 0x10111bf9
test edi, edi
je 0x10111bf9
push esi
push 0x8000080
push 2
push esi
push esi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10111b27
call fcn.101117ac
mov eax, 0x80004005
jmp 0x10111bfe
mov eax, dword [edi]
push edi
call dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
push edi
call dword [eax + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
push edi
call dword [eax + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [edi]
push edi
call dword [eax + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [edi]
push edi
call dword [eax + 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [edi]
push edi
call dword [eax + 0x18]
mov dword [ebp - 8], eax
mov eax, esi
mov dword [ebp - 0x28], esi
and dword [ebp - 0x24], 0
push 0x18
pop esi
sub esi, eax
cmp esi, 0x400000
jbe 0x10111b78
mov esi, 0x400000
push 0
lea ecx, [ebp - 0x24]
push ecx
push esi
lea eax, [ebp + eax - 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10111bd8
cmp dword [ebp - 0x24], esi
jne 0x10111bdd
mov eax, dword [ebp - 0x28]
add eax, esi
mov dword [ebp - 0x28], eax
cmp eax, 0x18
jne 0x10111b62
mov eax, dword [edi]
lea ecx, [ebp - 0x20]
push ecx
push dword [ebp - 0x1c]
push 0
push edi
call dword [eax + 0x28]
mov esi, eax
test esi, esi
js 0x10111be2
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x1c]
shl eax, 2
push eax
push dword [ebp - 0x20]
push ebx
call fcn.101117e7
mov esi, eax
test esi, esi
js 0x10111be2
xor esi, esi
jmp 0x10111be2
call fcn.101117ac
mov esi, 0x80004005
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x20], 0
je 0x10111bf5
mov eax, dword [edi]
push edi
call dword [eax + 0x2c]
mov eax, esi
jmp 0x10111bfe
mov eax, 0x8876086c
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101becf5
leave
ret 8
Function at 0x10111c14
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x101d9590]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x20], esi
test eax, eax
je 0x10111d42
test edi, edi
je 0x10111d42
push esi
push 0x8000080
push 2
push esi
push esi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10111c70
call fcn.101117ac
mov eax, 0x80004005
jmp 0x10111d47
mov eax, dword [edi]
push edi
call dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
push edi
call dword [eax + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
push edi
call dword [eax + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [edi]
push edi
call dword [eax + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [edi]
push edi
call dword [eax + 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [edi]
push edi
call dword [eax + 0x18]
mov dword [ebp - 8], eax
mov eax, esi
mov dword [ebp - 0x28], esi
and dword [ebp - 0x24], 0
push 0x18
pop esi
sub esi, eax
cmp esi, 0x400000
jbe 0x10111cc1
mov esi, 0x400000
push 0
lea ecx, [ebp - 0x24]
push ecx
push esi
lea eax, [ebp + eax - 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10111d21
cmp dword [ebp - 0x24], esi
jne 0x10111d26
mov eax, dword [ebp - 0x28]
add eax, esi
mov dword [ebp - 0x28], eax
cmp eax, 0x18
jne 0x10111cab
mov eax, dword [edi]
lea ecx, [ebp - 0x20]
push ecx
push dword [ebp - 0x1c]
push 0
push edi
call dword [eax + 0x28]
mov esi, eax
test esi, esi
js 0x10111d2b
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x1c]
shl eax, 2
push eax
push dword [ebp - 0x20]
push ebx
call fcn.101117e7
mov esi, eax
test esi, esi
js 0x10111d2b
xor esi, esi
jmp 0x10111d2b
call fcn.101117ac
mov esi, 0x80004005
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x20], 0
je 0x10111d3e
mov eax, dword [edi]
push edi
call dword [eax + 0x2c]
mov eax, esi
jmp 0x10111d47
mov eax, 0x8876086c
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101becf5
leave
ret 8