joyce8/EMBER2024-capa huggingface dataset:
Function at 0x65bca8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x65be32
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetCommandLineW_1
mov edx, eax
lea eax, [ebp - 8]
call fcn.00409d54
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + 0x10]
mov edx, 0x65be4c
call fcn.00652414
test al, al
je 0x65bd03
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 1
mov eax, dword [ebp - 4]
mov dl, byte [0x65be68]
mov byte [eax + 0x31], dl
jmp 0x65be0a
lea eax, [ebp - 0xc]
call fcn.00408e94
mov ecx, eax
mov edx, 0x65be78
mov eax, dword [ebp - 8]
call fcn.005b2b84
test al, al
je 0x65bddf
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 0
mov eax, dword [ebp - 4]
mov dl, byte [0x65be84]
mov byte [eax + 0x31], dl
cmp dword [ebp - 0xc], 0
jne 0x65bd48
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ecx, dword [eax]
call dword [ecx]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0065c2b4
mov edx, 0x65be94
mov eax, dword [ebp - 8]
call fcn.005b2ac4
test al, al
je 0x65bdad
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [eax]
call dword [edx + 8]
test al, al
jne 0x65be0a
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0065f844
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, 0x65beb0
mov dl, 1
mov eax, dword [0x418568]
call fcn.0042519c
call fcn.00408590
jmp 0x65be0a
mov edx, 0x65bef8
mov eax, dword [ebp - 8]
call fcn.005b2ac4
test al, al
je 0x65bdc5
mov eax, dword [ebp - 4]
or byte [eax + 0x31], 2
mov edx, 0x65bf18
mov eax, dword [ebp - 8]
call fcn.005b2ac4
test al, al
je 0x65be0a
mov eax, dword [ebp - 4]
or byte [eax + 0x31], 8
jmp 0x65be0a
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 0
mov eax, dword [ebp - 4]
mov dl, byte [0x65bf28]
mov byte [eax + 0x31], dl
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ecx, dword [eax]
call dword [ecx]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0065c2b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65be39
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00408ef4
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00408ef4
ret

Function at 0x6626f4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0xffffffff
cmp dword [ebp - 8], 0
jle 0x662738
mov al, byte [ebp - 0xc]
mov edx, dword [ebp - 4]
xor al, byte [edx]
and eax, 0xff
mov eax, dword [eax*4 + 0x67fc84]
mov edx, dword [ebp - 0xc]
shr edx, 8
xor eax, edx
mov dword [ebp - 0xc], eax
dec dword [ebp - 8]
inc dword [ebp - 4]
cmp dword [ebp - 8], 0
jg 0x66270d
xor dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x678874
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov eax, 0x66e684
call fcn.0040d0fc
xor eax, eax
push ebp
push 0x678a20
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0065b50c
test al, al
je 0x678a05
mov eax, dword [0x6806e8]
mov eax, dword [eax]
cmp byte [eax + 0x30], 1
jne 0x67894f
mov eax, 0x696918
call fcn.00408e94
push eax
call sub.kernel32.dll_GetCommandLineW_1
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.00409d54
mov eax, dword [ebp - 0x14]
mov edx, 0x678a38
pop ecx
call fcn.005b2b84
test al, al
je 0x67890c
mov eax, dword [0x696918]
call fcn.005b2034
test al, al
je 0x67890c
mov eax, dword [0x6806e8]
mov eax, dword [eax]
mov edx, dword [0x696918]
call fcn.0065c2b4
jmp 0x67894f
lea eax, [ebp - 0x18]
call fcn.005b2a74
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
call fcn.005b1d88
mov eax, dword [ebp - 0x1c]
pop edx
call fcn.005996bc
test al, al
je 0x678945
push 0x10
push 0x678a44
push 0x678a50
push 0
call sub.user32.dll_MessageBoxW
jmp 0x678a05
call fcn.006572dc
jmp 0x678a05
mov eax, dword [0x6804d0]
mov eax, dword [eax]
call fcn.0058c268
mov eax, dword [0x6804d0]
mov eax, dword [eax]
mov dl, 1
call fcn.0058de8c
mov eax, dword [0x6804d0]
mov eax, dword [eax]
mov edx, 0x678a8c
call fcn.0058bc98
mov eax, dword [0x6806e8]
mov eax, dword [eax]
mov eax, dword [eax + 0x3c]
call fcn.0065d9bc
mov eax, dword [0x6806e8]
mov eax, dword [eax]
test byte [eax + 0x31], 8
je 0x6789e1
mov eax, dword [0x6806e8]
mov eax, dword [eax]
mov dl, 1
call fcn.0065c084
mov eax, dword [0x6806e8]
mov eax, dword [eax]
mov eax, dword [eax + 0x38]
call fcn.005a91b4
test eax, eax
jle 0x6789d3
lea edx, [ebp - 0x20]
mov eax, dword [0x6806e8]
mov eax, dword [eax]
mov eax, dword [eax + 0x38]
call fcn.005a9348
mov eax, dword [ebp - 0x20]
xor edx, edx
call fcn.006173d4
mov eax, dword [0x6806e8]
mov eax, dword [eax]
call fcn.0065b8d4
jmp 0x678a05
mov ecx, dword [0x6800e4]
mov eax, dword [0x6804d0]
mov eax, dword [eax]
mov edx, dword [0x66d250]
call fcn.0058c280
mov eax, dword [0x6804d0]
mov eax, dword [eax]
call fcn.0058c3dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x678a27
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00408ef4
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 0x10118085
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.10104a22
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.10104a14
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.101049d1
mov esp, ebp
pop ebp
ret 8
call fcn.1010805f
call fcn.1010805f
int3
Function at 0x100030f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011815b
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 0x10037f50
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 0x10037fb4
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.101049d1
add esp, 0x68
ret
push 0
lea ecx, [esp + 0x2c]
push 0
push ecx
lea edx, [esp + 0x20]
mov ecx, eax
call fcn.10036380
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x1003813c
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.100325f0
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.10037830
mov ebx, eax
add esp, 0x10
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x1003804e
test edi, edi
je 0x1003813c
jmp 0x10038134
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 0x100380b2
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.10031100
mov ax, word [esp + 0x28]
add esp, 0xc
cmp ax, word [edi + 0x10]
jbe 0x100380ae
lea eax, [esp + 0x14]
mov edx, edi
push eax
push dword [esp + 0x1c]
mov ecx, edi
call fcn.100317f0
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 0x100380e4
cmp ecx, edx
jb 0x100380d5
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 0x100380f9
cmp ecx, edx
jb 0x100380e7
test ebx, ebx
jne 0x1003811f
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.10037520
add esp, 0x10
mov ebx, eax
jmp 0x10038123
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.101049d1
add esp, 0x68
ret
Function at 0x10050480
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 0x100504a8
lea eax, [esi + 7]
pop edi
pop esi
pop ebp
pop ebx
ret
cmp byte [0x10140afc], 0
mov edi, dword [esp + 0x14]
je 0x100504f0
mov eax, dword [0x10140bf8]
test eax, eax
je 0x100504cc
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x100504f0
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.1010838f
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x100504fd
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x10050515
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 0x100712d0
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 0x100713f5
mov ebp, dword [eax + 8]
test ebp, ebp
je 0x100713f5
nop dword [eax]
test ecx, ecx
je 0x1007134b
movzx eax, word [ebp + 0x34]
xor edi, edi
test eax, eax
je 0x100713e2
mov ebx, dword [ebp + 4]
cmp word [ebx], 0
jl 0x100713d2
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 0x100713b2
test edx, edx
jne 0x100713c4
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
mov esi, 0xffff8000
test ecx, ecx
je 0x1007136d
mov eax, dword [ebx]
xor esi, esi
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x1007136d
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x10071365
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 0x10071399
bts edx, esi
mov dword [edi + 0x58], edx
cmp esi, 1
jne 0x10071399
mov ecx, edi
call fcn.10070e40
mov eax, dword [edi + 0x54]
mov edx, ebp
bts eax, esi
mov ecx, ebx
push 0xffffffffffffffff
mov dword [edi + 0x54], eax
call fcn.1006df50
add esp, 4
jmp 0x100713e2
movzx ecx, byte [ecx + 0x1012c958]
movzx edx, byte [edx + 0x1012c958]
sub edx, ecx
jne 0x100713ca
inc eax
jmp 0x10071330
movzx eax, word [ebp + 0x34]
mov ecx, dword [esp + 0x24]
inc edi
add ebx, 2
cmp edi, eax
jl 0x10071315
mov ebx, dword [esp + 0x14]
mov ebp, dword [ebp + 0x14]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
test ebp, ebp
jne 0x10071300
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x10079f70
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 0x1007a13e
mov eax, dword [ebp + 8]
cmp byte [eax + 0x2b], 0
jne 0x1007a13e
mov esi, dword [ebx + 8]
xor edi, edi
test esi, esi
jne 0x10079fca
cmp dword [ebx + 0x78], edi
jne 0x10079fbe
test byte [ecx + 0x50], 8
jne 0x10079fbe
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.1003f640
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 0x1007a06b
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x30]
test ecx, ecx
je 0x1007a13e
mov edx, dword [esp + 0xc]
cmp byte [ecx + 0x18], 0
jne 0x1007a018
mov eax, dword [edx + 0x20]
and eax, 0x80000
or eax, 0
jne 0x1007a018
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x10079ff7
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 0x1007a03c
push 0
push edi
push 1
mov edx, 0x31
mov ecx, esi
call fcn.1003f820
add esp, 0xc
jmp 0x1007a06b
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.10058040
add esp, 8
mov edx, eax
mov ecx, ebx
call fcn.10072920
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 0x1007a112
mov ecx, dword [esi + 0x6c]
lea edx, [ecx + 2]
cmp dword [esi + 0x70], ecx
jg 0x1007a0cc
push eax
push edx
push eax
lea edx, [eax + 0x31]
mov ecx, esi
call fcn.1003f820
add esp, 0xc
jmp 0x1007a0fb
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.10070f80
add esp, 0x10
test edi, edi
je 0x1007a13e
mov ecx, dword [esi + 0xc]
not edi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1007a135
push edi
mov edx, esi
call fcn.1003fdd0
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 0x100d71b0
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.101062c0
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.100c6e00
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x100d7394
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.100d2970
mov esi, eax
add esp, 8
test esi, esi
jne 0x100d7394
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.100d2a90
mov esi, eax
cmp esi, 0x64
jne 0x100d7394
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.100c3000
lea esi, [edi + eax]
cmp esi, ebp
jae 0x100d7374
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.100c3000
add esi, eax
cmp esi, ebp
jae 0x100d7370
mov ecx, dword [esp + 0x20]
mov eax, ecx
mov edx, dword [esp + 0x24]
or eax, edx
je 0x100d731c
cmp ecx, 1
jne 0x100d72dc
test edx, edx
je 0x100d731c
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.100d7100
xor dword [esp + 0x2c], eax
add esp, 0x18
xor dword [esp + 0x10], edx
jmp 0x100d7368
xorps xmm0, xmm0
or ecx, edx
movlpd qword [esp + 0x30], xmm0
mov ecx, esi
movlpd qword [esp + 0x28], xmm0
je 0x100d733e
lea edx, [esp + 0x30]
call fcn.100c3000
add esi, eax
jmp 0x100d7368
lea edx, [esp + 0x20]
call fcn.100c3000
add esi, eax
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xef], 0
je 0x100d7360
sub ebx, dword [esp + 0x20]
sbb edi, dword [esp + 0x24]
jmp 0x100d7368
add ebx, dword [esp + 0x20]
adc edi, dword [esp + 0x24]
cmp esi, ebp
jb 0x100d72a7
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.100d2a90
mov esi, eax
cmp esi, 0x64
je 0x100d7264
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
jmp 0x100d739c
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
lea ecx, [esp + 0x48]
call fcn.100d3240
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 0x100e7160
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 0x100e719c
push dword [esi + 8]
push dword [esi + 4]
push dword [esp + ebx*4 + 0x1c]
push esi
call fcn.100e7080
mov edi, eax
add esp, 0x10
mov dword [esi + ebx*4 + 0x18], edi
cmp dword [esi + 0x28], 0
jne 0x100e725c
mov ebp, dword [esp + 0x24]
push ebp
push dword [esp + 0x24]
push 1
push edi
call fcn.10046c20
push edi
call fcn.10045780
add esp, 0x14
cmp eax, 0x65
jne 0x100e71f3
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.100e7100
add esp, 0x1c
jmp 0x100e724a
cmp eax, 0x64
jne 0x100e724a
push 0
push edi
call fcn.10046330
mov ecx, dword [esp + 0x34]
add esp, 8
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x28]
jne 0x100e7215
cmp edx, ecx
je 0x100e724a
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.100e7100
add esp, 0x2c
push edi
call fcn.10044790
add esp, 4
cmp dword [esi + 0x28], 0
jne 0x100e725c
mov dword [esi + 0x28], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret