joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ab980
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c8168
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1022101c]
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 edi, ecx
mov esi, dword [edi + 0xc]
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x24], esi
test esi, esi
je 0x100ab9c2
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov dword [ebp - 4], 0
test esi, esi
je 0x100ab9d6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
mov ebx, eax
mov esi, dword [edi + 0x10]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x20], esi
test esi, esi
je 0x100ab9ed
mov edx, dword [esi]
mov ecx, esi
call dword [edx]
mov byte [ebp - 4], 1
test esi, esi
je 0x100aba8d
lea ecx, [edi + 0x30]
call fcn.1002a7f0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x10]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x100aba8d
mov eax, dword [ebp - 0x14]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x100aba6e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100aba6e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.101b079d
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
cmp byte [edi + 0x40], 0
je 0x100abab2
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp eax, dword [edi + 0x2c]
jae 0x100abaa5
call esi
mov dword [edi + 0x2c], eax
call esi
lea ecx, [edi - 4]
mov dword [edi + 0x2c], eax
call fcn.100ab260
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x100abac2
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x100abad5
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
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.101b075c
mov esp, ebp
pop ebp
ret
Function at 0x100b0ee0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x1022101c]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
mov esi, ecx
mov dword [esp + 4], 0x114
push 0x110
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov byte [esi], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x100b0f77
cmp dword [esp + 8], 6
jb 0x100b0f77
mov byte [esi], 1
mov ecx, dword [esp + 0x118]
pop esi
xor ecx, esp
call fcn.101b075c
add esp, 0x118
ret

Function at 0x100b0f90
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c8950
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x1022101c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.wintrust.dll
lea ecx, [ebp - 0x28]
call fcn.10003b60
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.10097c10
mov ecx, eax
call fcn.10097cd0
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10003b10
push str.crypt32.dll
lea ecx, [ebp - 0x40]
call fcn.10003b60
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
call fcn.10097c10
mov ecx, eax
call fcn.10097cd0
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10003b10
test ebx, ebx
je 0x100b10a5
test esi, esi
je 0x100b10a5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptCATAdminCalcHashFromFileHandle
push ebx
call esi
push str.CryptCATAdminAcquireContext
push ebx
mov dword [edi + 4], eax
call esi
push str.CryptCATAdminEnumCatalogFromHash
push ebx
mov dword [edi + 8], eax
call esi
push str.CryptCATCatalogInfoFromContext
push ebx
mov dword [edi + 0xc], eax
call esi
push str.CryptCATAdminReleaseCatalogContext
push ebx
mov dword [edi + 0x10], eax
call esi
push str.CryptCATAdminReleaseContext
push ebx
mov dword [edi + 0x14], eax
call esi
push str.WTHelperProvDataFromStateData
push ebx
mov dword [edi + 0x18], eax
call esi
push str.WTHelperGetProvSignerFromChain
push ebx
mov dword [edi + 0x1c], eax
call esi
push str.WinVerifyTrust
push ebx
mov dword [edi + 0x20], eax
call esi
push str.CertNameToStrW
push dword [ebp - 0x10]
mov dword [edi + 0x24], eax
call esi
mov dword [edi + 0x28], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100b4650
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c5fff
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1022101c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push edx
push 0x94
call fcn.100022c0
mov esi, dword [ebp + 8]
add esp, 8
mov edi, eax
mov ecx, eax
mov dword [ebp - 0x10], edi
push esi
call fcn.10005840
mov dword [ebp - 4], 0
lea ecx, [esi + 0x18]
push ecx
lea ecx, [edi + 0x18]
call fcn.10005840
mov byte [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.10005840
mov byte [ebp - 4], 2
lea eax, [esi + 0x48]
push eax
lea ecx, [edi + 0x48]
call fcn.10005840
mov byte [ebp - 4], 3
lea ecx, [edi + 0x64]
mov al, byte [esi + 0x60]
mov byte [edi + 0x60], al
lea eax, [esi + 0x64]
push eax
call fcn.10005840
mov byte [ebp - 4], 4
lea eax, [esi + 0x7c]
push eax
lea ecx, [edi + 0x7c]
call fcn.10005840
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100b61d0
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c94f8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1022101c]
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 edi, ecx
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x100b6219
mov dword [ecx], 0
mov dword [eax], 0
cmp dword [edi], 0xffffffff
je 0x100b636b
mov eax, dword [ebp + 0xc]
mov ecx, 0x100000
push 0
mov ebx, eax
mov dword [ebp - 0x1c], 0
cmp eax, 0x100000
lea eax, [ebp - 0x1c]
push eax
cmova ebx, ecx
push ebx
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
cmp dword [edi + 0x1c], 0
je 0x100b6336
test eax, eax
je 0x100b6336
mov edx, dword [ebp - 0x1c]
cmp edx, ebx
jae 0x100b6339
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi]
mov dword [ebp - 0x24], eax
cmp ecx, 0xffffffff
je 0x100b62bb
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100b62af
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100b62bb
mov eax, dword [ebp - 0x14]
xor ecx, ecx
add ecx, esi
adc eax, 0
jmp 0x100b62c9
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
push 0
push dword [ebp - 0x24]
push eax
push ecx
sub esp, 0x18
lea eax, [edi + 4]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.10005840
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x18]
mov esi, dword [ebp - 0x20]
test eax, eax
jne 0x100b6336
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push ebx
add eax, esi
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, eax
xor edx, edx
test ecx, ecx
mov eax, 0x80004005
cmovne eax, edx
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
test ecx, ecx
je 0x100b6274
jmp 0x100b6339
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
add dword [ecx], edx
test eax, eax
jne 0x100b6362
test edx, edx
je 0x100b635e
mov eax, dword [ebp + 0xc]
add esi, edx
sub eax, edx
mov dword [ebp - 0x20], esi
mov dword [ebp + 0xc], eax
mov ecx, 0x100000
jne 0x100b6230
mov al, 1
jmp 0x100b636d
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x100b636b
mov dword [ecx], eax
xor al, al
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.101b075c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100b7550
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c9888
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x1022101c]
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 esi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x44]
mov edi, dword [ebp + 0xc]
push 8
mov dword [ebp - 0x3c], ebx
call sym.FileAssociate.dll_public:_void___thiscall_RC::RCSQLiteConnection::__autoclassinit2_unsigned_int_
push esi
lea ecx, [ebp - 0x44]
call fcn.1000d3c0
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.100b7240
mov esi, eax
test esi, esi
je 0x100b771c
mov ecx, esi
call fcn.100bf8a0
test al, al
je 0x100b771c
push 1
push 0
push ebx
lea eax, [ebp - 0x34]
push eax
call fcn.100b7750
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
push 4
xor bh, bh
call sym.FileAssociate.dll_public:_void___thiscall_RC::RCSQLiteConnection::__autoclassinit2_unsigned_int_
mov eax, dword [esi]
lea ecx, [ebp - 0x38]
add eax, 0x2c
push eax
call fcn.10017a10
mov byte [ebp - 4], 2
lea eax, [ebp - 0x34]
mov ecx, dword [esi]
push eax
call fcn.100c9a00
mov bl, al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.10017a40
movzx eax, bh
test bl, bl
mov dword [ebp - 0x38], eax
mov eax, 1
mov ebx, dword [ebp - 0x38]
cmovne ebx, eax
test edi, edi
je 0x100b76f0
mov edx, dword [ebp - 0x3c]
lea ecx, [ebp - 0x5c]
add edx, 4
call fcn.100bf600
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.10003ad0
push eax
push str.url_info
lea eax, [ebp - 0x34]
push str.SELECT_MAX_url_id__FROM__s_WHERE_url_s
push eax
call fcn.100851e0
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.10003b10
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 1
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.100bfb30
test al, al
je 0x100b76ad
cmp byte [ebp - 0x14], 0
jne 0x100b76ad
push ecx
push 0
lea ecx, [ebp - 0x1c]
call fcn.100bfc60
mov dword [edi], eax
mov bl, 1
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100b76c2
push eax
call fcn.10128df0
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 1
mov byte [ebp - 4], 1
test eax, eax
je 0x100b76e5
push eax
call fcn.10128df0
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 1
mov ecx, esi
test bl, bl
je 0x100b7709
call fcn.100bf970
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.10003b10
jmp 0x100b771e
call fcn.100bfa10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.10003b10
jmp 0x100b771e
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.1000d410
mov al, bl
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.101b075c
mov esp, ebp
pop ebp
ret 8
Function at 0x100ba470
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x100ba47c
xor al, al
ret 8
jmp fcn.100b7550

Function at 0x100ba750
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ca080
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x1022101c]
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 esi, dword [ecx + 0xc]
mov edi, dword [ebp + 0xc]
test esi, esi
jne 0x100ba78c
xor al, al
jmp 0x100ba8db
push 8
lea ecx, [ebp - 0x40]
call sym.FileAssociate.dll_public:_void___thiscall_RC::RCSQLiteConnection::__autoclassinit2_unsigned_int_
push esi
lea ecx, [ebp - 0x40]
call fcn.1000d3c0
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.100b7240
mov esi, eax
test esi, esi
jne 0x100ba7c9
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.1000d410
xor bh, bh
jmp 0x100ba8d9
lea ecx, [ebp - 0x34]
call fcn.10003bb0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x34]
push dword [ebp + 8]
push str.url_info
push str.SELECT_status_FROM__s_WHERE_url_id_u
push eax
call fcn.100851e0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
add esp, 0x10
xor bh, bh
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
push 4
call sym.FileAssociate.dll_public:_void___thiscall_RC::RCSQLiteConnection::__autoclassinit2_unsigned_int_
mov eax, dword [esi]
lea ecx, [ebp - 0x38]
add eax, 0x2c
push eax
call fcn.10017a10
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
mov ecx, dword [esi]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.100c9ab0
mov bl, al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.10017a40
mov esi, dword [ebp - 0x1c]
test bl, bl
je 0x100ba87e
cmp byte [ebp - 0x14], bh
jne 0x100ba87e
push 0
push esi
call fcn.1012ab10
add esp, 8
cmp eax, 5
je 0x100ba877
push 0
push esi
call fcn.1012a700
add esp, 8
jmp 0x100ba87a
or eax, 0xffffffff
mov dword [edi], eax
mov bh, 1
test esi, esi
je 0x100ba890
push esi
call fcn.10128df0
add esp, 4
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 1
mov byte [ebp - 4], 1
test esi, esi
je 0x100ba8b3
push esi
call fcn.10128df0
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.10003b10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.1000d410
mov al, bh
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.101b075c
mov esp, ebp
pop ebp
ret 8
Function at 0x100baa30
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ca080
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x1022101c]
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 esi, dword [ecx + 0xc]
mov edi, dword [ebp + 0xc]
test esi, esi
jne 0x100baa6c
xor al, al
jmp 0x100babbb
push 8
lea ecx, [ebp - 0x40]
call sym.FileAssociate.dll_public:_void___thiscall_RC::RCSQLiteConnection::__autoclassinit2_unsigned_int_
push esi
lea ecx, [ebp - 0x40]
call fcn.1000d3c0
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.100b7240
mov esi, eax
test esi, esi
jne 0x100baaa9
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.1000d410
xor bh, bh
jmp 0x100babb9
lea ecx, [ebp - 0x34]
xor bh, bh
call fcn.10003bb0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x34]
push dword [ebp + 8]
push str.url_info
push str.SELECT_speed_limit_FROM__s_WHERE_url_id_u
push eax
call fcn.100851e0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
add esp, 0x10
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
push 4
call sym.FileAssociate.dll_public:_void___thiscall_RC::RCSQLiteConnection::__autoclassinit2_unsigned_int_
mov eax, dword [esi]
lea ecx, [ebp - 0x38]
add eax, 0x2c
push eax
call fcn.10017a10
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
mov ecx, dword [esi]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.100c9ab0
mov bl, al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.10017a40
mov esi, dword [ebp - 0x1c]
test bl, bl
je 0x100bab5e
cmp byte [ebp - 0x14], bh
jne 0x100bab5e
push 0
push esi
call fcn.1012ab10
add esp, 8
cmp eax, 5
je 0x100bab57
push 0
push esi
call fcn.1012a700
add esp, 8
jmp 0x100bab5a
or eax, 0xffffffff
mov dword [edi], eax
mov bh, 1
test esi, esi
je 0x100bab70
push esi
call fcn.10128df0
add esp, 4
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 1
mov byte [ebp - 4], 1
test esi, esi
je 0x100bab93
push esi
call fcn.10128df0
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.10003b10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.1000d410
mov al, bh
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.101b075c
mov esp, ebp
pop ebp
ret 8

Function at 0x100bac00
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x100bac0c
xor al, al
ret 8
jmp fcn.100b8a80

Function at 0x100bac20
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x100bac2c
xor al, al
ret 8
jmp fcn.100b8fd0

Function at 0x100bb050
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x100bb05c
xor al, al
ret 8
jmp fcn.100b9780
Function at 0x100be1b0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ecx
push ebx
push edi
mov edi, ecx
mov ecx, dword [edi + 0x14]
mov word [edi + 0x10], 0
mov eax, dword [ecx]
or eax, dword [ecx + 4]
je 0x100be1d6
lea ecx, [edi + 0x14]
call fcn.100c9630
add dword [edi + 0x18], eax
mov ecx, dword [edi + 0x14]
adc dword [edi + 0x1c], edx
lea eax, [ecx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov word [edi + 0x10], 1
push dword [edi + 0x14]
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov eax, dword [edi + 0x14]
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [edi + 0x14]
mov ecx, edi
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
call fcn.100be230
pop edi
pop ebx
pop ecx
ret
Function at 0x100bf8a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101caaf0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1022101c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 4
lea ecx, [ebp - 0x10]
call sym.FileAssociate.dll_public:_void___thiscall_RC::RCSQLiteConnection::__autoclassinit2_unsigned_int_
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
add eax, 0x2c
push eax
call fcn.10017a10
mov dword [ebp - 4], 0
mov esi, dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
cmp byte [esi + 0x20], 0
mov dword [ebp - 0x14], eax
je 0x100bf916
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xf
call edi
call ebx
sub eax, dword [ebp - 0x14]
cmp eax, dword [esi + 0x1c]
ja 0x100bf916
cmp byte [esi + 0x20], 0
jne 0x100bf902
push str.begin_transaction
lea ecx, [ebp - 0x2c]
call fcn.10003b60
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.100c9a00
mov bl, al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10003b10
mov byte [esi + 0x20], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10017a40
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100c04d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101cac41
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1022101c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x10]
call fcn.10003bb0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x30]
call fcn.10003bb0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x48]
call fcn.10003bb0
mov byte [ebp - 4], 2
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x28], 2
mov byte [esi + 0x2c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100c07f0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101cad99
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1022101c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
mov dword [edi], vtable.RC::IRefCount.0
mov dword [ebp - 4], 0
mov dword [edi], vtable.DL::IDownloadBlockEvent.0
mov dword [ebp - 4], 1
mov dword [edi + 4], vtable.RC::RCRefCounted.0
mov dword [edi + 8], 0
mov byte [ebp - 4], 2
mov dword [edi], vtable.RC::RCRefCountImpl1_class_DL::IDownloadBlockEvent_.0
mov dword [edi + 4], vtable.RC::RCRefCountImpl1_class_DL::IDownloadBlockEvent_.1.0
mov dword [ebp - 4], 3
mov dword [edi], vtable.DL::RCDownloadTask.0
mov dword [edi + 4], vtable.DL::RCDownloadTask.1.0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 3
push 0x18
mov byte [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
call fcn.101b076d
add esp, 4
mov dword [edi + 0x20], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 4
mov dword [edi + 0x24], 0
mov byte [ebp - 4], 5
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov byte [ebp - 4], 6
lea esi, [edi + 0x30]
lea ecx, [esi + 8]
mov dword [ebp - 0x2c], esi
call fcn.10003bb0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
mov dword [esi], 0
mov byte [esi + 4], 0
call fcn.10003bb0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x28]
push 0
push 1
push eax
mov ecx, esi
call fcn.100963b0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.10003b10
mov byte [ebp - 4], 9
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov byte [ebp - 4], 0xa
lea esi, [edi + 0x60]
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [ebp - 0x2c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100c7450
mov dword [esi], eax
mov byte [ebp - 4], 0xd
lea esi, [edi + 0x68]
mov dword [ebp - 0x2c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1002b830
mov dword [esi], eax
mov byte [ebp - 4], 0x10
lea esi, [edi + 0x70]
mov dword [ebp - 0x2c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1002b830
mov dword [esi], eax
mov byte [ebp - 4], 0x13
lea esi, [edi + 0x7c]
mov byte [edi + 0x78], 0
mov dword [ebp - 0x2c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100c7370
mov dword [esi], eax
mov byte [ebp - 4], 0x16
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 2
mov byte [edi + 0x9c], 0
mov dword [edi + 0xa0], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101b075c
mov esp, ebp
pop ebp
ret