joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bdbd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d9018
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x56e01c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x20]
push 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QSemaphore::acquire_int_]
lea eax, [esp + 0x10]
push eax
lea ebx, [esi + 0xc]
call fcn.004be220
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
sub edx, ecx
test edx, edx
jle 0x4bdca1
mov edi, dword [sym.imp.QtCore4.dll_public:_static_void___cdecl_QMetaObject::activate_class_QObject___struct_QMetaObject_const___int__void___]
add ecx, ebx
mov esi, dword [eax + ecx*4 + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push 3
lea eax, [esp + 0x1c]
push 0x56e934
push esi
mov byte [esi + 0x15], 1
mov dword [esp + 0x24], 0xfffffffd
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], eax
call edi
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x34]
push ecx
push 0
lea eax, [esp + 0x30]
push 0x56e934
push esi
mov dword [esp + 0x38], edx
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], eax
call edi
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
inc ebx
sub edx, ecx
add esp, 0x20
cmp ebx, edx
jl 0x4bdc33
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x20]
push 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QSemaphore::release_int_]
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4bdcdd
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4bdcdd
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
test eax, eax
jne 0x4bdcdd
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4c4070
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cf49b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x56e01c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov dword [esp + 0x20], 2
lea ecx, [esp + 0x30]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x38]
lea eax, [esp + 0x30]
push 1
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x40]
push 0x56e714
push edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], eax
call dword [sym.imp.QtCore4.dll_public:_static_void___cdecl_QMetaObject::activate_class_QObject___struct_QMetaObject_const___int__void___]
add esp, 0x10
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x30]
mov byte [esp + 0x20], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x34]
mov dword [esp + 0x20], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
add esp, 0x20
ret 0x14

Function at 0x4c50b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d33c8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x56e01c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x30]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], eax
lea edx, [esp + 0x38]
lea eax, [esp + 0x30]
push 4
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x40]
push 0x56e724
push edx
mov dword [esp + 0x24], eax
call dword [sym.imp.QtCore4.dll_public:_static_void___cdecl_QMetaObject::activate_class_QObject___struct_QMetaObject_const___int__void___]
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x34], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_static_void___cdecl_QMetaObject::removeGuard_class_QObject___]
add esp, 0x14
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
add esp, 0x20
ret 0x14

Function at 0x4ca644
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4ca69c
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x4f81e4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4ca68f
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x4ca69e
xor eax, eax
pop esi
leave
ret 4
Function at 0x4ca754
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push 0x4f64c4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jne 0x4ca7ea
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push str.DMAPI
push dword [ebp - 4]
mov dword [ebp - 8], 0x104
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
pop edi
jne 0x4ca7ea
lea eax, [ebp - 0x110]
push eax
call esi
mov dword [0x570620], eax
cmp dword [0x570620], ebx
jne 0x4ca809
push 0x4f64f4
call esi
cmp eax, ebx
mov dword [0x570620], eax
jne 0x4ca809
mov eax, 0x80100100
jmp 0x4ca80b
xor eax, eax
pop esi
pop ebx
leave
ret

Function at 0x4ca80f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
xor esi, esi
push 0x20019
push esi
push 0x4f6500
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x4ca87d
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x4f6528
push dword [ebp - 4]
mov dword [ebp - 0x10], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, esi
pop ebx
jne 0x4ca87d
cmp dword [ebp - 8], 4
jne 0x4ca87d
mov eax, dword [ebp - 0xc]
jmp 0x4ca87f
xor eax, eax
pop esi
leave
ret
Function at 0x4cae6e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
inc dword [0x570630]
push esi
xor esi, esi
cmp dword [0x570620], esi
push edi
jne 0x4caf66
call fcn.004ca754
cmp eax, esi
jne 0x4caf68
push str.DMAPI_Initialize
push dword [0x570620]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x4caf6e
mov ecx, dword [ebp + 8]
push dword [ebp + 0xc]
mov dword [0x570624], ecx
push ecx
call eax
mov edi, eax
cmp edi, esi
jge 0x4caedb
push dword [0x570620]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x570620], esi
mov eax, edi
jmp 0x4caf68
cmp dword [0x57062c], esi
je 0x4caf32
mov eax, dword [0x570628]
cmp eax, esi
je 0x4caf26
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [0x570628], esi
je 0x4caf26
push 0x3e8
push dword [0x57062c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x57062c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov eax, dword [0x570628]
cmp eax, esi
je 0x4caf26
push eax
call edi
mov dword [0x57062c], esi
mov dword [0x570628], esi
call fcn.004ca80f
test al, 1
jne 0x4caf66
push esi
push esi
push 1
push esi
mov dword [ebp + 8], esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x570628], eax
lea eax, [ebp + 8]
push eax
push esi
push esi
push 0x4ca96e
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x57062c], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
mov eax, 0x80100101
jmp 0x4caf68

Function at 0x4caf75
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push 0x4f6838
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jne 0x4cb00b
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push str.CAAPI
push dword [ebp - 4]
mov dword [ebp - 8], 0x104
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
pop edi
jne 0x4cb00b
lea eax, [ebp - 0x110]
push eax
call esi
mov dword [0x570634], eax
cmp dword [0x570634], ebx
jne 0x4cb02a
push str.DAAPI.dll
call esi
cmp eax, ebx
mov dword [0x570634], eax
jne 0x4cb02a
mov eax, 0x80100100
jmp 0x4cb02c
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x4cb030
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
xor esi, esi
push 0x20019
push esi
push 0x4f6874
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x4cb09e
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x4f689c
push dword [ebp - 4]
mov dword [ebp - 0x10], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, esi
pop ebx
jne 0x4cb09e
cmp dword [ebp - 8], 4
jne 0x4cb09e
mov eax, dword [ebp - 0xc]
jmp 0x4cb0a0
xor eax, eax
pop esi
leave
ret

Function at 0x4cb8bb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
inc dword [0x570644]
push esi
xor esi, esi
cmp dword [0x570634], esi
push edi
jne 0x4cb9b3
call fcn.004caf75
cmp eax, esi
jne 0x4cb9b5
push str.CAAPI_Initialize
push dword [0x570634]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x4cb9bb
mov ecx, dword [ebp + 8]
push dword [ebp + 0xc]
mov dword [0x570638], ecx
push ecx
call eax
mov edi, eax
cmp edi, esi
jge 0x4cb928
push dword [0x570634]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x570634], esi
mov eax, edi
jmp 0x4cb9b5
cmp dword [0x570640], esi
je 0x4cb97f
mov eax, dword [0x57063c]
cmp eax, esi
je 0x4cb973
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [0x57063c], esi
je 0x4cb973
push 0x3e8
push dword [0x570640]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x570640]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov eax, dword [0x57063c]
cmp eax, esi
je 0x4cb973
push eax
call edi
mov dword [0x570640], esi
mov dword [0x57063c], esi
call fcn.004cb030
test al, 1
jne 0x4cb9b3
push esi
push esi
push 1
push esi
mov dword [ebp + 8], esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x57063c], eax
lea eax, [ebp + 8]
push eax
push esi
push esi
push 0x4cb18f
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x570640], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
mov eax, 0x80100101
jmp 0x4cb9b5
Function at 0x4cb9c2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push 0x4f6c28
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jne 0x4cba58
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push str.FSAPI
push dword [ebp - 4]
mov dword [ebp - 8], 0x104
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
pop edi
jne 0x4cba58
lea eax, [ebp - 0x110]
push eax
call esi
mov dword [0x570648], eax
cmp dword [0x570648], ebx
jne 0x4cba77
push 0x4f6c58
call esi
cmp eax, ebx
mov dword [0x570648], eax
jne 0x4cba77
mov eax, 0x80100100
jmp 0x4cba79
xor eax, eax
pop esi
pop ebx
leave
ret

Function at 0x4cba7d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
xor esi, esi
push 0x20019
push esi
push 0x4f6c64
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x4cbaeb
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x4f6c8c
push dword [ebp - 4]
mov dword [ebp - 0x10], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, esi
pop ebx
jne 0x4cbaeb
cmp dword [ebp - 8], 4
jne 0x4cbaeb
mov eax, dword [ebp - 0xc]
jmp 0x4cbaed
xor eax, eax
pop esi
leave
ret
Function at 0x4cc471
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
inc dword [0x570658]
push esi
xor esi, esi
cmp dword [0x570648], esi
push edi
jne 0x4cc569
call fcn.004cb9c2
cmp eax, esi
jne 0x4cc56b
push str.FSAPI_Initialize
push dword [0x570648]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x4cc571
mov ecx, dword [ebp + 8]
push dword [ebp + 0xc]
mov dword [0x57064c], ecx
push ecx
call eax
mov edi, eax
cmp edi, esi
jge 0x4cc4de
push dword [0x570648]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x570648], esi
mov eax, edi
jmp 0x4cc56b
cmp dword [0x570654], esi
je 0x4cc535
mov eax, dword [0x570650]
cmp eax, esi
je 0x4cc529
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [0x570650], esi
je 0x4cc529
push 0x3e8
push dword [0x570654]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x570654]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov eax, dword [0x570650]
cmp eax, esi
je 0x4cc529
push eax
call edi
mov dword [0x570654], esi
mov dword [0x570650], esi
call fcn.004cba7d
test al, 1
jne 0x4cc569
push esi
push esi
push 1
push esi
mov dword [ebp + 8], esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x570650], eax
lea eax, [ebp + 8]
push eax
push esi
push esi
push 0x4cbbdc
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x570654], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
mov eax, 0x80100101
jmp 0x4cc56b

Function at 0x4cc578
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push 0x4f7148
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jne 0x4cc60e
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push str.UPAPI
push dword [ebp - 4]
mov dword [ebp - 8], 0x104
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
pop edi
jne 0x4cc60e
lea eax, [ebp - 0x110]
push eax
call esi
mov dword [0x57065c], eax
cmp dword [0x57065c], ebx
jne 0x4cc62d
push 0x4f7178
call esi
cmp eax, ebx
mov dword [0x57065c], eax
jne 0x4cc62d
mov eax, 0x80100100
jmp 0x4cc62f
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x4cc633
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
xor esi, esi
push 0x20019
push esi
push 0x4f7184
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x4cc6a1
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x4f71ac
push dword [ebp - 4]
mov dword [ebp - 0x10], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, esi
pop ebx
jne 0x4cc6a1
cmp dword [ebp - 8], 4
jne 0x4cc6a1
mov eax, dword [ebp - 0xc]
jmp 0x4cc6a3
xor eax, eax
pop esi
leave
ret

Function at 0x4ccae9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
inc dword [0x57066c]
push esi
xor esi, esi
cmp dword [0x57065c], esi
push edi
jne 0x4ccbe1
call fcn.004cc578
cmp eax, esi
jne 0x4ccbe3
push str.UPAPI_Initialize
push dword [0x57065c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x4ccbe9
mov ecx, dword [ebp + 8]
push dword [ebp + 0xc]
mov dword [0x570660], ecx
push ecx
call eax
mov edi, eax
cmp edi, esi
jge 0x4ccb56
push dword [0x57065c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x57065c], esi
mov eax, edi
jmp 0x4ccbe3
cmp dword [0x570668], esi
je 0x4ccbad
mov eax, dword [0x570664]
cmp eax, esi
je 0x4ccba1
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [0x570664], esi
je 0x4ccba1
push 0x3e8
push dword [0x570668]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x570668]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov eax, dword [0x570664]
cmp eax, esi
je 0x4ccba1
push eax
call edi
mov dword [0x570668], esi
mov dword [0x570664], esi
call fcn.004cc633
test al, 1
jne 0x4ccbe1
push esi
push esi
push 1
push esi
mov dword [ebp + 8], esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x570664], eax
lea eax, [ebp + 8]
push eax
push esi
push esi
push 0x4cc792
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x570668], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
mov eax, 0x80100101
jmp 0x4ccbe3
Function at 0x4ccbf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push 0x4f7424
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jne 0x4ccc86
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push str.MCAPI
push dword [ebp - 4]
mov dword [ebp - 8], 0x104
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
pop edi
jne 0x4ccc86
lea eax, [ebp - 0x110]
push eax
call esi
mov dword [0x570670], eax
cmp dword [0x570670], ebx
jne 0x4ccca5
push 0x4f7454
call esi
cmp eax, ebx
mov dword [0x570670], eax
jne 0x4ccca5
mov eax, 0x80100100
jmp 0x4ccca7
xor eax, eax
pop esi
pop ebx
leave
ret

Function at 0x4cccab
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
xor esi, esi
push 0x20019
push esi
push 0x4f7460
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x4ccd19
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x4f7488
push dword [ebp - 4]
mov dword [ebp - 0x10], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, esi
pop ebx
jne 0x4ccd19
cmp dword [ebp - 8], 4
jne 0x4ccd19
mov eax, dword [ebp - 0xc]
jmp 0x4ccd1b
xor eax, eax
pop esi
leave
ret
Function at 0x4cd0de
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
inc dword [0x570680]
push esi
xor esi, esi
cmp dword [0x570670], esi
push edi
jne 0x4cd1d6
call fcn.004ccbf0
cmp eax, esi
jne 0x4cd1d8
push str.MCAPI_Initialize
push dword [0x570670]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x4cd1de
mov ecx, dword [ebp + 8]
push dword [ebp + 0xc]
mov dword [0x570674], ecx
push ecx
call eax
mov edi, eax
cmp edi, esi
jge 0x4cd14b
push dword [0x570670]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x570670], esi
mov eax, edi
jmp 0x4cd1d8
cmp dword [0x57067c], esi
je 0x4cd1a2
mov eax, dword [0x570678]
cmp eax, esi
je 0x4cd196
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [0x570678], esi
je 0x4cd196
push 0x3e8
push dword [0x57067c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x57067c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov eax, dword [0x570678]
cmp eax, esi
je 0x4cd196
push eax
call edi
mov dword [0x57067c], esi
mov dword [0x570678], esi
call fcn.004cccab
test al, 1
jne 0x4cd1d6
push esi
push esi
push 1
push esi
mov dword [ebp + 8], esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x570678], eax
lea eax, [ebp + 8]
push eax
push esi
push esi
push 0x4cce0a
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x57067c], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
mov eax, 0x80100101
jmp 0x4cd1d8

Function at 0x4cd1f2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push 0x4f7660
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jne 0x4cd288
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push str.CFAPI
push dword [ebp - 4]
mov dword [ebp - 8], 0x104
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
pop edi
jne 0x4cd288
lea eax, [ebp - 0x110]
push eax
call esi
mov dword [0x570684], eax
cmp dword [0x570684], ebx
jne 0x4cd2a7
push str.ConnAPI.dll
call esi
cmp eax, ebx
mov dword [0x570684], eax
jne 0x4cd2a7
mov eax, 0x80100100
jmp 0x4cd2a9
xor eax, eax
pop esi
pop ebx
leave
ret