joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4132a0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5d3ec1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
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 0x4132f0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x18]
call fcn.0040d4e0
mov dword [esp + 0x38], 1
mov edx, dword [esp + 0x48]
push ebx
push edx
or eax, 0xffffffff
call fcn.0040d290
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.0040d430
mov dword [esp + 0x10], 1
mov byte [esp + 0x38], bl
cmp dword [esp + 0x2c], 8
jb 0x41335a
mov edx, dword [esp + 0x18]
push edx
call fcn.0059392f
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 0x418cb0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3dba
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
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.004a86e0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x1c]
call fcn.004a85c0
mov ecx, dword [ebp + 0x10]
push ecx
push 2
lea eax, [ebp - 0x1c]
call fcn.004a85c0
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.004a8370
mov byte [ebp - 4], 2
lea esp, [esp]
cmp byte [ebp - 0x28], 0
jne 0x418de3
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00417ce0
mov byte [ebp - 4], 3
xor esi, esi
lea edi, [ebp - 0x30]
call fcn.004a7e50
mov dword [ebp - 0x4c], eax
mov esi, 1
call fcn.004a7f10
mov edx, eax
lea edi, [ebp - 0x48]
call fcn.0040b9c0
mov esi, 2
lea edi, [ebp - 0x30]
call fcn.004a7e50
mov dword [ebp - 0x44], eax
mov esi, 3
call fcn.004a7f10
mov edx, eax
lea edi, [ebp - 0x40]
call fcn.0040b9c0
mov esi, 4
lea edi, [ebp - 0x30]
call fcn.004a7f10
mov edx, eax
lea edi, [ebp - 0x3c]
call fcn.0040b9c0
mov esi, 5
lea edi, [ebp - 0x30]
call fcn.004a7e50
mov dword [ebp - 0x38], eax
mov esi, 6
call fcn.004a7e50
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x4c]
push edx
call fcn.0041cea0
mov eax, edi
push eax
call fcn.004a7f90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00418c40
jmp 0x418d30
mov byte [ebp - 4], 1
lea esi, [ebp - 0x30]
call fcn.004a7e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004a8140
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 0x4194f0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3ce2
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
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.004a86e0
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
push edx
push 1
lea eax, [ebp - 0x24]
call fcn.004a85c0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.004a8370
mov byte [ebp - 4], 2
cmp byte [ebp - 0x38], 0
jne 0x4195b3
mov esi, 1
lea edi, [ebp - 0x40]
call fcn.004a7f10
mov ebx, eax
test ebx, ebx
je 0x4195a8
xor esi, esi
call fcn.004a7e50
mov esi, eax
mov dword [ebp - 0x2c], ebx
lea edx, [ebp - 0x1c]
push edx
mov ecx, ebx
call fcn.0040b8a0
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.0041d0e0
mov byte [ebp - 4], 2
mov eax, ebx
push eax
call fcn.0048e6d0
lea ecx, [ebp - 0x40]
push ecx
call fcn.004a7f90
jmp 0x419556
mov byte [ebp - 4], 1
lea esi, [ebp - 0x40]
call fcn.004a7e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004a8140
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 0x419e50
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d0580
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
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.004a86e0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x1c]
call fcn.004a85c0
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.004a8370
mov byte [ebp - 4], 2
cmp byte [ebp - 0x28], 0
jne 0x419eed
xor esi, esi
lea edi, [ebp - 0x30]
call fcn.004a7e90
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov esi, 1
call fcn.004a7e90
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov byte [ebp - 4], 1
lea esi, [ebp - 0x30]
call fcn.004a7e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004a8140
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 0x419f70
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d0550
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
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.004a86e0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x10]
push eax
push 1
lea eax, [ebp - 0x1c]
call fcn.004a85c0
mov ecx, dword [ebp + 0xc]
push ecx
push 2
lea eax, [ebp - 0x1c]
call fcn.004a85c0
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.004a8370
mov byte [ebp - 4], 2
cmp byte [ebp - 0x28], 0
jne 0x41a01b
xor esi, esi
lea edi, [ebp - 0x30]
call fcn.004a7e90
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov esi, 1
call fcn.004a7e90
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov byte [ebp - 4], 1
lea esi, [ebp - 0x30]
call fcn.004a7e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004a8140
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 0x41a3f0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3c28
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
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.004a8900
mov byte [ebp - 4], 1
jmp 0x41a440
cmp byte [ebp - 0x30], 0
jne 0x41a50a
xor esi, esi
lea edi, [ebp - 0x38]
call fcn.004a7f10
lea edx, [ebp + 8]
push edx
mov ecx, eax
call fcn.0040b8a0
mov byte [ebp - 4], 2
lea ebx, [ebp + 8]
mov edi, dword [ebp + 0xc]
call fcn.0041ce00
mov byte [ebp - 4], 1
mov ecx, ebx
call fcn.0040b950
mov esi, 1
lea edi, [ebp - 0x38]
call fcn.004a7f10
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.0040b8a0
mov byte [ebp - 4], 3
lea ebx, [ebp - 0x14]
mov edi, dword [ebp + 0x10]
call fcn.0041ce00
mov byte [ebp - 4], 1
mov ecx, ebx
call fcn.0040b950
mov esi, 2
lea edi, [ebp - 0x38]
call fcn.004a7e50
mov dword [ebp - 0x18], eax
lea ebx, [ebp - 0x18]
mov edi, dword [ebp + 0x14]
call fcn.0041cc20
mov esi, 3
lea edi, [ebp - 0x38]
call fcn.004a7e50
mov dword [ebp - 0x1c], eax
lea ebx, [ebp - 0x1c]
mov edi, dword [ebp + 0x18]
call fcn.0041cc20
mov esi, 4
lea edi, [ebp - 0x38]
call fcn.004a7e50
mov dword [ebp - 0x20], eax
lea ebx, [ebp - 0x20]
mov edi, dword [ebp + 0x1c]
call fcn.0041cc20
lea edx, [ebp - 0x38]
push edx
call fcn.004a7f90
jmp 0x41a440
mov byte [ebp - 4], 0
lea esi, [ebp - 0x38]
call fcn.004a7e00
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 0x41a720
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d0439
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
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.0040b7e0
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.004a86e0
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x10]
push eax
push esi
lea eax, [ebp - 0x20]
call fcn.004a85c0
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.004a8370
mov byte [ebp - 4], 3
cmp byte [ebp - 0x2c], bl
jne 0x41a7b9
xor esi, esi
lea edi, [ebp - 0x34]
call fcn.004a7f10
mov edx, eax
mov edi, dword [ebp + 0xc]
call fcn.0040b9c0
mov byte [ebp - 4], 2
lea esi, [ebp - 0x34]
call fcn.004a7e00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004a8140
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 0x41a830
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d03f0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
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.004a86e0
mov ebx, 1
mov byte [ebp - 4], bl
mov edx, dword [ebp + 8]
push edx
push ebx
lea eax, [ebp - 0x1c]
call fcn.004a85c0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004a8370
mov byte [ebp - 4], 2
cmp byte [ebp - 0x28], 0
jne 0x41a97b
xor esi, esi
lea edi, [ebp - 0x30]
call fcn.004a7f10
mov edx, eax
mov edi, dword [ebp + 0xc]
call fcn.0040b9c0
mov esi, ebx
lea edi, [ebp - 0x30]
call fcn.004a7f10
mov edx, eax
mov edi, dword [ebp + 0x10]
call fcn.0040b9c0
lea esi, [ebx + 1]
lea edi, [ebp - 0x30]
call fcn.004a7f10
mov edx, eax
mov edi, dword [ebp + 0x14]
call fcn.0040b9c0
lea esi, [ebx + 2]
lea edi, [ebp - 0x30]
call fcn.004a7f10
mov edx, eax
mov edi, dword [ebp + 0x18]
call fcn.0040b9c0
lea esi, [ebx + 3]
lea edi, [ebp - 0x30]
call fcn.004a7f10
mov edx, eax
mov edi, dword [ebp + 0x1c]
call fcn.0040b9c0
lea esi, [ebx + 4]
lea edi, [ebp - 0x30]
call fcn.004a7f10
mov edx, eax
mov edi, dword [ebp + 0x20]
call fcn.0040b9c0
lea esi, [ebx + 5]
lea edi, [ebp - 0x30]
call fcn.004a7e50
mov edx, dword [ebp + 0x24]
mov dword [edx], eax
lea esi, [ebx + 6]
call fcn.004a7e50
mov ecx, dword [ebp + 0x28]
mov dword [ecx], eax
lea esi, [ebx + 7]
call fcn.004a7f10
mov edx, eax
mov edi, dword [ebp + 0x2c]
call fcn.0040b9c0
mov byte [ebp - 4], bl
lea esi, [ebp - 0x30]
call fcn.004a7e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004a8140
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.004a7e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004a8140
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 0x41bdb0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6d94
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
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.0041d3b0
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.00499d70
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.004a8900
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x14]
call fcn.0040b720
jmp 0x41be40
cmp byte [ebp - 0x20], bl
jne 0x41beee
lea eax, [ebp - 0x50]
push eax
call fcn.00417be0
mov byte [ebp - 4], 5
xor esi, esi
lea edi, [ebp - 0x28]
call fcn.004a7e90
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov esi, 1
call fcn.004a7f10
mov ebx, eax
lea eax, [ebp - 0x48]
call fcn.0041c630
mov esi, 2
call fcn.004a7f10
mov ebx, eax
lea eax, [ebp - 0x44]
call fcn.0041c630
mov esi, 3
call fcn.004a7e90
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov esi, 4
call fcn.004a7e50
mov dword [ebp - 0x38], eax
mov esi, 5
call fcn.004a7e50
mov dword [ebp - 0x34], eax
mov esi, 6
call fcn.004a7e50
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x50]
push ecx
mov edi, dword [ebp + 0xc]
call fcn.0041d520
lea edx, [ebp - 0x28]
push edx
call fcn.004a7f90
mov byte [ebp - 4], 4
lea eax, [ebp - 0x50]
push eax
call fcn.0041bf30
xor ebx, ebx
jmp 0x41be40
mov byte [ebp - 4], 1
lea esi, [ebp - 0x28]
call fcn.004a7e00
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 0x41c100
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6cec
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
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.0041d3b0
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.004a8900
mov byte [ebp - 4], 2
cmp byte [ebp - 0x20], bl
jne 0x41c211
lea eax, [ebp - 0x50]
push eax
call fcn.00417be0
mov byte [ebp - 4], 3
xor esi, esi
lea edi, [ebp - 0x28]
call fcn.004a7e90
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov esi, 1
call fcn.004a7f10
mov ebx, eax
lea eax, [ebp - 0x48]
call fcn.0041c630
mov esi, 2
call fcn.004a7f10
mov ebx, eax
lea eax, [ebp - 0x44]
call fcn.0041c630
mov esi, 3
call fcn.004a7e90
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov esi, 4
call fcn.004a7e50
mov dword [ebp - 0x38], eax
mov esi, 5
call fcn.004a7e50
mov dword [ebp - 0x34], eax
mov esi, 6
call fcn.004a7e50
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x50]
push ecx
mov edi, dword [ebp + 0xc]
call fcn.0041d520
lea edx, [ebp - 0x28]
push edx
call fcn.004a7f90
mov byte [ebp - 4], 2
lea eax, [ebp - 0x50]
push eax
call fcn.0041bf30
xor ebx, ebx
jmp 0x41c163
mov byte [ebp - 4], 1
lea esi, [ebp - 0x28]
call fcn.004a7e00
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
Function at 0x424290
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov dword [esp], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
test edi, edi
jne 0x4242b7
mov eax, 0xa0
add esp, 0xc
ret
push ebx
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x4242c6
mov dword [ebx], 0
push esi
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push ecx
push closesocket
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
je 0x4242f6
cmp esi, 2
je 0x42434f
pop esi
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 8]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [esp + 0xc]
push edx
push 0
lea eax, [esp + 0x18]
push eax
push 0
push str.LaunchPermission
push ecx
call ebx
mov esi, eax
test esi, esi
je 0x424321
cmp esi, 0x7a
jne 0x42434b
mov edx, dword [esp + 0xc]
push edx
call fcn.0059409d
add esp, 4
lea ecx, [esp + 0xc]
push ecx
push eax
lea edx, [esp + 0x18]
push edx
push 0
mov dword [edi], eax
mov eax, dword [esp + 0x18]
push str.LaunchPermission
push eax
call ebx
mov esi, eax
mov ebx, dword [esp + 0x18]
test esi, esi
je 0x42437f
mov eax, dword [edi]
test eax, eax
je 0x424362
push eax
call fcn.00593fc0
add esp, 4
mov dword [edi], 0
test ebx, ebx
je 0x42437f
mov ecx, edi
call fcn.004248e0
mov esi, eax
test esi, esi
jne 0x42437f
mov dword [ebx], 1
mov eax, dword [esp + 8]
test eax, eax
je 0x42438e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x4243a0
Capabilities:
Get user security identifier

Disassembly:
sub esp, 0x210
mov eax, dword [0x6d26f8]
xor eax, esp
mov dword [esp + 0x20c], eax
push edi
xor eax, eax
push 0x1fe
mov edi, ecx
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.005985f0
add esp, 0xc
mov ecx, esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0xff
call fcn.00424a60
test eax, eax
je 0x424404
xor eax, eax
pop edi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0059393a
add esp, 0x210
ret
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [edi]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
push esi
push 0
call ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0x7a
jne 0x424473
mov ecx, dword [esp + 0xc]
push ecx
xor ebx, ebx
call fcn.0059409d
add esp, 4
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
push ecx
push eax
push esi
push ebx
mov dword [edi], eax
mov dword [esp + 0x2c], 0xff
call ebp
test eax, eax
jne 0x424473
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [esp + 0x218]
pop ebp
mov eax, ebx
pop ebx
pop edi
xor ecx, esp
call fcn.0059393a
add esp, 0x210
ret
Function at 0x424860
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 8]
push eax
lea ecx, [esp + 8]
push ecx
push 0
push 0xf003f
push 0
push 0x692fd0
push 0
push edx
push closesocket
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x4248be
push edi
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorLength]
push eax
mov eax, dword [esp + 8]
push edi
push 3
push esi
push str.LaunchPermission
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [esp + 4]
test eax, eax
je 0x4248cd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x424c50
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x6d26f8]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push 0x118
xor esi, esi
lea eax, [esp + 0xc]
push esi
push eax
mov dword [esp + 0x10], 0x11c
call fcn.005985f0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x424cc5
mov eax, dword [esp + 8]
cmp eax, 5
jne 0x424cbe
mov eax, dword [esp + 0xc]
cmp eax, 1
jb 0x424cc0
jne 0x424cb0
cmp word [esp + 0x118], 2
jmp 0x424cbe
cmp eax, 2
jne 0x424cc5
cmp word [esp + 0x118], 1
jae 0x424cc5
mov esi, 1
mov ecx, dword [esp + 0x120]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0059393a
add esp, 0x120
ret
Function at 0x4290e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d6a49
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push esi
call fcn.0041d3b0
mov dword [esp + 0x14], 0
lea eax, [esi + 0x18]
push eax
call fcn.0041d3b0
mov byte [esp + 0x14], 1
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x30]
push eax
call edi
mov byte [esp + 0x14], 2
lea ecx, [esi + 0x50]
push ecx
call fcn.00438210
mov byte [esp + 0x14], 3
lea eax, [esi + 0x70]
push eax
call edi
mov byte [esp + 0x14], 4
lea edx, [esi + 0x88]
push edx
call fcn.004493a0
mov byte [esp + 0x14], 5
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x429380
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5d3741
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], 0
mov ecx, dword [eax]
lea edx, [esp + 0xc]
call fcn.004292d0
mov dword [esp + 0x30], 1
cmp dword [eax + 0x18], 8
jb 0x4293d2
mov eax, dword [eax + 4]
jmp 0x4293d5
add eax, 4
push esi
mov ecx, eax
call fcn.0040b8a0
mov dword [esp + 8], 1
mov byte [esp + 0x30], 0
cmp dword [esp + 0x24], 8
jb 0x4293fe
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0059392f
add esp, 4
xor edx, edx
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], dx
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret