joyce8/EMBER2024-capa huggingface dataset:
Function at 0x490590
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x4905ad
lea eax, [edi + 2]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 4], edi
je 0x4905be
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x30]
push eax
call esi
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp + 0xc]
call fcn.00491770
mov ebx, eax
lea eax, [esp + 0x28]
push eax
call esi
test eax, eax
je 0x490648
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x490648
mov esi, dword [esp + 0x20]
mov eax, esi
mov edi, dword [esp + 0x24]
or eax, edi
je 0x490648
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
sbb edx, dword [esp + 0x34]
call fcn.0050bb70
mulsd xmm0, qword [0x5bf270]
mov edx, edi
mov ecx, esi
movsd qword [esp + 0x38], xmm0
call fcn.0050bb70
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x38]
cvtps2pd xmm1, xmm1
divsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
jmp 0x49064b
xorps xmm0, xmm0
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push ebx
push str.Get_AdobeGC_client_download_path_status_____d__took_____.2f_ms.
push 4
call fcn.00496b90
add esp, 0x14
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x490670
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x49068d
lea eax, [edi + 2]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 4], edi
je 0x49069e
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x30]
push eax
call esi
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp + 0xc]
call fcn.00492140
mov ebx, eax
lea eax, [esp + 0x28]
push eax
call esi
test eax, eax
je 0x490728
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x490728
mov esi, dword [esp + 0x20]
mov eax, esi
mov edi, dword [esp + 0x24]
or eax, edi
je 0x490728
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
sbb edx, dword [esp + 0x34]
call fcn.0050bb70
mulsd xmm0, qword [0x5bf270]
mov edx, edi
mov ecx, esi
movsd qword [esp + 0x38], xmm0
call fcn.0050bb70
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x38]
cvtps2pd xmm1, xmm1
divsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
jmp 0x49072b
xorps xmm0, xmm0
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push ebx
push str.AdobeGC_client_download_status_____d__took_____.2f_ms.
push 4
call fcn.00496b90
add esp, 0x14
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x490750
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x49076d
lea eax, [edi + 2]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 4], edi
je 0x49077e
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x30]
push eax
call esi
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp + 0xc]
call fcn.00492920
mov ebx, eax
lea eax, [esp + 0x28]
push eax
call esi
test eax, eax
je 0x490808
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x490808
mov esi, dword [esp + 0x20]
mov eax, esi
mov edi, dword [esp + 0x24]
or eax, edi
je 0x490808
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
sbb edx, dword [esp + 0x34]
call fcn.0050bb70
mulsd xmm0, qword [0x5bf270]
mov edx, edi
mov ecx, esi
movsd qword [esp + 0x38], xmm0
call fcn.0050bb70
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x38]
cvtps2pd xmm1, xmm1
divsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
jmp 0x49080b
xorps xmm0, xmm0
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push ebx
push str.AdobeGC_Fetching_rules_status_____d__took_____.2f_ms.
push 4
call fcn.00496b90
add esp, 0x14
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x490830
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x49084d
lea eax, [edi + 2]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 4], edi
je 0x49085e
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x30]
push eax
call esi
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp + 0xc]
call fcn.004955b0
mov ebx, eax
lea eax, [esp + 0x28]
push eax
call esi
test eax, eax
je 0x4908e8
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x4908e8
mov esi, dword [esp + 0x20]
mov eax, esi
mov edi, dword [esp + 0x24]
or eax, edi
je 0x4908e8
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
sbb edx, dword [esp + 0x34]
call fcn.0050bb70
mulsd xmm0, qword [0x5bf270]
mov edx, edi
mov ecx, esi
movsd qword [esp + 0x38], xmm0
call fcn.0050bb70
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x38]
cvtps2pd xmm1, xmm1
divsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
jmp 0x4908eb
xorps xmm0, xmm0
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push ebx
push str.AdobeGC_Posting_rules_data_status_____d__took_____.2f_ms.
push 4
call fcn.00496b90
add esp, 0x14
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4909f0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x38
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x490a0b
lea eax, [edi + 2]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [edi + 4], edi
je 0x490a1b
mov eax, 3
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x30]
push eax
call esi
push dword [ebp + 0xc]
mov ecx, edi
call fcn.00497270
mov edi, eax
lea eax, [esp + 0x28]
push eax
call esi
test eax, eax
je 0x490aa2
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x490aa2
mov esi, dword [esp + 0x20]
mov eax, esi
or eax, dword [esp + 0x24]
je 0x490aa2
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
sbb edx, dword [esp + 0x34]
call fcn.0050bb70
mulsd xmm0, qword [0x5bf270]
mov ecx, esi
mov edx, dword [esp + 0x24]
movsd qword [esp + 0x38], xmm0
call fcn.0050bb70
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x38]
cvtps2pd xmm1, xmm1
divsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
jmp 0x490aa5
xorps xmm0, xmm0
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push edi
push str.AdobeGC_sending_ETS_event___Hostfile_modified_____d__took_____.2f_ms.
push 4
call fcn.00496b90
add esp, 0x14
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x490ad0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x38
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x490aeb
lea eax, [edi + 2]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [edi + 4], edi
je 0x490afb
mov eax, 3
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x30]
push eax
call esi
push dword [ebp + 0xc]
mov ecx, edi
call fcn.00497bc0
mov edi, eax
lea eax, [esp + 0x28]
push eax
call esi
test eax, eax
je 0x490b82
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x490b82
mov esi, dword [esp + 0x20]
mov eax, esi
or eax, dword [esp + 0x24]
je 0x490b82
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
sbb edx, dword [esp + 0x34]
call fcn.0050bb70
mulsd xmm0, qword [0x5bf270]
mov ecx, esi
mov edx, dword [esp + 0x24]
movsd qword [esp + 0x38], xmm0
call fcn.0050bb70
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x38]
cvtps2pd xmm1, xmm1
divsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
jmp 0x490b85
xorps xmm0, xmm0
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push edi
push str.AdobeGC_sending_in_app_event____d__took_____.2f_ms.
push 4
call fcn.00496b90
add esp, 0x14
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x490bb0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x490bcd
lea eax, [edi + 2]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 4], edi
je 0x490bde
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x30]
push eax
call esi
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp + 0xc]
call fcn.00498000
mov ebx, eax
lea eax, [esp + 0x28]
push eax
call esi
test eax, eax
je 0x490c68
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x490c68
mov esi, dword [esp + 0x20]
mov eax, esi
mov edi, dword [esp + 0x24]
or eax, edi
je 0x490c68
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
sbb edx, dword [esp + 0x34]
call fcn.0050bb70
mulsd xmm0, qword [0x5bf270]
mov edx, edi
mov ecx, esi
movsd qword [esp + 0x38], xmm0
call fcn.0050bb70
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x38]
cvtps2pd xmm1, xmm1
divsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
jmp 0x490c6b
xorps xmm0, xmm0
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push ebx
push str.AdobeGC_sending_machine_event____d__took_____.2f_ms.
push 4
call fcn.00496b90
add esp, 0x14
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49b140
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 4], 0
jne 0x49b16b
push 8
call fcn.0050ada4
mov dword [esp + 0x24], eax
add esp, 4
mov dword [eax], vtable.adobe_ial::HTTPCommunicationAgent.0
mov dword [edi + 4], eax
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x30]
push eax
call esi
push dword [ebp + 0x14]
mov ecx, dword [edi + 4]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov eax, dword [ecx]
push dword [ebp + 8]
call dword [eax + 4]
mov ebx, eax
lea eax, [esp + 0x28]
push eax
call esi
test eax, eax
je 0x49b1fc
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x49b1fc
mov esi, dword [esp + 0x20]
mov eax, esi
mov edi, dword [esp + 0x24]
or eax, edi
je 0x49b1fc
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
sbb edx, dword [esp + 0x34]
call fcn.0050bb70
mulsd xmm0, qword [0x5bf270]
mov edx, edi
mov ecx, esi
movsd qword [esp + 0x38], xmm0
call fcn.0050bb70
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x38]
cvtps2pd xmm1, xmm1
divsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
jmp 0x49b1ff
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
sub esp, 8
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push dword [eax + 0x10]
push ebx
push str.HTTPCommunicationAgent__Return_Code:__d__response_size___d__time_taken___.2f_ms.
push 4
call fcn.00496b90
add esp, 0x18
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x49b230
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 4], 0
jne 0x49b25b
push 8
call fcn.0050ada4
mov dword [esp + 0x24], eax
add esp, 4
mov dword [eax], vtable.adobe_ial::HTTPCommunicationAgent.0
mov dword [edi + 4], eax
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x30]
push eax
call esi
cmp dword [ebp + 0x10], 0
mov ecx, dword [edi + 4]
push 0x7d
setne al
movzx eax, al
mov edx, dword [ecx]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [edx + 8]
mov ebx, eax
lea eax, [esp + 0x28]
push eax
call esi
test eax, eax
je 0x49b2f3
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x49b2f3
mov esi, dword [esp + 0x20]
mov eax, esi
mov edi, dword [esp + 0x24]
or eax, edi
je 0x49b2f3
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
sbb edx, dword [esp + 0x34]
call fcn.0050bb70
mulsd xmm0, qword [0x5bf270]
mov edx, edi
mov ecx, esi
movsd qword [esp + 0x38], xmm0
call fcn.0050bb70
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x38]
cvtps2pd xmm1, xmm1
divsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
jmp 0x49b2f6
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
sub esp, 8
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push dword [eax + 0x10]
push ebx
push str.HTTPCommunicationAgent__Return_Code:__d__response_size___d__time_taken___.2f_ms.
push 4
call fcn.00496b90
add esp, 0x18
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a3cc0
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581b90
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5df3f4]
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 dword [ebp - 0x48], ecx
mov edi, dword [0x5f9500]
mov eax, 7
xor ecx, ecx
mov esi, dword [edi]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x28], cx
mov byte [ebp - 4], 1
cmp esi, edi
je 0x4a3dc5
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
nop dword [eax]
cmp dword [esi + 0x24], 0x10
lea ecx, [esi + 0x10]
jb 0x4a3d3b
mov ecx, dword [ecx]
lea edx, [ebp - 0x40]
call fcn.004a3890
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0044d8f0
push 2
push 0x5be74c
lea ecx, [ebp - 0x28]
call fcn.00450370
cmp dword [esi + 0x3c], 0x10
lea ecx, [esi + 0x28]
jb 0x4a3d6d
mov ecx, dword [ecx]
lea edx, [ebp - 0x40]
call fcn.004a3890
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004504a0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0xa0000000
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x48]
call ebx
lea ecx, [ebp - 0x44]
call fcn.00453a80
mov esi, dword [ebp - 0x44]
cmp esi, edi
jne 0x4a3d30
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4a3dc2
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0044d810
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], cx
cmp eax, 8
jb 0x4a3deb
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0044d810
mov al, 1
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.0050ad85
mov esp, ebp
pop ebp
ret

Function at 0x4a7490
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, ecx
sub esp, 0xc
test edx, edx
je 0x4a7518
push ebx
push esi
mov ecx, 0x5b3efb
mov byte [edx], 0xda
sub ecx, edx
mov dword [ebp - 4], 0x33
push edi
mov dword [ebp - 8], ecx
lea eax, [edx + 1]
mov esi, 0x5b3ef8
mov edi, 0x5b3ef9
mov ebx, 0x5b3efa
mov ecx, 0x5b3efc
sub esi, edx
sub edi, edx
sub ebx, edx
sub ecx, edx
mov dword [ebp - 0xc], ecx
movzx ecx, byte [esi + eax]
lea eax, [eax + 5]
xor cl, byte [edx]
mov byte [eax - 5], cl
movzx ecx, byte [edi + eax - 5]
xor cl, byte [edx]
mov byte [eax - 4], cl
movzx ecx, byte [ebx + eax - 5]
xor cl, byte [edx]
mov byte [eax - 3], cl
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx + eax - 5]
xor cl, byte [edx]
mov byte [eax - 2], cl
mov ecx, dword [ebp - 0xc]
movzx ecx, byte [ecx + eax - 5]
xor cl, byte [edx]
sub dword [ebp - 4], 1
mov byte [eax - 1], cl
jne 0x4a74d5
pop edi
pop esi
pop ebx
mov eax, 0x100
mov esp, ebp
pop ebp
ret
Function at 0x4a7580
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0050b7c0
mov eax, dword [0x5df3f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push ecx
push 0
push eax
test esi, esi
jne 0x4a760d
lea eax, [ebp - 0x1008]
push 0xffd
push eax
call fcn.00447940
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.0051d0c1
or ecx, 0xffffffff
add esp, 0x1c
test eax, eax
cmovs eax, ecx
test eax, eax
jle 0x4a75e0
lea eax, [ebp + eax - 0x1008]
jmp 0x4a75e8
cmp eax, 0xffffffff
jne 0x4a7626
lea eax, [ebp - 0xb]
mov word [eax], 0xa0d
mov byte [eax + 2], 0
lea eax, [ebp - 0x1008]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ad85
mov esp, ebp
pop ebp
ret
push esi
call fcn.00447940
push dword [eax + 4]
push dword [eax]
call fcn.0051cf85
push esi
call fcn.0052535c
add esp, 0x1c
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0050ad85
mov esp, ebp
pop ebp
ret
Function at 0x4b33d0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5df3f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], 0
push eax
push 0
push 8
mov word [ebp - 8], 0x500
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4b344e
call esi
cmp eax, 0x3f0
jne 0x4b342f
lea eax, [ebp - 0x14]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4b344e
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ad85
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 2
push dword [ebp - 0x14]
call edi
test eax, eax
jne 0x4b3438
call esi
cmp eax, 0x7a
jne 0x4b3438
mov esi, dword [ebp - 0x18]
mov eax, esi
call fcn.0050b7f0
mov ebx, esp
test ebx, ebx
je 0x4b3438
lea eax, [ebp - 0x18]
push eax
push esi
push ebx
push 2
push dword [ebp - 0x14]
call edi
test eax, eax
je 0x4b3438
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x222
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x4b3438
xor esi, esi
mov byte [ebp - 0xd], 0
cmp dword [ebx], esi
jbe 0x4b34e0
lea edi, [ebx + 4]
push dword [ebp - 0x1c]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4b34dc
inc esi
add edi, 8
cmp esi, dword [ebx]
jb 0x4b34c3
jmp 0x4b34e0
mov byte [ebp - 0xd], 1
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0xd]
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ad85
mov esp, ebp
pop ebp
ret
Function at 0x4bbe10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583b08
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5df3f4]
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, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x70], eax
call fcn.004bbcb0
add esp, 4
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
push 0
push 0x5b3ff8
call fcn.0044d570
push 0x104
mov dword [ebp - 4], 0
call fcn.0050ad9b
mov edi, eax
mov dword [ebp - 0x6c], 0x104
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.004bc010
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
add esp, 0xc
lea edx, [ebp - 0x59]
cmp dword [ebp - 0x14], 0x10
cmovae ecx, dword [ebp - 0x28]
add eax, ecx
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
push edx
cmovae ecx, dword [ebp - 0x28]
push eax
push ecx
lea ecx, [ebp - 0x58]
call fcn.00452200
mov ecx, dword [ebp + 0xc]
lea ebx, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
mov byte [ebp - 4], 1
cmovae ebx, dword [ebp - 0x58]
mov esi, dword [ecx + 0x14]
mov dword [ebp - 0x68], ebx
cmp esi, 0x10
jb 0x4bbee2
mov edx, dword [ecx]
jmp 0x4bbee4
mov edx, ecx
mov eax, dword [ecx + 0x10]
add eax, edx
cmp esi, 0x10
jb 0x4bbef0
mov ecx, dword [ecx]
lea edx, [ebp - 0x59]
push edx
push eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.004bbb90
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x60]
push eax
push 0x20119
push 0
push ebx
push dword [ebp - 0x64]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea esi, [ebp - 0x40]
cmovae esi, dword [ebp - 0x40]
mov byte [ebp - 4], 2
call ebx
test eax, eax
je 0x4bbf3f
lea eax, [ebp - 0x60]
push eax
push 0x20219
push 0
push dword [ebp - 0x68]
push dword [ebp - 0x64]
call ebx
test eax, eax
jne 0x4bbf76
lea eax, [ebp - 0x6c]
push eax
push edi
push 0
push 0
push esi
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4bbf76
cmp byte [edi], al
jne 0x4bbf5e
xor ecx, ecx
jmp 0x4bbf6c
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bbf63
sub ecx, edx
push ecx
mov ecx, dword [ebp - 0x70]
push edi
call fcn.0044d570
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.0050ad96
mov eax, dword [ebp - 0x2c]
add esp, 4
cmp eax, 8
jb 0x4bbf9d
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0044d810
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x4bbfc6
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0044d810
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], 0
cmp eax, 0x10
jb 0x4bbfef
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0044ad40
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.0050ad85
mov esp, ebp
pop ebp
ret
Function at 0x4bc0f3
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x4bc12c
cmp dword [ebp + 0x10], 0
je 0x4bc12c
cmp dword [ebp + 0x14], 0
je 0x4bc12c
cmp dword [ebp + 0x18], 0
je 0x4bc12c
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.SELECT_value_FROM_domain_data_WHERE_domain___d_AND_subdomain___q_AND_key___q
push dword [ebp + 0x18]
push dword [eax]
call fcn.004be2f2
add esp, 0x18
pop ebp
ret
push 0xa
pop eax
pop ebp
ret

Function at 0x4bc131
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x4bc161
cmp dword [ebp + 0x10], 0
je 0x4bc161
cmp dword [ebp + 0x14], 0
je 0x4bc161
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.SELECT_key_FROM_domain_data_WHERE_domain___d_AND_subdomain___q
push dword [ebp + 0x14]
push dword [eax]
call fcn.004be11d
add esp, 0x14
pop ebp
ret
push 0xa
pop eax
pop ebp
ret

Function at 0x4bc166
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x4bc18d
cmp dword [ebp + 0x10], 0
je 0x4bc18d
push dword [ebp + 0xc]
push str.SELECT_DISTINCT_subdomain_FROM_domain_data_WHERE_domain___d
push dword [ebp + 0x10]
push dword [eax]
call fcn.004be11d
add esp, 0x10
pop ebp
ret
push 0xa
pop eax
pop ebp
ret