joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a9a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10183718
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x101ec05c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [edi + 0x44], 0
je 0x1000aab3
cmp byte [edi + 0x4a], 0
je 0x1000aab3
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffff
mov ecx, edi
call edx
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x1000aaa7
lea esi, [ebp - 0x2c]
call fcn.1000a790
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
mov ecx, eax
cmp edx, 0x10
jae 0x1000aa1e
lea ecx, [ebp - 0x2c]
mov eax, ecx
add ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
push ecx
mov ecx, dword [edi + 0x44]
push eax
lea eax, [edi + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_wchar_t__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x1000aa46
dec eax
je 0x1000aa4a
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x1000aaa2
jmp 0x1000aaae
mov byte [edi + 0x4a], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp edx, 0x10
jae 0x1000aa5a
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x1000aa84
cmp edx, 0x10
jae 0x1000aa69
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x1000aa9f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x4a], 0
je 0x1000aaab
test esi, esi
jne 0x1000aa12
push esi
lea ebx, [esi + 8]
lea esi, [ebp - 0x2c]
call fcn.10008f30
jmp 0x1000aa0c
lea ecx, [ebp - 0x2c]
call fcn.10006180
xor al, al
jmp 0x1000aab5
lea ecx, [ebp - 0x2c]
call fcn.10006180
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1017eae7
mov esp, ebp
pop ebp
ret
Function at 0x1000c4f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10183e60
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101ec05c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
mov dword [ebp - 4], 0
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push 0
lea edx, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov byte [ecx], 0
call fcn.100064c0
mov dword [esi], vtable.boost::thread_resource_error.0
mov dword [ebp - 4], 1
mov dword [esi + 0x30], vtable.boost::exception.0
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x1000c583
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.1.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1000cb00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101831fa
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push esi
push edi
mov eax, dword [0x101ec05c]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0xc], edi
push 1
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x20], vtable.boost::exception.0
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x14], str.bad_allocation
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const___int_]
mov dword [esp + 0x18], vtable.boost::exception_detail::bad_alloc_.1.0
mov dword [esp + 0x2c], vtable.boost::exception_detail::bad_alloc_.0
push 1
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], edi
call fcn.1000d310
test byte [0x101f734c], 1
mov dword [esp + 0x40], str.class_boost::exception_ptr___cdecl_boost::exception_detail::get_static_exception_object_struct_boost::exception_detail::bad_alloc___void_
mov dword [esp + 0x44], str.D:NTools_boost_exception_detail_exception_ptr.hpp
mov dword [esp + 0x48], 0x80
jne 0x1000cc53
or dword [0x101f734c], 1
push 0x2c
mov byte [esp + 0x74], 2
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x70], 3
cmp eax, edi
je 0x1000cbe3
push 1
lea edx, [esp + 0x3c]
push edx
mov ecx, eax
call fcn.1000cee0
jmp 0x1000cbe5
xor eax, eax
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 2
call fcn.1000d8f0
mov ecx, dword [eax]
mov dword [0x101f7340], ecx
mov eax, dword [eax + 4]
mov dword [0x101f7344], eax
cmp eax, edi
je 0x1000cc14
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
mov esi, dword [esp + 0x14]
cmp esi, edi
je 0x1000cc46
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1000cc46
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1000cc46
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x10187580
call fcn.1017ec01
add esp, 4
mov eax, dword [0x101f7340]
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov ecx, dword [0x101f7344]
mov eax, ecx
mov dword [esi + 4], ecx
cmp eax, edi
je 0x1000cc78
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
lea ecx, [esp + 0x38]
call fcn.1000d3f0
mov dword [esp + 0x70], 0xffffffff
lea ecx, [esp + 0x2c]
mov dword [esp + 0x60], vtable.boost::exception_detail::clone_base.0
mov dword [esp + 0x18], vtable.boost::exception_detail::bad_alloc_.1.0
mov dword [esp + 0x2c], vtable.std::bad_alloc.0
call dword [sym.imp.MSVCR100.dll_public_virtual:_void___thiscall_std::exception::destructor_void_]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], vtable.boost::exception.0
cmp ecx, edi
je 0x1000ccc2
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000cce0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101831aa
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push esi
push edi
mov eax, dword [0x101ec05c]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0xc], edi
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], vtable.boost::exception.0
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], str.bad_exception
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
mov dword [esp + 0x18], vtable.boost::exception_detail::bad_exception_.1.0
mov dword [esp + 0x2c], vtable.boost::exception_detail::bad_exception_.0
push 1
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], edi
call fcn.1000d520
test byte [0x101f733c], 1
mov dword [esp + 0x40], str.class_boost::exception_ptr___cdecl_boost::exception_detail::get_static_exception_object_struct_boost::exception_detail::bad_exception___void_
mov dword [esp + 0x44], str.D:NTools_boost_exception_detail_exception_ptr.hpp
mov dword [esp + 0x48], 0x80
jne 0x1000ce31
or dword [0x101f733c], 1
push 0x2c
mov byte [esp + 0x74], 2
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x70], 3
cmp eax, edi
je 0x1000cdc1
push 1
lea edx, [esp + 0x3c]
push edx
mov ecx, eax
call fcn.1000cfe0
jmp 0x1000cdc3
xor eax, eax
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 2
call fcn.1000d9b0
mov ecx, dword [eax]
mov dword [0x101f7334], ecx
mov eax, dword [eax + 4]
mov dword [0x101f7338], eax
cmp eax, edi
je 0x1000cdf2
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
mov esi, dword [esp + 0x14]
cmp esi, edi
je 0x1000ce24
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1000ce24
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1000ce24
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x10187540
call fcn.1017ec01
add esp, 4
mov eax, dword [0x101f7334]
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov ecx, dword [0x101f7338]
mov eax, ecx
mov dword [esi + 4], ecx
cmp eax, edi
je 0x1000ce56
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
lea ecx, [esp + 0x38]
call fcn.1000d600
mov dword [esp + 0x70], 0xffffffff
lea ecx, [esp + 0x2c]
mov dword [esp + 0x60], vtable.boost::exception_detail::clone_base.0
mov dword [esp + 0x18], vtable.boost::exception_detail::bad_exception_.1.0
mov dword [esp + 0x2c], vtable.std::bad_exception.0
call dword [sym.imp.MSVCR100.dll_public_virtual:_void___thiscall_std::exception::destructor_void_]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], vtable.boost::exception.0
cmp ecx, edi
je 0x1000cea0
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000d260
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10183e28
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101ec05c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push ebx
add edi, 0x14
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edi
mov byte [ecx], bl
call fcn.100064c0
mov dword [esi + 0x30], vtable.boost::exception.0
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0xffffffff
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.1.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10012e30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10182873
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x101ec05c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
xor edi, edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 0x400
mov byte [ebp - 4], 1
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
cmp dword [esi + 0x18], edi
jne 0x10012ec2
push 0x14
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
cmp eax, edi
je 0x10012eba
mov dword [eax], edi
mov dword [eax + 4], 0x10000
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
jmp 0x10012ebc
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10019680
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10183508
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x101ec05c]
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
push 0x288
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov edi, eax
xor ebx, ebx
add esp, 4
cmp edi, ebx
je 0x100196d2
push 0x288
push ebx
push edi
call sub.MSVCR100.dll_memset
add esp, 0xc
jmp 0x100196d4
xor edi, edi
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x38]
push eax
push edi
mov dword [ebp - 0x38], 0x288
call esi
cmp eax, 0x6f
jne 0x10019709
push edi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.1017ea4c
add esp, 8
lea edx, [ebp - 0x38]
mov edi, eax
push edx
push edi
call esi
xor ecx, ecx
mov byte [ebp - 0x18], bl
mov dword [ebp - 0x17], ecx
mov word [ebp - 0x13], cx
mov byte [ebp - 0x11], cl
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], cl
mov dword [ebp - 4], ebx
cmp eax, ebx
jne 0x100197a4
cmp edi, ebx
je 0x100197a4
mov ebx, dword [sym.imp.MSVCR100.dll_sprintf]
xor esi, esi
cmp dword [edi + 0x190], esi
jbe 0x1001977f
movzx eax, byte [edi + esi + 0x194]
push eax
lea ecx, [ebp - 0x18]
push str._02X
push ecx
call ebx
lea eax, [ebp - 0x18]
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10019760
sub eax, edx
push eax
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x34]
call fcn.100061b0
inc esi
cmp esi, dword [edi + 0x190]
jb 0x10019740
cmp dword [edi + 0x1a0], 6
je 0x100197a4
cmp dword [ebp - 0x20], 0x10
mov edi, dword [edi]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], 0
jae 0x1001979d
lea eax, [ebp - 0x34]
mov byte [eax], 0
test edi, edi
jne 0x10019736
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp dword [ebp - 0x20], 0x10
jb 0x100197d2
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
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.1017eae7
mov esp, ebp
pop ebp
ret 4
Function at 0x1001c580
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101840a8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x101ec05c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
je 0x1001c667
cmp dword [edi + 0x10], 0
je 0x1001c667
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
mov esi, eax
test esi, esi
je 0x1001c667
push edi
push esi
call fcn.1000efe0
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push 1
push str.SELECT_FDoParsed_FROM_tbKPCacheImage_WHERE_FImgurl_FImgurl
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call edx
lea eax, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.100030f0
test al, al
je 0x1001c625
push edi
push esi
call fcn.1000efe0
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push 1
push str.INSERT_INTO_tbKPCacheImage_FImgurl__VALUES__FImgurl_
mov ecx, esi
call edx
mov bl, 1
jmp 0x1001c63d
cmp dword [esp + 0x14], 5
je 0x1001c635
lea edi, [esp + 0x14]
call fcn.10003880
cmp dword [esp + 0x1c], 0
sete bl
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
lea edi, [esp + 0x14]
call fcn.10003410
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1001ccc0
Capabilities:
Create thread
Resume thread

Disassembly:
push edi
mov edi, dword [sym.imp.MSVCR100.dll__beginthreadex]
push 0
push 4
push esi
push 0x1001d7a0
push 0
push 0
call edi
push 0
push 4
push esi
push 0x1001d9d0
push 0
push 0
mov dword [esi + 0x54], eax
call edi
mov ecx, dword [esi + 0x54]
add esp, 0x30
mov dword [esi + 0x7c], eax
test ecx, ecx
je 0x1001cd42
test eax, eax
je 0x1001cd40
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
call edi
push 0
push 0
push 1
push 0
mov dword [esi + 0x58], eax
call edi
push 0
mov dword [esi + 0x80], eax
push 1
lea eax, [esi + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
mov ecx, dword [esi + 0x54]
mov edi, dword [sym.imp.KERNEL32.dll_ResumeThread]
push ecx
call edi
mov edx, dword [esi + 0x7c]
push edx
call edi
pop edi
ret
test ecx, ecx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x1001cd4d
push ecx
call edi
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x1001cd57
push eax
call edi
mov dword [esi + 0x54], 0
pop edi
ret
Function at 0x1001cdf0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10185750
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x101ec05c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0x48], ebx
call edx
xor esi, esi
mov dword [ebp - 0x4c], eax
cmp eax, esi
jne 0x1001ce3d
xor al, al
jmp 0x1001cf96
mov dword [ebp - 4], esi
mov edx, dword [eax]
push 1
mov ecx, eax
mov eax, dword [edx + 0x24]
push str.SELECT_rowid_FROM_tbKPCacheImage_WHERE_FDoParsed0_AND__FParseFaileds0_OR_FParseFaileds1_
mov dword [ebp - 0x38], esi
mov byte [ebp - 0x31], 0
call eax
mov edi, eax
mov dword [ebp - 0x38], edi
cmp edi, esi
je 0x1001cf1f
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
test al, al
jne 0x1001cf1f
xor ecx, ecx
push 5
mov eax, 0x101d84d0
lea esi, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], cx
call fcn.100022c0
mov byte [ebp - 4], 1
mov edx, dword [edi]
mov edx, dword [edx + 0x2c]
mov eax, esi
push eax
mov ecx, edi
call edx
mov esi, eax
mov byte [ebp - 4], 0
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 0x50], esi
jb 0x1001cec4
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
test esi, esi
jle 0x1001cf3f
mov dword [ebp - 0x44], ebx
mov byte [ebp - 0x40], 0
lea esi, [ebx + 0x10]
mov byte [ebp - 4], 2
cmp byte [esi], 0
mov dword [ebp - 0x3c], esi
jne 0x1001ceee
lea ecx, [ebp - 0x44]
call fcn.100228f0
mov esi, dword [ebp - 0x3c]
mov cl, byte [ebp - 0x40]
mov byte [esi], cl
mov byte [ebp - 4], 0
mov edi, dword [ebx + 0x48]
lea ecx, [ebx + 0x44]
lea ebx, [ebp - 0x50]
lea eax, [ebp - 0x58]
call fcn.1001e170
cmp dword [eax], edi
jne 0x1001cf28
cmp byte [ebp - 0x40], 0
mov byte [ebp - 0x31], 1
je 0x1001cf1c
mov eax, dword [ebp - 0x44]
mov byte [esi], 0
call fcn.1001f860
mov edi, dword [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
jmp 0x1001cf76
cmp byte [ebp - 0x40], 0
je 0x1001cf39
mov eax, dword [ebp - 0x44]
mov byte [esi], 0
call fcn.1001f860
mov edi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x48]
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
jmp 0x1001ce64
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x1001cf85
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
test edi, edi
je 0x1001cf93
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
mov al, byte [ebp - 0x31]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1017eae7
mov esp, ebp
pop ebp
ret
Function at 0x1001f9b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10183e28
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101ec05c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push ebx
add edi, 0x14
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edi
mov byte [ecx], bl
call fcn.100064c0
mov dword [esi + 0x30], vtable.boost::exception.0
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0xffffffff
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1001fe60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10183e60
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101ec05c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
mov dword [ebp - 4], 0
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push 0
lea edx, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov byte [ecx], 0
call fcn.100064c0
mov dword [esi], vtable.boost::lock_error.0
mov dword [ebp - 4], 1
mov dword [esi + 0x30], vtable.boost::exception.0
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x1001fef3
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4