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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4e3a20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx]
add edx, edx
mov eax, dword [eax + 0x10]
push esi
mov esi, dword [eax + edx*8]
mov eax, 1
push edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x38], eax
lea esp, [esp]
push eax
push str.sqlite_stat_d
lea eax, [ebp - 0x1c]
push eax
push 0x18
call fcn.0040c2e0
mov ecx, dword [ebx]
add esp, 0x10
cmp byte [ebp - 0x1c], 0
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x1c]
je 0x4466d6
lea esp, [esp]
inc edx
cmp byte [edx], 0
jne 0x4466d0
lea eax, [ebp - 0x1c]
sub edx, eax
mov eax, dword [ecx + 0x14]
and edx, 0x3fffffff
xor ebx, ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x44], eax
test eax, eax
jle 0x446811
mov edi, ebx
cmp ebx, 2
jge 0x446701
xor edi, 1
test esi, esi
je 0x44675f
mov ecx, dword [ecx + 0x10]
mov edx, edi
add edx, edx
mov eax, esi
mov esi, dword [ecx + edx*8]
mov ecx, dword [ebp - 0x24]
mov cl, byte [ecx]
test cl, cl
je 0x44673d
lea ebx, [ebx]
movzx edx, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x4cb038]
cmp cl, byte [edx + 0x4cb038]
jne 0x44673d
mov cl, byte [eax + 1]
inc eax
inc esi
test cl, cl
jne 0x446720
movzx eax, byte [eax]
movzx ecx, byte [esi]
movzx eax, byte [eax + 0x4cb038]
movzx ecx, byte [ecx + 0x4cb038]
sub eax, ecx
jne 0x4467d3
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + 0x10]
add edi, edi
mov ecx, dword [eax + edi*8 + 0xc]
add ecx, 8
mov dword [ebp - 0x20], ecx
cmp dword [ecx + 0xc], 0
je 0x4467ab
xor esi, esi
mov edi, edx
lea ebx, [ebp - 0x1c]
test edx, edx
jle 0x4467a0
nop
movzx eax, byte [ebx]
lea ecx, [esi*8]
movzx edx, byte [eax + 0x4cb038]
xor edx, ecx
dec edi
xor esi, edx
lea ebx, [ebx + 1]
test edi, edi
jg 0x446780
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x34]
mov eax, esi
xor edx, edx
div dword [ecx]
jmp 0x4467ad
xor edx, edx
push edx
push dword [ebp - 0x28]
lea edx, [ebp - 0x1c]
call fcn.0040e3b0
add esp, 8
test eax, eax
je 0x4467cc
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4467f0
jmp 0x4467d6
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x4467d6
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
inc ebx
mov dword [ebp - 0x34], ebx
cmp ebx, dword [ebp - 0x44]
jl 0x4466f7
test eax, eax
je 0x446811
push dword [ebp - 0x3c]
mov esi, dword [ebp - 0x24]
push dword [ebp - 0x40]
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x1c]
push eax
push esi
push str.DELETE_FROM__Q._s_WHERE__s_Q
push ebx
call fcn.004432d0
add esp, 0x18
jmp 0x446814
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, 4
jle 0x4466a0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a2eda
mov esp, ebp
pop ebp
ret
Function at 0x469860
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ecx + 0x10]
push ebx
add edx, edx
mov dword [ebp - 0x14], ecx
mov ebx, dword [eax + edx*8 + 0xc]
mov ecx, dword [ebp + 8]
push esi
add ebx, 0x28
push edi
mov dword [ebp - 0x10], ebx
mov esi, ecx
test ecx, ecx
je 0x46989e
cmp byte [ecx], 0
je 0x469896
lea esp, [esp]
inc esi
cmp byte [esi], 0
jne 0x469890
sub esi, ecx
and esi, 0x3fffffff
mov eax, dword [ebx]
xor edi, edi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4698e3
mov ebx, esi
test esi, esi
jle 0x4698d7
mov esi, ecx
movzx eax, byte [esi]
lea ecx, [edi*8]
movzx edx, byte [eax + 0x4cb038]
xor edx, ecx
dec ebx
xor edi, edx
lea esi, [esi + 1]
test ebx, ebx
jg 0x4698b4
mov esi, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov eax, edi
xor edx, edx
div dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
mov edi, edx
push edi
mov edx, ecx
push esi
mov ecx, ebx
call fcn.0040e3b0
add esp, 8
test eax, eax
je 0x469972
mov esi, dword [eax + 8]
push edi
mov edx, eax
mov ecx, ebx
call fcn.0040e460
add esp, 4
test esi, esi
je 0x469972
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x18]
jne 0x469931
mov ecx, esi
call fcn.00469570
lea ecx, [eax + 0x40]
mov eax, dword [ecx]
cmp eax, esi
je 0x46992a
lea ecx, [eax + 0x20]
mov eax, dword [ecx]
cmp eax, esi
jne 0x469921
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
mov dword [ecx], eax
mov ebx, dword [ebp - 0x14]
mov edx, dword [esi + 0x1c]
mov ecx, ebx
call fcn.004686d0
mov edx, dword [esi]
mov ecx, ebx
call fcn.0040a6d0
mov edx, dword [esi + 4]
mov ecx, ebx
call fcn.0040a6d0
mov edx, dword [esi + 0xc]
mov ecx, ebx
call fcn.0043a520
mov edx, dword [esi + 0x10]
mov ecx, ebx
call fcn.004485e0
mov edx, esi
mov ecx, ebx
call fcn.0040a6d0
or dword [ebx + 0x18], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4854d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1b9e
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4e3a20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x4e7fdc]
test al, 1
jne 0x485527
or eax, 1
mov dword [0x4e7fdc], eax
mov dword [ebp - 4], 0
call fcn.00404600
push 0x4c27b0
call fcn.004a377d
add esp, 4
mov dword [ebp - 4], 0xffffffff
push str.Local0569E0A2_5C74_4DF5_80B0_02DFA754FFFC
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0xd8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x485599
push str.updator_notifier_already_launched
push 0x4d6eec
push 0x4e7f48
call fcn.004056c0
add esp, 0xc
push dword [esi + 0xd8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [esi + 0xd8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xd8], 0
mov eax, 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push str.Local9AF85FE3_2B1B_4651_9B41_2CB49E73EF9F
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0xdc], eax
call fcn.00490c90
mov ecx, dword [esi + 0xd8]
mov dword [esi + 0xe0], eax
test ecx, ecx
je 0x48564a
cmp dword [esi + 0xdc], 0
je 0x48564a
test eax, eax
je 0x48564a
push 0
push 0
push 0
push 0x484a10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4e7b08], eax
test eax, eax
jne 0x485621
push str.Thread_Creation_Failed..
push 0x4d6eec
call fcn.00404990
push eax
call fcn.00405900
add esp, 0xc
mov eax, 6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push str.Event_created._Now_waiting_on_it...
push 0x4d6eec
push 0x4e7f48
call fcn.004056c0
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push eax
push dword [esi + 0xdc]
push ecx
push str.Failed_to_create_events..._u__u__u
push 0x4d6eec
push 0x4e7f48
call fcn.004056c0
add esp, 0x18
mov eax, 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x48aee0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c13e4
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4e3a20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
xor bl, bl
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.0048fb00
cmp dword [ebp - 0x18], 0
je 0x48afb2
push 0x2c
push str.AdobeAAMUpdater1.0AdobeUpdater.overrides
lea ecx, [ebp - 0x28]
call fcn.004846d0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x48af6e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48afb2
mov eax, dword [0x4e7fdc]
test al, 1
jne 0x48af99
or eax, 1
mov dword [0x4e7fdc], eax
mov byte [ebp - 4], 1
call fcn.00404600
push 0x4c27b0
call fcn.004a377d
add esp, 4
mov byte [ebp - 4], 0
push str.Override_File_Present
push 0x4d6eec
push 0x4e7f48
call fcn.00405750
add esp, 0xc
mov bl, 1
mov dword [ebp - 0x2c], 0
test bl, bl
jne 0x48b01c
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.0048a9e0
test al, al
jne 0x48b00d
mov eax, dword [0x4e7fdc]
test al, 1
jne 0x48aff6
or eax, 1
mov dword [0x4e7fdc], eax
mov byte [ebp - 4], 2
call fcn.00404600
push 0x4c27b0
call fcn.004a377d
add esp, 4
mov byte [ebp - 4], bl
push str.getAppToBeLaunched_Failed
push 0x4d6eec
push 0x4e7f48
call fcn.00405870
add esp, 0xc
cmp dword [ebp - 0x2c], 0
je 0x48b01c
mov dword [esi + 0x54], 1
jmp 0x48b023
mov dword [esi + 0x54], 0
cmp dword [ebp - 0x14], 8
jb 0x48b034
push dword [ebp - 0x28]
call fcn.004a37d1
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a2eda
mov esp, ebp
pop ebp
ret
Function at 0x48c920
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c0908
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4e3a20]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x4e3a20]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x48ca74
cmp byte [ebx + 0x45], 0
je 0x48ca74
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x48c980
xor al, al
jmp 0x48ca76
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
cmp ecx, 0x10
cmovae eax, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], 8
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x48c9c0
cmp dword [esp + 0x2c], 0x10
mov ecx, dword [ebx + 0x40]
lea eax, [esp + 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x2c]
lea edi, [esp + 0x1c]
cmovae edi, dword [esp + 0x1c]
lea esi, [esp + 0x1c]
cmovae esi, dword [esp + 0x1c]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x48ca01
dec eax
je 0x48ca05
sub eax, 2
je 0x48ca5b
xor bl, bl
jmp 0x48ca5d
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp ecx, 0x10
lea eax, [esp + 0x18]
cmovae eax, edx
sub esi, eax
je 0x48ca3c
push dword [ebx + 0x50]
cmp ecx, 0x10
push esi
lea eax, [esp + 0x20]
cmovae eax, edx
push 1
push eax
call fcn.004a5678
add esp, 0x10
cmp esi, eax
jne 0x48c9fd
cmp byte [ebx + 0x45], 0
je 0x48ca5b
test esi, esi
jne 0x48c9c0
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.0048c560
jmp 0x48c9c0
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x48ca70
push dword [esp + 0x18]
call fcn.004a37d1
add esp, 4
mov al, bl
jmp 0x48ca76
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004a2eda
mov esp, ebp
pop ebp
ret
Function at 0x48fb00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c151e
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x4e3a20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0x23
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x48fb91
mov eax, dword [0x4e7fdc]
test al, 1
jne 0x48fb76
or eax, 1
mov dword [0x4e7fdc], eax
mov dword [ebp - 4], 0
call fcn.00404600
push 0x4c27b0
call fcn.004a377d
add esp, 4
mov dword [ebp - 4], 0xffffffff
push str.Unable_to_retreive_Path_from_Win_library:_n
push str.Utilities
push 0x4e7f48
call fcn.00405870
add esp, 0xc
xor al, al
jmp 0x48fbd0
cmp word [ebp - 0x218], 0
jne 0x48fb9f
xor ecx, ecx
jmp 0x48fbbf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x48fbb0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48fbb0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.00402440
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a2eda
mov esp, ebp
pop ebp
ret
Function at 0x490340
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1b9e
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4e3a20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x490370
mov eax, dword [esi]
jmp 0x490372
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4903e0
cmp dword [esi + 0x14], 8
jb 0x490385
mov esi, dword [esi]
mov eax, dword [0x4e7fdc]
test al, 1
jne 0x4903b6
or eax, 1
mov dword [0x4e7fdc], eax
mov dword [ebp - 4], 0
call fcn.00404600
push 0x4c27b0
call fcn.004a377d
add esp, 4
mov dword [ebp - 4], 0xffffffff
push esi
push str.File__s_does_not_exist
push str.Utilities
push 0x4e7f48
call fcn.00405630
add esp, 0x10
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4909d0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4e3a20]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.en_US
lea eax, [ebp - 0x14]
push 8
push eax
mov esi, ecx
call fcn.004a3821
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ecx, ax
test cx, cx
jne 0x490a0d
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx ecx, ax
mov eax, ecx
and eax, 0x3ff
dec eax
cmp eax, 0x26
ja case.0x490a1e.3
jmp dword [eax*4 + 0x490bf0]
shr cx, 0xa
cmp cx, 2
jne 0x490a39
push str.zh_CN
jmp 0x490ba2
lea eax, [ebp - 0x14]
cmp cx, 4
jne 0x490a4c
push str.zh_CN
jmp 0x490ba5
push str.zh_TW
jmp 0x490ba5
push str.da_DK
jmp 0x490ba2
push str.nl_NL
jmp 0x490ba2
push str.fi_FI
jmp 0x490ba2
and ecx, 0xfc00
lea eax, [ebp - 0x14]
cmp ecx, 0x800
jne 0x490a8f
push str.es_MX
jmp 0x490ba5
push str.es_ES
jmp 0x490ba5
and ecx, 0xfc00
lea eax, [ebp - 0x14]
cmp ecx, 0xc00
jne 0x490ab4
push str.fr_CA
jmp 0x490ba5
push str.fr_FR
jmp 0x490ba5
push str.de_DE
jmp 0x490ba2
push str.it_IT
jmp 0x490ba2
push str.ja_JP
jmp 0x490ba2
push str.ko_KR
jmp 0x490ba2
push str.pt_BR
jmp 0x490ba2
and ecx, 0xfc00
lea eax, [ebp - 0x14]
cmp ecx, 0x800
jne 0x490b0b
push str.en_GB
jmp 0x490ba5
push str.en_US
jmp 0x490ba5
push str.sv_SE
jmp 0x490ba2
push str.nb_NO
jmp 0x490ba2
push str.pl_PL
jmp 0x490ba2
push str.cs_CZ
jmp 0x490ba2
push str.ar_AE
jmp 0x490ba2
push str.hu_HU
jmp 0x490ba2
push str.tr_TR
jmp 0x490ba2
push str.el_GR
jmp 0x490ba2
push str.ru_RU
jmp 0x490ba2
push str.he_IL
jmp 0x490ba2
push str.ro_RO
jmp 0x490ba2
push str.sl_SI
jmp 0x490ba2
push str.sk_SK
jmp 0x490ba2
push str.uk_UA
jmp 0x490ba2
push str.hr_HR
jmp 0x490ba2
push str.lt_LT
jmp 0x490ba2
push str.lv_LV
jmp 0x490ba2
push str.et_EE
jmp 0x490ba2
push str.bg_BG
jmp 0x490ba2
push str.en_US
lea eax, [ebp - 0x14]
push 8
push eax
call fcn.004a3821
add esp, 0xc
cmp word [ebp - 0x14], 0
jne 0x490bbb
xor ecx, ecx
jmp 0x490bd0
lea ecx, [ebp - 0x14]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x490bc1
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.00402440
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop esi
call fcn.004a2eda
mov esp, ebp
pop ebp
ret
Function at 0x4936c0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1ae8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4e3a20]
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 - 0x60], ecx
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov eax, dword [edi]
mov ebx, dword [ebp + 0xc]
push dword [eax + 4]
mov ecx, edi
call fcn.0048da20
mov eax, dword [edi]
mov dword [eax + 4], eax
mov eax, dword [edi]
mov dword [eax], eax
mov eax, dword [edi]
mov dword [eax + 8], eax
mov dword [edi + 4], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x493739
mov esi, dword [esi]
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.0048fbf0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 1
cmp dword [ebx + 0x14], 8
jb 0x493761
mov ebx, dword [ebx]
lea edx, [ebp - 0x28]
mov ecx, ebx
call fcn.0048fbf0
mov edx, dword [ebp - 0x60]
xor esi, esi
cmp dword [ebp - 0x14], 0x10
mov edx, dword [edx]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
mov dword [ebp - 0x5c], esi
test edx, edx
je 0x4937b8
test ecx, ecx
je 0x4937b8
test eax, eax
je 0x4937b8
lea ebx, [ebp - 0x5c]
test ebx, ebx
je 0x4937b8
push eax
push ecx
push esi
push str.SELECT_PayloadID_FROM_PayloadData_WHERE__domain___d_AND_key___q_AND_value___q
mov eax, ebx
push eax
push dword [edx]
call fcn.00403bc0
mov esi, dword [ebp - 0x5c]
add esp, 0x18
jmp 0x4937bd
mov eax, 0xa
test eax, eax
sete bl
test bl, bl
je 0x493827
cmp dword [esi], 0
je 0x493827
jmp 0x4937d0
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 2
mov ecx, dword [esi]
lea edx, [ebp - 0x58]
call fcn.0048fea0
movzx eax, byte [0x4e7c33]
push eax
lea eax, [ebp - 0x58]
push eax
push ecx
lea eax, [ebp - 0x64]
push eax
mov ecx, edi
call fcn.0048f200
mov byte [ebp - 4], 1
cmp dword [ebp - 0x44], 8
jb 0x49381f
push dword [ebp - 0x58]
call fcn.004a37d1
add esp, 4
add esi, 4
cmp dword [esi], 0
jne 0x4937d0
cmp dword [ebp - 0x14], 0x10
jb 0x493838
push dword [ebp - 0x28]
call fcn.004a37d1
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x49385b
push dword [ebp - 0x40]
call fcn.004a37d1
add esp, 4
mov al, bl
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.004a2eda
mov esp, ebp
pop ebp
ret 0x10
Function at 0x493880
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1b20
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4e3a20]
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 ebx, ecx
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x10], 0
jb 0x4938c7
mov eax, dword [esi]
jmp 0x4938c9
mov eax, esi
xor edx, edx
mov word [eax], dx
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], edx
mov byte [ebp - 0x40], dl
mov dword [ebp - 4], edx
cmp dword [ecx + 0x14], 8
jb 0x4938e6
mov ecx, dword [ecx]
lea edx, [ebp - 0x40]
call fcn.0048fbf0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 1
cmp dword [edi + 0x14], 8
jb 0x49390c
mov edi, dword [edi]
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.0048fbf0
mov edi, dword [ebx]
xor ecx, ecx
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
mov dword [ebp - 0x44], ecx
test edi, edi
je 0x49395e
test edx, edx
je 0x49395e
test eax, eax
je 0x49395e
lea ebx, [ebp - 0x44]
test ebx, ebx
je 0x49395e
push eax
push ecx
push edx
push str.SELECT_value_FROM_PayloadData_WHERE_PayloadID___q_AND_domain___d_AND_key___q
mov eax, ebx
push eax
push dword [edi]
call fcn.00403e50
mov ecx, dword [ebp - 0x44]
add esp, 0x18
test ecx, ecx
setne bl
test bl, bl
je 0x49396e
mov edx, esi
call fcn.0048fea0
cmp dword [ebp - 0x14], 0x10
jb 0x49397f
push dword [ebp - 0x28]
call fcn.004a37d1
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x4939a2
push dword [ebp - 0x40]
call fcn.004a37d1
add esp, 4
mov al, bl
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.004a2eda
mov esp, ebp
pop ebp
ret 0x10
Function at 0x493bb0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1c46
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4e3a20]
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 edi, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x493c03
mov ecx, dword [esi]
jmp 0x493c05
mov ecx, esi
lea edx, [ebp - 0x28]
call fcn.0048fbf0
test al, al
jne 0x493c8f
cmp dword [esi + 0x14], 8
jb 0x493c19
mov esi, dword [esi]
mov eax, dword [0x4e7fdc]
test al, 1
jne 0x493c44
or eax, 1
mov dword [0x4e7fdc], eax
mov byte [ebp - 4], 1
call fcn.00404600
push 0x4c27b0
call fcn.004a377d
add esp, 4
mov byte [ebp - 4], 0
push esi
push str.Failed_to_get_string_from_native_string____s.
push 0x4db7d4
push 0x4e7f48
call fcn.00405870
add esp, 0x10
xor bl, bl
cmp dword [ebp - 0x14], 0x10
jb 0x493c6f
push dword [ebp - 0x28]
call fcn.004a37d1
add esp, 4
mov al, bl
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.004a2eda
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [edi]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
test ecx, ecx
je 0x493c5c
test eax, eax
je 0x493c5c
lea edx, [ebp - 0x30]
test edx, edx
je 0x493c5c
push eax
push str.SELECT_installState_FROM_payloads_WHERE_payloadID___q
lea eax, [ebp - 0x2c]
push eax
push dword [ecx]
call fcn.00403e50
mov ecx, dword [ebp - 0x2c]
add esp, 0x10
mov esi, eax
test ecx, ecx
je 0x493cd3
push ecx
call fcn.004a3c03
add esp, 4
jmp 0x493cd5
xor eax, eax
test esi, esi
jne 0x493c5c
cmp eax, 2
je 0x493d08
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.product_is_not_installed_on_the_machine__s
push str.PdbWrapper
push ecx
call fcn.00404990
add esp, 4
push eax
call fcn.00405030
jmp 0x493c59
mov bl, 1
jmp 0x493c5e