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

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dl, byte [esi + ebx + 4]
mov eax, dword [esi]
add al, bl
movsx ecx, dl
xor eax, ecx
mov byte [esi + ebx + 4], al
inc ebx
cmp ebx, 0x13
jb 0x1009b739
pop edi
mov byte [esi + 0x17], 0
lea eax, [esi + 4]
pop esi
pop ebx
ret

Function at 0x1009b75b
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dl, byte [esi + ebx + 4]
mov eax, dword [esi]
add al, bl
movsx ecx, dl
xor eax, ecx
mov byte [esi + ebx + 4], al
inc ebx
cmp ebx, 0xd
jb 0x1009b762
pop edi
mov byte [esi + 0x11], 0
lea eax, [esi + 4]
pop esi
pop ebx
ret

Function at 0x1009b784
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov edx, ecx
push esi
push edi
xor esi, esi
lea edi, [edx + 4]
mov ax, word [edi]
mov ecx, dword [edx]
add ecx, esi
movzx eax, ax
xor ecx, eax
inc esi
mov word [edi], cx
lea edi, [edi + 2]
cmp esi, 0x23
jb 0x1009b78e
pop edi
xor eax, eax
pop esi
mov word [edx + 0x4a], ax
lea eax, [edx + 4]
pop ebx
ret

Function at 0x1009b7b3
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov edx, ecx
push esi
push edi
xor esi, esi
lea edi, [edx + 4]
mov ax, word [edi]
mov ecx, dword [edx]
add ecx, esi
movzx eax, ax
xor ecx, eax
inc esi
mov word [edi], cx
lea edi, [edi + 2]
cmp esi, 0x42
jb 0x1009b7bd
pop edi
xor eax, eax
pop esi
mov word [edx + 0x88], ax
lea eax, [edx + 4]
pop ebx
ret

Function at 0x1009b7e5
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov edx, ecx
push esi
push edi
xor esi, esi
lea edi, [edx + 4]
mov ax, word [edi]
mov ecx, dword [edx]
add ecx, esi
movzx eax, ax
xor ecx, eax
inc esi
mov word [edi], cx
lea edi, [edi + 2]
cmp esi, 0x22
jb 0x1009b7ef
pop edi
xor eax, eax
pop esi
mov word [edx + 0x48], ax
lea eax, [edx + 4]
pop ebx
ret

Function at 0x1009b814
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov edx, ecx
push esi
push edi
xor esi, esi
lea edi, [edx + 4]
mov ax, word [edi]
mov ecx, dword [edx]
add ecx, esi
movzx eax, ax
xor ecx, eax
inc esi
mov word [edi], cx
lea edi, [edi + 2]
cmp esi, 0x34
jb 0x1009b81e
pop edi
xor eax, eax
pop esi
mov word [edx + 0x6c], ax
lea eax, [edx + 4]
pop ebx
ret

Function at 0x1009b843
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov edx, ecx
push esi
push edi
xor esi, esi
lea edi, [edx + 4]
mov ax, word [edi]
mov ecx, dword [edx]
add ecx, esi
movzx eax, ax
xor ecx, eax
inc esi
mov word [edi], cx
lea edi, [edi + 2]
cmp esi, 0x2e
jb 0x1009b84d
pop edi
xor eax, eax
pop esi
mov word [edx + 0x60], ax
lea eax, [edx + 4]
pop ebx
ret

Function at 0x1009b983
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x14
pop ebx
lea eax, [edi + 4]
mov dl, byte [eax]
movsx esi, byte [edi]
movsx ecx, dl
xor ecx, esi
mov byte [eax], cl
inc eax
sub ebx, 1
jne 0x1009b98e
mov byte [edi + 0x18], bl
lea eax, [edi + 4]
pop edi
pop esi
pop ebx
ret
Function at 0x1009b9aa
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
push 0x2f
pop ebx
lea edi, [esi + 4]
mov ax, word [edi]
movzx ecx, word [esi]
movzx edx, ax
xor edx, ecx
mov word [edi], dx
lea edi, [edi + 2]
sub ebx, 1
jne 0x1009b9b5
xor eax, eax
mov word [esi + 0x62], ax
lea eax, [esi + 4]
pop edi
pop esi
pop ebx
ret

Function at 0x1009b9d8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
push 0x44
pop ebx
lea edi, [esi + 4]
mov ax, word [edi]
movzx ecx, word [esi]
movzx edx, ax
xor edx, ecx
mov word [edi], dx
lea edi, [edi + 2]
sub ebx, 1
jne 0x1009b9e3
xor eax, eax
mov word [esi + 0x8c], ax
lea eax, [esi + 4]
pop edi
pop esi
pop ebx
ret

Function at 0x1009cfaa
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
push 0x2c
pop ebx
lea edi, [esi + 4]
mov ax, word [edi]
movzx ecx, word [esi]
movzx edx, ax
xor edx, ecx
mov word [edi], dx
lea edi, [edi + 2]
sub ebx, 1
jne 0x1009cfb5
xor eax, eax
mov word [esi + 0x5c], ax
lea eax, [esi + 4]
pop edi
pop esi
pop ebx
ret
Function at 0x1009cfd8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x244
mov eax, 0x100f6989
call fcn.100ccaa2
mov edi, ecx
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x250], edi
call fcn.10093a83
xor eax, eax
mov dword [ebp - 4], eax
lea ebx, [edi + 0x80]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
mov eax, dword [0x10201ab4]
mov eax, dword [eax + 0xa8]
mov dword [ebp - 0x24c], eax
push 0x63
pop eax
mov word [ebp - 0x244], ax
push 0x7f
pop edx
mov word [ebp - 0x242], dx
push 0x77
pop eax
mov word [ebp - 0x240], ax
push 0x68
pop ecx
mov word [ebp - 0x23e], cx
push 0x79
pop eax
mov word [ebp - 0x23c], ax
mov word [ebp - 0x23a], cx
push 0x74
pop ecx
mov word [ebp - 0x238], cx
push 0x7a
pop eax
mov word [ebp - 0x236], ax
push 0x35
pop eax
mov word [ebp - 0x234], ax
mov word [ebp - 0x232], dx
push 0x6c
pop eax
mov word [ebp - 0x230], ax
mov word [ebp - 0x22e], cx
xor eax, eax
mov word [ebp - 0x22c], ax
mov ax, word [ebp - 0x244]
push 0x2e
pop ecx
mov word [ebp - 0x228], cx
push 0x7c
pop eax
mov word [ebp - 0x226], ax
mov word [ebp - 0x224], cx
mov word [ebp - 0x222], ax
xor eax, eax
mov word [ebp - 0x220], ax
mov ax, word [ebp - 0x228]
mov esi, dword [0x101ef2d0]
lea ecx, [ebp - 0x244]
call fcn.1007e357
push eax
mov eax, dword [ebp - 0x24c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x190]
push eax
lea ecx, [ebp - 0x228]
call fcn.1009d1fe
push eax
push 0x208
lea eax, [ebp - 0x21c]
push eax
call dword [esi + 0x5d0]
add esp, 0x14
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1009d184
cmp eax, 0x10
je 0x1009d184
lea eax, [ebp - 0x21c]
push eax
push 0
mov ecx, edi
call fcn.10093b48
test eax, eax
js 0x1009d184
mov eax, dword [0x10201ab0]
push dword [eax + 0x15c]
lea eax, [ebp - 0x248]
push eax
push 0xf01f
mov ecx, edi
call fcn.10093ac0
call eax
add esp, 0xc
test eax, eax
js 0x1009d17b
push 0x1000262c
push dword [ebp - 0x248]
mov ecx, ebx
call fcn.10002540
mov dword [ebp - 4], 1
jmp 0x1009d19d
mov byte [ebp - 4], 1
jmp 0x1009d19d
or dword [ebp - 4], 0xffffffff
mov eax, edi
call fcn.100cc9ef
ret
Function at 0x100b5330
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f83c5
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10110164]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
and dword [ebp - 4], 0
mov eax, dword [0x101ef2d0]
call dword [eax + 0x160]
lea esi, [ebx + 0x414]
push dword [esi]
mov edx, dword [eax]
push eax
call dword [edx + 0x10]
mov ecx, esi
call fcn.10049d08
push dword [ebx + 0x410]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [0x10201ab4]
mov eax, dword [eax + 0x10]
mov edi, dword [eax + 0x48]
mov dword [ebp - 0x38], 0xc662
mov eax, dword [ebp - 0x38]
xor eax, 0x78
mov word [ebp - 0x34], ax
mov eax, dword [ebp - 0x38]
inc eax
xor eax, 0x63
mov word [ebp - 0x32], ax
mov eax, dword [ebp - 0x38]
add eax, 2
xor eax, 0x6c
mov word [ebp - 0x30], ax
mov eax, dword [ebp - 0x38]
add eax, 3
xor eax, 0x69
mov word [ebp - 0x2e], ax
mov eax, dword [ebp - 0x38]
add eax, 4
xor eax, 0x6f
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x38]
add eax, 5
xor eax, 0x3a
mov word [ebp - 0x2a], ax
mov eax, dword [ebp - 0x38]
add eax, 6
xor eax, 0x3a
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x38]
add eax, 7
xor eax, 0x20
mov word [ebp - 0x26], ax
mov eax, dword [ebp - 0x38]
add eax, 8
xor eax, 0x78
mov word [ebp - 0x24], ax
mov eax, dword [ebp - 0x38]
add eax, 9
xor eax, 0x77
mov word [ebp - 0x22], ax
mov eax, dword [ebp - 0x38]
add eax, 0xa
xor eax, 0x68
mov word [ebp - 0x20], ax
mov eax, dword [ebp - 0x38]
add eax, 0xb
xor eax, 0x20
mov word [ebp - 0x1e], ax
mov eax, dword [ebp - 0x38]
add eax, 0xc
xor eax, 0x74
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 0x38]
add eax, 0xd
xor eax, 0x65
mov word [ebp - 0x1a], ax
mov eax, dword [ebp - 0x38]
add eax, 0xe
xor eax, 0x72
mov word [ebp - 0x18], ax
mov eax, dword [ebp - 0x38]
add eax, 0xf
xor eax, 0x6d
lea ecx, [ebp - 0x38]
mov word [ebp - 0x16], ax
xor eax, eax
mov word [ebp - 0x14], ax
mov ax, word [ebp - 0x34]
mov esi, dword [edi]
call fcn.100399ef
push eax
push edi
call dword [esi + 0x28]
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebx + 0x418]
test ecx, ecx
je 0x100b54a5
call fcn.10002bb1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100cc9b8
leave
ret
Function at 0x100bd33f
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x10218524]
test eax, eax
je 0x100bd35d
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x10218524]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x10201ac4]
test ecx, ecx
je 0x100bd3e3
mov edx, dword [0x1011014c]
test edx, edx
js 0x100bd385
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x14]
or dword [0x1011014c], 0xffffffff
mov ecx, dword [0x10201ac4]
mov edx, dword [0x10110150]
test edx, edx
js 0x100bd3a3
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x14]
or dword [0x10110150], 0xffffffff
mov ecx, dword [0x10201ac4]
mov edx, dword [0x10110154]
test edx, edx
js 0x100bd3c1
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x14]
or dword [0x10110154], 0xffffffff
mov ecx, dword [0x10201ac4]
mov edx, dword [0x10110158]
test edx, edx
js 0x100bd3d9
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x14]
or dword [0x10110158], 0xffffffff
mov ecx, 0x10218514
call fcn.10049d08
mov ecx, 0x1021850c
call fcn.10049d08
mov ecx, 0x1021851c
jmp fcn.10049d08

Function at 0x100bd4ba
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ebx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100bd507
push dword [ebp + 8]
call fcn.100b5bef
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0xa
jl 0x100bd4c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0xe0ff0000
jmp 0x100bd522
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100c0ccd
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x10110164]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
push 0x40
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x270]
push 0
push eax
mov dword [ebp - 0x274], 0x44
call fcn.100cea50
mov dword [ebp - 0x21c], 0x5f55
lea ecx, [ebp - 0x21c]
mov eax, dword [ebp - 0x21c]
add esp, 0xc
xor eax, 0x22
mov word [ebp - 0x218], ax
mov eax, dword [ebp - 0x21c]
inc eax
xor eax, 0x25
mov word [ebp - 0x216], ax
mov eax, dword [ebp - 0x21c]
add eax, 2
xor eax, 0x6c
mov word [ebp - 0x214], ax
mov eax, dword [ebp - 0x21c]
add eax, 3
xor eax, 0x73
mov word [ebp - 0x212], ax
mov eax, dword [ebp - 0x21c]
add eax, 4
xor eax, 0x22
mov word [ebp - 0x210], ax
xor eax, eax
mov word [ebp - 0x20e], ax
mov ax, word [ebp - 0x218]
mov esi, dword [0x101ef2d0]
push edi
call fcn.1004e27c
push eax
lea eax, [ebp - 0x20c]
push 0x208
push eax
call dword [esi + 0x5d0]
add esp, 0x10
lea eax, [ebp - 0x230]
xor ecx, ecx
push eax
lea eax, [ebp - 0x274]
push eax
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
lea eax, [ebp - 0x20c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x100c0de0
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0xe0ff0000
jmp 0x100c0e1b
cmp dword [ebp - 0x22c], 0
je 0x100c0df5
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x100c0e0b
mov eax, dword [ebx + 8]
test eax, eax
je 0x100c0e0b
push dword [ebp - 0x228]
push dword [ebx + 0x1c]
call eax
mov ecx, dword [ebp - 0x220]
mov eax, dword [ebp - 0x230]
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100cc9b8
leave
ret

Function at 0x100c0e2d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x1c
mov eax, 0x100f1841
call fcn.100cca34
mov ebx, ecx
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
cmp eax, 0xffffffff
je 0x100c0e61
call fcn.100ddd9c
pop ecx
push eax
push esi
mov ecx, edi
call fcn.1000b38e
xor eax, eax
jmp 0x100c0eb7
lea ecx, [ebp - 0x28]
call fcn.10011b36
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
push 0x100fb6e8
call fcn.100cc6cb
cmp eax, 0xffffffff
je 0x100c0ea4
push 0
push eax
lea ecx, [ebp - 0x28]
call fcn.100cc69d
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, ebx
cmovae eax, dword [ebp - 0x28]
push eax
push edi
call fcn.100c0e2d
mov esi, eax
jmp 0x100c0ea9
mov esi, 0xe0d00769
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000b2cc
mov eax, esi
call fcn.100cc9de
ret 8
Function at 0x100c53a0
Capabilities:
Read file on windows

Disassembly:
push 0x218
mov eax, 0x100f8b5e
call fcn.100cca34
mov eax, dword [ebp + 8]
xor esi, esi
mov ebx, dword [ebp + 0xc]
push 0x100faa14
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.100d22b0
add esp, 0xc
cmp dword [ebp - 0x214], esi
jne 0x100c53db
xor eax, eax
jmp 0x100c54a8
lea eax, [ebp - 0x214]
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.100877f0
mov dword [ebp - 4], esi
push 2
push esi
push dword [ebp - 0x214]
call fcn.100dd2f1
push dword [ebp - 0x214]
call fcn.100dd863
add esp, 0x1c
test eax, eax
js 0x100c548c
cmp dword [ebp + 0x10], eax
jne 0x100c548c
push esi
push esi
push dword [ebp - 0x214]
call fcn.100dd2f1
push dword [ebp - 0x214]
xor esi, esi
lea eax, [ebp - 0x210]
push 0x200
inc esi
push esi
push eax
call fcn.100dcf87
add esp, 0x1c
jmp 0x100c5482
push edi
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.100cebaa
add esp, 0xc
test eax, eax
jne 0x100c548a
push dword [ebp - 0x214]
lea eax, [ebp - 0x210]
add ebx, edi
push 0x200
push esi
push eax
call fcn.100dcf87
add esp, 0x10
mov edi, eax
test edi, edi
jne 0x100c5450
jmp 0x100c548c
xor esi, esi
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x220], 0
jne 0x100c54a6
lea eax, [ebp - 0x21c]
push eax
call fcn.100878f1
pop ecx
mov eax, esi
call fcn.100cc9de
ret
Function at 0x100c8bd8
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10110164]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x20c]
mov esi, 0x104
push eax
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x100c8c56
cmp eax, esi
ja 0x100c8c56
xor esi, esi
lea ebx, [edi + 0x208]
mov ecx, edi
call fcn.100c8b44
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [0x101ef2d0]
push 0x208
push edi
call dword [eax + 0xc]
mov eax, dword [0x101ef2d0]
push ebx
push 0x208
push edi
call dword [eax + 0xb4]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100c8c67
inc esi
cmp esi, 0x3e8
jl 0x100c8c13
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100cc9b8
leave
ret
xor eax, eax
inc eax
jmp 0x100c8c58
Function at 0x100c94d5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
and dword [ebp - 0x24], 0
and dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
push eax
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x41
mov dword [ebp - 0x30], str.open
mov dword [ebp - 0x14], str.exefile
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
neg eax
sbb eax, eax
and eax, dword [ebp - 4]
leave
ret

Function at 0x100cb69f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x574
mov eax, dword [0x10110164]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x570]
push 0x307
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.100c3c78
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x574]
push 0
push eax
push 0x270
lea eax, [ebp - 0x274]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
test eax, eax
je 0x100cb722
mov eax, dword [ebp - 0x26c]
not eax
cmp dword [ebp - 0x568], eax
jne 0x100cb722
cmp dword [ebp - 0x564], 0
jl 0x100cb722
xor eax, eax
inc eax
jmp 0x100cb724
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100cc9b8
leave
ret

Function at 0x100cb730
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x574
mov eax, dword [0x10110164]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x570]
push 0x306
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.100c3c78
add esp, 0xc
lea eax, [ebp - 0x574]
push 0
push eax
push 0x270
lea eax, [ebp - 0x274]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
test eax, eax
je 0x100cb7a1
mov eax, dword [ebp - 0x26c]
not eax
cmp dword [ebp - 0x568], eax
jne 0x100cb7a1
cmp dword [ebp - 0x564], 0
jl 0x100cb7a1
xor eax, eax
inc eax
jmp 0x100cb7a3
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100cc9b8
leave
ret
Function at 0x100cb7af
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x574
mov eax, dword [0x10110164]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x300]
push edi
mov edi, dword [ebp + 0xc]
push 0x32e
push eax
lea eax, [ebp - 0x570]
push eax
call fcn.100c3c78
mov ebx, 0xd0
lea eax, [ebp - 0x2f0]
push ebx
push 0
push eax
call fcn.100cea50
add esp, 0x18
lea eax, [ebp - 0x574]
push 0
push eax
push 0x270
lea eax, [ebp - 0x570]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100cb849
mov eax, dword [ebp - 0x568]
not eax
cmp dword [ebp - 0x2f8], eax
jne 0x100cb849
cmp dword [ebp - 0x2f4], 0
jl 0x100cb849
push ebx
lea eax, [ebp - 0x2f0]
push eax
push edi
call fcn.100cfb50
xor eax, eax
add esp, 0xc
inc eax
jmp 0x100cb84b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100cc9b8
leave
ret

Function at 0x100cb8d8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x574
mov eax, dword [0x10110164]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x300]
push 0x329
push eax
lea eax, [ebp - 0x570]
push eax
call fcn.100c3c78
add esp, 0xc
lea eax, [ebp - 0x574]
push 0
push eax
push 0x270
lea eax, [ebp - 0x570]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
test eax, eax
je 0x100cb950
mov eax, dword [ebp - 0x568]
not eax
cmp dword [ebp - 0x2f8], eax
jne 0x100cb950
cmp dword [ebp - 0x2f4], 0
jge 0x100cb95e
push dword [ebp - 0x2f4]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100cc9b8
leave
ret
mov eax, dword [ebp - 0x2f0]
jmp 0x100cb952

Function at 0x100cb966
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x574
mov eax, dword [0x10110164]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x300]
push 0x31f
push eax
lea eax, [ebp - 0x570]
push eax
call fcn.100c3c78
add esp, 0xc
lea eax, [ebp - 0x574]
push 0
push eax
push 0x270
lea eax, [ebp - 0x570]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
test eax, eax
je 0x100cb9da
mov eax, dword [ebp - 0x568]
not eax
cmp dword [ebp - 0x2f8], eax
jne 0x100cb9da
cmp dword [ebp - 0x2f4], 0
jl 0x100cb9da
mov eax, dword [ebp - 0x2f0]
jmp 0x100cb9dc
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100cc9b8
leave
ret

Function at 0x100cbdd3
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dl, byte [esi + ebx + 4]
mov eax, dword [esi]
add al, bl
movsx ecx, dl
xor eax, ecx
mov byte [esi + ebx + 4], al
inc ebx
cmp ebx, 0x1d
jb 0x100cbdda
pop edi
mov byte [esi + 0x21], 0
lea eax, [esi + 4]
pop esi
pop ebx
ret

Function at 0x100cbdfc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dl, byte [esi + ebx + 4]
mov eax, dword [esi]
add al, bl
movsx ecx, dl
xor eax, ecx
mov byte [esi + ebx + 4], al
inc ebx
cmp ebx, 0x14
jb 0x100cbe03
pop edi
mov byte [esi + 0x18], 0
lea eax, [esi + 4]
pop esi
pop ebx
ret
Function at 0x100cbe25
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dl, byte [esi + ebx + 4]
mov eax, dword [esi]
add al, bl
movsx ecx, dl
xor eax, ecx
mov byte [esi + ebx + 4], al
inc ebx
cmp ebx, 0x17
jb 0x100cbe2c
pop edi
mov byte [esi + 0x1b], 0
lea eax, [esi + 4]
pop esi
pop ebx
ret

Function at 0x100cbe4e
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov edx, ecx
push esi
push edi
xor esi, esi
lea edi, [edx + 4]
mov ax, word [edi]
mov ecx, dword [edx]
add ecx, esi
movzx eax, ax
xor ecx, eax
inc esi
mov word [edi], cx
lea edi, [edi + 2]
cmp esi, 0x51
jb 0x100cbe58
pop edi
xor eax, eax
pop esi
mov word [edx + 0xa6], ax
lea eax, [edx + 4]
pop ebx
ret

Function at 0x100cbe80
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov edx, ecx
push esi
push edi
xor esi, esi
lea edi, [edx + 4]
mov ax, word [edi]
mov ecx, dword [edx]
add ecx, esi
movzx eax, ax
xor ecx, eax
inc esi
mov word [edi], cx
lea edi, [edi + 2]
cmp esi, 0x2d
jb 0x100cbe8a
pop edi
xor eax, eax
pop esi
mov word [edx + 0x5e], ax
lea eax, [edx + 4]
pop ebx
ret

Function at 0x100cc330
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x1d
pop ebx
lea eax, [edi + 4]
mov dl, byte [eax]
movsx esi, byte [edi]
movsx ecx, dl
xor ecx, esi
mov byte [eax], cl
inc eax
sub ebx, 1
jne 0x100cc33b
mov byte [edi + 0x21], bl
lea eax, [edi + 4]
pop edi
pop esi
pop ebx
ret

Function at 0x100cc357
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x17
pop ebx
lea eax, [edi + 4]
mov dl, byte [eax]
movsx esi, byte [edi]
movsx ecx, dl
xor ecx, esi
mov byte [eax], cl
inc eax
sub ebx, 1
jne 0x100cc362
mov byte [edi + 0x1b], bl
lea eax, [edi + 4]
pop edi
pop esi
pop ebx
ret

Function at 0x100cc37e
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x11
pop ebx
lea eax, [edi + 4]
mov dl, byte [eax]
movsx esi, byte [edi]
movsx ecx, dl
xor ecx, esi
mov byte [eax], cl
inc eax
sub ebx, 1
jne 0x100cc389
mov byte [edi + 0x15], bl
lea eax, [edi + 4]
pop edi
pop esi
pop ebx
ret

Function at 0x100cc3a5
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
push 0x32
pop ebx
lea edi, [esi + 4]
mov ax, word [edi]
movzx ecx, word [esi]
movzx edx, ax
xor edx, ecx
mov word [edi], dx
lea edi, [edi + 2]
sub ebx, 1
jne 0x100cc3b0
xor eax, eax
mov word [esi + 0x68], ax
lea eax, [esi + 4]
pop edi
pop esi
pop ebx
ret

Function at 0x100cc3d3
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
push 0x2d
pop ebx
lea edi, [esi + 4]
mov ax, word [edi]
movzx ecx, word [esi]
movzx edx, ax
xor edx, ecx
mov word [edi], dx
lea edi, [edi + 2]
sub ebx, 1
jne 0x100cc3de
xor eax, eax
mov word [esi + 0x5e], ax
lea eax, [esi + 4]
pop edi
pop esi
pop ebx
ret