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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
cmp dword [0x10112c74], 0
push ebx
push esi
mov ebx, 1
jne 0x1001b0ca
add dword [0x10112c70], ebx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
sub dword [0x10112c70], ebx
mov dword [0x101128cc], eax
cmp eax, 0xffffffff
je 0x1001b0da
mov dword [0x10112c74], ebx
jmp 0x1001b0cf
mov eax, dword [0x101128cc]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1001b0df
mov eax, 0x100f15ac
cmp byte [eax + 4], 0
je 0x1001b115
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
test esi, esi
je 0x1001b115
nop
cmp esi, dword [ebp + 0xc]
je 0x1001b10e
test edi, edi
je 0x1001b0fe
cmp dword [esi + 0x14], edi
jne 0x1001b10e
cmp byte [esi + 0x41], bl
jne 0x1001b10e
mov eax, esi
call fcn.1001b000
test eax, eax
jne 0x1001b117
mov esi, dword [esi + 4]
test esi, esi
jne 0x1001b0f0
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x10112c74], 0
push esi
mov esi, dword [edi + 4]
jne 0x1001b1c1
inc dword [0x10112c70]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x101128cc], eax
cmp eax, 0xffffffff
jne 0x1001b1ae
dec dword [0x10112c70]
jmp 0x1001b1d1
mov ecx, 1
sub dword [0x10112c70], ecx
mov dword [0x10112c74], ecx
jmp 0x1001b1c6
mov eax, dword [0x101128cc]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1001b1d6
mov eax, 0x100f15ac
cmp byte [eax + 4], 0
je 0x1001b1f8
mov eax, dword [edi]
test eax, eax
je 0x1001b1fd
test dword [eax + 8], 0x4000
je 0x1001b1fd
cmp bl, 2
je 0x1001b1fd
mov ecx, dword [ebp + 8]
cmp ecx, 1
je 0x1001b200
xor eax, eax
pop esi
pop ebp
ret
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x40]
test eax, eax
je 0x1001b1f8
cmp dword [eax], edi
je 0x1001b21a
cmp dword [eax + 4], ecx
jne 0x1001b21a
cmp byte [eax + 8], bl
jne 0x1001b224
cmp bl, 1
jne 0x1001b224
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x1001b207
pop esi
pop ebp
ret
mov eax, 6
pop esi
pop ebp
ret
Function at 0x1001b230
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x10112c74], 0
push edi
mov edi, dword [esi + 4]
jne 0x1001b271
inc dword [0x10112c70]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x101128cc], eax
cmp eax, 0xffffffff
jne 0x1001b25e
dec dword [0x10112c70]
jmp 0x1001b281
mov ecx, 1
sub dword [0x10112c70], ecx
mov dword [0x10112c74], ecx
jmp 0x1001b276
mov eax, dword [0x101128cc]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1001b286
mov eax, 0x100f15ac
cmp byte [eax + 4], 0
je 0x1001b326
mov eax, dword [esi]
test eax, eax
je 0x1001b2aa
test dword [eax + 8], 0x4000
je 0x1001b2aa
cmp byte [ebp + 8], 1
jne 0x1001b2aa
cmp ebx, 1
jne 0x1001b326
mov eax, dword [edi + 0x40]
test eax, eax
je 0x1001b2c1
cmp dword [eax + 4], ebx
jne 0x1001b2ba
cmp dword [eax], esi
je 0x1001b31b
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x1001b2b1
xor eax, eax
cmp dword [0x10112c64], eax
je 0x1001b2d3
cmp dword [0x10112c70], eax
jg 0x1001b301
push 0x10
call fcn.100b3794
add esp, 4
test eax, eax
jne 0x1001b2f4
mov ecx, 1
add dword [0x10112c70], ecx
mov dword [0x10112c64], ecx
jmp 0x1001b301
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 0x1001b30d
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 0x1001b326
mov byte [eax + 8], cl
xor eax, eax
pop edi
pop ebp
ret
Function at 0x1001c470
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 0x1001c49a
mov eax, edi
mov edi, dword [edi + 4]
cmp dword [eax], esi
jne 0x1001c496
mov esi, eax
call fcn.1001d760
mov esi, dword [ebp + 8]
test edi, edi
jne 0x1001c483
push esi
call fcn.1001d3f0
add esp, 4
push esi
call fcn.100b3828
add esp, 4
dec dword [ebx + 0x30]
jne 0x1001c55a
cmp dword [0x10112c74], 0
jne 0x1001c4e7
mov esi, 1
add dword [0x10112c70], esi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
sub dword [0x10112c70], esi
mov dword [0x101128cc], eax
cmp eax, 0xffffffff
je 0x1001c4f9
mov dword [0x10112c74], esi
jmp 0x1001c4ec
mov eax, dword [0x101128cc]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test eax, eax
jne 0x1001c4fe
mov ecx, 0x100f15ac
mov eax, dword [ecx + 8]
cmp eax, ebx
jne 0x1001c50d
mov eax, dword [ebx + 0x44]
mov dword [ecx + 8], eax
jmp 0x1001c526
test eax, eax
je 0x1001c526
mov ecx, dword [eax + 0x44]
cmp ecx, ebx
je 0x1001c520
mov eax, ecx
test eax, eax
jne 0x1001c511
jmp 0x1001c526
mov ecx, dword [ebx + 0x44]
mov dword [eax + 0x44], ecx
mov esi, dword [ebx]
call fcn.1003b6d0
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
je 0x1001c541
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x1001c541
push eax
call ecx
add esp, 4
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x1001c551
push eax
call fcn.100b3828
add esp, 4
push ebx
call fcn.100b3828
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x10112c74], 0
push ebx
push esi
mov esi, eax
mov ebx, dword [esi + 4]
jne 0x10021ac5
inc dword [0x10112c70]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x101128cc], eax
cmp eax, 0xffffffff
jne 0x10021ab2
dec dword [0x10112c70]
jmp 0x10021ad5
mov ecx, 1
sub dword [0x10112c70], ecx
mov dword [0x10112c74], ecx
jmp 0x10021aca
mov eax, dword [0x101128cc]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x10021ada
mov eax, 0x100f15ac
cmp byte [eax + 4], 0
je 0x10021afe
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x10021afe
cmp dword [eax], esi
je 0x10021af7
cmp dword [eax + 4], 1
jne 0x10021af7
cmp byte [eax + 8], 1
jne 0x10021b57
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x10021ae7
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx]
push 1
call fcn.1003baa0
add esp, 8
test eax, eax
jne 0x10021b51
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.1003bf60
push 1
mov ebx, 1
call fcn.1001b230
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 0x10022c10
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
cmp dword [0x10112c74], 0
push ebx
push esi
mov esi, dword [edi + 4]
mov ebx, 1
jne 0x10022c47
add dword [0x10112c70], ebx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
sub dword [0x10112c70], ebx
mov dword [0x101128cc], eax
cmp eax, 0xffffffff
je 0x10022c57
mov dword [0x10112c74], ebx
jmp 0x10022c4c
mov eax, dword [0x101128cc]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x10022c5c
mov eax, 0x100f15ac
cmp byte [eax + 4], 0
je 0x10022c85
mov eax, dword [esi + 0x40]
test eax, eax
je 0x10022c85
lea esp, [esp]
cmp dword [eax], edi
je 0x10022c7e
cmp dword [eax + 4], ebx
jne 0x10022c7e
cmp byte [eax + 8], bl
jne 0x10022c93
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x10022c70
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 0x10028b40
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.10028980
mov edi, eax
mov dword [ebp - 4], 0
test edi, edi
je 0x10028ba6
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call ebx
mov esi, eax
test esi, esi
jne 0x10028b8f
lea esp, [esp]
mov eax, dword [ebp - 4]
mov ecx, eax
inc eax
mov dword [ebp - 4], eax
cmp ecx, 3
jge 0x10028b8f
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call ebx
mov esi, eax
test esi, esi
je 0x10028b70
push edi
call fcn.100b3828
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 0x10028bd4
mov eax, dword [ebp - 4]
mov edx, eax
inc eax
mov dword [ebp - 4], eax
cmp edx, 3
jge 0x10028bd4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call edi
mov esi, eax
test esi, esi
je 0x10028bb5
neg esi
pop edi
sbb eax, eax
pop esi
and eax, 0xa
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push esi
push edi
mov edi, eax
mov ecx, edi
call fcn.10028980
mov esi, eax
test esi, esi
je 0x10028c20
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
push esi
mov edi, ecx
call fcn.100b3828
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 0x10028e90
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4bc
mov eax, dword [0x1010e07c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10112c6c]
push ebx
push esi
test eax, eax
je 0x10028ecc
push 0x118
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.100b62e0
add esp, 0xc
mov byte [ebp - 0x24], 0
jmp 0x10028f59
mov eax, dword [0x10112c68]
test eax, eax
jne 0x10028efe
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 [0x10112c68], eax
cmp eax, 2
jne 0x10028f47
lea edx, [ebp - 0x3a8]
push edx
push 0x118
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ebx, [ebp - 0x3a8]
call fcn.10028aa0
mov esi, eax
test esi, esi
je 0x10028f59
push 0x118
lea eax, [ebp - 0x13c]
push esi
push eax
call fcn.100b62e0
push esi
mov byte [ebp - 0x24], 0
call fcn.100b3828
add esp, 0x10
jmp 0x10028f59
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 0x10028f62
sub eax, edx
test eax, eax
jle 0x10028f81
lea ecx, [ebp - 0x13c]
cmp byte [ecx + eax - 1], 0x5c
jne 0x10028f81
dec eax
test eax, eax
jg 0x10028f75
mov byte [ebp + eax - 0x13c], 0
lea esp, [esp]
lea edx, [ebp - 0x13c]
push edx
push str._s_sqlite_
push edi
call fcn.100b4e34
mov esi, edi
add esp, 0xc
lea ecx, [esi + 1]
lea ebx, [ebx]
mov al, byte [esi]
inc esi
test al, al
jne 0x10028fb0
sub esi, ecx
lea eax, [edi + esi]
push eax
mov ecx, 0xf
call fcn.1003f670
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 0x10028fd0
mov byte [edi + esi], cl
mov ecx, edi
call fcn.10028980
mov esi, eax
test esi, esi
je 0x10029068
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
cmp eax, 0xffffffff
push esi
setne bl
call fcn.100b3828
add esp, 4
jmp 0x10029077
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
test ebx, ebx
jne 0x10028f90
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.100b2b2c
mov esp, ebp
pop ebp
ret
Function at 0x10029400
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1010e07c]
xor eax, ebp
mov dword [ebp - 4], eax
test edi, edi
jne 0x10029427
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b2b2c
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10112c68]
test eax, eax
jne 0x10029459
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 [0x10112c68], eax
cmp eax, 2
je 0x10029473
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10029463
sub eax, edx
cmp eax, 0x104
ja 0x10029417
push ebx
push esi
mov ecx, edi
call fcn.10028980
mov esi, eax
test esi, esi
je 0x10029496
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
mov ebx, eax
call fcn.100b3828
add esp, 4
jmp 0x1002949f
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
xor eax, eax
cmp ebx, 0xffffffff
je 0x100294af
and bl, 0x10
cmp bl, 0x10
sete al
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100b2b2c
mov esp, ebp
pop ebp
ret

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

Disassembly:
cmp dword [0x10112c74], 0
push esi
push edi
mov edi, eax
jne 0x1002994b
mov esi, 1
add dword [0x10112c70], esi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
sub dword [0x10112c70], esi
mov dword [0x101128cc], eax
cmp eax, 0xffffffff
jne 0x10029943
pop edi
xor eax, eax
pop esi
ret
mov dword [0x10112c74], esi
jmp 0x10029950
mov eax, dword [0x101128cc]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test edi, edi
jle 0x1002999c
test esi, esi
jne 0x100299de
push 0xc
call fcn.100b3794
mov esi, eax
add esp, 4
test esi, esi
je 0x100299de
mov eax, dword [0x100f0274]
mov dword [esi], eax
mov ecx, dword [0x100f0278]
mov eax, dword [0x101128cc]
mov dword [esi + 4], ecx
mov edx, dword [0x100f027c]
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 0x100299de
test edi, edi
jns 0x100299de
mov eax, 0x100f0274
mov edx, esi
mov ecx, 0xc
sub edx, eax
mov edi, dword [edx + eax]
cmp edi, dword [eax]
jne 0x100299de
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x100299b2
push esi
call fcn.100b3828
mov ecx, dword [0x101128cc]
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 0x100299f0
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x10112c74], 0
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, 1
jne 0x10029a2a
add dword [0x10112c70], edi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
sub dword [0x10112c70], edi
mov dword [0x101128cc], eax
cmp eax, 0xffffffff
je 0x10029a3a
mov dword [0x10112c74], edi
jmp 0x10029a2f
mov eax, dword [0x101128cc]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x10029a3f
mov eax, 0x100f15ac
cmp byte [eax + 4], 0
je 0x10029b20
test ebx, ebx
js 0x10029b20
mov edx, dword [esi + 0x68]
xor ecx, ecx
test edx, edx
jle 0x10029a78
mov eax, dword [esi + 0x6c]
lea ecx, [ecx]
cmp dword [eax], ebx
jne 0x10029a6f
mov ebx, dword [ebp + 0xc]
cmp dword [eax + 4], ebx
je 0x10029a97
mov ebx, dword [ebp + 8]
add ecx, edi
add eax, 0x10
cmp ecx, edx
jl 0x10029a60
mov ecx, dword [esi + 0x6c]
lea eax, [edx + 1]
shl eax, 4
cmp dword [0x10112c64], 0
je 0x10029ab5
cmp dword [0x10112c70], 0
jle 0x10029ab5
xor edi, edi
jmp 0x10029ae5
cmp byte [eax + 8], 0
jne 0x10029aac
cmp byte [ebp + 0x10], 0
jne 0x10029aac
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 0x10029ac5
push edi
push eax
call fcn.1001a0a0
add esp, 8
jmp 0x10029adf
push eax
push ecx
call fcn.100b416b
add esp, 8
test eax, eax
jne 0x10029adf
add dword [0x10112c70], edi
mov dword [0x10112c64], edi
mov edi, eax
test edi, edi
jne 0x10029af5
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x10029af5
push eax
call fcn.100b3828
add esp, 4
mov edx, edi
mov dword [esi + 0x6c], edi
test edx, edx
je 0x10029b20
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 0x10029fa0
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 0x1002a093
push ebx
push esi
lea esp, [esp]
cmp ecx, 2
jge 0x10029fc8
xor ecx, 1
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x1002a015
mov bl, byte [edx]
mov eax, dword [eax + 4]
lea esi, [ecx + ecx*2]
mov esi, dword [eax + esi*8]
test bl, bl
je 0x10029ffd
mov edi, edi
movzx eax, byte [esi]
movzx ebx, bl
mov bl, byte [ebx + 0x100f18c8]
cmp bl, byte [eax + 0x100f18c8]
jne 0x10029ffd
mov bl, byte [edx + 1]
inc edx
inc esi
test bl, bl
jne 0x10029fe0
movzx edx, byte [edx]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x100f18c8]
movzx edx, byte [edx + 0x100f18c8]
sub edx, eax
jne 0x1002a074
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 0x1002a020
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 0x1002a08f
cmp dword [esi + 0x18], 0
je 0x1002a08f
cmp byte [esi], 3
mov eax, 0x100250d0
je 0x1002a053
mov eax, 0x10025140
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.10025340
add esp, 0x10
test eax, eax
je 0x1002a08f
mov edi, dword [eax + 8]
test edi, edi
jne 0x1002a086
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, dword [eax]
jl 0x10029fc0
pop esi
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
xor edi, edi
jmp 0x1002a074
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x1002a120
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 0x1002a215
push ebx
push esi
mov edi, edi
mov ecx, edi
cmp edi, 2
jge 0x1002a14a
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 0x1002a1a8
mov esi, dword [ecx]
mov cl, byte [edx]
test cl, cl
je 0x1002a190
jmp 0x1002a170
movzx eax, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x100f18c8]
cmp cl, byte [eax + 0x100f18c8]
jne 0x1002a18d
mov cl, byte [edx + 1]
inc edx
inc esi
test cl, cl
jne 0x1002a170
mov eax, dword [ebp - 4]
movzx edx, byte [edx]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x100f18c8]
movzx edx, byte [edx + 0x100f18c8]
sub edx, ecx
jne 0x1002a204
test ebx, ebx
je 0x1002a200
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002a1b2
sub eax, edx
lea esi, [ebx + 0x20]
lea edi, [eax + 1]
test esi, esi
je 0x1002a221
cmp dword [esi + 0x18], 0
je 0x1002a221
cmp byte [esi], 3
mov eax, 0x100250d0
je 0x1002a1da
mov eax, 0x10025140
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.10025340
mov edi, dword [ebp - 8]
add esp, 0x10
test eax, eax
je 0x1002a21a
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
test eax, eax
jne 0x1002a213
mov edx, dword [ebp + 8]
inc edi
mov dword [ebp - 8], edi
cmp edi, dword [edx]
jl 0x1002a140
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x1002a204
mov edi, dword [ebp - 8]
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x1002a204
Function at 0x10031440
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp edi, 2
jge 0x10031452
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 + 0x100f18c8]
movzx edx, byte [ecx + 0x100f18c8]
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 0x10031501
lea ecx, [ecx]
movzx edx, byte [ebx + 0x100f13d8]
cmp edx, edi
jne 0x100314f4
movzx eax, word [ebx*2 + 0x100f1450]
add eax, str.ABORTABLEFTEMPORARYADDATABASELECTHENDEFAULTRANSACTIONATURALTERAISEACHECKEYAFTEREFERENCESCAPELSEXCEPTRIGGEREGEXPLAINITIALLYANALYZEXCLUSIVEXISTSTATEMENTANDEFERRABLEATTACHAVINGLOBEFOREIGNOREINDEXAUTOINCREMENTBEGINNERENAMEBETWEENOTNULLIKEBYCASCADEFERREDELETECASECASTCOLLATECOLUMNCOMMITCONFLICTCONSTRAINTERSECTCREATECROSSCURRENT_DATECURRENT_TIMESTAMPLANDESCDETACHDISTINCTDROPRAGMATCHFAILIMITFROMFULLGROUPDATEIFIMMEDIATEINSERTINSTEADINTOFFSETISNULLJOINORDEREPLACEOUTERESTRICTPRIMARYQUERYRIGHTROLLBACKROWHENUNIONUNIQUEUSINGVACUUMVALUESVIEWHERE
mov ecx, edi
test edi, edi
jle 0x100314d4
mov edi, edi
mov dl, byte [eax]
dec ecx
test dl, dl
je 0x100314d5
movzx ebx, byte [esi]
movzx edx, dl
mov dl, byte [edx + 0x100f18c8]
cmp dl, byte [ebx + 0x100f18c8]
mov ebx, dword [ebp - 4]
jne 0x100314d5
inc eax
inc esi
test ecx, ecx
jg 0x100314b0
dec ecx
test ecx, ecx
js 0x1003150c
movzx ecx, byte [esi]
movzx eax, byte [eax]
movzx edx, byte [ecx + 0x100f18c8]
movzx ecx, byte [eax + 0x100f18c8]
sub ecx, edx
je 0x1003150c
mov esi, dword [ebp + 8]
movzx ebx, byte [ebx + 0x100f1360]
dec ebx
mov dword [ebp - 4], ebx
jns 0x10031490
pop esi
mov eax, 0x17
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, byte [ebx + 0x100f1538]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret