joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101b227f
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x102152f0], 0
mov byte [0x102152f4], 0
mov dword [0x102152e4], 0x12ce
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov ecx, 0x12ce
mov dword [0x102152ec], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
jmp 0x101b22e8
xor eax, eax
mov dword [0x102152ec], 0
mov ecx, dword [0x102152e4]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x101b2339
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add eax, 0xfffffe69
mov dword [0x102152e4], eax
mov eax, ecx
mov dl, al
mov eax, dword [ebp - 0x18]
mov byte [eax + ecx], dl
mov dword [0x102152e8], 0x541
mov ecx, dword [0x102152ec]
add ecx, 1
mov dword [0x102152ec], ecx
cmp ecx, 0x100
mov dword [ebp - 0x2c], ecx
jge 0x101b22ce
mov eax, dword [0x102152e4]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
jmp 0x101b22e8
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
add ecx, 0x1868
mov dword [ebp - 0x30], eax
xor esi, esi
mov dword [ebp - 0x34], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x102152f8], 0
mov dword [0x102152e4], ecx
mov ecx, dword [0x102152f0]
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x30]
movzx esi, byte [edi + ebx]
add esi, ecx
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + edx]
add esi, edx
mov dword [0x102152f8], esi
mov eax, esi
cdq
mov esi, dword [ebp - 0x34]
idiv esi
mov dword [0x102152f0], edx
mov dword [0x102152e4], 0x1f2c
mov cl, byte [edi + ebx]
mov byte [0x102152f4], cl
mov cl, byte [edi + edx]
mov byte [edi + ebx], cl
mov edx, dword [0x102152e4]
add edx, 0xffffdc55
mov dword [0x102152e8], edx
mov cl, byte [0x102152f4]
mov edx, dword [0x102152f0]
mov byte [edi + edx], cl
mov edx, dword [0x102152e4]
add edx, 0xffffe489
mov dword [0x102152e4], edx
mov ecx, dword [0x102152ec]
add ecx, 1
mov dword [0x102152ec], ecx
cmp ecx, 0x100
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ecx
jl 0x101b2339
mov eax, dword [0x102152e8]
add eax, 0xffffe83d
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [0x102152e4], eax
mov dword [0x102152e8], 0x1225
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101b25ad
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x58
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [0x102152e8]
add edx, 0xfffffdc7
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov dword [0x102152e4], ecx
mov dword [ebp - 0x34], eax
jmp 0x101b25e8
mov eax, dword [ebp - 0x38]
add esp, 0x58
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x34]
mov cl, byte [eax + 0x101b52b4]
mov dl, byte [eax + 0x101b5285]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x34], eax
jne 0x101b25e8
lea eax, [ebp - 0x24]
mov dword [0x102152e8], 0x323
mov dword [0x102152e4], 0x263a
mov dword [ebp - 0x3c], eax
call fcn.101b2769
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
call fcn.101b284a
xor ecx, ecx
mov edx, dword [0x102152e4]
mov esi, edx
add esi, 0xffffe2e4
mov dword [0x102152e4], esi
cmp eax, 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x38], ecx
je 0x101b25df
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
add ecx, 0xffffe048
mov dword [0x102152e8], 0xf52
mov dword [0x102152e4], ecx
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x102152e4]
add ecx, 0x1edb
mov dword [0x102152e4], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x48], eax
call fcn.101b2136
xor eax, eax
mov ecx, dword [ebp - 0x48]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov dword [0x102152e8], 0x152e
mov edx, dword [ebp - 0x2c]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x48]
mov dword [edx + 0x10], ecx
mov dword [0x102152e4], 0xb3f
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x101b25df
mov eax, dword [ebp - 0x48]
add eax, 0x2526
mov dword [ebp - 0x4c], eax
mov dword [0x102152e4], 0xfffffdba
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x38], eax
jmp 0x101b25df
Function at 0x101b3081
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x102152e4], 0x4f2
mov dword [0x102152ec], 0
mov dword [0x102152f0], 0
mov dword [0x102152fc], 0
mov ebx, dword [0x102152e8]
add ebx, 0xffffd923
mov dword [0x102152e8], ebx
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x101b322f
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x102152ec], edx
mov dword [0x102152e4], 0x556
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x102152f0], edx
mov dword [0x102152e4], 0x555
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x102152f4], cl
mov dword [0x102152e4], 0x204
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x102152e8]
add edx, 0xffffef0b
mov dword [0x102152e8], edx
mov cl, byte [0x102152f4]
mov edx, dword [0x102152f0]
mov byte [edi + edx], cl
mov dword [0x102152e4], 0x10cf
mov edx, dword [0x102152ec]
movzx edx, byte [edi + edx]
mov ebx, dword [0x102152f0]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x102152fc], ebx
mov dword [0x102152e4], 0x3b3f
mov dword [0x102152e8], 0x47
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
mov ch, byte [edx + ebx]
mov byte [0x10215301], ch
mov byte [0x10215302], cl
xor ch, cl
mov byte [0x10215300], ch
mov dword [0x102152e4], 0x1843
mov edx, dword [ebp - 0x1c]
mov byte [edx + ebx], ch
mov dword [0x102152e8], 0x2710
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x101b322f
mov eax, dword [0x102152ec]
mov ecx, dword [0x102152f0]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x101b30f6
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101b3237
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa8
call fcn.10001075
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
jne 0x101b33db
lea eax, [esp + 0x30]
lea ecx, [esp + 0x40]
mov dword [0x102152e4], 0x5e
mov dword [esp], eax
mov dword [esp + 0x28], ecx
call fcn.101b29fd
lea ecx, [0x101b253b]
mov edx, 0xe89
mov esi, dword [esp + 0x30]
mov dword [esp + 0x60], esi
mov dword [esp + 0x4c], 0x12f600
mov esi, dword [0x102152d0]
mov dword [esp + 0x74], esi
mov esi, dword [0x102152d4]
mov dword [esp + 0x58], esi
mov esi, dword [0x102152d8]
mov dword [esp + 0x80], esi
mov esi, dword [0x102152dc]
mov dword [esp + 0x84], esi
mov dword [0x102152e8], 0xe89
mov esi, dword [0x102152e0]
mov dword [esp + 0x9c], esi
mov dword [0x102152e4], 0xffffeb71
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
cmp word [ecx], 0x5a4d
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jne 0x101b3319
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x10], ecx
je 0x101b3341
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffabd
mov dword [0x102152e8], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x101b32ee
mov eax, dword [esp + 0x14]
mov dword [esp + 0x98], eax
mov dword [0x102152e4], 0x82d
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x88], edx
mov dword [0x102152e8], 0x1c20
call fcn.101b1be6
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x101b33d3
lea eax, [esp + 0x40]
mov dword [0x102152e4], 0xf81
mov ecx, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101b25ad
mov ecx, dword [0x102152e4]
add ecx, 0xffffee96
mov dword [0x102152e8], ecx
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov dword [0x102152e8], 0x279
mov eax, 1
mov dword [esp + 0xc], eax
jmp 0x101b33d3
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x407790
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test ecx, ecx
jle 0x4077bd
push esi
push edi
jmp 0x4077a0
movzx esi, byte [edx]
movzx esi, byte [esi + 0x514f70]
lea edi, [eax*8]
xor esi, edi
dec ecx
xor eax, esi
inc edx
test ecx, ecx
jg 0x4077a0
pop edi
pop esi
ret

Function at 0x407820
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [esi*8]
push edi
mov edi, dword [ebp + 8]
cmp eax, 0x400
jbe 0x407842
mov esi, 0x80
cmp esi, dword [edi]
jne 0x40784f
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x568374]
test eax, eax
je 0x40785a
call eax
lea ecx, [esi*8]
push ecx
call fcn.00403ee0
mov esi, eax
mov eax, dword [0x568378]
add esp, 4
mov dword [ebp - 4], esi
test eax, eax
je 0x40787a
call eax
test esi, esi
je 0x407846
mov edx, dword [edi + 0xc]
push edx
call fcn.004041b0
add esp, 4
push esi
mov dword [edi + 0xc], esi
call dword [0x5636bc]
mov ebx, eax
shr ebx, 3
add esp, 4
lea eax, [ebx*8]
push eax
push 0
push esi
mov dword [ebp + 0xc], ebx
mov dword [edi], ebx
call fcn.004e8ba0
mov ecx, dword [edi + 8]
add esp, 0xc
mov dword [edi + 8], 0
test ecx, ecx
je 0x40795f
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
xor eax, eax
test edx, edx
jle 0x4078f3
movzx edi, byte [esi]
movzx edi, byte [edi + 0x514f70]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc esi
test edx, edx
jg 0x4078d2
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
xor edx, edx
div ebx
mov eax, dword [ebp - 4]
lea eax, [eax + edx*8]
test eax, eax
je 0x40793b
mov esi, dword [eax]
test esi, esi
je 0x407911
mov edx, dword [eax + 4]
jmp 0x407913
xor edx, edx
inc esi
mov dword [eax], esi
mov dword [eax + 4], ecx
test edx, edx
je 0x40793b
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x407933
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x407954
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x407954
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x40794a
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 8]
test ecx, ecx
jne 0x4078c6
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417de0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x417f22
call fcn.004144f0
mov eax, dword [edi + 4]
mov ebx, dword [eax + 8]
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x417eff
mov edi, edi
mov ecx, dword [ebx + 0x50]
push ecx
call fcn.004041b0
mov edx, dword [ebp + 0xc]
xor eax, eax
add esp, 4
mov dword [ebx + 0x50], 0
mov byte [ebx + 0x5b], 3
mov dword [ebx + 0x54], edx
mov dword [esp + 0xc], 0
cmp ax, word [ebx + 0x5e]
jg 0x417ef0
lea edi, [ebx + 0x88]
mov dword [esp + 0x10], edi
jmp 0x417e50
mov eax, dword [edi]
test eax, eax
je 0x417ecb
mov eax, dword [eax + 0x44]
test eax, eax
je 0x417ecb
test byte [eax + 0x18], 0x40
mov esi, dword [eax + 0x10]
je 0x417eab
dec dword [esi + 0x78]
mov ecx, dword [esi + 0x88]
mov dword [eax + 0xc], ecx
mov edi, dword [esi + 0x3c]
mov dword [esi + 0x88], eax
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov eax, dword [esi + 0x98]
mov ebx, dword [edi]
push edx
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.004f1b60
push edx
mov edx, dword [ebx + 0x48]
push eax
push edi
call edx
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
add esp, 0x10
jmp 0x417eb0
call fcn.0040b740
cmp dword [esi + 0x78], 0
jne 0x417ecb
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x417ecb
push esi
call fcn.0040df40
add esp, 4
mov eax, dword [esp + 0xc]
mov dword [edi], 0
movsx ecx, word [ebx + 0x5e]
inc eax
add edi, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
cmp eax, ecx
jle 0x417e50
mov edi, dword [ebp + 8]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x417e10
cmp byte [edi + 9], 0
je 0x417f22
dec dword [edi + 0xc]
jne 0x417f22
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x38]
test eax, eax
je 0x417f1e
push eax
call dword [0x5636e8]
add esp, 4
mov byte [edi + 0xa], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439b10
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 0x439b2e
xor ebx, ebx
mov dword [ebp - 8], ebx
jmp 0x439b44
cmp byte [edi], al
je 0x439b37
inc ecx
cmp byte [ecx], al
jne 0x439b32
sub ecx, edi
and ecx, 0x3fffffff
mov ebx, ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x14]
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ecx
test ecx, ecx
jle 0x439c45
jmp 0x439b63
mov edi, dword [ebp + 0xc]
cmp esi, 2
jge 0x439b6b
xor esi, 1
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x439bcb
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov edx, esi
shl edx, 4
mov edi, dword [edx + eax]
mov dl, byte [ecx]
test dl, dl
je 0x439bad
jmp 0x439b90
movzx eax, byte [edi]
movzx edx, dl
mov dl, byte [edx + 0x514f70]
cmp dl, byte [eax + 0x514f70]
jne 0x439bad
mov dl, byte [ecx + 1]
inc ecx
inc edi
test dl, dl
jne 0x439b90
movzx ecx, byte [ecx]
movzx edx, byte [edi]
movzx edx, byte [edx + 0x514f70]
movzx ecx, byte [ecx + 0x514f70]
sub ecx, edx
mov eax, dword [ebp - 4]
jne 0x439c35
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
add esi, esi
mov esi, dword [eax + esi*8 + 0xc]
cmp dword [esi + 0x14], 0
je 0x439c18
xor eax, eax
mov edx, ebx
mov ecx, edi
test ebx, ebx
jle 0x439c0e
jmp 0x439bf0
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x514f70]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x439bf0
mov ebx, dword [ebp - 8]
mov edi, dword [ebp + 0xc]
xor edx, edx
div dword [esi + 8]
jmp 0x439c1a
xor edx, edx
push ebx
push edi
lea eax, [esi + 8]
call fcn.00407970
add esp, 8
test eax, eax
je 0x439c4c
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
test eax, eax
jne 0x439c45
mov esi, dword [ebp - 0xc]
inc esi
mov dword [ebp - 0xc], esi
cmp esi, dword [ebp - 0x10]
jl 0x439b60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x439c35
Function at 0x439d50
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 0x439d6d
xor ebx, ebx
mov dword [ebp - 0xc], ebx
jmp 0x439d85
cmp byte [eax], 0
je 0x439d78
inc ecx
cmp byte [ecx], 0
jne 0x439d72
sub ecx, eax
and ecx, 0x3fffffff
mov ebx, ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [edx + 0x14]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
jle 0x439e67
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x10], ecx
push edi
nop
mov ecx, eax
cmp eax, 2
jge 0x439daa
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 0x439dfa
mov esi, dword [ecx]
mov cl, byte [edx]
test cl, cl
je 0x439de2
movzx eax, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x514f70]
cmp cl, byte [eax + 0x514f70]
jne 0x439ddf
mov cl, byte [edx + 1]
inc edx
inc esi
test cl, cl
jne 0x439dc2
mov eax, dword [ebp - 4]
movzx edx, byte [edx]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x514f70]
movzx edx, byte [edx + 0x514f70]
sub edx, ecx
jne 0x439e56
cmp dword [edi + 0x24], 0
lea esi, [edi + 0x18]
je 0x439e34
mov ecx, dword [ebp + 8]
xor eax, eax
mov edx, ebx
test ebx, ebx
jle 0x439e2e
mov edi, edi
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x514f70]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x439e10
mov ebx, dword [ebp - 0xc]
xor edx, edx
div dword [esi]
jmp 0x439e36
xor edx, edx
mov eax, dword [ebp + 8]
push ebx
push eax
mov eax, esi
call fcn.00407970
add esp, 8
test eax, eax
je 0x439e6d
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
test eax, eax
jne 0x439e66
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 0x14]
jl 0x439da0
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 8], 0
jmp 0x439e53
Function at 0x43bf90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [esi]
mov dword [ebp - 0x40], edx
mov edx, dword [ecx + 0x10]
add eax, eax
mov eax, dword [edx + eax*8]
mov dword [ebp - 0x28], eax
mov eax, 1
push edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], eax
jmp 0x43bfd3
mov esi, dword [ebp - 0x30]
push eax
push str.sqlite_stat_d
lea ecx, [ebp - 0x1c]
push ecx
push 0x18
call fcn.00405b10
mov ecx, dword [esi]
xor ebx, ebx
add esp, 0x10
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x1c]
cmp byte [ebp - 0x1c], bl
je 0x43c005
lea esp, [esp]
inc eax
cmp byte [eax], bl
jne 0x43c000
lea edx, [ebp - 0x1c]
sub eax, edx
and eax, 0x3fffffff
mov edi, eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x38], eax
cmp eax, ebx
jle 0x43c121
jmp 0x43c02a
mov ecx, dword [ebp - 0x34]
mov edx, ebx
cmp ebx, 2
jge 0x43c034
xor edx, 1
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x43c08b
mov ecx, dword [ecx + 0x10]
mov esi, edx
add esi, esi
mov esi, dword [ecx + esi*8]
mov ecx, eax
mov cl, byte [ecx]
test cl, cl
je 0x43c070
lea ecx, [ecx]
movzx ebx, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x514f70]
cmp cl, byte [ebx + 0x514f70]
jne 0x43c06d
mov cl, byte [eax + 1]
inc eax
inc esi
test cl, cl
jne 0x43c050
mov ebx, dword [ebp - 0x20]
movzx eax, byte [eax]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x514f70]
movzx eax, byte [eax + 0x514f70]
sub eax, ecx
jne 0x43c0ed
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx + 0x10]
add edx, edx
mov esi, dword [ecx + edx*8 + 0xc]
cmp dword [esi + 0x14], 0
je 0x43c0cd
xor eax, eax
mov edx, edi
lea ecx, [ebp - 0x1c]
test edi, edi
jle 0x43c0c6
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x514f70]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x43c0a5
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x44]
xor edx, edx
div dword [esi + 8]
jmp 0x43c0cf
xor edx, edx
lea eax, [ebp - 0x1c]
push edi
push eax
lea eax, [esi + 8]
call fcn.00407970
add esp, 8
test eax, eax
je 0x43c142
mov eax, dword [eax + 8]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x43c100
inc ebx
mov dword [ebp - 0x20], ebx
cmp ebx, dword [ebp - 0x38]
jl 0x43c027
cmp dword [ebp - 0x24], 0
je 0x43c121
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x28]
push edx
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
push eax
push ecx
push str.DELETE_FROM__Q._s_WHERE__s_Q
push edx
call fcn.00439a70
add esp, 0x18
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 3
jle 0x43bfd0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e4746
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x24], 0
jmp 0x43c0ed
Function at 0x43e9c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [edx]
xor esi, esi
mov dword [ebp - 8], edi
mov dword [ebp - 4], esi
lea esp, [esp]
test edi, edi
je 0x43ea78
cmp byte [edi], 0
mov eax, edi
je 0x43e9f6
nop
inc eax
cmp byte [eax], 0
jne 0x43e9f0
sub eax, edi
and eax, 0x3fffffff
cmp dword [ebx + 0x1b0], 0
lea ecx, [ebx + 0x1a4]
mov esi, eax
je 0x43ea51
xor eax, eax
mov edx, esi
mov ecx, edi
test esi, esi
jle 0x43ea41
jmp 0x43ea20
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x514f70]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x43ea20
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 8]
xor edx, edx
div dword [ebx + 0x1a4]
lea ecx, [ebx + 0x1a4]
jmp 0x43ea53
xor edx, edx
push esi
push edi
mov eax, ecx
call fcn.00407970
add esp, 8
test eax, eax
je 0x43ea6e
mov eax, dword [eax + 8]
mov esi, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
jmp 0x43ea7b
mov esi, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
xor eax, eax
jmp 0x43ea7b
mov eax, dword [ebx + 8]
test eax, eax
je 0x43ea8d
movzx ecx, byte [esi + 0x515804]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4 - 0x14]
cmp dword [eax + 0xc], 0
jne 0x43eaac
inc esi
mov dword [ebp - 4], esi
cmp esi, 3
jl 0x43e9e0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0xc]
pop edi
pop esi
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], 0
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x444e40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push ebx
xor eax, eax
test dword [edx + 0x18], 0x40000
push esi
push edi
mov dword [ebp - 4], eax
je 0x444f86
mov ecx, dword [ebp + 0xc]
mov edi, dword [ecx + 0x10]
test edi, edi
je 0x444ea6
lea ebx, [ebx]
mov eax, dword [edi + 0x14]
test eax, eax
jle 0x444e9c
lea edx, [edi + 0x24]
mov esi, eax
lea esp, [esp]
mov ecx, dword [edx]
cmp ecx, 0x1f
jle 0x444e8c
or eax, 0xffffffff
jmp 0x444e93
mov eax, 1
shl eax, cl
or dword [ebp - 4], eax
add edx, 8
dec esi
jne 0x444e80
mov edi, dword [edi + 4]
test edi, edi
jne 0x444e70
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx]
mov eax, esi
test esi, esi
jne 0x444eb5
xor edi, edi
mov dword [ebp - 8], edi
jmp 0x444ed2
cmp byte [esi], 0
je 0x444ec6
lea ebx, [ebx]
inc eax
cmp byte [eax], 0
jne 0x444ec0
sub eax, esi
and eax, 0x3fffffff
mov edi, eax
mov dword [ebp - 8], eax
mov ebx, dword [ecx + 0x40]
add ebx, 0x38
cmp dword [ebx + 0xc], 0
mov dword [ebp - 0xc], ebx
je 0x444f17
xor eax, eax
mov edx, edi
mov ecx, esi
test edi, edi
jle 0x444f11
jmp 0x444ef0
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x514f70]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x444ef0
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
xor edx, edx
div dword [ebx]
jmp 0x444f19
xor edx, edx
push edi
push esi
mov eax, ebx
call fcn.00407970
xor ebx, ebx
add esp, 8
cmp eax, ebx
je 0x444f83
mov edi, dword [eax + 8]
cmp edi, ebx
je 0x444f83
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push edi
push ecx
push edx
xor eax, eax
mov dword [ebp - 8], ebx
call fcn.00443500
mov eax, dword [ebp - 8]
add esp, 0x10
cmp eax, ebx
je 0x444f7c
movzx ecx, word [eax + 0x28]
cmp ecx, ebx
jle 0x444f7c
mov edx, dword [eax + 4]
mov esi, ecx
mov ecx, dword [edx]
cmp ecx, 0x1f
jle 0x444f6c
or eax, 0xffffffff
jmp 0x444f73
mov eax, 1
shl eax, cl
or dword [ebp - 4], eax
add edx, 4
dec esi
jne 0x444f60
mov edi, dword [edi + 0xc]
cmp edi, ebx
jne 0x444f32
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret