joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409c10
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x6004ed
mov eax, dword fs:[0]
push eax
mov eax, 0x2028
call fcn.005c95e0
mov eax, dword [0x711ab8]
xor eax, esp
mov dword [esp + 0x2024], eax
push ebx
push ebp
push esi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x2038]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x2040], ebx
mov dword [esp + 0x10], ebx
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
mov dword [esp + 0x14], edi
mov word [edi + 4], ax
mov dword [esp + 0x2040], ebx
mov ebp, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push ebx
push ecx
lea edx, [esp + 0x3c]
push edx
push ebx
mov dword [esp + 0x20], 1
call ebp
test eax, eax
je 0x409d55
push 0x1000
lea eax, [esp + 0x38]
push eax
mov ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x409d55
lea eax, [esp + 0x34]
lea edx, [eax + 2]
jmp 0x409cc0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x409cc0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x38]
mov esi, edi
call fcn.0040d7f0
push ebx
push 0x28
lea edx, [esp + 0x3c]
push edx
push ebx
call ebp
test eax, eax
je 0x409d4e
push 0x1000
lea eax, [esp + 0x38]
push eax
mov ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x409d4e
lea edx, [esp + 0x34]
push 0x104
push edx
call fcn.005c41a7
mov ecx, dword [edi + 0x14]
sub ecx, eax
add esp, 8
lea edx, [eax + 1]
lea eax, [esp + 0x18]
push eax
dec ecx
push edi
call fcn.0040b680
mov dword [esp + 0x2040], 1
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.0040d740
mov byte [esp + 0x2040], bl
lea esi, [esp + 0x18]
call fcn.0044df60
jmp 0x409d55
mov eax, edi
call fcn.0040b600
mov eax, edi
mov ecx, dword [esp + 0x2038]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2024]
xor ecx, esp
call fcn.005c397a
add esp, 0x2034
ret

Function at 0x409d80
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x600492
mov eax, dword fs:[0]
push eax
mov eax, 0x200c
call fcn.005c95e0
mov eax, dword [0x711ab8]
xor eax, esp
mov dword [esp + 0x2008], eax
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x2018]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x2020], edi
mov esi, edx
mov dword [esp + 0xc], edi
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0x10], esi
mov word [esi + 4], ax
mov dword [esp + 0x2020], edi
push edi
push ecx
lea edx, [esp + 0x1c]
push edx
push edi
mov dword [esp + 0x1c], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x409e39
push 0x1000
lea eax, [esp + 0x18]
push eax
mov ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x409e39
lea eax, [esp + 0x14]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x409e20
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x18]
call fcn.0040d7f0
mov eax, esi
mov ecx, dword [esp + 0x2018]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2008]
xor ecx, esp
call fcn.005c397a
add esp, 0x2018
ret
Function at 0x413290
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5fe001
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
xor ebx, ebx
mov dword [esp + 0x10], ebx
xor ecx, ecx
mov word [esp + 0x18], cx
mov ecx, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x4132e0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x18]
call fcn.0040d7f0
mov dword [esp + 0x38], 1
mov edx, dword [esp + 0x48]
push ebx
push edx
or eax, 0xffffffff
call fcn.0040d5a0
xor ecx, ecx
mov esi, 7
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
push 0xffffffffffffffff
mov word [edi + 4], cx
push ebx
mov ecx, edi
call fcn.0040d740
mov dword [esp + 0x10], 1
mov byte [esp + 0x38], bl
cmp dword [esp + 0x2c], 8
jb 0x41334a
mov edx, dword [esp + 0x18]
push edx
call fcn.005c396f
add esp, 4
xor eax, eax
mov word [esp + 0x18], ax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x417240
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fce08
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
push esi
call fcn.0040b8d0
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x28]
push 0
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], eax
call fcn.005c4ba6
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x34]
add esp, 4
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edx
mov dword [esp + 0x10], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 0x1c
Function at 0x41f900
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609d0a
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
push str.SELECT__FROM_logs_WHERE_flags____ORDER_BY_cfired_DESC_LIMIT___
lea edx, [ebp - 0x1c]
push edx
call fcn.004cf4b0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x1c]
call fcn.004cf390
mov ecx, dword [ebp + 0x10]
push ecx
push 2
lea eax, [ebp - 0x1c]
call fcn.004cf390
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.004cf140
mov byte [ebp - 4], 2
lea esp, [esp]
cmp byte [ebp - 0x28], 0
jne 0x41fa33
lea ecx, [ebp - 0x4c]
push ecx
call fcn.0041e930
mov byte [ebp - 4], 3
xor esi, esi
lea edi, [ebp - 0x30]
call fcn.004cec20
mov dword [ebp - 0x4c], eax
mov esi, 1
call fcn.004cece0
mov edx, eax
lea edi, [ebp - 0x48]
call fcn.0040bab0
mov esi, 2
lea edi, [ebp - 0x30]
call fcn.004cec20
mov dword [ebp - 0x44], eax
mov esi, 3
call fcn.004cece0
mov edx, eax
lea edi, [ebp - 0x40]
call fcn.0040bab0
mov esi, 4
lea edi, [ebp - 0x30]
call fcn.004cece0
mov edx, eax
lea edi, [ebp - 0x3c]
call fcn.0040bab0
mov esi, 5
lea edi, [ebp - 0x30]
call fcn.004cec20
mov dword [ebp - 0x38], eax
mov esi, 6
call fcn.004cec20
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x4c]
push edx
call fcn.00424c70
mov eax, edi
push eax
call fcn.004ced60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
push ecx
call fcn.0041f890
jmp 0x41f980
mov byte [ebp - 4], 1
lea esi, [ebp - 0x30]
call fcn.004cebd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004cef10
mov dword [ebp - 4], 0xffffffff
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 0x420140
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609ba2
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push str.SELECT_id__value_FROM_reports_WHERE_type__
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ecx + 0x1c]
call fcn.004cf4b0
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
push edx
push 1
lea eax, [ebp - 0x24]
call fcn.004cf390
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.004cf140
mov byte [ebp - 4], 2
cmp byte [ebp - 0x38], 0
jne 0x420203
mov esi, 1
lea edi, [ebp - 0x40]
call fcn.004cece0
mov ebx, eax
test ebx, ebx
je 0x4201f8
xor esi, esi
call fcn.004cec20
mov esi, eax
mov dword [ebp - 0x2c], ebx
lea edx, [ebp - 0x1c]
push edx
mov ecx, ebx
call fcn.0040b990
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 4
lea ebx, [ebp - 0x1c]
mov edi, dword [ebp + 0xc]
call fcn.00424eb0
mov byte [ebp - 4], 2
mov eax, ebx
push eax
call fcn.004b00b0
lea ecx, [ebp - 0x40]
push ecx
call fcn.004ced60
jmp 0x4201a6
mov byte [ebp - 4], 1
lea esi, [ebp - 0x40]
call fcn.004cebd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004cef10
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4217c0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609740
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
xor ecx, ecx
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
push str.SELECT_b_sent_b_recv_FROM_bandwidth_WHERE_b_hour____
lea edx, [ebp - 0x1c]
push edx
call fcn.004cf4b0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x1c]
call fcn.004cf390
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.004cf140
mov byte [ebp - 4], 2
cmp byte [ebp - 0x28], 0
jne 0x42185d
xor esi, esi
lea edi, [ebp - 0x30]
call fcn.004cec60
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov esi, 1
call fcn.004cec60
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov byte [ebp - 4], 1
lea esi, [ebp - 0x30]
call fcn.004cebd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004cef10
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 0x4218e0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609710
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
xor ecx, ecx
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
push str.SELECT_sum_b_sent___sum_b_recv__FROM_bandwidth_WHERE_b_hour_____AND_b_hour_____
lea edx, [ebp - 0x1c]
push edx
call fcn.004cf4b0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x10]
push eax
push 1
lea eax, [ebp - 0x1c]
call fcn.004cf390
mov ecx, dword [ebp + 0xc]
push ecx
push 2
lea eax, [ebp - 0x1c]
call fcn.004cf390
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.004cf140
mov byte [ebp - 4], 2
cmp byte [ebp - 0x28], 0
jne 0x42198b
xor esi, esi
lea edi, [ebp - 0x30]
call fcn.004cec60
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov esi, 1
call fcn.004cec60
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov byte [ebp - 4], 1
lea esi, [ebp - 0x30]
call fcn.004cebd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004cef10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x421a10
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6096e0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
push str.SELECT_b_hour__b_sent__b_recv_FROM_bandwidth_WHERE_b_hour_____AND_b_hour_____
lea edx, [ebp - 0x1c]
push edx
call fcn.004cf4b0
mov ebx, 1
mov byte [ebp - 4], bl
mov eax, dword [ebp + 0x10]
push eax
push ebx
lea eax, [ebp - 0x1c]
call fcn.004cf390
mov ecx, dword [ebp + 0xc]
push ecx
push 2
lea eax, [ebp - 0x1c]
call fcn.004cf390
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.004cf140
mov byte [ebp - 4], 2
lea ebx, [ebx]
cmp byte [ebp - 0x28], 0
jne 0x421ade
mov dword [ebp - 0x48], 0xffffffff
xor esi, esi
lea edi, [ebp - 0x30]
call fcn.004cec20
mov dword [ebp - 0x48], eax
mov esi, ebx
call fcn.004cec60
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov esi, 2
call fcn.004cec60
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
lea ecx, [ebp - 0x48]
push ecx
mov edi, dword [ebp + 0x14]
call fcn.00425070
lea edx, [ebp - 0x30]
push edx
call fcn.004ced60
jmp 0x421a90
mov byte [ebp - 4], bl
lea esi, [ebp - 0x30]
call fcn.004cebd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004cef10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x421eb0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6095f8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
push str.SELECT_name__path__severity__status__action_FROM_realtime_WHERE_applied__0_ORDER_BY_t_on_DESC_
lea ecx, [ebp - 0x38]
push ecx
push eax
call fcn.004cf6d0
mov byte [ebp - 4], 1
jmp 0x421f00
cmp byte [ebp - 0x30], 0
jne 0x421fca
xor esi, esi
lea edi, [ebp - 0x38]
call fcn.004cece0
lea edx, [ebp + 8]
push edx
mov ecx, eax
call fcn.0040b990
mov byte [ebp - 4], 2
lea ebx, [ebp + 8]
mov edi, dword [ebp + 0xc]
call fcn.00424a30
mov byte [ebp - 4], 1
mov ecx, ebx
call fcn.0040ba40
mov esi, 1
lea edi, [ebp - 0x38]
call fcn.004cece0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.0040b990
mov byte [ebp - 4], 3
lea ebx, [ebp - 0x14]
mov edi, dword [ebp + 0x10]
call fcn.00424a30
mov byte [ebp - 4], 1
mov ecx, ebx
call fcn.0040ba40
mov esi, 2
lea edi, [ebp - 0x38]
call fcn.004cec20
mov dword [ebp - 0x18], eax
lea ebx, [ebp - 0x18]
mov edi, dword [ebp + 0x14]
call fcn.004bd110
mov esi, 3
lea edi, [ebp - 0x38]
call fcn.004cec20
mov dword [ebp - 0x1c], eax
lea ebx, [ebp - 0x1c]
mov edi, dword [ebp + 0x18]
call fcn.004bd110
mov esi, 4
lea edi, [ebp - 0x38]
call fcn.004cec20
mov dword [ebp - 0x20], eax
lea ebx, [ebp - 0x20]
mov edi, dword [ebp + 0x1c]
call fcn.004bd110
lea edx, [ebp - 0x38]
push edx
call fcn.004ced60
jmp 0x421f00
mov byte [ebp - 4], 0
lea esi, [ebp - 0x38]
call fcn.004cebd0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x4221e0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609559
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0040b8d0
mov dword [ebp - 4], ebx
mov esi, 1
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
push str.SELECT_r_threats_FROM_scan_logs_WHERE_id__
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x1c]
call fcn.004cf4b0
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x10]
push eax
push esi
lea eax, [ebp - 0x20]
call fcn.004cf390
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.004cf140
mov byte [ebp - 4], 3
cmp byte [ebp - 0x2c], bl
jne 0x422279
xor esi, esi
lea edi, [ebp - 0x34]
call fcn.004cece0
mov edx, eax
mov edi, dword [ebp + 0xc]
call fcn.0040bab0
mov byte [ebp - 4], 2
lea esi, [ebp - 0x34]
call fcn.004cebd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004cef10
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0xc]
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 0x4222f0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609510
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push str.SELECT_r_time__r_app__r_os__r_comp__r_user__r_logs__r_sigs__r_found__r_end_FROM_scan_logs_WHERE_id__
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ecx + 0x1c]
call fcn.004cf4b0
mov ebx, 1
mov byte [ebp - 4], bl
mov edx, dword [ebp + 8]
push edx
push ebx
lea eax, [ebp - 0x1c]
call fcn.004cf390
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004cf140
mov byte [ebp - 4], 2
cmp byte [ebp - 0x28], 0
jne 0x42243b
xor esi, esi
lea edi, [ebp - 0x30]
call fcn.004cece0
mov edx, eax
mov edi, dword [ebp + 0xc]
call fcn.0040bab0
mov esi, ebx
lea edi, [ebp - 0x30]
call fcn.004cece0
mov edx, eax
mov edi, dword [ebp + 0x10]
call fcn.0040bab0
lea esi, [ebx + 1]
lea edi, [ebp - 0x30]
call fcn.004cece0
mov edx, eax
mov edi, dword [ebp + 0x14]
call fcn.0040bab0
lea esi, [ebx + 2]
lea edi, [ebp - 0x30]
call fcn.004cece0
mov edx, eax
mov edi, dword [ebp + 0x18]
call fcn.0040bab0
lea esi, [ebx + 3]
lea edi, [ebp - 0x30]
call fcn.004cece0
mov edx, eax
mov edi, dword [ebp + 0x1c]
call fcn.0040bab0
lea esi, [ebx + 4]
lea edi, [ebp - 0x30]
call fcn.004cece0
mov edx, eax
mov edi, dword [ebp + 0x20]
call fcn.0040bab0
lea esi, [ebx + 5]
lea edi, [ebp - 0x30]
call fcn.004cec20
mov edx, dword [ebp + 0x24]
mov dword [edx], eax
lea esi, [ebx + 6]
call fcn.004cec20
mov ecx, dword [ebp + 0x28]
mov dword [ecx], eax
lea esi, [ebx + 7]
call fcn.004cece0
mov edx, eax
mov edi, dword [ebp + 0x2c]
call fcn.0040bab0
mov byte [ebp - 4], bl
lea esi, [ebp - 0x30]
call fcn.004cebd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004cef10
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
mov byte [ebp - 4], bl
lea esi, [ebp - 0x30]
call fcn.004cebd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004cef10
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
Function at 0x423ce0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609164
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00443eb0
mov dword [ebp - 4], ebx
mov eax, 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push str.SELECT_c_id__c_path__c_proc__c_size__c_mod__c_on__c_blocked_FROM_doc_events2_WHERE_c_on____i_AND_c_on____i_
push 0x3e8
lea eax, [ebp + 0x14]
push eax
call fcn.004c1ad0
add esp, 0x14
mov byte [ebp - 4], 2
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x1c]
push eax
lea edx, [ebp - 0x28]
push edx
push ecx
call fcn.004cf6d0
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x14]
call fcn.0040b810
jmp 0x423d70
cmp byte [ebp - 0x20], bl
jne 0x423e1e
lea eax, [ebp - 0x50]
push eax
call fcn.0041e760
mov byte [ebp - 4], 5
xor esi, esi
lea edi, [ebp - 0x28]
call fcn.004cec60
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov esi, 1
call fcn.004cece0
mov ebx, eax
lea eax, [ebp - 0x48]
call fcn.0041cc80
mov esi, 2
call fcn.004cece0
mov ebx, eax
lea eax, [ebp - 0x44]
call fcn.0041cc80
mov esi, 3
call fcn.004cec60
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov esi, 4
call fcn.004cec20
mov dword [ebp - 0x38], eax
mov esi, 5
call fcn.004cec20
mov dword [ebp - 0x34], eax
mov esi, 6
call fcn.004cec20
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x50]
push ecx
mov edi, dword [ebp + 0xc]
call fcn.00425400
lea edx, [ebp - 0x28]
push edx
call fcn.004ced60
mov byte [ebp - 4], 4
lea eax, [ebp - 0x50]
push eax
call fcn.00423e60
xor ebx, ebx
jmp 0x423d70
mov byte [ebp - 4], 1
lea esi, [ebp - 0x28]
call fcn.004cebd0
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x424030
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6090bc
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00443eb0
mov dword [ebp - 4], ebx
mov eax, 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x1c]
push str.SELECT_c_id__c_path__c_proc__c_size__c_mod__c_on__c_blocked_FROM_doc_events2_WHERE_c_blocked__1_ORDER_BY_c_on_DESC_
lea edx, [ebp - 0x28]
push edx
push eax
call fcn.004cf6d0
mov byte [ebp - 4], 2
cmp byte [ebp - 0x20], bl
jne 0x424141
lea eax, [ebp - 0x50]
push eax
call fcn.0041e760
mov byte [ebp - 4], 3
xor esi, esi
lea edi, [ebp - 0x28]
call fcn.004cec60
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov esi, 1
call fcn.004cece0
mov ebx, eax
lea eax, [ebp - 0x48]
call fcn.0041cc80
mov esi, 2
call fcn.004cece0
mov ebx, eax
lea eax, [ebp - 0x44]
call fcn.0041cc80
mov esi, 3
call fcn.004cec60
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov esi, 4
call fcn.004cec20
mov dword [ebp - 0x38], eax
mov esi, 5
call fcn.004cec20
mov dword [ebp - 0x34], eax
mov esi, 6
call fcn.004cec20
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x50]
push ecx
mov edi, dword [ebp + 0xc]
call fcn.00425400
lea edx, [ebp - 0x28]
push edx
call fcn.004ced60
mov byte [ebp - 4], 2
lea eax, [ebp - 0x50]
push eax
call fcn.00423e60
xor ebx, ebx
jmp 0x424093
mov byte [ebp - 4], 1
lea esi, [ebp - 0x28]
call fcn.004cebd0
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8