joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49e9b0
Capabilities:
Accept command line arguments
Delete directory
Get common file path

Disassembly:
mov eax, 0x14f4
call fcn.0040d3e0
cmp dword [0x260f27c], 0x37
jne 0x49eab4
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_RequestDeviceWakeup]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
push 0
lea eax, [esp + 0x4f4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
lea ecx, [esp + 0xf4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 0x28]
push edx
push 0
lea eax, [esp + 0x34]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
lea ecx, [esp + 0x24]
push ecx
push 0x403268
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
lea edx, [esp + 0xcf0]
push edx
push 0
push 0x4032d4
push 0x40330c
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
call dword [sym.imp.KERNEL32.dll_SetFileApisToANSI]
xor eax, eax
xor ecx, ecx
lea edx, [esp + 0x14]
mov word [esp + 4], ax
mov dword [esp + 6], eax
mov dword [esp + 0xa], eax
mov dword [esp + 0xe], eax
mov word [esp + 0x12], ax
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov word [esp + 0x22], ax
push edx
lea eax, [esp + 8]
mov word [esp + 0x18], cx
push eax
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_TzSpecificLocalTimeToSystemTime]
mov edx, dword [0x260f280]
mov dword [esp], edx
mov eax, 0x5d1
add dword [esp], eax
mov eax, dword [esp]
mov cl, byte [eax + esi]
mov edx, dword [0x4c500c]
mov byte [edx + esi], cl
add esp, 0x14f4
ret
Function at 0x49eae0
Capabilities:
Manipulate console buffer

Disassembly:
sub esp, 0x78
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax]
mov edx, dword [0x4bbf34]
push ebx
push ebp
push esi
mov esi, dword [eax + 4]
mov eax, dword [0x4bbf30]
mov dword [esp + 0x20], eax
mov eax, dword [0x4bbf38]
mov dword [esp + 0x24], edx
mov edx, dword [0x4bbf3c]
push edi
mov dword [esp + 0x14], ecx
mov edi, 0xc6ef3720
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], 0x20
jmp 0x49eb34
mov ecx, dword [esp + 0x14]
mov eax, ecx
shl eax, 4
add eax, dword [esp + 0x1c]
lea ebx, [edi + ecx]
shr ecx, 5
cmp dword [0x260f27c], 0x1b
mov dword [esp + 0x10], eax
mov ebp, ecx
jne 0x49eb60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov eax, dword [esp + 0x10]
add ebp, dword [esp + 0x20]
mov dword [0x260522c], 0
xor ebp, ebx
xor ebp, eax
sub esi, ebp
mov edx, esi
shl edx, 4
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x24]
add dword [esp + 0x10], eax
cmp dword [0x260f27c], 0x1be
lea ebx, [edi + esi]
jne 0x49eba8
lea eax, [esp + 0x2c]
push eax
push 0
lea ecx, [esp + 0x38]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov edx, esi
shr edx, 5
add edx, dword [esp + 0x28]
mov dword [0x2605230], 0xff6b3619
xor edx, ebx
xor dword [esp + 0x10], edx
mov dword [0x2605234], 0xffffffff
mov eax, dword [esp + 0x10]
sub dword [esp + 0x14], eax
add edi, 0x61c88647
dec dword [esp + 0x18]
jne 0x49eb30
cmp dword [0x260f27c], 0x8d4
jne 0x49ec14
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x78
ret 4
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x14]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
add esp, 0x78
ret 4

Function at 0x49ec90
Capabilities:
Manipulate console buffer

Disassembly:
push ecx
mov eax, dword [0x260f27c]
shr eax, 3
push esi
mov esi, dword [0x4c500c]
test eax, eax
je 0x49ecd4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push edi
mov edi, eax
mov edi, edi
cmp dword [0x260f27c], 0x1c
jne 0x49ecc6
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
call ebx
push esi
call fcn.0049eae0
add esi, 8
dec edi
jne 0x49ecb0
pop edi
pop ebx
pop esi
pop ecx
ret
Function at 0x10002aa0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10117fe5
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10140004]
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 eax, dword [ebp + 0xc]
lea ecx, [esi + 0x34]
mov ebx, dword [ebp + 8]
lea edx, [esi + 0xc]
push ecx
push edx
mov dword [ebp - 0x3c], eax
lea edi, [esi + 0x10]
mov dword [esi + 8], eax
lea eax, [esi + 0x18]
push eax
push edi
push dword [ebp - 0x3c]
mov dword [esi], 6
push ebx
mov dword [esi + 4], ebx
mov dword [edx], 0
mov dword [esi + 0x30], 0
mov dword [ecx], 0
mov dword [edi], 6
mov dword [esi + 0x14], eax
call dword [sym.imp.node.exe_napi_get_cb_info]
add esp, 0x18
test eax, eax
je 0x10002b6c
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x38]
call fcn.100024f0
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.100029b0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10002bf5
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10002beb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002c41
jmp 0x10002beb
mov eax, dword [edi]
cmp eax, dword [esi]
jbe 0x10002c21
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10104952
add esp, 4
mov dword [esi + 0x30], eax
mov dword [esi + 0x14], eax
push 0
push 0
push eax
push edi
push dword [ebp - 0x3c]
push ebx
call dword [sym.imp.node.exe_napi_get_cb_info]
add esp, 0x18
test eax, eax
je 0x10002c21
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x38]
call fcn.100024f0
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.100029b0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10002bf5
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10002beb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002c46
push edx
push ecx
call fcn.10104944
add esp, 8
mov eax, dword [ebp - 0x34]
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
test eax, eax
je 0x10002c21
cmp byte [ebp - 0x30], 0
jne 0x10002c21
push eax
push dword [ebp - 0x38]
call dword [sym.imp.node.exe_napi_delete_reference]
add esp, 8
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.10104901
mov esp, ebp
pop ebp
ret 8
call fcn.10107f9f
call fcn.10107f9f
int3
Function at 0x100030f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101180bb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10140004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi], 0x10131a4c
mov dword [esi + 4], 0
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov byte [esi + 0x14], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0xf
mov byte [esi + 0x1c], 0
lea ecx, [eax + 4]
mov byte [ebp - 4], 1
call fcn.10006690
lea ecx, [ebp + 0xc]
call fcn.10001430
test eax, eax
je 0x10003198
lea ecx, [ebp + 0xc]
call fcn.10001430
cmp eax, 7
jne 0x10003198
push ecx
lea eax, [ebp + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.10006850
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 0xc
Function at 0x10037f10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [0x10140004]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push ebp
mov ebp, edx
mov dword [esp + 0x18], ecx
push esi
mov esi, dword [esp + 0x78]
push edi
cmp word [ebp + 0x18], 0
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], eax
jne 0x10037f74
push 0x10131d5c
push 0x1291d
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.1001fea0
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.10104901
add esp, 0x68
ret
push 0
lea ecx, [esp + 0x2c]
push 0
push ecx
lea edx, [esp + 0x20]
mov ecx, eax
call fcn.10036340
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x100380fc
mov eax, dword [ebp + 0x24]
add esi, 4
push eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x4c]
push ebp
call eax
mov edi, dword [esp + 0x1c]
lea edx, [ebx + 0xd]
movzx eax, ax
mov ecx, edi
mov dword [esp + 0x24], eax
call fcn.100325b0
lea eax, [esp + 0x20]
mov dword [esp + 0x38], 1
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x38]
lea eax, [esp + 0x24]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x44], eax
xor edx, edx
mov eax, dword [ebp + 0x3c]
push edi
push 1
mov dword [esp + 0x50], eax
mov dword [esp + 0x68], 2
call fcn.100377f0
mov ebx, eax
add esp, 0x10
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x1003800e
test edi, edi
je 0x100380fc
jmp 0x100380f4
mov ecx, dword [esp + 0x24]
movzx eax, word [edi + 0x12]
mov ecx, dword [ecx + 0x28]
sub ecx, eax
movzx eax, word [esp + 0x1c]
sub ecx, eax
mov eax, dword [esp + 0x24]
sub ecx, 2
mov dword [edi + 0x14], ecx
cmp byte [eax + 0x11], 0
je 0x10038072
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x24]
push dword [ecx + 4]
mov ecx, eax
push 5
call fcn.100310c0
mov ax, word [esp + 0x28]
add esp, 0xc
cmp ax, word [edi + 0x10]
jbe 0x1003806e
lea eax, [esp + 0x14]
mov edx, edi
push eax
push dword [esp + 0x1c]
mov ecx, edi
call fcn.100317b0
add esp, 8
mov ebx, dword [esp + 0x14]
movzx ecx, word [ebp + 0x18]
mov eax, dword [ebp + 0x40]
mov ax, word [eax + ecx*2 - 2]
mov ch, al
mov cl, ah
movzx eax, word [ebp + 0x1a]
movzx ecx, cx
and ecx, eax
add ecx, dword [ebp + 0x38]
mov dword [esp + 0x18], ecx
lea edx, [ecx + 9]
mov al, byte [ecx]
inc ecx
mov dword [esp + 0x18], ecx
test al, al
jns 0x100380a4
cmp ecx, edx
jb 0x10038095
lea edx, [ecx + 9]
mov al, byte [ecx]
inc ecx
mov byte [esi], al
inc esi
mov dword [esp + 0x18], ecx
test al, al
jns 0x100380b9
cmp ecx, edx
jb 0x100380a7
test ebx, ebx
jne 0x100380df
push dword [ebp + 4]
mov eax, dword [esp + 0x30]
sub esi, eax
mov ebp, dword [esp + 0x24]
mov ecx, ebp
push ebx
push esi
push eax
movzx edx, word [ebp + 0x18]
call fcn.100374e0
add esp, 0x10
mov ebx, eax
jmp 0x100380e3
mov ebp, dword [esp + 0x20]
movzx ecx, byte [ebp + 9]
mov eax, dword [ebp + 0x38]
mov edx, dword [esp + 0x28]
bswap edx
mov dword [ecx + eax + 8], edx
mov ecx, dword [edi + 0x48]
call fcn.1002c840
mov ecx, dword [esp + 0x74]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10104901
add esp, 0x68
ret
Function at 0x10050440
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov ebp, edx
push 0
push 0x14
mov dword [ebx], 0
call fcn.1001cb50
mov esi, eax
add esp, 8
test esi, esi
jne 0x10050468
lea eax, [esi + 7]
pop edi
pop esi
pop ebp
pop ebx
ret
cmp byte [0x10140afc], 0
mov edi, dword [esp + 0x14]
je 0x100504b0
mov eax, dword [0x10140bf8]
test eax, eax
je 0x1005048c
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x100504b0
lea eax, [esi + 4]
mov dword [esi + 8], ebp
push eax
push 0
push esi
push 0x10020360
push 0
push 0
mov dword [esi + 0xc], edi
call fcn.101082cf
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x100504bd
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x100504d5
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi + 4], eax
call ebp
add esp, 4
mov dword [esi + 0x10], eax
pop edi
mov dword [ebx], esi
xor eax, eax
pop esi
pop ebp
pop ebx
ret
Function at 0x10071280
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
mov eax, edx
mov ebx, ecx
mov ecx, dword [esp + 0x18]
push ebp
push esi
cmp byte [eax + 0x2b], 1
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
je 0x100713a5
mov ebp, dword [eax + 8]
test ebp, ebp
je 0x100713a5
nop dword [eax]
test ecx, ecx
je 0x100712fb
movzx eax, word [ebp + 0x34]
xor edi, edi
test eax, eax
je 0x10071392
mov ebx, dword [ebp + 4]
cmp word [ebx], 0
jl 0x10071382
mov eax, dword [ebp + 0x20]
mov esi, ecx
mov eax, dword [eax + edi*4]
sub esi, eax
nop dword [eax]
movzx edx, byte [eax]
movzx ecx, byte [esi + eax]
cmp edx, ecx
jne 0x10071362
test edx, edx
jne 0x10071374
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
mov esi, 0xffff8000
test ecx, ecx
je 0x1007131d
mov eax, dword [ebx]
xor esi, esi
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x1007131d
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x10071315
mov eax, dword [ebx + 0x78]
mov edi, ebx
test eax, eax
mov ecx, esi
cmovne edi, eax
mov eax, 1
shl eax, cl
mov edx, dword [edi + 0x58]
test edx, eax
jne 0x10071349
bts edx, esi
mov dword [edi + 0x58], edx
cmp esi, 1
jne 0x10071349
mov ecx, edi
call fcn.10070df0
mov eax, dword [edi + 0x54]
mov edx, ebp
bts eax, esi
mov ecx, ebx
push 0xffffffffffffffff
mov dword [edi + 0x54], eax
call fcn.1006df00
add esp, 4
jmp 0x10071392
movzx ecx, byte [ecx + 0x1012c958]
movzx edx, byte [edx + 0x1012c958]
sub edx, ecx
jne 0x1007137a
inc eax
jmp 0x100712e0
movzx eax, word [ebp + 0x34]
mov ecx, dword [esp + 0x24]
inc edi
add ebx, 2
cmp edi, eax
jl 0x100712c5
mov ebx, dword [esp + 0x14]
mov ebp, dword [ebp + 0x14]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
test ebp, ebp
jne 0x100712b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x10079f20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov ebx, ecx
mov dword [esp + 8], edx
push esi
push edi
mov ecx, dword [ebx]
mov dword [esp + 0xc], ecx
mov eax, dword [ecx + 0x20]
and eax, 0x4000
or eax, 0
je 0x1007a0ee
mov eax, dword [ebp + 8]
cmp byte [eax + 0x2b], 0
jne 0x1007a0ee
mov esi, dword [ebx + 8]
xor edi, edi
test esi, esi
jne 0x10079f7a
cmp dword [ebx + 0x78], edi
jne 0x10079f6e
test byte [ecx + 0x50], 8
jne 0x10079f6e
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.1003f600
mov esi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax]
add ecx, 0x38
push 0
call fcn.10022270
add esp, 4
cmp dword [eax + 8], edi
jne 0x1007a01b
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x30]
test ecx, ecx
je 0x1007a0ee
mov edx, dword [esp + 0xc]
cmp byte [ecx + 0x18], 0
jne 0x10079fc8
mov eax, dword [edx + 0x20]
and eax, 0x80000
or eax, 0
jne 0x10079fc8
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x10079fa7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
dec dword [ebx + 0x38]
mov ecx, dword [esi + 0x6c]
mov edi, dword [ebx + 0x38]
cmp dword [esi + 0x70], ecx
jg 0x10079fec
push 0
push edi
push 1
mov edx, 0x31
mov ecx, esi
call fcn.1003f7e0
add esp, 0xc
jmp 0x1007a01b
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x31
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x10]
push 0
push 0
push 0
push ecx
mov ecx, dword [esp + 0x1c]
push 0
mov byte [ebx + 0x9f], 1
call fcn.10058000
add esp, 8
mov edx, eax
mov ecx, ebx
call fcn.100728d0
mov eax, dword [esp + 0x18]
add esp, 0xc
mov byte [ebx + 0x9f], 0
mov eax, dword [eax + 0x20]
and eax, 0x80000
or eax, 0
jne 0x1007a0c2
mov ecx, dword [esi + 0x6c]
lea edx, [ecx + 2]
cmp dword [esi + 0x70], ecx
jg 0x1007a07c
push eax
push edx
push eax
lea edx, [eax + 0x31]
mov ecx, esi
call fcn.1003f7e0
add esp, 0xc
jmp 0x1007a0ab
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x31
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 4
push 0xffffffffffffffff
push 0
push 2
mov edx, 0x313
mov ecx, ebx
call fcn.10070f30
add esp, 0x10
test edi, edi
je 0x1007a0ee
mov ecx, dword [esi + 0xc]
not edi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1007a0e5
push edi
mov edx, esi
call fcn.1003fd90
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edi*4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100d7110
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
push 0x40
xorps xmm0, xmm0
lea eax, [esp + 0x4c]
mov ebp, edx
movlpd qword [esp + 0x2c], xmm0
mov ebx, ecx
mov dword [esp + 0x20], ebp
push 0
movups xmmword [esp + 0x40], xmm0
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x50], 0x13
call fcn.10106200
add esp, 0xc
lea eax, [esp + 0x48]
mov edx, ebp
mov ecx, ebx
push eax
push 1
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [esp + 0xa8]
call fcn.100c6d90
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x100d72f4
push dword [esp + 0x3c]
lea eax, [esp + 0x3c]
mov ecx, ebx
push dword [esp + 0x3c]
lea edx, [esp + 0x50]
mov dword [esp + 0x5c], eax
call fcn.100d28d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x100d72f4
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.100d29f0
mov esi, eax
cmp esi, 0x64
jne 0x100d72f4
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
mov edi, dword [esp + 0x80]
lea edx, [esp + 0x20]
mov ebp, dword [esp + 0x84]
xorps xmm0, xmm0
mov ecx, edi
movlpd qword [esp + 0x20], xmm0
add ebp, edi
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x28], xmm0
call fcn.100c2f90
lea esi, [edi + eax]
cmp esi, ebp
jae 0x100d72d4
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
xorps xmm0, xmm0
lea edx, [esp + 0x20]
mov ecx, esi
movlpd qword [esp + 0x20], xmm0
call fcn.100c2f90
add esi, eax
cmp esi, ebp
jae 0x100d72d0
mov ecx, dword [esp + 0x20]
mov eax, ecx
mov edx, dword [esp + 0x24]
or eax, edx
je 0x100d727c
cmp ecx, 1
jne 0x100d723c
test edx, edx
je 0x100d727c
mov eax, dword [esp + 0x28]
add ecx, 0xfffffffe
adc edx, 0xffffffff
add eax, ecx
mov ecx, dword [esp + 0x78]
adc dword [esp + 0x2c], edx
mov edx, dword [esp + 0x7c]
push eax
push dword [esp + 0x34]
mov dword [esp + 0x30], eax
push edi
push ebx
push dword [esp + 0xa0]
push dword [esp + 0x30]
call fcn.100d7060
xor dword [esp + 0x2c], eax
add esp, 0x18
xor dword [esp + 0x10], edx
jmp 0x100d72c8
xorps xmm0, xmm0
or ecx, edx
movlpd qword [esp + 0x30], xmm0
mov ecx, esi
movlpd qword [esp + 0x28], xmm0
je 0x100d729e
lea edx, [esp + 0x30]
call fcn.100c2f90
add esi, eax
jmp 0x100d72c8
lea edx, [esp + 0x20]
call fcn.100c2f90
add esi, eax
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xef], 0
je 0x100d72c0
sub ebx, dword [esp + 0x20]
sbb edi, dword [esp + 0x24]
jmp 0x100d72c8
add ebx, dword [esp + 0x20]
adc edi, dword [esp + 0x24]
cmp esi, ebp
jb 0x100d7207
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.100d29f0
mov esi, eax
cmp esi, 0x64
je 0x100d71c4
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
jmp 0x100d72fc
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
lea ecx, [esp + 0x48]
call fcn.100d31a0
mov ecx, dword [esp + 0x94]
mov edx, edi
pop edi
mov eax, ebp
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
Function at 0x100e70a0
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov ebx, edx
mov dword [esp + 0x10], str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
mov esi, ecx
mov dword [esp + 0x14], str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
push edi
mov edi, dword [esi + ebx*4 + 0x18]
test edi, edi
jne 0x100e70dc
push dword [esi + 8]
push dword [esi + 4]
push dword [esp + ebx*4 + 0x1c]
push esi
call fcn.100e6fc0
mov edi, eax
add esp, 0x10
mov dword [esi + ebx*4 + 0x18], edi
cmp dword [esi + 0x28], 0
jne 0x100e719c
mov ebp, dword [esp + 0x24]
push ebp
push dword [esp + 0x24]
push 1
push edi
call fcn.10046be0
push edi
call fcn.10045740
add esp, 0x14
cmp eax, 0x65
jne 0x100e7133
mov ecx, str.__parent
test ebx, ebx
mov eax, str.__rowid
cmove eax, ecx
mov ecx, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push ebp
push ecx
push str.Mapping___lld_____lld__missing_from__s_table
push esi
call fcn.100e7040
add esp, 0x1c
jmp 0x100e718a
cmp eax, 0x64
jne 0x100e718a
push 0
push edi
call fcn.100462f0
mov ecx, dword [esp + 0x34]
add esp, 8
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x28]
jne 0x100e7155
cmp edx, ecx
je 0x100e718a
push ecx
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
test ebx, ebx
push ebp
push ecx
mov eax, str.__rowid
mov dword [esp + 0x20], str.__parent
cmove eax, dword [esp + 0x20]
push eax
push edx
push dword [esp + 0x2c]
push ebp
push ecx
push str.Found___lld_____lld__in__s_table__expected___lld_____lld_
push esi
call fcn.100e7040
add esp, 0x2c
push edi
call fcn.10044750
add esp, 4
cmp dword [esi + 0x28], 0
jne 0x100e719c
mov dword [esi + 0x28], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x100eb110
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edx
mov ecx, dword [ebp + 0x10]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [ecx], eax
test edi, edi
je 0x100eb273
mov ebx, dword [ebp + 0xc]
lea esi, [eax + 0xd]
lea edx, [ebx - 1]
test edx, edx
js 0x100eb167
mov ebx, dword [ebp + 8]
nop word [eax + eax]
movsx ecx, byte [edx + ebx]
lea eax, [esi*8]
xor ecx, eax
xor esi, ecx
sub edx, 1
jns 0x100eb150
mov ebx, dword [ebp + 0xc]
mov ecx, dword [esp + 0xc]
lea eax, [esi*8]
xor eax, esi
xor eax, ecx
and eax, 0x1ff
lea eax, [edi + eax*4]
mov edi, dword [eax]
mov dword [esp + 0x14], eax
test edi, edi
je 0x100eb1ee
cmp dword [edi + 8], ecx
jne 0x100eb1e7
cmp dword [edi + 4], ebx
jne 0x100eb1e7
mov edx, dword [edi]
mov ecx, ebx
mov esi, dword [ebp + 8]
sub ecx, 4
jb 0x100eb1b1
nop
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x100eb1b6
add edx, 4
add esi, 4
sub ecx, 4
jae 0x100eb1a0
cmp ecx, 0xfffffffc
je 0x100eb1fe
mov al, byte [edx]
cmp al, byte [esi]
jne 0x100eb1e3
cmp ecx, 0xfffffffd
je 0x100eb1fe
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x100eb1e3
cmp ecx, 0xfffffffe
je 0x100eb1fe
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x100eb1e3
cmp ecx, 0xffffffff
je 0x100eb1fe
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x100eb1fe
mov ecx, dword [esp + 0xc]
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x100eb188
lea edi, [ebx + 0x10]
xor esi, esi
call fcn.100be0c0
test eax, eax
je 0x100eb210
jmp 0x100eb220
mov eax, dword [ebp + 0x10]
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
call fcn.1001cb50
mov esi, eax
add esp, 8
test esi, esi
jne 0x100eb23c
test edi, edi
je 0x100eb22f
mov eax, 7
mov dword [esp + 0x10], eax
jmp 0x100eb231
xor eax, eax
test esi, esi
jne 0x100eb248
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push 0
push esi
call fcn.10106200
add esp, 0xc
mov edx, dword [esp + 0xc]
lea eax, [esi + 0x10]
push ebx
push dword [ebp + 8]
mov dword [esi], eax
push eax
mov dword [esi + 4], ebx
mov dword [esi + 8], edx
call fcn.10107690
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [ecx]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x10]
mov dword [ecx], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret