joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d5e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1012c0d2
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x103b2018]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor ebx, ebx
lea ecx, [esi + 0xc]
mov dword [esi], vtable.RankWordSetting.0
mov byte [esi + 4], bl
mov byte [esi + 5], bl
mov byte [esi + 6], bl
mov dword [esi + 8], ebx
call dword [0x1013762c]
lea ecx, [esi + 0x10]
mov dword [esp + 0x18], ebx
call dword [0x1013762c]
fldz
fst qword [esi + 0x18]
mov edi, 1
fstp qword [esi + 0x20]
mov eax, 4
fld qword [0x1038be38]
lea ecx, [esi + 0xa4]
fst qword [esi + 0x38]
mov dword [esi + 0x14], ebx
fstp qword [esi + 0x40]
mov dword [esi + 0x28], edi
fld qword [0x1038bd70]
mov dword [esi + 0x2c], edi
fst qword [esi + 0x48]
mov dword [esi + 0x30], edi
fst qword [esi + 0x68]
mov dword [esi + 0x34], ebx
fst qword [esi + 0x70]
mov dword [esi + 0x50], eax
fst qword [esi + 0x78]
mov dword [esi + 0x54], eax
fld qword [0x1038be30]
mov dword [esi + 0x58], eax
fstp qword [esi + 0x80]
mov byte [esi + 0x5c], bl
mov byte [esi + 0x5d], 1
mov byte [esi + 0x5e], 1
fstp qword [esi + 0x88]
mov byte [esi + 0x5f], 1
mov dword [esi + 0x60], ebx
mov byte [esi + 0x90], bl
mov byte [esi + 0x91], bl
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
call dword [0x1013762c]
mov dword [esi + 0xa8], vtable.CArray_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const__.0
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb0], ebx
mov byte [esp + 0x18], 3
push 0x1036d0c0
lea ecx, [esi + 0xd0]
mov byte [esi + 0xbc], bl
mov byte [esi + 0xbd], bl
mov dword [esi + 0xc0], ebx
mov byte [esi + 0xc4], 1
mov dword [esi + 0xc8], 2
mov byte [esi + 0xcc], bl
call dword [0x10137604]
mov dword [esi + 0xd4], vtable.CArray_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const__.0
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xdc], ebx
mov byte [esp + 0x18], 5
push 0x10137da4
lea ecx, [esi + 0xf0]
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], edi
call dword [0x10137604]
mov dword [esi + 0xf4], 0x14
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x1000e460
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1012c056
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x103b2018]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea eax, [edi + 0x78]
push eax
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea esi, [edi + 0x4c]
mov dword [esi], vtable.CMap_unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64___int__int_.0
call fcn.10014640
lea esi, [edi + 0x30]
mov byte [esp + 0x14], 0
mov dword [esi], vtable.CMap_unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64___int__int_.0
call fcn.10014640
lea esi, [edi + 0x14]
mov dword [esp + 0x14], 0xffffffff
mov dword [esi], vtable.CMap_unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64___int__int_.0
call fcn.10014640
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x1000e950
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x1012c01b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x103b2018]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esp + 0x20], ebx
lea edi, [esi + 8]
mov ecx, edi
mov dword [esi], vtable.CBaiduUser.0
call dword [0x1013762c]
lea ebp, [esi + 0xc]
mov ecx, ebp
call dword [0x1013762c]
lea ecx, [esi + 0x10]
call dword [0x1013762c]
lea ecx, [esi + 0x14]
call dword [0x1013762c]
lea ecx, [esi + 0x18]
call dword [0x1013762c]
lea ecx, [esi + 0x1c]
call dword [0x1013762c]
lea ecx, [esi + 0x20]
call dword [0x1013762c]
mov byte [esi + 0x35], bl
mov byte [esi + 0x37], bl
mov byte [esi + 0x38], bl
mov dword [esi + 0x3c], 6
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x50], bl
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x70], vtable.CArray_class_CAccountInfo___class_CAccountInfo__.0
mov dword [esi + 0x74], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x84], vtable.CArray_class_CLoginUnit___class_CLoginUnit__.0
mov dword [esi + 0x88], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x98], vtable.CArray_int__int_.0
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa0], ebx
lea eax, [esi + 0xb8]
push 0xfa0
mov byte [esi + 0xac], bl
mov byte [esi + 0xad], bl
mov dword [esi + 0xb0], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push eax
call ebx
lea eax, [esi + 0xd0]
push 0xfa0
push eax
call ebx
lea eax, [esi + 0xe8]
push 0xfa0
push eax
call ebx
lea eax, [esp + 0x28]
mov byte [esp + 0x20], 0xf
push eax
lea ecx, [esi + 0x10]
call dword [0x101375f4]
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esi + 0x14]
call dword [0x101375f4]
mov dl, byte [esp + 0x34]
lea eax, [esp + 0x38]
push eax
lea ecx, [esi + 0x1c]
mov byte [esi + 0x36], dl
call dword [0x101375f4]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xb4], ecx
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
mov ecx, ebp
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14
Function at 0x1000fef0
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [ecx + 0x5c]
test eax, eax
je 0x1000ff01
mov eax, dword [eax + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
ret

Function at 0x1000ff10
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1012feb9
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x103b2018]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x1000ffa8
mov eax, dword [eax + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x1000ffa8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
mov edi, eax
call dword [sym.imp.MSVCR90.dll__time64]
add esp, 4
push str._H:_M:_S
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
call fcn.10005710
mov dword [esp + 0x28], 0
mov edx, dword [eax]
mov eax, dword [esi + 0x64]
push edx
push edi
push 0x1036d540
push eax
call sub.NirvanaUtils.dll_public:_long_int___cdecl_GLog::WriteLogFormat_wchar_t_const__
add esp, 0x10
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10014e20
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x1012b151
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x103b2018]
xor eax, esp
mov dword [esp + 0x198], eax
mov eax, dword [0x103b2018]
xor eax, esp
push eax
lea eax, [esp + 0x1a4]
mov dword fs:[0], eax
mov dword [esp + 4], 0
lea eax, [esp + 0xc]
push eax
push 0x202
mov dword [esp + 0x1b4], 0
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
test eax, eax
je 0x10014e8d
mov ecx, esi
call dword [0x10137604]
jmp 0x10014f14
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [esp + 0x1b4]
push ecx
lea ecx, [esp + 0xc]
call dword [0x1013780c]
mov byte [esp + 0x1ac], 1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x10014ed2
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 0
mov ecx, esi
call dword [0x10137604]
jmp 0x10014f0a
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [esp + 8]
call dword [0x10137618]
lea eax, [esp + 4]
push eax
mov ecx, esi
mov byte [esp + 0x1b0], 2
call dword [0x1013761c]
lea ecx, [esp + 4]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
lea ecx, [esp + 0x1b4]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
mov ecx, dword [esp + 0x1a4]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.10126cba
add esp, 0x1ac
ret
Function at 0x10015070
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1012dd63
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x103b2018]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, dword [esp + 0x30]
lea ecx, [edi + 0x1c]
mov dword [edi], vtable.CLoginUnit.0
call dword [0x1013762c]
lea ebp, [edi + 0x20]
xor ebx, ebx
mov ecx, ebp
mov dword [esp + 0x28], ebx
call dword [0x1013762c]
lea ecx, [edi + 0x24]
call dword [0x1013762c]
lea ecx, [edi + 0x3c]
call dword [0x1013762c]
lea esi, [edi + 0x40]
mov ecx, esi
call dword [0x1013762c]
lea ecx, [edi + 0x44]
call dword [0x1013762c]
mov dword [edi + 0x60], ebx
mov dword [edi + 0x64], ebx
mov dword [edi + 0x68], ebx
mov dword [edi + 0x6c], ebx
mov dword [edi + 0x70], vtable.CMap_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const___class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const__.0
mov dword [edi + 0x74], ebx
mov dword [edi + 0x78], 0x11
mov dword [edi + 0x7c], ebx
mov dword [edi + 0x80], ebx
mov dword [edi + 0x84], ebx
mov dword [edi + 0x88], 0xa
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x28], 6
mov eax, 1
mov dword [edi + 0x2c], eax
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 0x58], ecx
push str.www2.baidu.com
mov ecx, esi
mov dword [edi + 0x28], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x48], 0xffffffff
mov dword [edi + 0x38], eax
call dword [0x10137600]
mov edx, dword [esp + 0x3c]
lea esi, [esp + 0x18]
mov byte [edi + 0x18], bl
mov dword [edi + 0x54], ebx
mov dword [edi + 0x5c], edx
mov byte [edi + 0x4c], bl
mov byte [edi + 0x19], bl
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
call fcn.1000d160
mov ecx, dword [eax]
mov dword [edi + 0x60], ecx
mov edx, dword [eax + 4]
lea esi, [esp + 0x18]
mov dword [edi + 0x64], edx
call fcn.1000d160
mov ecx, dword [eax]
mov dword [edi + 0x68], ecx
mov edx, dword [eax + 4]
mov ecx, ebp
mov dword [edi + 0x6c], edx
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
mov byte [edi + 0x4d], 1
mov dword [edi + 0x50], ebx
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10
Function at 0x100158c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10134a7c
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x103b2018]
xor eax, esp
mov dword [esp + 0x21c], eax
push esi
push edi
mov eax, dword [0x103b2018]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
cmp dword [ebx + 0x38], 0
jne 0x1001590c
xor eax, eax
jmp 0x100159bb
push 0x400
lea eax, [esp + 0x20]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x1c]
lea esi, [ebx + 0x24]
push ecx
mov ecx, esi
call dword [0x10137600]
push 0x5c
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::ReverseFind]
push eax
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
push eax
mov ecx, esi
mov dword [esp + 0x23c], 0
call dword [0x101375f4]
lea ecx, [esp + 0x14]
mov dword [esp + 0x238], 0xffffffff
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea eax, [esp + 0x18]
push esi
push eax
mov edi, 0x1036dcac
call fcn.100095f0
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea ecx, [esp + 0x18]
sete byte [esp + 0x13]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp byte [esp + 0x13], 0
je 0x100159ad
mov ecx, dword [ebx + 0x58]
mov byte [ecx + 4], 1
jmp 0x100159b4
mov edx, dword [ebx + 0x58]
mov byte [edx + 4], 0
mov ecx, ebx
call fcn.10015ad0
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.10126cba
mov esp, ebp
pop ebp
ret
Function at 0x1001e950
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x10132c71
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x103b2018]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [esp + 0x10]
mov eax, edi
call fcn.1001e930
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esp + 0x18], vtable.CppSQLite3DB.0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0xea60
push ecx
mov edx, esi
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0x34], 1
call dword [0x1013761c]
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.1001ea50
cmp eax, ebx
je 0x1001ea1b
lea esi, [esp + 0x18]
call fcn.1001eb90
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x1001e9e8
push ebx
call fcn.10082060
add esp, 4
xor eax, eax
mov byte [esp + 0x2c], bl
cmp eax, ebx
je 0x1001e9f9
push ebx
call fcn.10082060
add esp, 4
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x20
ret
mov byte [esp + 0x2c], bl
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x1001ea30
push ebx
call fcn.10082060
add esp, 4
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x20
ret

Function at 0x1001ea50
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101329cb
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x103b2018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call dword [0x1013761c]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0xfde9
lea edx, [ebp - 0x20]
push edx
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call dword [0x1013761c]
call sub.NirvanaUtils.dll_char____cdecl_UnicodeToChar_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____int___unsigned_int_
mov esi, eax
mov byte [ebp - 4], 2
mov ebx, dword [ebp + 0xc]
add esp, 0xc
mov dword [ebp - 0x1c], esi
call fcn.1001a200
push esi
call sub.mfc90u.dll_delete__
add esp, 4
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1001fc00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10132ad1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x103b2018]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call dword [0x1013762c]
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x10]
push str.DELETE_FROM_my_running_list_WHERE_program_id_d
xor ebx, ebx
push ecx
mov dword [esp + 0x30], ebx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov dword [esp + 0x1c], vtable.CppSQLite3DB.0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0xea60
add esp, 8
mov esi, esp
mov eax, edi
mov byte [esp + 0x28], 1
mov dword [esp + 0x30], esp
call fcn.1001e930
lea edx, [esp + 0x14]
push edx
push edi
call fcn.1001ea50
cmp eax, ebx
je 0x1001fcd9
push ebx
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
lea esi, [esp + 0x1c]
call dword [0x1013761c]
push edi
mov ecx, esi
call fcn.10020700
movzx esi, al
mov byte [esp + 0x24], bl
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x1001fcb9
push ebx
call fcn.10082060
add esp, 4
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret 4
mov byte [esp + 0x24], bl
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x1001fcee
push ebx
call fcn.10082060
add esp, 4
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret 4
Function at 0x10026f70
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test ecx, ecx
jle 0x10026f9d
push esi
push edi
jmp 0x10026f80
movzx esi, byte [edx]
movzx esi, byte [esi + 0x103691e8]
lea edi, [eax*8]
xor esi, edi
dec ecx
xor eax, esi
inc edx
test ecx, ecx
jg 0x10026f80
pop edi
pop esi
ret

Function at 0x10027000
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
lea eax, [esi*8]
cmp eax, 0x400
jbe 0x1002701d
mov esi, 0x80
cmp esi, dword [edi]
jne 0x1002702a
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [0x103c2fd0]
test eax, eax
je 0x10027035
call eax
lea ecx, [esi*8]
push ecx
call fcn.10023b40
mov ebp, eax
mov eax, dword [0x103c2fd4]
add esp, 4
mov dword [esp + 0x10], ebp
test eax, eax
je 0x10027056
call eax
test ebp, ebp
je 0x10027021
mov edx, dword [edi + 0xc]
push edx
call sym.NirvanaBiz.dll_sqlite3_free
add esp, 4
push ebp
mov dword [edi + 0xc], ebp
call dword [0x103b382c]
mov ebx, eax
shr ebx, 3
add esp, 4
lea eax, [ebx*8]
push eax
push 0
push ebp
mov dword [esp + 0x28], ebx
mov dword [edi], ebx
call fcn.1012a6a0
mov ecx, dword [edi + 8]
add esp, 0xc
mov dword [edi + 8], 0
test ecx, ecx
je 0x1002713f
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
xor eax, eax
test edx, edx
jle 0x100270d3
nop
movzx ebx, byte [esi]
movzx ebx, byte [ebx + 0x103691e8]
lea ebp, [eax*8]
xor ebx, ebp
dec edx
xor eax, ebx
inc esi
test edx, edx
jg 0x100270b0
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
xor edx, edx
div ebx
lea eax, [ebp + edx*8]
test eax, eax
je 0x1002711a
mov esi, dword [eax]
test esi, esi
je 0x100270f0
mov edx, dword [eax + 4]
jmp 0x100270f2
xor edx, edx
inc esi
mov dword [eax], esi
mov dword [eax + 4], ecx
test edx, edx
je 0x1002711a
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x10027112
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x10027133
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x10027133
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x10027129
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x100270a3
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
Function at 0x1002e480
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [edi + 0x3c]
sub esp, 0xc
push ebx
push ebp
xor ebp, ebp
push esi
mov esi, dword [esp + 0x1c]
cmp dword [edx], ebp
jne 0x1002e4b7
mov eax, dword [edi + 0x78]
mov ecx, dword [edi]
or eax, 0x1e
push ebp
and eax, 0x87f7f
push eax
mov eax, dword [ecx + 0x18]
push edx
push ebp
push ecx
call eax
mov ebp, eax
add esp, 0x14
test ebp, ebp
jne 0x1002e5cb
mov ecx, dword [edi + 0x18]
cmp ecx, dword [edi + 0x24]
jbe 0x1002e4f3
mov eax, dword [edi + 0x80]
push 0
cdq
push ecx
push edx
push eax
call fcn.1012ab20
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 5
push eax
mov eax, dword [ecx + 0x28]
call eax
mov ecx, dword [edi + 0x18]
add esp, 0xc
mov dword [edi + 0x24], ecx
test esi, esi
je 0x1002e5cb
mov ebx, dword [esi + 0x14]
cmp ebx, dword [edi + 0x18]
ja 0x1002e5bc
test byte [esi + 0x18], 0x20
jne 0x1002e5bc
mov eax, dword [edi + 0x80]
cdq
push edx
push eax
lea ecx, [ebx - 1]
push 0
push ecx
call fcn.1012ab20
mov dword [esp + 0x10], eax
mov ebp, edx
cmp ebx, 1
jne 0x1002e535
call fcn.1002d780
mov eax, dword [edi + 0xb0]
test eax, eax
jne 0x1002e544
mov esi, dword [esi + 4]
jmp 0x1002e55d
mov edx, dword [esi + 4]
mov ecx, dword [edi + 0xbc]
push 6
push ebx
push edx
push ecx
call eax
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002e5d4
mov ecx, dword [edi + 0x80]
mov eax, dword [edi + 0x3c]
mov edx, dword [eax]
push ebp
mov ebp, dword [esp + 0x14]
push ebp
push ecx
push esi
push eax
mov eax, dword [edx + 0xc]
call eax
add esp, 0x14
mov ebp, eax
cmp ebx, 1
jne 0x1002e59b
mov ecx, dword [esi + 0x18]
lea eax, [esi + 0x18]
mov dword [edi + 0x64], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0x68], edx
mov ecx, dword [eax + 8]
mov dword [edi + 0x6c], ecx
mov edx, dword [eax + 0xc]
mov dword [edi + 0x70], edx
cmp ebx, dword [edi + 0x20]
jbe 0x1002e5a3
mov dword [edi + 0x20], ebx
inc dword [edi + 0xa8]
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 4]
push eax
mov eax, dword [edi + 0x58]
call fcn.1003cdf0
add esp, 4
mov esi, dword [esi + 0xc]
mov dword [esp + 0x1c], esi
test ebp, ebp
je 0x1002e4f3
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0xc
ret