joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3004e99c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
test eax, 3
je 0x3004e9c3
cmp word [eax], 0
je 0x3004e9bc
lea eax, [eax + 2]
test eax, 3
je 0x3004e9c3
jmp 0x3004e9aa
sub eax, dword [ebp + 8]
shr eax, 1
jmp 0x3004e9fe
mov edx, dword [eax]
lea eax, [eax + 4]
mov ecx, edx
sub edx, 0x10001
xor edx, ecx
and edx, 0x80008000
je 0x3004e9c3
sub eax, dword [ebp + 8]
shr eax, 1
test cx, cx
lea eax, [eax - 2]
je 0x3004e9fe
test ecx, 0xffff0000
lea eax, [eax + 1]
je 0x3004e9fe
lea eax, [eax*2 + 2]
add eax, dword [ebp + 8]
jmp 0x3004e9c3
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4
Function at 0x30053067
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
movzx eax, word [esi]
add eax, esi
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
xor edi, edi
cmp eax, esi
mov ebp, esi
je 0x300530e2
mov edx, dword [0x300bc890]
cmp eax, ebp
jne 0x3005309e
movzx ecx, byte [pe_dos_header]
test ecx, ecx
je 0x300530e2
test dl, 1
je 0x300530b8
mov ecx, eax
and cl, 7
neg cl
mov ebx, edx
sbb ecx, ecx
add ecx, 1
and ebx, 2
xor ecx, ebx
je 0x300530c2
movzx ecx, word [eax + 2]
cmp ecx, dword [esp + 0x1c]
jge 0x30053114
mov dword [esp + 0x18], eax
movzx eax, word [eax]
xor ecx, ecx
add eax, esi
test edi, edi
sete cl
mov edi, ecx
test edi, edi
je 0x300530de
movzx ebp, word [ebp]
add ebp, esi
cmp eax, esi
jne 0x3005308f
mov ax, word [esi + 6]
cmp ax, 0xfffe
je 0x3005310b
movzx eax, ax
cmp word [eax*2 + 0x300a4888], 5
jne 0x3005310b
push eax
call fcn.30059dea
add esp, 4
test eax, eax
jne 0x3005307d
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x30053217
Capabilities:
Encrypt data using rc4 prga

Disassembly:
test byte [0x300bc890], 1
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
jne 0x30053246
mov cx, word [eax]
test cx, cx
je 0x30053246
movzx ecx, cx
add ecx, eax
movzx ecx, word [ecx + 2]
push esi
lea esi, [edx + 4]
cmp ecx, esi
pop esi
jae 0x30053253
cmp ecx, edx
je 0x30053253
mov dword [esp + 8], edx
mov dword [esp + 4], eax
jmp fcn.30053067
ret
Function at 0x410b1a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
cmp eax, 0x7f
mov ebp, esp
push edi
push esi
push ebx
push ebx
mov dword [ebp - 0x10], edx
jg 0x410b37
lea ecx, [eax - 0x41]
lea edx, [eax + 0x20]
cmp ecx, 0x19
jmp 0x410bc4
cmp eax, 0xffff
jg 0x410bb8
or ebx, 0xffffffff
xor esi, esi
mov edi, 0xa2
lea ecx, [esi + edi]
sar ecx, 1
movzx edx, word [ecx*4 + 0x4fc2a0]
cmp eax, edx
js 0x410b60
lea esi, [ecx + 1]
mov ebx, ecx
jmp 0x410b63
lea edi, [ecx - 1]
cmp esi, edi
jle 0x410b48
movzx esi, word [ebx*4 + 0x4fc2a0]
movzx ecx, byte [ebx*4 + 0x4fc2a3]
add ecx, esi
cmp eax, ecx
jge 0x410b9f
mov cl, byte [ebx*4 + 0x4fc2a2]
xor esi, eax
mov ebx, ecx
and ebx, 1
test ebx, esi
jne 0x410b9f
shr cl, 1
movzx ecx, cl
add ax, word [ecx + ecx + 0x4fbe00]
movzx eax, ax
cmp dword [ebp - 0x10], 0
je 0x410bc7
xor edx, edx
cmp dword [ebp - 0x10], 2
pop ecx
pop ebx
pop esi
pop edi
pop ebp
sete dl
jmp fcn.0040898e
lea ecx, [eax - 0x10400]
lea edx, [eax + 0x28]
cmp ecx, 0x27
cmovbe eax, edx
pop edx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x429fae
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x40]
push eax
call fcn.00429c7c
push eax
push esi
push dword [ebp + 8]
call fcn.00429c31
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.00429c6c
sbb al, 0x1a
fisttp qword [ecx - 0x7717ba73]
pop ebp
call 0xe9a0282d
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.00429c7c
push eax
push esi
push dword [ebp + 8]
call fcn.00429c31
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
xchg esp, eax
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00429c7c
push eax
push esi
push dword [ebp + 8]
call fcn.00429c31
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
inc ebp
loope 0x42a11a
Function at 0x42a02c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x40]
push eax
call fcn.00429c7c
push eax
push esi
push dword [ebp + 8]
call fcn.00429c31
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.00429c6c
sbb al, 0x1a
fisttp qword [ecx - 0x7717ba73]
pop ebp
call 0xe9a0282d
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.00429c7c
push eax
push esi
push dword [ebp + 8]
call fcn.00429c31
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
xchg esp, eax
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00429c7c
push eax
push esi
push dword [ebp + 8]
call fcn.00429c31
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
inc ebp
loope 0x42a11a

Function at 0x42a0be
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
loope 0x42a11a
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00429c7c
push eax
push esi
push dword [ebp + 8]
call fcn.00429c31
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00429c6c
mov ah, 0xb1
jae 0x42a121
invalid
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.00429c6c
lcall 0x7c85, 0x8dd08781
invalid
jns 0x42a0e2
inc ebp
test dword [edx - 0x3a], esi
inc ebp
xchg byte [ebx - 0x3a], ah
inc ebp
xchg dword [edx - 0x3a], edi
inc ebp
mov byte [ebx - 0x3a], dh
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid
Function at 0x42a2ff
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x42a320
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x42a31b
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x42a305
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x42a30d
cmp edx, ebx
jne 0x42a45b
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x42a2dc
add eax, dword [eax + 4]
jmp 0x42a2c9
mov dword [ebp + 0xc], ebx
jmp 0x42a32b

Function at 0x42a37d
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x42a343
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x42a361
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x42a3bf
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x42a3a6
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x42a3af
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x42a3b9
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x42a39b
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x42a325
mov dword [ebp + 8], esi

Function at 0x42b60c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
push 1
pop eax
test eax, eax
je 0x42bd12
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x42b7e7
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
mov byte [ebp - 0x772], 0x9c
mov byte [ebp - 0x771], 0x89
mov byte [ebp - 0x770], 0x9a
mov byte [ebp - 0x76f], 0x96
mov byte [ebp - 0x76e], 0xdb
mov byte [ebp - 0x76d], 0xbd
mov byte [ebp - 0x76c], 0x92
mov byte [ebp - 0x76b], 0x97
mov byte [ebp - 0x76a], 0x9e
mov byte [ebp - 0x769], 0x88
mov byte [ebp - 0x768], 0xa7
mov byte [ebp - 0x767], 0xb8
mov byte [ebp - 0x766], 0x94
mov byte [ebp - 0x765], 0x96
mov byte [ebp - 0x764], 0x96
mov byte [ebp - 0x763], 0x94
mov byte [ebp - 0x762], 0x95
mov byte [ebp - 0x761], 0xdb
mov byte [ebp - 0x760], 0xbd
invalid
invalid
invalid
Function at 0x48baf0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor ebx, ebx
sub esp, 0x6c
mov dword [ebp - 0x4c], eax
lea eax, [eax + edx*4]
mov dword [ebp - 0x54], ecx
cmp dword [eax + 0x1c], 0
mov dword [ebp - 0x50], eax
jne 0x48bcd2
mov eax, dword [ebp - 0x4c]
cmp edx, 0xa
lea edi, [ebp - 0x44]
mov esi, 0x4ef380
mov ecx, 0xb
mov ebx, edx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [eax]
ja case.0x48bb30.5
jmp dword [edx*4 + 0x4f800c]
mov eax, dword [esi + 0x24]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.004440e8
mov edi, eax
mov eax, 5
test edi, edi
jne 0x48bc65
mov ebx, 7
jmp 0x48bcd2
mov eax, dword [esi + 0x28]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 4], eax
mov eax, dword [ebp + edx*4 - 0x44]
mov dword [esp], eax
call fcn.004440e8
jmp 0x48bc4c
mov eax, dword [esi + 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.004440e8
mov edi, eax
mov eax, 1
test edi, edi
jne 0x48bc65
jmp 0x48bb5f
mov eax, dword [esi + 0xc]
lea edi, [eax + 1]
lea eax, [edi + edi + 1]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.00436e2c
mov edx, eax
xor eax, eax
test edx, edx
je 0x48bb5f
cmp eax, edi
jge 0x48bbfd
mov byte [edx + eax*2], 0x3f
mov byte [edx + eax*2 + 1], 0x2c
inc eax
jmp 0x48bbed
mov byte [edx + eax*2 - 1], 0
mov dword [esp + 0xc], edx
mov eax, dword [esi + 8]
mov dword [ebp - 0x58], edx
mov dword [esp + 8], eax
mov eax, dword [esi + 4]
mov dword [esp + 4], eax
mov eax, dword [ebp + ebx*4 - 0x44]
mov dword [esp], eax
call fcn.004440e8
mov edx, dword [ebp - 0x58]
mov edi, eax
mov dword [esp], edx
call fcn.0040b268
jmp 0x48bc4e
mov eax, dword [esi + 8]
mov dword [esp + 8], eax
mov eax, dword [esi + 4]
mov dword [esp + 4], eax
mov eax, dword [ebp + ebx*4 - 0x44]
mov dword [esp], eax
call fcn.004440e8
mov edi, eax
test edi, edi
je 0x48bb5f
xor eax, eax
cmp ebx, 3
setge al
lea eax, [eax*4 + 1]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
inc dword [edx + 0x40]
lea edx, [ecx + ebx*4 + 0x1c]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 0x10], edx
mov dword [esp + 4], edi
mov eax, dword [esi]
mov dword [esp], eax
call fcn.0048b992
mov ebx, eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
dec dword [eax + 0x40]
mov dword [esp], edi
call fcn.0040b268
test ebx, ebx
je 0x48bcd2
cmp dword [ebp + 8], 0
je 0x48bcd2
mov eax, dword [esi]
mov dword [esp], eax
call fcn.0042dd05
mov dword [esp], 0x4f3149
mov dword [esp + 4], eax
call fcn.004440e8
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
mov eax, dword [eax + 0x1c]
mov dword [ecx], eax
mov dword [esp], eax
call fcn.0045a638
add esp, 0x6c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4933bd
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, edx
sub esp, 0x3c
test ecx, ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [edx + 0x20]
je 0x493422
mov dword [esp + 4], eax
mov dword [esp], str.PRAGMA__Q.page_size
mov dword [ebp - 0x1c], 0
call fcn.004440e8
test eax, eax
mov esi, eax
je 0x493454
mov edx, eax
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x1c]
call fcn.00493350
test eax, eax
mov edi, eax
jne 0x493459
mov eax, dword [ebp - 0x1c]
lea ecx, [eax - 0x40]
movzx eax, byte [ebx + 0x17]
mov dword [ebx + 0x10], ecx
imul eax, eax, 0x33
add eax, 4
cmp ecx, eax
jle 0x4934a1
mov dword [ebx + 0x10], eax
jmp 0x4934a1
mov edx, dword [edx + 0x24]
mov dword [esp + 4], eax
mov dword [esp], str.SELECT_length_data__FROM__q._q_node_WHERE_nodeno__1
mov dword [esp + 8], edx
call fcn.004440e8
test eax, eax
mov esi, eax
je 0x493454
mov edx, eax
mov eax, dword [ebp - 0x2c]
lea ecx, [ebx + 0x10]
call fcn.00493350
test eax, eax
mov edi, eax
je 0x49347b
jmp 0x493459
mov edi, 7
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call fcn.0042dd05
mov dword [esp], 0x4f3149
mov dword [esp + 4], eax
call fcn.004440e8
mov edx, dword [ebp + 8]
mov dword [edx], eax
jmp 0x4934a1
cmp dword [ebx + 0x10], 0x1bf
jg 0x4934a1
mov eax, dword [ebx + 0x24]
mov dword [esp], str.undersize_RTree_blobs_in___q_node_
mov dword [esp + 4], eax
call fcn.004440e8
mov edi, dword [ebp + 8]
mov dword [edi], eax
mov edi, 0x10b
mov dword [esp], esi
call fcn.0040b268
add esp, 0x3c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x493f0f
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
mov edi, edx
lea esi, [ebx + edi*4]
sub esp, 0x6c
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
cmp dword [esi + 0x18], 0
mov dword [ebp - 0x20], str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
mov dword [ebp - 0x1c], str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
jne 0x493f6c
mov eax, dword [ebx + 8]
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebp + edi*4 - 0x20]
mov dword [esp + 4], eax
call fcn.0048b6eb
mov dword [esi + 0x18], eax
cmp dword [ebx + 0x28], 0
jne 0x49406c
mov esi, dword [esi + 0x18]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], 1
mov dword [esp + 0xc], edx
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.0042df3c
mov dword [esp], esi
call fcn.0047778f
cmp eax, 0x65
jne 0x493fe5
test edi, edi
mov edx, str.__parent
mov eax, str.__rowid
cmove eax, edx
mov edx, dword [ebp - 0x2c]
mov dword [esp + 4], str.Mapping___lld_____lld__missing_from__s_table
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x34]
mov dword [esp], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 8], eax
call fcn.004484fd
jmp 0x49405b
cmp eax, 0x64
jne 0x49405b
mov dword [esp + 4], 0
mov dword [esp], esi
call fcn.00411cbb
cmp dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], edx
jne 0x494007
cmp dword [ebp - 0x34], eax
je 0x49405b
test edi, edi
mov ecx, str.__rowid
mov edi, str.__parent
cmovne edi, ecx
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x18], edi
mov edi, dword [ebp - 0x34]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 0x14], eax
mov eax, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], edi
mov dword [esp + 8], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], str.Found___lld_____lld__in__s_table__expected___lld_____lld_
mov dword [esp], ebx
call fcn.004484fd
mov dword [esp], esi
call fcn.0045a638
cmp dword [ebx + 0x28], 0
jne 0x49406c
mov dword [ebx + 0x28], eax
add esp, 0x6c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x49a323
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov edi, edx
mov ebx, ecx
sub esp, 0x4c
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx + 4]
mov dword [ebp - 0x2c], eax
mov ecx, str._rowid___
mov eax, 0x4f27d7
mov dword [esp], str.SELECT__s_FROM___w_.__w__WHERE_NOT_EXISTS____SELECT_1_FROM___w_.__w__WHERE__s_
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], edx
cmovne eax, ecx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 8], edx
mov dword [esp + 0x10], ecx
call fcn.004440e8
test eax, eax
je 0x49a419
mov esi, eax
lea eax, [ebp - 0x1c]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], esi
mov dword [esp + 0xc], eax
mov eax, dword [edi]
mov dword [esp], eax
call fcn.00488357
test eax, eax
jne 0x49a409
mov eax, dword [edi + 0x44]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov edx, dword [ebx + 0x10]
mov dword [eax + 8], 0
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.0047778f
cmp eax, 0x64
jne 0x49a3fe
xor eax, eax
xor edx, edx
cmp dword [ebx + 0x10], 0
je 0x49a3e9
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00411cbb
mov ecx, edx
mov edx, eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.00499a08
jmp 0x49a3bc
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.00458aaf
mov dword [esp], esi
mov dword [ebp - 0x2c], eax
call fcn.0040b268
mov eax, dword [ebp - 0x2c]
jmp 0x49a41e
mov eax, 7
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4b2505
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ecx, 6
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ebp + 8], 0
pop ebp
jmp fcn.004b2036

Function at 0x4b2520
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 8], edx
mov edx, dword [ebp + 0xc]
pop ebp
jmp fcn.004b2036
Function at 0x4bb40c
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, edx
sub esp, 0x2c
cmp dword [eax + 0x34], 0
mov dword [ebp - 0x1c], eax
jne 0x4bb426
mov word [eax + 0x1a], 9
mov eax, dword [ebp - 0x1c]
mov byte [ebx], 0x50
mov byte [ebx + 1], 0x4b
mov byte [ebx + 2], 1
mov byte [ebx + 3], 2
mov eax, dword [eax]
mov byte [ebx + 4], al
shr ax, 8
mov byte [ebx + 5], al
mov eax, dword [ebp - 0x1c]
mov ax, word [eax + 2]
mov byte [ebx + 6], al
shr ax, 8
mov byte [ebx + 7], al
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov byte [ebx + 8], al
shr ax, 8
mov byte [ebx + 9], al
mov eax, dword [ebp - 0x1c]
mov ax, word [eax + 6]
mov byte [ebx + 0xa], al
shr ax, 8
mov byte [ebx + 0xb], al
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
mov byte [ebx + 0xc], al
shr ax, 8
mov byte [ebx + 0xd], al
mov eax, dword [ebp - 0x1c]
mov ax, word [eax + 0xa]
mov byte [ebx + 0xe], al
shr ax, 8
mov byte [ebx + 0xf], al
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0xc]
lea eax, [ebx + 0x10]
call fcn.004b7d92
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x10]
lea eax, [ebx + 0x14]
call fcn.004b7d92
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x14]
lea eax, [ebx + 0x18]
call fcn.004b7d92
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x18]
mov byte [ebx + 0x1c], al
shr ax, 8
mov byte [ebx + 0x1d], al
mov eax, dword [ebp - 0x1c]
mov ax, word [eax + 0x1a]
mov byte [ebx + 0x1e], al
shr ax, 8
mov byte [ebx + 0x1f], al
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x1c]
mov byte [ebx + 0x20], al
shr ax, 8
mov byte [ebx + 0x21], al
mov eax, dword [ebp - 0x1c]
mov ax, word [eax + 0x1e]
mov byte [ebx + 0x22], al
shr ax, 8
mov byte [ebx + 0x23], al
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x20]
mov byte [ebx + 0x24], al
shr ax, 8
mov byte [ebx + 0x25], al
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x24]
lea eax, [ebx + 0x26]
call fcn.004b7d92
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x28]
lea eax, [ebx + 0x2a]
call fcn.004b7d92
mov esi, dword [ebp - 0x1c]
lea eax, [ebx + 0x2e]
mov edi, eax
movzx ecx, word [esi + 0x18]
mov esi, dword [esi + 0x2c]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx + 0x18]
mov esi, dword [ecx + 0x34]
add eax, edx
test esi, esi
mov edi, eax
mov eax, ecx
je 0x4bb562
movzx ecx, word [ecx + 0x1a]
movzx eax, word [eax + 0x1c]
add ecx, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4bb5ae
mov eax, dword [ebp - 0x1c]
cmp word [eax + 0x1a], 9
je 0x4bb588
mov dword [esp + 8], 0x264e
mov dword [esp + 4], str.shell.c
mov dword [esp], str.pCDS__nExtra9
call fcn.004eaa60
mov eax, dword [ebp - 0x1c]
mov byte [edi], 0x55
mov byte [edi + 1], 0x54
mov byte [edi + 2], 5
mov byte [edi + 3], 0
mov byte [edi + 4], 1
mov edx, dword [eax + 0x30]
mov eax, edi
lea edi, [edi + 9]
add eax, 5
call fcn.004b7d92
add esp, 0x2c
mov eax, edi
sub eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret