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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ecx + 4]
push esi
mov esi, dword [eax + 0x20]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ecx]
mov eax, dword [ecx + 0x6c]
imul eax, dword [ecx + 0x60]
push edi
mov edi, dword [ecx + 0x20]
add eax, edi
cmp edi, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x2c], eax
jae 0x51dc95
mov eax, 0x83e0
mov edx, 0x7c1f
push ebx
mov dword [ebp - 0xc], esi
mov esi, dword [ecx + 0x60]
mov ecx, dword [ecx + 0x68]
lea ecx, [edi + ecx*2]
add esi, edi
cmp edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x24], ecx
jae 0x51dc71
movzx ecx, word [esi + 2]
mov dword [ebp - 8], ecx
movzx ecx, word [edi + 2]
mov dword [ebp - 4], ecx
movzx ecx, word [esi]
movzx esi, word [edi]
mov ebx, ecx
and ebx, eax
mov edi, esi
and edi, eax
add edi, ebx
mov ebx, dword [ebp - 4]
and ebx, eax
add edi, ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x20], ecx
and ecx, edx
and ebx, eax
lea edi, [edi + ebx + 0x10040]
mov ebx, esi
and ebx, edx
add ebx, ecx
mov ecx, dword [ebp - 4]
and ecx, edx
add ebx, ecx
mov ecx, dword [ebp - 8]
and ecx, edx
lea ecx, [ebx + ecx + 0x802]
shr ecx, 2
shr edi, 2
xor edi, 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 di, dx
and ecx, eax
lea ecx, [esi + ecx + 0x10040]
mov esi, dword [ebp - 0x14]
shr ecx, 2
add esi, 4
mov dword [ebp - 0x14], esi
xor edi, ecx
mov ecx, dword [ebp - 0xc]
add dword [ebp - 0xc], 2
mov word [ecx], di
mov edi, dword [ebp - 0x10]
add edi, 4
cmp edi, dword [ebp - 0x24]
mov dword [ebp - 0x10], edi
jb 0x51dbce
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 0x18]
add esi, dword [ebx + 0x60]
mov ecx, dword [ecx]
mov ebx, dword [ecx + 0x60]
lea edi, [edi + ebx*2]
cmp edi, dword [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
jb 0x51dbaf
pop ebx
pop edi
xor eax, eax
pop esi
leave
ret
Function at 0x51dca0
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 + 0x20]
push esi
mov esi, dword [eax]
mov ebx, dword [esi + 0x6c]
imul ebx, dword [esi + 0x60]
push edi
mov edi, dword [esi + 0x20]
add ebx, edi
cmp edi, ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x24], ebx
jae 0x51ddd0
mov eax, 0xf0f0
mov edx, dword [esi + 0x60]
mov esi, dword [esi + 0x68]
lea esi, [edi + esi*2]
add edx, edi
cmp edi, esi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], esi
jae 0x51ddb1
movzx ecx, word [edi + 2]
movzx esi, word [edx + 2]
mov dword [ebp - 4], ecx
movzx ecx, word [edx]
movzx edx, word [edi]
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]
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
lea ecx, [edx + esi + 0x2020]
mov edx, dword [ebp - 0x10]
and edi, 0xffff0f0f
shr ecx, 2
xor edi, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 2
mov word [ecx], di
mov edi, dword [ebp - 0xc]
add edi, 4
add edx, 4
cmp edi, dword [ebp - 0x20]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edx
jb 0x51dcf9
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, dword [edx + 4]
add ecx, dword [esi + 0x60]
mov esi, dword [edx]
mov edx, dword [esi + 0x60]
lea edi, [edi + edx*2]
cmp edi, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edi
jb 0x51dcda
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x51dddc
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 + 0x20]
push ebx
mov ebx, dword [edx + 0x20]
push edi
mov edi, dword [edx + 0x6c]
imul edi, dword [edx + 0x60]
add edi, ebx
cmp ebx, edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], edi
jae 0x51def4
push esi
mov esi, 0xe3
mov eax, dword [edx + 0x60]
mov edx, dword [edx + 0x68]
add edx, ebx
add eax, ebx
cmp ebx, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], edx
jae 0x51ded4
movzx ecx, byte [ebx + 1]
movzx edi, byte [eax + 1]
mov dword [ebp - 4], ecx
movzx ecx, byte [eax]
movzx eax, byte [ebx]
mov ebx, ecx
and bx, si
mov edx, eax
and dx, si
mov dword [ebp - 0x1c], ecx
and ecx, 0x1c
add edx, ebx
mov ebx, dword [ebp - 4]
and bx, si
add edx, ebx
mov ebx, edi
and bx, si
lea edx, [edx + ebx + 0x42]
mov ebx, eax
and ebx, 0x1c
add ebx, ecx
mov ecx, dword [ebp - 4]
and ecx, 0x1c
add ebx, ecx
mov ecx, edi
and ecx, 0x1c
lea ecx, [ebx + ecx + 8]
shr ecx, 2
shr edx, 2
xor dl, cl
mov ecx, dword [ebp - 0x1c]
and ax, si
mov ebx, dword [ebp - 0xc]
and cx, si
and di, 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 eax, dword [ebp - 0x10]
inc ebx
inc ebx
inc eax
inc eax
cmp ebx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], eax
jb 0x51de34
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 + 0x60]
mov edx, dword [eax]
mov eax, dword [edx + 0x60]
lea ebx, [ebx + eax*2]
cmp ebx, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
jb 0x51de16
pop esi
pop edi
xor eax, eax
pop ebx
leave
ret
Function at 0x51df90
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 + 0x20]
push esi
mov esi, dword [eax]
mov ebx, dword [esi + 0x20]
push edi
mov edi, dword [esi + 0x6c]
imul edi, dword [esi + 0x60]
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 0x51e0b7
mov eax, 0xff1c
mov edx, dword [esi + 0x60]
mov esi, dword [esi + 0x68]
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 0x51e098
movzx ecx, word [ebx + 2]
movzx esi, word [ebx]
movzx edi, word [edx + 2]
mov dword [ebp - 4], ecx
movzx ecx, word [edx]
mov dword [ebp - 0xc], ecx
mov ebx, esi
mov edx, 0xe3
and cx, dx
and bx, dx
add ebx, ecx
mov ecx, dword [ebp - 4]
and cx, dx
add ebx, ecx
mov ecx, edi
and cx, dx
lea edx, [ebx + ecx + 0x42]
mov ebx, dword [ebp - 0xc]
and bx, ax
mov ecx, esi
and cx, ax
shr edx, 2
and esi, eax
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 0x51dfe9
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 + 0x60]
mov esi, dword [edx]
mov edx, dword [esi + 0x60]
lea ebx, [ebx + edx*2]
cmp ebx, edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ebx
jb 0x51dfca
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x51e1d1
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 + 0x20]
push esi
mov esi, dword [eax]
mov ebx, dword [esi + 0x20]
push edi
mov edi, dword [esi + 0x6c]
imul edi, dword [esi + 0x60]
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 0x51e2f8
mov eax, 0xff00
mov edx, dword [esi + 0x60]
mov esi, dword [esi + 0x68]
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 0x51e2d9
movzx ecx, word [ebx + 2]
movzx esi, word [ebx]
movzx edi, word [edx + 2]
mov dword [ebp - 4], ecx
movzx ecx, word [edx]
mov dword [ebp - 0xc], ecx
mov ebx, esi
mov edx, 0xff
and cx, dx
and bx, dx
add ebx, ecx
mov ecx, dword [ebp - 4]
and cx, dx
add ebx, ecx
mov ecx, edi
and cx, dx
lea edx, [ebx + ecx + 2]
mov ebx, dword [ebp - 0xc]
and bx, ax
mov ecx, esi
and cx, ax
shr edx, 2
and esi, eax
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 0x51e22a
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 + 0x60]
mov esi, dword [edx]
mov edx, dword [esi + 0x60]
lea ebx, [ebx + edx*2]
cmp ebx, edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ebx
jb 0x51e20b
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x51e304
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 + 0x20]
push ebx
mov ebx, dword [edx + 0x20]
push edi
mov edi, dword [edx + 0x6c]
imul edi, dword [edx + 0x60]
add edi, ebx
cmp ebx, edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], edi
jae 0x51e41c
push esi
mov esi, 0xf0
mov eax, dword [edx + 0x60]
mov edx, dword [edx + 0x68]
add edx, ebx
add eax, ebx
cmp ebx, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], edx
jae 0x51e3fc
movzx ecx, byte [ebx + 1]
movzx edi, byte [eax + 1]
mov dword [ebp - 4], ecx
movzx ecx, byte [eax]
movzx eax, byte [ebx]
mov ebx, ecx
and bx, si
mov edx, eax
and dx, si
mov dword [ebp - 0x1c], ecx
and ecx, 0xf
add edx, ebx
mov ebx, dword [ebp - 4]
and bx, si
add edx, ebx
mov ebx, edi
and bx, si
lea edx, [edx + ebx + 0x20]
mov ebx, eax
and ebx, 0xf
add ebx, ecx
mov ecx, dword [ebp - 4]
and ecx, 0xf
add ebx, ecx
mov ecx, edi
and ecx, 0xf
lea ecx, [ebx + ecx + 2]
shr ecx, 2
shr edx, 2
xor dl, cl
mov ecx, dword [ebp - 0x1c]
and ax, si
mov ebx, dword [ebp - 0xc]
and cx, si
and di, 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 eax, dword [ebp - 0x10]
inc ebx
inc ebx
inc eax
inc eax
cmp ebx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], eax
jb 0x51e35c
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 + 0x60]
mov edx, dword [eax]
mov eax, dword [edx + 0x60]
lea ebx, [ebx + eax*2]
cmp ebx, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
jb 0x51e33e
pop esi
pop edi
xor eax, eax
pop ebx
leave
ret
Function at 0x52ec31
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
push edi
xor eax, eax
mov edi, edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, dword [ecx + 4]
test esi, esi
je 0x52ec52
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
add eax, esi
jmp 0x52ec54
xor eax, eax
mov dword [edx], eax
movzx eax, word [ecx + 8]
mov dword [edx + 4], eax
movzx eax, word [ecx + 0xa]
mov dword [edx + 8], eax
movzx eax, word [ecx + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ecx + 0x18]
movzx eax, word [eax]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 0x18]
movzx eax, word [eax + 2]
mov dword [edx + 0x14], eax
mov eax, dword [ecx + 0x18]
movzx eax, word [eax + 4]
mov dword [edx + 0x18], eax
mov eax, dword [ecx + 0x18]
movzx eax, word [eax + 6]
mov dword [edx + 0x1c], eax
mov eax, dword [ecx + 0x18]
movzx eax, word [eax + 8]
mov dword [edx + 0x20], eax
mov eax, dword [ecx + 0x18]
movzx eax, word [eax + 0xa]
mov dword [edx + 0x24], eax
mov eax, dword [edx + 0x20]
imul eax, dword [edx + 0x18]
imul eax, dword [edx + 0x1c]
shl eax, 2
mov dword [edx + 0x28], eax
mov esi, dword [ecx + 0x14]
test esi, esi
je 0x52ecc7
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
add eax, esi
jmp 0x52ecc9
xor eax, eax
pop edi
mov dword [edx + 0x2c], eax
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x552e8d
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x34]
push edi
mov ebx, ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov ecx, dword [ebp + 8]
mov edi, eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0xc]
add eax, dword [ecx]
mov ecx, dword [edi + 4]
mov dword [ebp - 8], eax
xor eax, eax
test byte [ebx + 0x138], 1
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], ecx
jne 0x552ef5
cmp dword [ebp + 0x10], eax
je 0x552ef5
push eax
push eax
call sub.msvcrt.dll__controlfp
push 0x30000
push 0
mov dword [ebx + 0x134], eax
call sub.msvcrt.dll__controlfp
add esp, 0x10
or dword [ebx + 0x138], 1
xor edx, edx
cmp dword [esi + 0x38], edx
je 0x552fd4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [edi + 0x10]
add ecx, eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + 0x14]
add ecx, eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [edi + 0x18]
add ecx, eax
cmp word [esi + 0x4a], dx
mov dword [ebp - 0x10], ecx
mov dword [ebp + 0xc], edx
jbe 0x552fc3
movzx eax, word [ebp + 0xc]
imul eax, eax, 0x18
add eax, dword [esi + 0x30]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov edx, dword [edx]
cmp edx, dword [ebx + 0x38]
jbe 0x552fb0
mov eax, dword [eax + 8]
movzx edx, word [eax + 4]
sub edx, 0
je 0x552f8e
dec edx
je 0x552f77
dec edx
jne 0x552fb0
push 0xffffffffffffffff
lea edx, [ebp + 0x10]
push edx
movzx edx, word [eax + 8]
push eax
movzx eax, word [eax + 6]
shl eax, 5
add eax, dword [ebp - 0xc]
push dword [esi + 0x38]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.005525da
jmp 0x552fb0
push 0xffffffffffffffff
lea edx, [ebp + 0x10]
push edx
movzx edx, word [eax + 8]
push eax
movzx eax, word [eax + 6]
shl eax, 5
add eax, dword [ebp - 0x10]
jmp 0x552f68
push 0xffffffffffffffff
lea edx, [ebp + 0x10]
push edx
movzx edx, word [eax + 8]
push eax
push dword [esi + 0x38]
movzx eax, word [eax + 6]
push edx
mov edx, dword [ebp - 0x14]
lea eax, [edx + eax*8]
push eax
push ecx
mov ecx, ebx
call fcn.00552963
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [esi + 0x4a]
jb 0x552f2a
xor edx, edx
mov eax, dword [edi + 0x10]
mov ecx, dword [ebp + 8]
add eax, dword [ecx]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 8]
mov dword [ebp + 0xc], eax
push dword [ebp - 4]
lea eax, [ebp - 0x1c]
push dword [ebp - 4]
push dword [ebp - 4]
push edx
push dword [ebp + 0xc]
push edx
push dword [ebp - 8]
push dword [ebp - 8]
push dword [ebp - 8]
push edx
push dword [ebp - 0xc]
push eax
push dword [esi + 0x40]
push dword [esi + 0x3c]
call fcn.00534ca2
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x5c32a9
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 0x5c32f4
mov esi, dword [ebp + 0x10]
and dword [ebp - 4], 0
sub esi, edi
cmp esi, 0x400000
jbe 0x5c32ce
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 0x5c32fc
cmp dword [ebp - 4], esi
jne 0x5c3301
add edi, esi
cmp edi, dword [ebp + 0x10]
jne 0x5c32b8
xor eax, eax
pop edi
pop esi
leave
ret 0xc
call fcn.005c326e
mov eax, 0x80004005
jmp 0x5c32f6

Function at 0x5c330d
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 0x5c335e
mov esi, dword [ebp + 0x10]
and dword [ebp - 4], 0
sub esi, edi
cmp esi, 0x400000
jbe 0x5c3332
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 0x5c3366
cmp dword [ebp - 4], 0
je 0x5c336b
cmp dword [ebp - 4], esi
jne 0x5c336b
add edi, esi
cmp edi, dword [ebp + 0x10]
jne 0x5c331c
xor eax, eax
pop edi
pop esi
leave
ret 0xc
call fcn.005c326e
mov eax, 0x80004005
jmp 0x5c3360
Function at 0x5c358b
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
mov dword [ebp - 4], ebx
je 0x5c36aa
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x5c36aa
push ebx
push 0x8000080
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x5c35dd
call fcn.005c326e
mov eax, 0x80004005
jmp 0x5c36af
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x18]
mov dword [ebp - 8], eax
push edi
and dword [ebp + 0xc], 0
push 0x18
pop edi
sub edi, ebx
mov eax, 0x400000
cmp edi, eax
jbe 0x5c3628
mov edi, eax
push 0
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp + ebx - 0x1c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x5c369e
cmp dword [ebp + 0xc], edi
jne 0x5c36a3
add ebx, edi
cmp ebx, 0x18
jne 0x5c3614
mov eax, dword [esi]
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 0x1c]
push 0
push esi
call dword [eax + 0x28]
mov edi, eax
test edi, edi
jl 0x5c3684
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x1c]
shl eax, 2
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.005c32a9
mov edi, eax
test edi, edi
jl 0x5c3684
xor edi, edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0x5c3699
mov eax, dword [esi]
push esi
call dword [eax + 0x2c]
mov eax, edi
pop edi
jmp 0x5c36af
call fcn.005c326e
mov edi, 0x80004005
jmp 0x5c3684
mov eax, 0x8876086c
pop esi
pop ebx
leave
ret 8
Function at 0x5c36ba
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
mov dword [ebp - 4], ebx
je 0x5c37d9
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x5c37d9
push ebx
push 0x8000080
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x5c370c
call fcn.005c326e
mov eax, 0x80004005
jmp 0x5c37de
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x18]
mov dword [ebp - 8], eax
push edi
and dword [ebp + 0xc], 0
push 0x18
pop edi
sub edi, ebx
mov eax, 0x400000
cmp edi, eax
jbe 0x5c3757
mov edi, eax
push 0
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp + ebx - 0x1c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x5c37cd
cmp dword [ebp + 0xc], edi
jne 0x5c37d2
add ebx, edi
cmp ebx, 0x18
jne 0x5c3743
mov eax, dword [esi]
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 0x1c]
push 0
push esi
call dword [eax + 0x28]
mov edi, eax
test edi, edi
jl 0x5c37b3
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x1c]
shl eax, 2
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.005c32a9
mov edi, eax
test edi, edi
jl 0x5c37b3
xor edi, edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0x5c37c8
mov eax, dword [esi]
push esi
call dword [eax + 0x2c]
mov eax, edi
pop edi
jmp 0x5c37de
call fcn.005c326e
mov edi, 0x80004005
jmp 0x5c37b3
mov eax, 0x8876086c
pop esi
pop ebx
leave
ret 8
Function at 0x5c420d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push edi
xor edi, edi
cmp dword [ebp + 8], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edi
je 0x5c4399
cmp dword [ebp + 0xc], edi
je 0x5c4399
push edi
push 0x8000080
push 3
push edi
push edi
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x5c425f
call fcn.005c326e
mov eax, 0x80004005
jmp 0x5c439e
push ebx
push esi
mov ebx, 0x400000
and dword [ebp + 8], 0
push 0x18
pop esi
sub esi, edi
cmp esi, ebx
jbe 0x5c4275
mov esi, ebx
push 0
lea eax, [ebp + 8]
push eax
push esi
lea eax, [ebp + edi - 0x24]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5c42e9
cmp dword [ebp + 8], 0
je 0x5c42ee
cmp dword [ebp + 8], esi
jne 0x5c42ee
add edi, esi
cmp edi, 0x18
jne 0x5c4266
xor ebx, ebx
cmp dword [ebp - 0x24], ebx
je 0x5c4376
cmp dword [ebp - 0x20], ebx
je 0x5c4376
cmp dword [ebp - 0x1c], ebx
je 0x5c4376
cmp dword [ebp - 0x10], ebx
je 0x5c42d2
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
jne 0x5c4376
push 0x2c
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x5c42f8
mov ecx, eax
call fcn.005c40fd
mov esi, eax
jmp 0x5c42fa
call fcn.005c326e
mov edi, 0x80004005
jmp 0x5c437b
xor esi, esi
cmp esi, ebx
mov dword [ebp - 0xc], esi
jne 0x5c4308
mov edi, 0x8007000e
jmp 0x5c437b
cmp dword [ebp - 0x10], ebx
push dword [ebp - 0x1c]
mov ecx, esi
push dword [ebp - 0x20]
je 0x5c4331
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.005c3f8c
mov edi, eax
cmp edi, ebx
mov eax, dword [esi]
jge 0x5c433b
push 1
mov ecx, esi
call dword [eax + 0x4c]
jmp 0x5c437b
push dword [ebp - 0x24]
call fcn.005c3e59
jmp 0x5c4320
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 0x24]
push ebx
push esi
call dword [eax + 0x28]
mov edi, eax
cmp edi, ebx
jl 0x5c437b
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x24]
shl eax, 2
push eax
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.005c330d
mov edi, eax
test edi, edi
jl 0x5c437b
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
xor edi, edi
jmp 0x5c437b
mov edi, 0x8876086c
cmp dword [ebp - 4], 0
pop esi
pop ebx
je 0x5c438c
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x5c439e
mov eax, 0x8876086c
pop edi
leave
ret 8