joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444ce0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x497060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0x18]
or eax, 0x2001f
push eax
push 0
push str.SoftwareiSafe
push 0x80000002
xor bl, bl
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x444d46
push dword [edi]
push esi
push 1
push eax
push str.guid
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movzx ebx, bl
mov ecx, 1
test eax, eax
cmove ebx, ecx
mov eax, dword [ebp - 8]
test eax, eax
je 0x444d54
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00460da6
mov esp, ebp
pop ebp
ret

Function at 0x444fe0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [0x497060]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push esi
lea eax, [esp + 8]
push eax
xor esi, esi
push 0x1ab
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x44506d
mov ebx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x44506d
lea edx, [esp + 0xc]
mov ecx, ebx
call fcn.00444f10
test eax, eax
je 0x44506d
mov ebx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push str.SeTcbPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x44506d
lea edx, [esp + 0xc]
mov ecx, ebx
call fcn.00444f10
mov ecx, 1
test eax, eax
cmovne esi, ecx
mov eax, dword [esp + 8]
test eax, eax
je 0x44507c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.00460da6
mov esp, ebp
pop ebp
ret
Function at 0x445090
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x497060]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x20c]
call fcn.00442cb0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x445172
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x445141
xor ecx, ecx
cmp ecx, 1
sete al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460da6
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x414]
push eax
push 0
push str.silence
push str.general
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, eax
xor eax, eax
cmp ecx, 1
sete al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460da6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
call fcn.00460da6
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push edi
mov edi, ecx
mov dword [ebp - 0xc], edx
test edi, edi
je 0x44b3f6
test edx, edx
je 0x44b3f6
push ebx
mov ebx, dword [edi + 0x3c]
add ebx, edi
je 0x44b37b
lea eax, [ebx + 0x78]
test eax, eax
jne 0x44b383
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [eax]
add eax, edi
push esi
mov ecx, dword [eax + 0x1c]
mov esi, dword [eax + 0x20]
add ecx, edi
add esi, edi
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
add ecx, edi
mov dword [ebp - 4], esi
xor esi, esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x44b3da
lea esp, [esp]
movsx eax, word [ecx + esi*2]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push edx
mov eax, dword [eax + esi*4]
add eax, edi
push eax
call dword [sym.imp.MSVCR110.dll__stricmp]
add esp, 8
test eax, eax
je 0x44b3e3
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
inc esi
cmp esi, dword [ebp - 8]
jb 0x44b3b0
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
pop esi
mov eax, dword [ecx + eax*4]
add eax, dword [ebx + 0x34]
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x44ba10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0xc]
shr ecx, 2
mov eax, ecx
dec ecx
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 4]
test eax, eax
je 0x44ba9b
inc ecx
mov ebx, dword [esi]
add esi, 4
mov eax, ebx
shr ebx, 8
xor eax, edx
and eax, 0xff
shr edx, 8
mov edi, dword [eax*4 + 0x497908]
xor edx, edi
mov eax, ebx
shr ebx, 8
xor eax, edx
and eax, 0xff
shr edx, 8
mov edi, dword [eax*4 + 0x497908]
xor edx, edi
mov eax, ebx
shr ebx, 8
xor eax, edx
and eax, 0xff
shr edx, 8
mov edi, dword [eax*4 + 0x497908]
xor edx, edi
mov eax, ebx
xor eax, edx
and eax, 0xff
shr edx, 8
mov edi, dword [eax*4 + 0x497908]
xor edx, edi
dec ecx
jne 0x44ba36
mov dword [ebp - 4], edx
mov dword [ebp - 8], esi
mov ebx, dword [ebp - 0x10]
and ebx, 3
je 0x44bad8
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 8]
nop
movzx ecx, byte [esi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x497908]
inc esi
mov dword [ebp - 4], edx
mov dword [ebp - 8], esi
dec ebx
jne 0x44bab0
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov dword [eax], edx
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
pop edi
pop esi
mov dword [ecx], eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44bc70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x497060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push str.IsWow64Process
xor esi, esi
push str.kernel32
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], 0x208
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov dword [ebp - 8], esi
test edi, edi
je 0x44bcda
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x44bcda
cmp dword [ebp - 8], esi
je 0x44bcda
lea eax, [ebp - 0x14]
push eax
push 0x20119
jmp 0x44bce3
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftCryptography
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44bd1c
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push 0
push str.MachineGuid
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, 1
test eax, eax
cmove esi, ecx
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x44bd2a
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00460da6
mov esp, ebp
pop ebp
ret
Function at 0x44fcb0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x497060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x41c], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x20c]
call fcn.00442cb0
test eax, eax
je 0x44fdca
push edi
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
call edi
test eax, eax
jne 0x44fd6e
push eax
push eax
push 1
push eax
push eax
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x44fd6e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x414]
push eax
call edi
test eax, eax
jne 0x44fd80
or eax, 0xffffffff
jmp 0x44fd99
lea eax, [ebp - 0x414]
push eax
push 0xffffffffffffffff
push str.lastexamscore
push str.stats
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x41c]
mov dword [ecx], eax
lea eax, [ebp - 0x414]
push eax
call edi
pop edi
test eax, eax
je 0x44fdc8
lea eax, [ebp - 0x414]
push eax
push 0
push str.lastexamdate
push str.stats
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebx], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop ebx
call fcn.00460da6
mov esp, ebp
pop ebp
ret 8
Function at 0x44fde0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4680cb
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x497060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x218]
call fcn.00442cb0
test eax, eax
je 0x44feec
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0x18
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44fea6
push eax
push eax
push 1
push eax
push eax
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x44fea6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
lea ecx, [ebp - 0x424]
push str.lastexamscore
push str.stats
mov dword [ebp - 4], 0
call fcn.00458fb0
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x44fed6
push eax
call dword [sym.imp.MSVCR110.dll__time32]
add esp, 4
push eax
push str.lastexamdate
push str.stats
lea ecx, [ebp - 0x424]
call fcn.00458fb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00460da6
mov esp, ebp
pop ebp
ret 8

Function at 0x44ff10
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x497060]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x20c]
call fcn.00442cb0
test eax, eax
je 0x44ffee
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44ffc2
push eax
push eax
push 1
push eax
push eax
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x44ffc2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44ffec
lea eax, [ebp - 0x414]
push eax
push 0
push str.firstrundate
push str.stats
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop edi
call fcn.00460da6
mov esp, ebp
pop ebp
ret 4
Function at 0x450010
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4680cb
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x497060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x218]
call fcn.00442cb0
test eax, eax
je 0x4500fe
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0x18
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4500d6
push eax
push eax
push 1
push eax
push eax
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x4500d6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.MSVCR110.dll__time32]
add esp, 4
lea ecx, [ebp - 0x424]
push eax
push str.firstrundate
push str.stats
call fcn.00458fb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00460da6
mov esp, ebp
pop ebp
ret
Function at 0x455860
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov ebx, ecx
push edi
push ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0xc], ebx
call fcn.0041db00
mov eax, dword [ebx + 0x20]
add ebx, 0x20
mov eax, dword [eax]
push ebx
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call sym.iSafe.exe_public_virtual:_void___thiscall_elex::commumod::ICommuInter::ThreadSendDBUpdate_struct_elex::commu::tagICOM_DBUPDATEPARAM__
mov eax, dword [ebx]
push ebx
lea ecx, [ebp - 8]
mov dword [ebp - 8], eax
call sym.iSafe.exe_public_virtual:_void___thiscall_elex::commumod::ICommuInter::ThreadSendDBUpdate_struct_elex::commu::tagICOM_DBUPDATEPARAM__
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
je 0x45592c
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x4558c2
call esi
mov eax, dword [ebp - 4]
push dword [eax + 0x14]
call edi
mov eax, dword [ebp - 4]
cmp byte [eax + 0xd], 0
jne 0x455916
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x4558f0
mov eax, dword [ecx]
cmp byte [eax + 0xd], 0
jne 0x455913
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0xd], 0
je 0x4558e4
jmp 0x455913
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x455913
lea esp, [esp]
cmp eax, dword [ecx + 8]
jne 0x455913
mov eax, ecx
mov dword [ebp - 4], eax
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x455900
mov dword [ebp - 4], ecx
mov eax, dword [ebx]
push ebx
lea ecx, [ebp - 8]
mov dword [ebp - 8], eax
call sym.iSafe.exe_public_virtual:_void___thiscall_elex::commumod::ICommuInter::ThreadSendDBUpdate_struct_elex::commu::tagICOM_DBUPDATEPARAM__
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jne 0x4558b1
mov eax, dword [ebx]
mov ebx, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov edi, dword [eax + 4]
mov esi, edi
cmp byte [edi + 0xd], 0
jne 0x45595e
nop
mov ecx, dword [ebp - 0xc]
push dword [esi + 8]
lea ecx, [ecx + 0x20]
call fcn.00456510
mov esi, dword [esi]
push edi
call ebx
add esp, 4
cmp byte [esi + 0xd], 0
mov edi, esi
je 0x455940
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x20]
lea edi, [edx + 0x18]
mov dword [eax + 4], eax
mov eax, dword [edx + 0x20]
mov dword [eax], eax
mov eax, dword [edx + 0x20]
mov dword [eax + 8], eax
mov dword [edx + 0x24], 0
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov esi, ebx
cmp byte [ebx + 0xd], 0
jne 0x4559b6
lea esp, [esp]
push dword [esi + 8]
mov ecx, edi
call fcn.004564c0
mov esi, dword [esi]
lea ecx, [ebx + 0x18]
call fcn.00401660
push ebx
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp byte [esi + 0xd], 0
mov ebx, esi
je 0x455990
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
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
call fcn.0041db30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455c40
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4689b8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push edi
mov eax, dword [0x497060]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
push ebx
lea ecx, [esp + 0x14]
call fcn.0041db00
lea eax, [esp + 0xc]
push eax
push 4
push dword [ebp + 8]
mov dword [esp + 0x2c], 0
push 0x455ba0
push 0
push 0
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [ebp + 8]
lea ecx, [ebx + 0x20]
mov edi, eax
call fcn.00456130
push edi
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.0041db30
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x457c20
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
mov eax, ecx
mov dword [ebp - 4], eax
test esi, esi
jne 0x457c3c
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
cmp ebx, 1
jae 0x457c59
pop ebx
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
push edi
push ebx
call fcn.00460c1c
mov edi, eax
add esp, 4
test edi, edi
je 0x457cde
push ebx
push 0
push edi
call sub.MSVCR110.dll_memset
add esp, 0xc
push edi
push ebx
push 0
push dword [ebp - 4]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x457cd4
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push 0x481cb0
push edi
mov dword [ebp - 4], 0
mov dword [ebp + 8], 0
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x457cd4
mov ecx, dword [ebp + 8]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
push dword [ebp + 0xc]
push esi
call fcn.004088f0
add esp, 0x1c
push edi
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
add esp, 4
lea ecx, [esi + 2]
pop edi
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x457ce2
sub esi, ecx
sar esi, 1
pop ebx
setne al
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x457dc0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x497060]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0
push esi
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x457e57
call fcn.004164c0
mov ecx, eax
call fcn.00438ae0
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x457e43
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x457e57
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460da6
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor al, al
pop esi
call fcn.00460da6
mov esp, ebp
pop ebp
ret 0xc
Function at 0x458130
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x497060]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov edi, ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push str.main
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x4581b3
lea eax, [ebp - 0x20c]
push eax
push 0x208
push esi
call fcn.00408890
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460da6
mov esp, ebp
pop ebp
ret 8
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x414]
push str...configmain
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x45821c
lea eax, [ebp - 0x414]
push eax
push 0x208
push esi
call fcn.00408890
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460da6
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor al, al
pop esi
call fcn.00460da6
mov esp, ebp
pop ebp
ret 8
Function at 0x458230
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x80
mov eax, dword [0x497060]
xor eax, esp
mov dword [esp + 0x7c], eax
push esi
push edi
lea eax, [esp + 0x18]
push 0
push eax
mov esi, 0x409
mov dword [esp + 0x10], 0
call fcn.004164c0
mov ecx, eax
call fcn.00438bc0
lea ecx, [esp + 8]
push ecx
mov ecx, eax
call fcn.00408270
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
push eax
push 0x80000002
call edi
lea ecx, [esp + 0x18]
call fcn.004082c0
mov eax, dword [esp + 8]
test eax, eax
je 0x458331
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
push ecx
push 0
push str.language
push eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 4
mov dword [esp + 0x24], 4
call edi
test eax, eax
jne 0x4582dc
mov esi, dword [esp + 0x14]
jmp 0x4583a5
xor eax, eax
push 0x4e
push eax
mov word [esp + 0x38], ax
lea eax, [esp + 0x3a]
push eax
mov dword [esp + 0x18], 0x28
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push str.language
push dword [esp + 0x1c]
call edi
test eax, eax
jne 0x4583a5
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.MSVCR110.dll__wtoi]
add esp, 4
mov esi, eax
jmp 0x4583a5
lea eax, [esp + 0x18]
push 0
push eax
call fcn.004164c0
mov ecx, eax
call fcn.00438bc0
lea ecx, [esp + 8]
push ecx
mov ecx, eax
call fcn.00408270
push eax
push 0x80000001
call edi
lea ecx, [esp + 0x18]
call fcn.004082c0
mov eax, dword [esp + 8]
test eax, eax
je 0x4583af
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
push ecx
push 0
push str.language
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 4
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
cmove esi, dword [esp + 0x10]
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x84]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.00460da6
mov esp, ebp
pop ebp
ret

Function at 0x4583d0
Capabilities:
Reference sql statements
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp esi, 0xffffffff
jne 0x4583e5
call fcn.00458230
mov esi, eax
mov edi, 0x47a434
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
movzx ebx, ax
xor eax, eax
mov ecx, 0x47a430
lea ebx, [ebx]
mov edx, dword [ecx]
cmp edx, ebx
jne 0x458409
lea edi, [ecx + 4]
cmp edx, esi
je 0x458422
add ecx, 0x54
inc eax
cmp ecx, 0x47e870
jl 0x458400
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
imul eax, eax, 0x54
pop edi
pop esi
add eax, 0x47a434
pop ebx
pop ebp
ret 4