joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426a80
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
cmp dword [0x4f01ac], 0
push ebx
push esi
mov ebx, 1
jne 0x426aba
add dword [0x4f01a8], ebx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
sub dword [0x4f01a8], ebx
mov dword [0x4efe48], eax
cmp eax, 0xffffffff
je 0x426aca
mov dword [0x4f01ac], ebx
jmp 0x426abf
mov eax, dword [0x4efe48]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x426acf
mov eax, 0x4d44fc
cmp byte [eax + 4], 0
je 0x426b05
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
test esi, esi
je 0x426b05
nop
cmp esi, dword [ebp + 0xc]
je 0x426afe
test edi, edi
je 0x426aee
cmp dword [esi + 0x14], edi
jne 0x426afe
cmp byte [esi + 0x41], bl
jne 0x426afe
mov eax, esi
call fcn.004269f0
test eax, eax
jne 0x426b07
mov esi, dword [esi + 4]
test esi, esi
jne 0x426ae0
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x426b70
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x4f01ac], 0
push esi
mov esi, dword [edi + 4]
jne 0x426bb1
inc dword [0x4f01a8]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x4efe48], eax
cmp eax, 0xffffffff
jne 0x426b9e
dec dword [0x4f01a8]
jmp 0x426bc1
mov ecx, 1
sub dword [0x4f01a8], ecx
mov dword [0x4f01ac], ecx
jmp 0x426bb6
mov eax, dword [0x4efe48]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x426bc6
mov eax, 0x4d44fc
cmp byte [eax + 4], 0
je 0x426be8
mov eax, dword [edi]
test eax, eax
je 0x426bed
test dword [eax + 8], 0x4000
je 0x426bed
cmp bl, 2
je 0x426bed
mov ecx, dword [ebp + 8]
cmp ecx, 1
je 0x426bf0
xor eax, eax
pop esi
pop ebp
ret
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x40]
test eax, eax
je 0x426be8
cmp dword [eax], edi
je 0x426c0a
cmp dword [eax + 4], ecx
jne 0x426c0a
cmp byte [eax + 8], bl
jne 0x426c14
cmp bl, 1
jne 0x426c14
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x426bf7
pop esi
pop ebp
ret
mov eax, 6
pop esi
pop ebp
ret
Function at 0x426c20
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x4f01ac], 0
push edi
mov edi, dword [esi + 4]
jne 0x426c61
inc dword [0x4f01a8]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x4efe48], eax
cmp eax, 0xffffffff
jne 0x426c4e
dec dword [0x4f01a8]
jmp 0x426c71
mov ecx, 1
sub dword [0x4f01a8], ecx
mov dword [0x4f01ac], ecx
jmp 0x426c66
mov eax, dword [0x4efe48]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x426c76
mov eax, 0x4d44fc
cmp byte [eax + 4], 0
je 0x426d16
mov eax, dword [esi]
test eax, eax
je 0x426c9a
test dword [eax + 8], 0x4000
je 0x426c9a
cmp byte [ebp + 8], 1
jne 0x426c9a
cmp ebx, 1
jne 0x426d16
mov eax, dword [edi + 0x40]
test eax, eax
je 0x426cb1
cmp dword [eax + 4], ebx
jne 0x426caa
cmp dword [eax], esi
je 0x426d0b
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x426ca1
xor eax, eax
cmp dword [0x4f019c], eax
je 0x426cc3
cmp dword [0x4f01a8], eax
jg 0x426cf1
push 0x10
call fcn.0049dacb
add esp, 4
test eax, eax
jne 0x426ce4
mov ecx, 1
add dword [0x4f01a8], ecx
mov dword [0x4f019c], ecx
jmp 0x426cf1
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
test eax, eax
jne 0x426cfd
mov eax, 7
pop edi
pop ebp
ret
mov dword [eax + 4], ebx
mov dword [eax], esi
mov ecx, dword [edi + 0x40]
mov dword [eax + 0xc], ecx
mov dword [edi + 0x40], eax
mov cl, byte [ebp + 8]
cmp cl, byte [eax + 8]
jbe 0x426d16
mov byte [eax + 8], cl
xor eax, eax
pop edi
pop ebp
ret
Function at 0x427e60
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 4]
push edi
mov edi, dword [ebx + 4]
test edi, edi
je 0x427e8a
mov eax, edi
mov edi, dword [edi + 4]
cmp dword [eax], esi
jne 0x427e86
mov esi, eax
call fcn.004291e0
mov esi, dword [ebp + 8]
test edi, edi
jne 0x427e73
push esi
call fcn.00428de0
add esp, 4
push esi
call fcn.0049b3dd
add esp, 4
dec dword [ebx + 0x30]
jne 0x427f4a
cmp dword [0x4f01ac], 0
jne 0x427ed7
mov esi, 1
add dword [0x4f01a8], esi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
sub dword [0x4f01a8], esi
mov dword [0x4efe48], eax
cmp eax, 0xffffffff
je 0x427ee9
mov dword [0x4f01ac], esi
jmp 0x427edc
mov eax, dword [0x4efe48]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test eax, eax
jne 0x427eee
mov ecx, 0x4d44fc
mov eax, dword [ecx + 8]
cmp eax, ebx
jne 0x427efd
mov eax, dword [ebx + 0x44]
mov dword [ecx + 8], eax
jmp 0x427f16
test eax, eax
je 0x427f16
mov ecx, dword [eax + 0x44]
cmp ecx, ebx
je 0x427f10
mov eax, ecx
test eax, eax
jne 0x427f01
jmp 0x427f16
mov ecx, dword [ebx + 0x44]
mov dword [eax + 0x44], ecx
mov esi, dword [ebx]
call fcn.00447150
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
je 0x427f31
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x427f31
push eax
call ecx
add esp, 4
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x427f41
push eax
call fcn.0049b3dd
add esp, 4
push ebx
call fcn.0049b3dd
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x42d500
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4f01ac], 0
push ebx
push esi
mov esi, eax
mov ebx, dword [esi + 4]
jne 0x42d545
inc dword [0x4f01a8]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x4efe48], eax
cmp eax, 0xffffffff
jne 0x42d532
dec dword [0x4f01a8]
jmp 0x42d555
mov ecx, 1
sub dword [0x4f01a8], ecx
mov dword [0x4f01ac], ecx
jmp 0x42d54a
mov eax, dword [0x4efe48]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x42d55a
mov eax, 0x4d44fc
cmp byte [eax + 4], 0
je 0x42d57e
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x42d57e
cmp dword [eax], esi
je 0x42d577
cmp dword [eax + 4], 1
jne 0x42d577
cmp byte [eax + 8], 1
jne 0x42d5d7
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x42d567
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx]
push 1
call fcn.00447520
add esp, 8
test eax, eax
jne 0x42d5d1
mov edx, dword [ebp - 4]
movzx ecx, byte [edx + edi*4 + 0x24]
movzx eax, byte [edx + edi*4 + 0x25]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + edi*4 + 0x26]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + edi*4 + 0x27]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
call fcn.004479e0
push 1
mov ebx, 1
call fcn.00426c20
add esp, 4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov eax, 6
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e690
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
cmp dword [0x4f01ac], 0
push ebx
push esi
mov esi, dword [edi + 4]
mov ebx, 1
jne 0x42e6c7
add dword [0x4f01a8], ebx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
sub dword [0x4f01a8], ebx
mov dword [0x4efe48], eax
cmp eax, 0xffffffff
je 0x42e6d7
mov dword [0x4f01ac], ebx
jmp 0x42e6cc
mov eax, dword [0x4efe48]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x42e6dc
mov eax, 0x4d44fc
cmp byte [eax + 4], 0
je 0x42e705
mov eax, dword [esi + 0x40]
test eax, eax
je 0x42e705
lea esp, [esp]
cmp dword [eax], edi
je 0x42e6fe
cmp dword [eax + 4], ebx
jne 0x42e6fe
cmp byte [eax + 8], bl
jne 0x42e713
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x42e6f0
xor eax, eax
xor ecx, ecx
test eax, eax
setne cl
pop esi
pop ebx
mov eax, ecx
ret
mov eax, 6
xor ecx, ecx
test eax, eax
setne cl
pop esi
pop ebx
mov eax, ecx
ret
Function at 0x4345c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
push esi
push edi
mov ecx, ebx
call fcn.00434400
mov edi, eax
mov dword [ebp - 4], 0
test edi, edi
je 0x434626
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call ebx
mov esi, eax
test esi, esi
jne 0x43460f
lea esp, [esp]
mov eax, dword [ebp - 4]
mov ecx, eax
inc eax
mov dword [ebp - 4], eax
cmp ecx, 3
jge 0x43460f
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call ebx
mov esi, eax
test esi, esi
je 0x4345f0
push edi
call fcn.0049b3dd
add esp, 4
neg esi
pop edi
sbb eax, eax
pop esi
and eax, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
call edi
mov esi, eax
test esi, esi
jne 0x434654
mov eax, dword [ebp - 4]
mov edx, eax
inc eax
mov dword [ebp - 4], eax
cmp edx, 3
jge 0x434654
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call edi
mov esi, eax
test esi, esi
je 0x434635
neg esi
pop edi
sbb eax, eax
pop esi
and eax, 0xa
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push esi
push edi
mov edi, eax
mov ecx, edi
call fcn.00434400
mov esi, eax
test esi, esi
je 0x4346a0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
push esi
mov edi, ecx
call fcn.0049b3dd
add esp, 4
mov eax, edi
pop edi
pop esi
ret
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor edx, edx
cmp eax, 0xffffffff
setne dl
pop edi
pop esi
mov eax, edx
ret
Function at 0x434910
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4bc
mov eax, dword [0x4eb6b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4f01a4]
push ebx
push esi
test eax, eax
je 0x43494c
push 0x118
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.0049db60
add esp, 0xc
mov byte [ebp - 0x24], 0
jmp 0x4349d9
mov eax, dword [0x4f01a0]
test eax, eax
jne 0x43497e
lea ecx, [ebp - 0x4bc]
push ecx
mov dword [ebp - 0x4bc], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
cmp dword [ebp - 0x4ac], 2
sete al
inc eax
mov dword [0x4f01a0], eax
cmp eax, 2
jne 0x4349c7
lea edx, [ebp - 0x3a8]
push edx
push 0x118
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ebx, [ebp - 0x3a8]
call fcn.00434520
mov esi, eax
test esi, esi
je 0x4349d9
push 0x118
lea eax, [ebp - 0x13c]
push esi
push eax
call fcn.0049db60
push esi
mov byte [ebp - 0x24], 0
call fcn.0049b3dd
add esp, 0x10
jmp 0x4349d9
lea ecx, [ebp - 0x13c]
push ecx
push 0x118
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x13c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4349e2
sub eax, edx
test eax, eax
jle 0x434a01
lea ecx, [ebp - 0x13c]
cmp byte [ecx + eax - 1], 0x5c
jne 0x434a01
dec eax
test eax, eax
jg 0x4349f5
mov byte [ebp + eax - 0x13c], 0
lea esp, [esp]
lea edx, [ebp - 0x13c]
push edx
push str._s_sqlite_
push edi
call fcn.0049ba0c
mov esi, edi
add esp, 0xc
lea ecx, [esi + 1]
lea ebx, [ebx]
mov al, byte [esi]
inc esi
test al, al
jne 0x434a30
sub esi, ecx
lea eax, [edi + esi]
push eax
mov ecx, 0xf
call fcn.0044b0f0
add esp, 4
mov ecx, 3
nop
movzx eax, byte [edi + esi]
xor edx, edx
mov ebx, 0x3e
div ebx
movzx eax, byte [edi + esi + 1]
add esi, 5
movzx edx, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 5], dl
xor edx, edx
div ebx
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 4], al
movzx eax, byte [edi + esi - 3]
xor edx, edx
div ebx
movzx eax, byte [edi + esi - 2]
movzx edx, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 3], dl
xor edx, edx
div ebx
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 2], al
movzx eax, byte [edi + esi - 1]
xor edx, edx
div ebx
dec ecx
movzx edx, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 1], dl
jne 0x434a50
mov byte [edi + esi], cl
mov ecx, edi
call fcn.00434400
mov esi, eax
test esi, esi
je 0x434ae8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
cmp eax, 0xffffffff
push esi
setne bl
call fcn.0049b3dd
add esp, 4
jmp 0x434af7
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
test ebx, ebx
jne 0x434a10
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0049b315
mov esp, ebp
pop ebp
ret
Function at 0x434e80
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4eb6b8]
xor eax, ebp
mov dword [ebp - 4], eax
test edi, edi
jne 0x434ea7
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049b315
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4f01a0]
test eax, eax
jne 0x434ed9
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
cmp dword [ebp - 0x108], 2
sete al
inc eax
mov dword [0x4f01a0], eax
cmp eax, 2
je 0x434ef3
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x434ee3
sub eax, edx
cmp eax, 0x104
ja 0x434e97
push ebx
push esi
mov ecx, edi
call fcn.00434400
mov esi, eax
test esi, esi
je 0x434f16
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
mov ebx, eax
call fcn.0049b3dd
add esp, 4
jmp 0x434f1f
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
xor eax, eax
cmp ebx, 0xffffffff
je 0x434f2f
and bl, 0x10
cmp bl, 0x10
sete al
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0049b315
mov esp, ebp
pop ebp
ret

Function at 0x4353a0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x4f01ac], 0
push esi
push edi
mov edi, eax
jne 0x4353db
mov esi, 1
add dword [0x4f01a8], esi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
sub dword [0x4f01a8], esi
mov dword [0x4efe48], eax
cmp eax, 0xffffffff
jne 0x4353d3
pop edi
xor eax, eax
pop esi
ret
mov dword [0x4f01ac], esi
jmp 0x4353e0
mov eax, dword [0x4efe48]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test edi, edi
jle 0x43542c
test esi, esi
jne 0x43546e
push 0xc
call fcn.0049dacb
mov esi, eax
add esp, 4
test esi, esi
je 0x43546e
mov eax, dword [0x4d31c4]
mov dword [esi], eax
mov ecx, dword [0x4d31c8]
mov eax, dword [0x4efe48]
mov dword [esi + 4], ecx
mov edx, dword [0x4d31cc]
push esi
push eax
mov dword [esi + 8], edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
mov eax, esi
pop esi
ret
test esi, esi
je 0x43546e
test edi, edi
jns 0x43546e
mov eax, 0x4d31c4
mov edx, esi
mov ecx, 0xc
sub edx, eax
mov edi, dword [edx + eax]
cmp edi, dword [eax]
jne 0x43546e
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x435442
push esi
call fcn.0049b3dd
mov ecx, dword [0x4efe48]
add esp, 4
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xor esi, esi
pop edi
mov eax, esi
pop esi
ret
Function at 0x435480
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x4f01ac], 0
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, 1
jne 0x4354ba
add dword [0x4f01a8], edi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
sub dword [0x4f01a8], edi
mov dword [0x4efe48], eax
cmp eax, 0xffffffff
je 0x4354ca
mov dword [0x4f01ac], edi
jmp 0x4354bf
mov eax, dword [0x4efe48]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x4354cf
mov eax, 0x4d44fc
cmp byte [eax + 4], 0
je 0x4355b0
test ebx, ebx
js 0x4355b0
mov edx, dword [esi + 0x68]
xor ecx, ecx
test edx, edx
jle 0x435508
mov eax, dword [esi + 0x6c]
lea ecx, [ecx]
cmp dword [eax], ebx
jne 0x4354ff
mov ebx, dword [ebp + 0xc]
cmp dword [eax + 4], ebx
je 0x435527
mov ebx, dword [ebp + 8]
add ecx, edi
add eax, 0x10
cmp ecx, edx
jl 0x4354f0
mov ecx, dword [esi + 0x6c]
lea eax, [edx + 1]
shl eax, 4
cmp dword [0x4f019c], 0
je 0x435545
cmp dword [0x4f01a8], 0
jle 0x435545
xor edi, edi
jmp 0x435575
cmp byte [eax + 8], 0
jne 0x43553c
cmp byte [ebp + 0x10], 0
jne 0x43553c
xor ecx, ecx
pop edi
mov byte [eax + 8], cl
pop ebx
pop ebp
ret
mov ecx, edi
pop edi
mov byte [eax + 8], cl
pop ebx
pop ebp
ret
test ecx, ecx
jne 0x435555
push edi
push eax
call fcn.00425a90
add esp, 8
jmp 0x43556f
push eax
push ecx
call fcn.0049dc84
add esp, 8
test eax, eax
jne 0x43556f
add dword [0x4f01a8], edi
mov dword [0x4f019c], edi
mov edi, eax
test edi, edi
jne 0x435585
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x435585
push eax
call fcn.0049b3dd
add esp, 4
mov edx, edi
mov dword [esi + 0x6c], edi
test edx, edx
je 0x4355b0
mov ecx, dword [esi + 0x68]
mov eax, ecx
shl eax, 4
add eax, edx
mov dl, byte [ebp + 0x10]
inc ecx
mov dword [esi + 0x68], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax], ebx
mov byte [eax + 8], dl
mov dword [eax + 0xc], ecx
pop edi
pop ebx
pop ebp
ret
Function at 0x435a20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
push edi
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [eax], ecx
jle 0x435b13
push ebx
push esi
lea esp, [esp]
cmp ecx, 2
jge 0x435a48
xor ecx, 1
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x435a95
mov bl, byte [edx]
mov eax, dword [eax + 4]
lea esi, [ecx + ecx*2]
mov esi, dword [eax + esi*8]
test bl, bl
je 0x435a7d
mov edi, edi
movzx eax, byte [esi]
movzx ebx, bl
mov bl, byte [ebx + 0x4d4818]
cmp bl, byte [eax + 0x4d4818]
jne 0x435a7d
mov bl, byte [edx + 1]
inc edx
inc esi
test bl, bl
jne 0x435a60
movzx edx, byte [edx]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x4d4818]
movzx edx, byte [edx + 0x4d4818]
sub edx, eax
jne 0x435af4
mov edi, dword [ebp + 0xc]
mov eax, edi
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x435aa0
sub eax, esi
lea ebx, [eax + 1]
lea eax, [ecx + ecx*2]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov esi, dword [edx + eax*8 + 0x14]
add esi, 4
je 0x435b0f
cmp dword [esi + 0x18], 0
je 0x435b0f
cmp byte [esi], 3
mov eax, 0x430b50
je 0x435ad3
mov eax, 0x430bc0
push ebx
push edi
call eax
mov edx, dword [esi + 0x14]
dec edx
push ebx
and edx, eax
push edi
mov ecx, esi
call fcn.00430dc0
add esp, 0x10
test eax, eax
je 0x435b0f
mov edi, dword [eax + 8]
test edi, edi
jne 0x435b06
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, dword [eax]
jl 0x435a40
pop esi
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
xor edi, edi
jmp 0x435af4
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x435ba0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 8]
xor eax, eax
push edi
xor edi, edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], edi
cmp dword [edx], eax
jle 0x435c95
push ebx
push esi
mov edi, edi
mov ecx, edi
cmp edi, 2
jge 0x435bca
xor ecx, 1
mov edx, dword [edx + 4]
lea ecx, [ecx + ecx*2]
mov ebx, dword [edx + ecx*8 + 0x14]
lea ecx, [edx + ecx*8]
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x435c28
mov esi, dword [ecx]
mov cl, byte [edx]
test cl, cl
je 0x435c10
jmp 0x435bf0
movzx eax, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x4d4818]
cmp cl, byte [eax + 0x4d4818]
jne 0x435c0d
mov cl, byte [edx + 1]
inc edx
inc esi
test cl, cl
jne 0x435bf0
mov eax, dword [ebp - 4]
movzx edx, byte [edx]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x4d4818]
movzx edx, byte [edx + 0x4d4818]
sub edx, ecx
jne 0x435c84
test ebx, ebx
je 0x435c80
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435c32
sub eax, edx
lea esi, [ebx + 0x20]
lea edi, [eax + 1]
test esi, esi
je 0x435ca1
cmp dword [esi + 0x18], 0
je 0x435ca1
cmp byte [esi], 3
mov eax, 0x430b50
je 0x435c5a
mov eax, 0x430bc0
mov ebx, dword [ebp + 0xc]
push edi
push ebx
call eax
mov edx, dword [esi + 0x14]
dec edx
push edi
and edx, eax
push ebx
mov ecx, esi
call fcn.00430dc0
mov edi, dword [ebp - 8]
add esp, 0x10
test eax, eax
je 0x435c9a
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
test eax, eax
jne 0x435c93
mov edx, dword [ebp + 8]
inc edi
mov dword [ebp - 8], edi
cmp edi, dword [edx]
jl 0x435bc0
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x435c84
mov edi, dword [ebp - 8]
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x435c84
Function at 0x43cec0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp edi, 2
jge 0x43ced2
mov eax, 0x17
mov esp, ebp
pop ebp
ret
push ebx
push esi
mov esi, dword [ebp + 8]
movzx ecx, byte [esi]
movzx eax, byte [esi + edi - 1]
movzx eax, byte [eax + 0x4d4818]
movzx edx, byte [ecx + 0x4d4818]
add edx, edx
lea eax, [eax + eax*2]
add edx, edx
xor eax, edx
xor eax, edi
cdq
mov ecx, 0x7f
idiv ecx
movzx ebx, byte [edx + str.Pk_]
dec ebx
mov dword [ebp - 4], ebx
js 0x43cf81
lea ecx, [ecx]
movzx edx, byte [ebx + 0x4d4328]
cmp edx, edi
jne 0x43cf74
movzx eax, word [ebx*2 + 0x4d43a0]
add eax, str.ABORTABLEFTEMPORARYADDATABASELECTHENDEFAULTRANSACTIONATURALTERAISEACHECKEYAFTEREFERENCESCAPELSEXCEPTRIGGEREGEXPLAINITIALLYANALYZEXCLUSIVEXISTSTATEMENTANDEFERRABLEATTACHAVINGLOBEFOREIGNOREINDEXAUTOINCREMENTBEGINNERENAMEBETWEENOTNULLIKEBYCASCADEFERREDELETECASECASTCOLLATECOLUMNCOMMITCONFLICTCONSTRAINTERSECTCREATECROSSCURRENT_DATECURRENT_TIMESTAMPLANDESCDETACHDISTINCTDROPRAGMATCHFAILIMITFROMFULLGROUPDATEIFIMMEDIATEINSERTINSTEADINTOFFSETISNULLJOINORDEREPLACEOUTERESTRICTPRIMARYQUERYRIGHTROLLBACKROWHENUNIONUNIQUEUSINGVACUUMVALUESVIEWHERE
mov ecx, edi
test edi, edi
jle 0x43cf54
mov edi, edi
mov dl, byte [eax]
dec ecx
test dl, dl
je 0x43cf55
movzx ebx, byte [esi]
movzx edx, dl
mov dl, byte [edx + 0x4d4818]
cmp dl, byte [ebx + 0x4d4818]
mov ebx, dword [ebp - 4]
jne 0x43cf55
inc eax
inc esi
test ecx, ecx
jg 0x43cf30
dec ecx
test ecx, ecx
js 0x43cf8c
movzx ecx, byte [esi]
movzx eax, byte [eax]
movzx edx, byte [ecx + 0x4d4818]
movzx ecx, byte [eax + 0x4d4818]
sub ecx, edx
je 0x43cf8c
mov esi, dword [ebp + 8]
movzx ebx, byte [ebx + 0x4d42b0]
dec ebx
mov dword [ebp - 4], ebx
jns 0x43cf10
pop esi
mov eax, 0x17
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, byte [ebx + 0x4d4488]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret