joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10092700
Capabilities:
Acquire debug privileges

Disassembly:
push 0xffffffffffffffff
push 0x1010f3af
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1013b024]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
lea ecx, [esi + 0x210]
mov dword [esi], vtable.GA::RegistryControl.0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x24], esp
push str.SeDebugPrivilege
mov dword [esp + 0x34], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
call fcn.10094630
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x24], esp
push str.SeAuditPrivilege
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
call fcn.10094630
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x24], esp
push str.SeSecurityPrivilege
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
call fcn.10094630
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x24], esp
push str.SeTakeOwnershipPrivilege
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
call fcn.10094630
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x24], esp
push str.SeManageVolumePrivilege
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
call fcn.10094630
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x24], esp
push str.SeRestorePrivilege
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
call fcn.10094630
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x24], esp
push str.SeBackupPrivilege
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
call fcn.10094630
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x24], esp
push str.SeLoadDriverPrivilege
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
call fcn.10094630
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x24], esp
push str.SeSystemEnvironmentPrivilege
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
call fcn.10094630
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x10092b40
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10110ff0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x1013b024]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
cmp byte [ebp + 0xc], 0
je 0x10092cb4
xor edi, edi
mov dword [esp + 0x18], vtable.MemoryControl.0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x40], edi
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x10]
push ecx
push edi
mov ecx, esi
mov dword [esp + 0x18], edi
call edx
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.100947f0
mov ebx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x10092bc8
mov ecx, dword [esp + 0x20]
push ecx
push edi
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
mov edx, dword [esi]
mov edx, dword [edx + 0x20]
lea eax, [esp + 0x10]
push eax
push ebx
mov ecx, esi
call edx
test al, al
jne 0x10092c04
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x10092bed
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
xor al, al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov byte [esp + 0x40], 1
mov eax, dword [esp + 0x10]
push eax
push ebx
lea ecx, [esp + 0x2c]
call fcn.10094a80
add esp, 8
xor ebx, ebx
lea esp, [esp]
mov esi, dword [esp + 0x28]
test esi, esi
je 0x10092c7d
mov ecx, dword [esp + 0x2c]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x10092c7d
cmp dword [ebx + esi + 0x18], 8
jb 0x10092c62
mov esi, dword [ebx + esi + 4]
jmp 0x10092c66
lea esi, [ebx + esi + 4]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
add edi, 1
add ebx, 0x1c
jmp 0x10092c30
lea ebx, [esp + 0x24]
mov byte [esp + 0x40], 0
call fcn.100035d0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10092c9d
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x10092c9d
cmp eax, 2
je 0x10092c9d
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10093d10
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 8]
push eax
mov eax, dword [ecx + 4]
push 0
push edx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10093d4a
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
pop ecx
ret 0xc
cmp dword [esp], 1
sete al
pop ecx
ret 0xc
Function at 0x10094cd0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push esi
xor esi, esi
xor ebx, ebx
cmp edi, esi
je 0x10094d8c
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_SetFileSecurityA]
mov dword [esp + 0xc], esi
lea ebx, [ebx]
push 0x10124e70
lea eax, [esp + 0x10]
push edi
push eax
call dword [sym.imp.MSVCR80.dll_fopen_s]
add esp, 0xc
test eax, eax
jne 0x10094d10
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x10094d37
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x14], ebx
je 0x10094d1e
add eax, 0x18
jmp 0x10094d20
xor eax, eax
push eax
push 4
push edi
call ebp
add esi, 1
cmp esi, 2
jl 0x10094cf0
pop ebp
pop esi
mov eax, ebx
pop ebx
pop ecx
ret 0xc
mov esi, dword [esp + 0x18]
test esi, esi
je 0x10094d62
mov ebx, dword [esp + 0x1c]
push eax
push ebx
push 1
push esi
call dword [sym.imp.MSVCR80.dll_fread]
add esp, 0x10
cmp ebx, eax
jbe 0x10094d5b
mov byte [eax + esi], 0
jmp 0x10094d7b
mov byte [esi + ebx - 1], 0
jmp 0x10094d7d
push 2
push 0
push eax
call dword [sym.imp.MSVCR80.dll_fseek]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.MSVCR80.dll_ftell]
add esp, 0x10
mov ebx, eax
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 4
pop ebp
pop esi
mov eax, ebx
pop ebx
pop ecx
ret 0xc

Function at 0x10094dd0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov esi, eax
xor edi, edi
test esi, esi
jne 0x10094de5
lea edi, [eax + 2]
push str.IsWow64Process
push str.kernel32
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x1013d1bc], eax
je 0x10094e1f
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x1013d1bc]
test edi, edi
jne 0x10094e35
cmp dword [esp + 0x10], edi
je 0x10094e35
lea ecx, [esp + 0xc]
push ecx
push 0x201
jmp 0x10094e3c
lea edx, [esp + 0xc]
push edx
push 1
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x10094e93
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x10094e6c
test ebp, ebp
jne 0x10094e70
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 8
ret
test ebp, ebp
je 0x10094e93
mov ecx, dword [esp + 0x1c]
push ebp
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push eax
mov eax, dword [esp + 0x20]
push eax
mov dword [esp + 0x28], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 8
ret
Function at 0x10095b00
Capabilities:
Reference sql statements

Disassembly:
mov eax, 0x18008
call fcn.1010ecf0
mov eax, dword [0x1013b024]
xor eax, esp
mov dword [esp + 0x18004], eax
mov eax, str.AppDataLocalGoogleDriveuser_default_sync_config.db
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10095b20
push ebx
push ebp
mov ebp, dword [esi + 8]
sub eax, edx
add ebp, eax
push edi
lea ebx, [ebp + 1]
push ebx
mov dword [esp + 0x10], eax
call dword [sym.imp.MSVCR80.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x10095cb1
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
push eax
push ecx
push ebx
push edi
call dword [sym.imp.MSVCR80.dll_strncpy_s]
mov eax, dword [esp + 0x1c]
mov edx, dword [esi + 8]
push eax
push str.AppDataLocalGoogleDriveuser_default_sync_config.db
push ebx
push edi
mov byte [edi + edx], 0
call dword [sym.imp.MSVCR80.dll_strncat_s]
mov byte [edi + ebp], 0
push 0x7ffe
xor ebp, ebp
lea ecx, [esp + 0x35]
push ebp
push ecx
mov byte [esp + 0x3c], 0
call sub.MSVCR80.dll_memset
add esp, 0x2c
push 0x100953d0
push str.SELECT_data_value_FROM_data_WHERE_entry_key__user_email
push esi
mov eax, edi
lea ecx, [esp + 0x1c]
call fcn.10095940
test eax, eax
jne 0x10095ca7
lea eax, [esp + 0x10]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10095bc0
sub eax, edx
je 0x10095ca7
push 0xfffc
lea edx, [esp + 0x8016]
push ebp
push edx
mov word [esp + 0x801c], bp
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x100951f0
push str.SELECT_data_value_FROM_data_WHERE_entry_key__local_sync_root_path
push esi
mov eax, edi
lea ecx, [esp + 0x801c]
call fcn.10095940
push edi
mov ebx, eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
cmp ebx, ebp
jne 0x10095cb1
lea eax, [esp + 0x8010]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x10095c26
sub eax, edx
sar eax, 1
je 0x10095cb1
mov edi, dword [sym.imp.MSVCR80.dll_wcscat_s]
push str.Google_Drive
mov word [esp + eax*2 + 0x8012], bp
mov eax, dword [esi + 4]
push 0xffff
push eax
call edi
mov ecx, dword [esi + 4]
push 0x101268dc
push 0xffff
push ecx
call edi
mov eax, dword [esi + 4]
lea edx, [esp + 0x8028]
push edx
push 0xffff
push eax
call edi
mov ecx, dword [esi + 4]
push 0x101268dc
push 0xffff
push ecx
call edi
add esp, 0x30
add dword [esi + 0x10], 1
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18004]
xor ecx, esp
call fcn.1010dc50
add esp, 0x18008
ret
push edi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov ecx, dword [esp + 0x18010]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.1010dc50
add esp, 0x18008
ret
Function at 0x1009b780
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x18]
mov dword [eax], 0
cmp dword [0x1013b0d8], 0
push esi
je 0x1009b7e3
mov eax, dword [0x10151798]
test eax, eax
je 0x1009b7b0
push eax
call dword [0x1013b130]
add esp, 4
lea ebx, [esp + 0x10]
mov eax, 0x14
call fcn.100992c0
mov eax, dword [0x10151798]
test eax, eax
je 0x1009b7d1
push eax
call dword [0x1013b138]
add esp, 4
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x1009b7f2
lea eax, [esi + 7]
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0x14
call dword [0x1013b100]
add esp, 4
mov esi, eax
jmp 0x1009b7d5
cmp dword [0x1013b0dc], 0
je 0x1009b837
mov eax, dword [0x1013b1e0]
test eax, eax
je 0x1009b812
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x1009b837
lea ecx, [esi + 4]
push ecx
push 0
push esi
push 0x1009b750
push 0
push 0
mov dword [esi + 8], ebp
mov dword [esi + 0xc], edi
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
test eax, eax
mov dword [esi], eax
jne 0x1009b847
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
cmp dword [esi + 8], 0
jne 0x1009b85f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi + 4], eax
call ebp
add esp, 4
mov dword [esi + 0x10], eax
mov edx, dword [esp + 0x18]
mov dword [edx], esi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret

Function at 0x1009d510
Capabilities:
Encode data using xor

Disassembly:
mov cl, byte [edx]
xor eax, eax
test cl, cl
je 0x1009d53f
push esi
lea esp, [esp]
movzx ecx, cl
movzx ecx, byte [ecx + 0x10119cc8]
lea esi, [eax*8]
xor ecx, esi
add edx, 1
xor eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x1009d520
pop esi
ret

Function at 0x1009d5a0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, eax
lea eax, [esi*8]
cmp eax, 0x400
push edi
mov edi, ecx
jbe 0x1009d5bc
mov esi, 0x80
cmp esi, dword [edi]
jne 0x1009d5c8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [0x10151638]
test eax, eax
je 0x1009d5d3
call eax
lea ecx, [esi*8]
push 0
push ecx
call fcn.10099380
mov esi, eax
mov eax, dword [0x1015163c]
add esp, 8
test eax, eax
mov dword [esp + 0x10], esi
je 0x1009d5f6
call eax
test esi, esi
je 0x1009d5c0
mov edx, dword [edi + 0xc]
push edx
call fcn.10099680
add esp, 4
push esi
mov dword [edi + 0xc], esi
call dword [0x1013b10c]
mov ebp, eax
shr ebp, 3
add esp, 4
lea eax, [ebp*8]
push eax
push 0
push esi
mov dword [edi], ebp
call sub.MSVCR80.dll_memset
mov esi, dword [edi + 8]
add esp, 0xc
test esi, esi
mov dword [edi + 8], 0
je 0x1009d67e
mov edx, dword [esi + 0xc]
mov cl, byte [edx]
xor eax, eax
test cl, cl
je 0x1009d664
movzx ecx, cl
movzx ecx, byte [ecx + 0x10119cc8]
lea ebx, [eax*8]
xor ecx, ebx
add edx, 1
xor eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x1009d646
xor edx, edx
div ebp
mov eax, dword [esp + 0x10]
mov ebx, dword [esi]
lea edx, [eax + edx*8]
mov eax, esi
call fcn.1009d540
test ebx, ebx
mov esi, ebx
jne 0x1009d63b
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x100adfd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
cmp esi, ebx
push edi
mov dword [esp + 0xc], eax
je 0x100ae166
cmp byte [esi + 9], al
je 0x100ae004
add dword [esi + 0xc], 1
cmp byte [esi + 0xa], al
jne 0x100ae004
mov edi, esi
call fcn.100aa5d0
mov eax, dword [esi + 4]
mov edi, dword [eax + 8]
cmp edi, ebx
je 0x100ae151
cmp dword [ebp + 0x10], ebx
je 0x100ae061
test byte [edi + 0x40], 1
jne 0x100ae061
mov al, byte [edi + 0x42]
cmp al, 1
je 0x100ae028
cmp al, 2
jne 0x100ae07a
cmp al, 2
jne 0x100ae032
mov byte [edi + 0x42], 1
jmp 0x100ae035
mov dword [edi + 0x3c], ebx
mov eax, edi
call fcn.100aa9d0
mov ebx, eax
test ebx, ebx
jne 0x100ae04f
push edi
call fcn.100aa950
add esp, 4
mov byte [edi + 0x42], 3
and byte [edi + 0x40], 0xf1
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x100ae145
jmp 0x100ae07a
mov ecx, dword [edi + 0x30]
push ecx
call fcn.10099680
mov edx, dword [ebp + 0xc]
add esp, 4
mov dword [edi + 0x30], ebx
mov byte [edi + 0x42], 4
mov dword [edi + 0x3c], edx
cmp byte [edi + 0x44], 0
mov dword [esp + 0x10], ebx
jl 0x100ae138
lea ebx, [edi + 0x78]
mov dword [esp + 0x14], ebx
nop
mov eax, dword [ebx]
test eax, eax
je 0x100ae10f
mov eax, dword [eax + 0x48]
test byte [eax + 0x18], 0x20
mov esi, dword [eax + 0x10]
je 0x100ae0ec
add dword [esi + 0x80], 0xffffffff
mov ecx, dword [esi + 0x90]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x40]
mov dword [esi + 0x90], eax
mov ebx, dword [ecx]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov eax, dword [esi + 0xa0]
push edx
cdq
push edx
push eax
sub ecx, 1
push 0
push ecx
call fcn.1010ef80
push edx
mov edx, dword [ebx + 0x48]
push eax
mov eax, dword [esi + 0x40]
push eax
call edx
mov ebx, dword [esp + 0x24]
add esp, 0x10
jmp 0x100ae0f1
call fcn.100a1610
cmp dword [esi + 0x80], 0
jne 0x100ae10f
mov eax, dword [esi + 0xd4]
cmp dword [eax + 0xc], 0
jne 0x100ae10f
push esi
call fcn.100a3c40
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [ebx], 0
movsx ecx, byte [edi + 0x44]
add eax, 1
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
jle 0x100ae090
mov esi, dword [ebp + 8]
xor ebx, ebx
mov edi, dword [edi + 8]
cmp edi, ebx
jne 0x100ae012
jmp 0x100ae151
push 0
push ebx
push esi
call fcn.100adfd0
add esp, 0xc
cmp byte [esi + 9], 0
je 0x100ae162
add dword [esi + 0xc], 0xffffffff
jne 0x100ae162
call fcn.100aa590
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100bb630
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov edi, eax
call fcn.100ae5e0
movsx edx, byte [edi + 0x44]
mov eax, dword [esp + 0x68]
mov ecx, dword [edi + 0x18]
mov ebx, dword [edi + 0x10]
xor esi, esi
mov dword [esp + 0x30], eax
mov word [esp + 0x18], si
mov dword [esp + 0x28], esi
mov eax, dword [edi + edx*4 + 0x78]
mov eax, dword [eax + 0x3c]
movzx edx, word [edi + 0x20]
sub eax, ecx
cmp edx, eax
jae 0x100bb66e
mov eax, edx
cmp ebx, eax
ja 0x100bb687
mov edi, ecx
mov ebp, ebx
mov dword [esp + 0x20], edi
mov word [esp + 0x18], 0x1010
mov dword [esp + 0x1c], ebp
jmp 0x100bb6a8
push 1
push esi
lea esi, [esp + 0x18]
mov eax, edi
call fcn.100b6860
add esp, 8
test eax, eax
jne 0x100bb774
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov al, byte [edi]
cmp al, 0x80
jae 0x100bb6b3
movzx ebx, al
jmp 0x100bb6c2
lea esi, [esp + 0x68]
mov ecx, edi
call fcn.1009cf90
mov ebx, dword [esp + 0x68]
cmp ebx, 3
jb 0x100bb737
cmp ebx, ebp
jg 0x100bb737
mov al, byte [ebx + edi - 1]
cmp al, 0x80
lea ecx, [ebx + edi - 1]
jae 0x100bb6dc
movzx edx, al
jmp 0x100bb6e9
lea esi, [esp + 0x68]
call fcn.1009cf90
mov edx, dword [esp + 0x68]
lea ecx, [edx - 1]
cmp ecx, 8
ja 0x100bb737
cmp edx, 7
je 0x100bb737
movzx eax, byte [edx + 0x1011a490]
lea ecx, [eax + ebx]
cmp ebp, ecx
jb 0x100bb737
mov ecx, ebp
sub ecx, eax
add ecx, edi
lea eax, [esp + 0x38]
call fcn.100ba4e0
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [eax], edx
mov dword [eax + 4], ecx
lea eax, [esp + 0x10]
call fcn.100b6030
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
test dword [esp + 0x18], 0x2460
jne 0x100bb748
cmp dword [esp + 0x28], 0
je 0x100bb751
lea eax, [esp + 0x10]
call fcn.100b5ff0
push 0x1012bdf8
push 0x12245
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.1009b570
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
Function at 0x100bb780
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, dword [eax + 0x14]
mov eax, edi
call fcn.100ae5e0
mov ebx, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
mov ecx, ebx
add ecx, 0xffffffff
adc eax, 0xffffffff
test eax, eax
ja 0x100bb852
jb 0x100bb7b4
cmp ecx, 0x7ffffffe
ja 0x100bb852
mov ecx, dword [esp + 0x3c]
mov word [esp + 0x18], 0
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], 0
movsx edx, byte [edi + 0x44]
mov eax, dword [edi + edx*4 + 0x78]
mov ecx, dword [edi + 0x18]
mov eax, dword [eax + 0x3c]
movzx edx, word [edi + 0x20]
sub eax, ecx
cmp edx, eax
jae 0x100bb7e5
mov eax, edx
cmp ebx, eax
ja 0x100bb7fa
mov dword [esp + 0x20], ecx
mov word [esp + 0x18], 0x1010
mov dword [esp + 0x1c], ebx
jmp 0x100bb810
push 1
push 0
lea esi, [esp + 0x18]
mov eax, edi
call fcn.100b6860
add esp, 8
test eax, eax
jne 0x100bb87f
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push 0
push ecx
push edx
push eax
call fcn.100bacb0
mov ecx, dword [esp + 0x54]
add esp, 0x10
test dword [esp + 0x18], 0x2460
mov dword [ecx], eax
jne 0x100bb840
cmp dword [esp + 0x28], 0
je 0x100bb849
lea eax, [esp + 0x10]
call fcn.100b5ff0
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
mov edx, dword [esp + 0x44]
push 0x1012bdf8
push 0x12267
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
mov dword [edx], 0
call fcn.1009b570
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x10107bb0
Capabilities:
Check os version

Disassembly:
sub esp, 0x128
mov eax, dword [0x1013b024]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push esi
push edi
push 0x11c
lea eax, [esp + 0x18]
push 0
push eax
mov ebx, ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edi, eax
test edi, edi
mov dword [esp + 0x10], edi
jne 0x10107c4c
push 0xcd
mov esi, str..green.cpp
call fcn.10107420
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call sub.Comn.dll_GetObjectLog
mov edx, dword [eax]
push esi
push ebx
push str.GetVersionEx__LPOSVERSIONINFO_osvi_
push str._s_return_code:_0x_08X___s.
push eax
mov eax, dword [edx + 0xc]
call eax
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.1010dc50
add esp, 0x128
ret
mov ecx, dword [esp + 0x18]
cmp ecx, 5
mov edx, dword [esp + 0x1c]
jne 0x10107c63
cmp edx, 2
jne 0x10107c63
lea eax, [edx - 1]
jmp 0x10107c65
xor eax, eax
cmp ecx, 5
mov dword [ebx + 0xc], eax
jne 0x10107c76
cmp edx, 1
jne 0x10107c76
mov eax, edx
jmp 0x10107c78
xor eax, eax
cmp ecx, 6
sbb ecx, ecx
push str.IsWow64Process
add ecx, 1
push str.kernel32
mov dword [ebx + 0x10], eax
mov dword [ebx + 8], ecx
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x10107cb9
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov eax, dword [esp + 0xc]
test eax, eax
mov dword [ebx + 4], eax
je 0x10107cda
xor eax, eax
cmp dword [ebx + 0x10], eax
setne al
mov dword [ebx + 0x14], eax
xor eax, eax
cmp dword [ebx + 8], eax
setne al
mov dword [ebx + 0x18], eax
push ebp
call sub.Comn.dll_GetObjectLog
mov ebp, eax
mov edi, dword [ebp]
push 0xda
mov esi, str..green.cpp
add edi, 0xc
call fcn.10107420
push eax
mov eax, dword [edi]
push str._s:__SystemVersion_
push ebp
call eax
add esp, 0x10
call sub.Comn.dll_GetObjectLog
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
mov ebp, eax
mov edi, dword [ebp]
push edx
push 0xdb
add edi, 0xc
call fcn.10107420
add esp, 4
push eax
mov eax, dword [edi]
push str._s:_System_version:__d._d
push ebp
call eax
add esp, 0x14
call sub.Comn.dll_GetObjectLog
mov ecx, dword [ebx + 4]
mov ebp, eax
mov edi, dword [ebp]
push ecx
push 0xdc
add edi, 0xc
call fcn.10107420
mov edx, dword [edi]
add esp, 4
push eax
push str._s:_IsWow64:__d
push ebp
call edx
mov ecx, dword [esp + 0x144]
mov eax, dword [esp + 0x24]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1010dc50
add esp, 0x128
ret