joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412a80
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x348
mov eax, dword [0x4a93dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea edx, [ebp - 0x110]
push edx
push 0x104
push ecx
push eax
mov dword [ebp - 0x348], 0x200
call fcn.004128c0
add esp, 0x10
test eax, eax
jne 0x412c2e
mov eax, dword [0x4aca34]
test eax, eax
jne 0x412af3
lea eax, [ebp - 0x340]
push eax
mov dword [ebp - 0x340], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
cmp dword [ebp - 0x330], 2
sete al
inc eax
mov dword [0x4aca34], eax
cmp eax, 2
jne 0x412b51
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x110]
push ecx
push 0
push 0xfde9
call edi
mov ebx, eax
lea edx, [ebx + ebx]
push edx
call fcn.00481197
mov esi, eax
add esp, 4
test esi, esi
je 0x412c18
push ebx
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x110]
push eax
push 0
push 0xfde9
call edi
test eax, eax
jne 0x412b5e
push esi
call fcn.00480a32
add esp, 4
xor esi, esi
jmp 0x412b5e
lea ebx, [ebp - 0x110]
call fcn.004106f0
mov esi, eax
test esi, esi
je 0x412c18
mov eax, dword [0x4aca34]
test eax, eax
jne 0x412b98
lea ecx, [ebp - 0x228]
push ecx
mov dword [ebp - 0x228], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
cmp dword [ebp - 0x218], 2
sete al
inc eax
mov dword [0x4aca34], eax
cmp eax, 2
mov eax, esi
jne 0x412bd6
cmp word [esi], 0
je 0x412bbb
cmp word [eax], 0x5c
je 0x412bb6
add eax, 2
cmp word [eax], 0
jne 0x412ba5
jmp 0x412bbb
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0x344]
push eax
mov ecx, eax
push ecx
lea edx, [ebp - 0x348]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x412c09
cmp byte [esi], 0
je 0x412bf0
jmp 0x412be0
cmp byte [eax], 0x5c
je 0x412bed
inc eax
cmp byte [eax], 0
jne 0x412be0
jmp 0x412bf0
mov byte [eax], 0
lea ecx, [ebp - 0x344]
push ecx
mov edx, ecx
push edx
lea eax, [ebp - 0x348]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
push esi
mov edi, eax
call fcn.00480a32
add esp, 4
test edi, edi
jne 0x412c2e
mov eax, 0x200
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048036c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x348]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048036c
mov esp, ebp
pop ebp
ret
Function at 0x412f10
Capabilities:
Get system information on windows

Disassembly:
xor eax, eax
push 0x4adca0
mov dword [0x4adca0], eax
mov dword [0x4adca4], eax
mov dword [0x4adca8], eax
mov dword [0x4adcac], eax
mov dword [0x4adcb0], eax
mov dword [0x4adcb4], eax
mov dword [0x4adcb8], eax
mov dword [0x4adcbc], eax
mov dword [0x4adcc0], eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
call fcn.004701a0
test eax, eax
jne 0x412fab
push esi
cmp dword [0x4aa724], eax
jne 0x412f60
xor esi, esi
jmp 0x412f7b
push 2
call dword [0x4aa764]
mov esi, eax
add esp, 4
test esi, esi
je 0x412f7b
push esi
call dword [0x4aa76c]
add esp, 4
mov edx, 0x4aa970
call fcn.0040c210
mov eax, dword [0x4ac978]
mov dword [0x4aa97c], eax
mov dword [0x4ac978], 0x4aa970
test esi, esi
je 0x412fa7
push esi
call dword [0x4aa774]
add esp, 4
xor eax, eax
pop esi
ret
xor eax, eax
ret
Function at 0x4177e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0x3c]
cmp dword [edx], 0
push esi
push edi
mov edi, eax
mov dword [ebp - 4], 0
jne 0x417824
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx]
or eax, 0x1e
push 0
and eax, 0x87f7f
push eax
mov eax, dword [ecx + 0x18]
push edx
push 0
push ecx
call eax
add esp, 0x14
mov dword [ebp - 4], eax
test eax, eax
jne 0x41796f
mov ecx, dword [ebx + 0x18]
cmp ecx, dword [ebx + 0x24]
jbe 0x41785d
mov eax, dword [ebx + 0x80]
push 0
cdq
push ecx
push edx
push eax
call fcn.00490800
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 5
push eax
mov eax, dword [ecx + 0x28]
call eax
mov ecx, dword [ebx + 0x18]
add esp, 0xc
mov dword [ebx + 0x24], ecx
test edi, edi
je 0x41796c
mov esi, dword [edi + 0xc]
mov dword [ebp - 8], esi
cmp esi, dword [ebx + 0x18]
ja 0x41795f
test byte [edi + 0x14], 0x20
jne 0x41795f
mov eax, dword [ebx + 0x80]
cdq
push edx
push eax
lea ecx, [esi - 1]
push 0
push ecx
call fcn.00490800
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
cmp esi, 1
jne 0x4178fa
mov esi, dword [edi + 0x10]
movzx ecx, byte [esi + 0x64]
movzx edx, byte [esi + 0x65]
movzx eax, byte [esi + 0x66]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 0x67]
mov esi, dword [edi]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, edx
inc ecx
mov byte [esi + 0x1b], cl
mov eax, ecx
mov edx, ecx
shr eax, 0x18
mov byte [esi + 0x18], al
shr edx, 0x10
mov byte [esi + 0x19], dl
mov ebx, ecx
shr ebx, 8
mov byte [esi + 0x1a], bl
mov esi, dword [edi]
mov byte [esi + 0x5e], bl
mov ebx, dword [ebp + 8]
mov byte [esi + 0x5c], al
mov byte [esi + 0x5d], dl
mov byte [esi + 0x5f], cl
mov ecx, dword [edi]
mov esi, dword [ebp - 8]
mov dword [ecx + 0x60], 0x20e22d00
push dword [ebp - 0xc]
mov eax, dword [edi]
push dword [ebp - 0x10]
mov ecx, dword [ebx + 0x80]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x3c]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ecx
mov ecx, dword [ebp - 8]
push ecx
push eax
call edx
add esp, 0x14
mov dword [ebp - 4], eax
cmp esi, 1
jne 0x417941
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x18]
mov dword [ebx + 0x64], ecx
mov edx, dword [eax + 0x1c]
mov dword [ebx + 0x68], edx
mov ecx, dword [eax + 0x20]
mov dword [ebx + 0x6c], ecx
mov edx, dword [eax + 0x24]
mov dword [ebx + 0x70], edx
cmp esi, dword [ebx + 0x20]
jbe 0x417949
mov dword [ebx + 0x20], esi
mov eax, dword [edi]
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [ecx + 0x58]
mov ebx, esi
call fcn.00428030
mov ebx, dword [ebp + 8]
add esp, 4
cmp dword [ebp - 4], 0
mov edi, dword [edi + 8]
je 0x41785d
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43a2f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
test ebx, ebx
jne 0x43a30a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov ecx, 0x50
call fcn.0040d0f0
mov edi, eax
test edi, edi
je 0x43a301
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebx]
push eax
push ecx
push esi
call fcn.00439e30
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov dword [edi], eax
mov eax, dword [ebx + 8]
push edx
push eax
push esi
call fcn.00439fb0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
push 0
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
push ecx
push eax
push esi
call fcn.00439bb0
mov edx, dword [ebp + 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
push edx
push eax
push esi
call fcn.00439e30
mov ecx, dword [ebp + 0x10]
add esp, 0x1c
push 0
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
push ecx
push eax
push esi
call fcn.00439bb0
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
push edx
push eax
push esi
call fcn.00439e30
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x18], eax
mov cl, byte [ebx + 4]
add esp, 0x1c
mov byte [edi + 4], cl
mov eax, dword [ebx + 0x1c]
push edx
push eax
push esi
call fcn.0043a2f0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
push 0
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x28]
push ecx
push eax
push esi
call fcn.00439bb0
mov edx, dword [ebp + 0x10]
push 0
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0x2c]
push edx
push eax
push esi
call fcn.00439bb0
mov dword [edi + 0x2c], eax
xor eax, eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov cx, word [ebx + 6]
mov edx, 0xfff7
add esp, 0x20
and cx, dx
mov dword [edi + 0x24], eax
or eax, 0xffffffff
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov word [edi + 6], cx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x442940
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, edi
test edi, edi
jne 0x44295e
xor ebx, ebx
mov dword [ebp - 8], ebx
jmp 0x442974
cmp byte [edi], al
je 0x442967
inc ecx
cmp byte [ecx], al
jne 0x442962
sub ecx, edi
and ecx, 0x3fffffff
mov ebx, ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ecx
test ecx, ecx
jle 0x442a75
jmp 0x442993
mov edi, dword [ebp + 0xc]
cmp esi, 2
jge 0x44299b
xor esi, 1
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4429fb
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov edx, esi
shl edx, 4
mov edi, dword [edx + eax]
mov dl, byte [ecx]
test dl, dl
je 0x4429dd
jmp 0x4429c0
movzx eax, byte [edi]
movzx edx, dl
mov dl, byte [edx + 0x49cf10]
cmp dl, byte [eax + 0x49cf10]
jne 0x4429dd
mov dl, byte [ecx + 1]
inc ecx
inc edi
test dl, dl
jne 0x4429c0
movzx ecx, byte [ecx]
movzx edx, byte [edi]
movzx edx, byte [edx + 0x49cf10]
movzx ecx, byte [ecx + 0x49cf10]
sub ecx, edx
mov eax, dword [ebp - 4]
jne 0x442a65
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
add esi, esi
mov esi, dword [eax + esi*8 + 0xc]
cmp dword [esi + 0x14], 0
je 0x442a48
xor eax, eax
mov edx, ebx
mov ecx, edi
test ebx, ebx
jle 0x442a3e
jmp 0x442a20
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x49cf10]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x442a20
mov ebx, dword [ebp - 8]
mov edi, dword [ebp + 0xc]
xor edx, edx
div dword [esi + 8]
jmp 0x442a4a
xor edx, edx
push ebx
push edi
lea eax, [esi + 8]
call fcn.004102b0
add esp, 8
test eax, eax
je 0x442a7c
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
test eax, eax
jne 0x442a75
mov esi, dword [ebp - 0xc]
inc esi
mov dword [ebp - 0xc], esi
cmp esi, dword [ebp - 0x10]
jl 0x442990
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x442a65
Function at 0x442b20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ebp - 8], esi
mov ecx, eax
test eax, eax
jne 0x442b3d
xor ebx, ebx
mov dword [ebp - 0xc], ebx
jmp 0x442b55
cmp byte [eax], 0
je 0x442b48
inc ecx
cmp byte [ecx], 0
jne 0x442b42
sub ecx, eax
and ecx, 0x3fffffff
mov ebx, ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [edx + 4]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
jle 0x442c37
mov ecx, dword [edx + 8]
mov dword [ebp - 0x10], ecx
push edi
nop
mov ecx, eax
cmp eax, 2
jge 0x442b7a
xor ecx, 1
mov edx, dword [ebp + 0xc]
shl ecx, 4
add ecx, dword [ebp - 0x10]
mov edi, dword [ecx + 0xc]
test edx, edx
je 0x442bca
mov esi, dword [ecx]
mov cl, byte [edx]
test cl, cl
je 0x442bb2
movzx eax, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x49cf10]
cmp cl, byte [eax + 0x49cf10]
jne 0x442baf
mov cl, byte [edx + 1]
inc edx
inc esi
test cl, cl
jne 0x442b92
mov eax, dword [ebp - 4]
movzx edx, byte [edx]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x49cf10]
movzx edx, byte [edx + 0x49cf10]
sub edx, ecx
jne 0x442c26
cmp dword [edi + 0x24], 0
lea esi, [edi + 0x18]
je 0x442c04
mov ecx, dword [ebp + 8]
xor eax, eax
mov edx, ebx
test ebx, ebx
jle 0x442bfe
mov edi, edi
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x49cf10]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x442be0
mov ebx, dword [ebp - 0xc]
xor edx, edx
div dword [esi]
jmp 0x442c06
xor edx, edx
mov eax, dword [ebp + 8]
push ebx
push eax
mov eax, esi
call fcn.004102b0
add esp, 8
test eax, eax
je 0x442c3d
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
test eax, eax
jne 0x442c36
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 0x14]
jl 0x442b70
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 8], 0
jmp 0x442c23
Function at 0x442c50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
add eax, eax
push edi
mov edi, dword [edx + eax*8 + 0xc]
add edi, 0x18
mov dword [ebp - 8], edi
mov eax, esi
test esi, esi
je 0x442c85
cmp byte [esi], 0
je 0x442c7e
inc eax
cmp byte [eax], 0
jne 0x442c78
sub eax, esi
and eax, 0x3fffffff
cmp dword [edi], 0
mov dword [ebp - 4], eax
je 0x442cc9
mov edx, eax
xor eax, eax
mov ecx, esi
cmp edx, eax
jle 0x442cbe
jmp 0x442ca0
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x49cf10]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x442ca0
mov edi, dword [ebp - 8]
xor edx, edx
div dword [edi]
mov eax, dword [ebp - 4]
mov ebx, edx
jmp 0x442ccb
xor ebx, ebx
push eax
push esi
mov edx, ebx
mov eax, edi
call fcn.004102b0
add esp, 8
test eax, eax
je 0x442d3d
mov esi, dword [eax + 8]
mov edx, ebx
mov ecx, edi
call fcn.00410350
test esi, esi
je 0x442d3d
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx + 0x10]
cmp eax, esi
jne 0x442cff
mov eax, dword [esi + 0x20]
mov dword [ecx + 0x10], eax
jmp 0x442d18
test eax, eax
je 0x442d18
mov ecx, dword [eax + 0x20]
cmp ecx, esi
je 0x442d12
mov eax, ecx
test eax, eax
jne 0x442d03
jmp 0x442d18
mov ecx, dword [esi + 0x20]
mov dword [eax + 0x20], ecx
mov edx, dword [esi + 0x1c]
mov edi, dword [ebp + 8]
push edx
push edi
call fcn.0040cea0
push esi
push edi
call fcn.0040cea0
add esp, 0x10
or dword [edi + 0xc], 0x200
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
or dword [eax + 0xc], 0x200
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x442f30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
test ebx, ebx
je 0x4430df
mov esi, dword [ebp + 8]
test esi, esi
je 0x442f57
cmp dword [esi + 0x1f8], 0
jne 0x442f66
mov eax, 0xffff
add word [ebx + 0x20], ax
jne 0x4430df
mov edi, dword [ebx + 0x10]
mov dword [esp + 0x10], edi
test edi, edi
je 0x44303b
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x14], ecx
test esi, esi
je 0x442f8d
cmp dword [esi + 0x1f8], 0
jne 0x443017
mov ecx, dword [edi]
mov eax, ecx
test ecx, ecx
jne 0x442f9b
mov dword [esp + 0xc], ecx
jmp 0x442fb1
cmp byte [ecx], 0
je 0x442fa6
inc eax
cmp byte [eax], 0
jne 0x442fa0
sub eax, ecx
and eax, 0x3fffffff
mov dword [esp + 0xc], eax
mov esi, dword [edi + 0x24]
cmp dword [esi + 0x18], 0
je 0x442fec
mov edx, dword [esp + 0xc]
xor eax, eax
cmp edx, eax
jle 0x442fe3
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x49cf10]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x442fc4
mov edi, dword [esp + 0x10]
xor edx, edx
div dword [esi + 0x18]
mov ebx, edx
jmp 0x442fee
xor ebx, ebx
mov edx, dword [esp + 0xc]
mov eax, dword [edi]
push edx
push eax
mov edx, ebx
lea eax, [esi + 0x18]
call fcn.004102b0
add esp, 8
test eax, eax
je 0x443011
mov edx, ebx
lea ecx, [esi + 0x18]
call fcn.00410350
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [edi + 0x1c]
push eax
push esi
call fcn.0040cea0
push edi
push esi
call fcn.0040cea0
mov edi, dword [esp + 0x24]
add esp, 0x10
mov dword [esp + 0x10], edi
test edi, edi
jne 0x442f75
push ebx
mov eax, esi
call fcn.0044e7d0
add esp, 4
push ebx
mov edi, esi
call fcn.00442ec0
mov ecx, dword [ebx]
add esp, 4
push ecx
push esi
call fcn.0040cea0
mov edx, dword [ebx + 0x28]
push edx
push esi
call fcn.0040cea0
mov edi, dword [ebx + 0x1c]
add esp, 0x10
test edi, edi
je 0x44307f
push edi
push esi
call fcn.00456eb0
push edi
push esi
call fcn.0040cea0
add esp, 0x10
mov eax, dword [ebx + 0x2c]
push eax
push esi
call fcn.00439a20
add esp, 8
test esi, esi
je 0x443099
cmp dword [esi + 0x1f8], 0
jne 0x4430a5
push 0
mov edi, ebx
call fcn.00464ea0
add esp, 4
cmp dword [ebx + 0x3c], 0
je 0x4430d5
xor edi, edi
cmp dword [ebx + 0x38], edi
jle 0x4430c8
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx + edi*4]
push edx
push esi
call fcn.0040cea0
inc edi
add esp, 8
cmp edi, dword [ebx + 0x38]
jl 0x4430b2
mov eax, dword [ebx + 0x3c]
push eax
push esi
call fcn.0040cea0
add esp, 8
push ebx
push esi
call fcn.0040cea0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4430f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
shl eax, 4
add eax, dword [ecx + 8]
mov ecx, edi
test edi, edi
je 0x44311e
cmp byte [edi], 0
je 0x443116
nop
inc ecx
cmp byte [ecx], 0
jne 0x443110
sub ecx, edi
and ecx, 0x3fffffff
mov ebx, dword [eax + 0xc]
add ebx, 8
cmp dword [ebx], 0
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ebx
je 0x443169
xor eax, eax
mov esi, ecx
mov edx, edi
cmp ecx, eax
jle 0x44315e
lea esp, [esp]
movzx ecx, byte [edx]
movzx ecx, byte [ecx + 0x49cf10]
lea ebx, [eax*8]
xor ecx, ebx
dec esi
xor eax, ecx
inc edx
test esi, esi
jg 0x443140
mov ebx, dword [ebp - 8]
xor edx, edx
div dword [ebx]
mov ecx, dword [ebp - 4]
mov esi, edx
jmp 0x44316b
xor esi, esi
push ecx
push edi
mov edx, esi
mov eax, ebx
call fcn.004102b0
add esp, 8
test eax, eax
je 0x44318b
mov edi, dword [eax + 8]
mov edx, esi
mov ecx, ebx
call fcn.00410350
jmp 0x44318d
xor edi, edi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.00442f30
add esp, 8
or dword [esi + 0xc], 0x200
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x444d10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [edx + 8]
add eax, eax
mov ecx, dword [ecx + eax*8]
push ebx
push esi
mov eax, 0x4aaa34
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18], eax
mov edi, dword [eax]
mov edx, dword [ebp + 8]
mov esi, dword [edx]
xor ebx, ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], ebx
mov eax, edi
cmp edi, ebx
jne 0x444d4e
mov dword [ebp - 4], ebx
jmp 0x444d61
cmp byte [edi], bl
je 0x444d57
inc eax
cmp byte [eax], bl
jne 0x444d52
sub eax, edi
and eax, 0x3fffffff
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
mov dword [ebp - 8], ebx
mov dword [ebp - 0x20], eax
cmp eax, ebx
jle 0x444e7b
jmp 0x444d7a
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov edx, ebx
cmp ebx, 2
jge 0x444d84
xor edx, 1
test ecx, ecx
je 0x444ddb
mov esi, dword [esi + 8]
mov eax, ecx
mov cl, byte [ecx]
mov ebx, edx
add ebx, ebx
mov esi, dword [esi + ebx*8]
test cl, cl
je 0x444dbd
lea ebx, [ebx]
movzx ebx, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x49cf10]
cmp cl, byte [ebx + 0x49cf10]
jne 0x444dbd
mov cl, byte [eax + 1]
inc eax
inc esi
test cl, cl
jne 0x444da0
movzx eax, byte [eax]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x49cf10]
movzx eax, byte [eax + 0x49cf10]
sub eax, ecx
mov ebx, dword [ebp - 8]
jne 0x444e46
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi + 8]
add edx, edx
mov esi, dword [ecx + edx*8 + 0xc]
cmp dword [esi + 0x14], 0
je 0x444e1d
mov edx, dword [ebp - 4]
xor eax, eax
mov ecx, edi
cmp edx, eax
jle 0x444e13
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x49cf10]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x444df5
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 8]
xor edx, edx
div dword [esi + 8]
jmp 0x444e1f
xor edx, edx
mov eax, dword [ebp - 4]
push eax
push edi
lea eax, [esi + 8]
call fcn.004102b0
add esp, 8
test eax, eax
je 0x444e3f
mov eax, dword [eax + 8]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x444e5a
jmp 0x444e49
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x444e49
mov eax, dword [ebp - 0x10]
inc ebx
mov dword [ebp - 8], ebx
cmp ebx, dword [ebp - 0x20]
jl 0x444d74
test eax, eax
je 0x444e78
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push edi
push eax
push str.DELETE_FROM__Q._s_WHERE__s_Q
push ecx
call fcn.004428a0
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x18], eax
cmp eax, 0x4aaa3c
jl 0x444d31
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x460f90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
add eax, eax
mov ebx, dword [edx + eax*8 + 0xc]
add ebx, 0x28
push edi
mov dword [ebp - 8], ebx
mov eax, esi
test esi, esi
je 0x460fc5
cmp byte [esi], 0
je 0x460fbe
inc eax
cmp byte [eax], 0
jne 0x460fb8
sub eax, esi
and eax, 0x3fffffff
cmp dword [ebx], 0
mov dword [ebp - 4], eax
je 0x46100a
mov edx, eax
xor eax, eax
mov ecx, esi
cmp edx, eax
jle 0x460ffe
jmp 0x460fe0
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x49cf10]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x460fe0
mov ebx, dword [ebp - 8]
xor edx, edx
div dword [ebx]
mov eax, dword [ebp - 4]
mov dword [ebp - 8], edx
jmp 0x461011
mov dword [ebp - 8], 0
mov edx, dword [ebp - 8]
push eax
push esi
mov eax, ebx
call fcn.004102b0
add esp, 8
test eax, eax
je 0x4610da
mov edi, dword [eax + 8]
mov edx, dword [ebp - 8]
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.00410350
test edi, edi
je 0x4610da
mov edx, dword [edi + 0x18]
cmp dword [edi + 0x14], edx
jne 0x461090
mov ecx, dword [edi + 4]
mov eax, ecx
test ecx, ecx
je 0x461063
cmp byte [ecx], 0
je 0x46105c
inc eax
cmp byte [eax], 0
jne 0x461056
sub eax, ecx
and eax, 0x3fffffff
push ecx
add edx, 8
push edx
mov esi, eax
call fcn.004103a0
mov ecx, dword [eax + 0x40]
add eax, 0x40
add esp, 8
cmp ecx, edi
je 0x461089
lea esp, [esp]
lea eax, [ecx + 0x20]
mov ecx, dword [eax]
cmp ecx, edi
jne 0x461080
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
mov dword [eax], edx
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 8]
push eax
mov ebx, esi
call fcn.00460170
mov ecx, dword [edi]
add esp, 4
push ecx
push esi
call fcn.0040cea0
mov edx, dword [edi + 4]
push edx
push esi
call fcn.0040cea0
mov eax, dword [edi + 0xc]
push eax
push esi
call fcn.00439a20
mov edi, dword [edi + 0x10]
call fcn.004465c0
mov ecx, dword [ebp - 4]
push ecx
push esi
call fcn.0040cea0
add esp, 0x20
or dword [esi + 0xc], 0x200
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret