joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43cec1
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
lea ebp, [esp - 0x228]
sub esp, 0x2a8
mov eax, dword [0x6015a8]
xor eax, ebp
mov dword [ebp + 0x224], eax
and dword [ebp - 0x7c], 0
push esi
push edi
mov edi, dword [ebp + 0x234]
mov esi, 0x9c
push esi
lea eax, [ebp - 0x78]
push 0
push eax
mov dword [ebp - 0x80], ecx
call fcn.005635a0
add esp, 0xc
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call esi
test eax, eax
jne 0x43cf31
push 0x94
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.005635a0
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x78], 0x94
call esi
push edi
mov esi, 0x200
lea eax, [ebp + 0x24]
push esi
push eax
call fcn.00460090
mov eax, dword [ebp - 0x68]
add esp, 0xc
dec eax
je 0x43cfbf
dec eax
jne 0x43cfd4
cmp dword [ebp - 0x74], 4
push edi
push str.Global_s
lea eax, [ebp + 0x24]
push esi
push eax
ja 0x43cfb5
call fcn.00460090
add esp, 0x10
lea eax, [ebp + 0x24]
push eax
push 0
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
je 0x43cf9a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp + 0x24]
mov ecx, dword [ebp - 0x80]
push eax
push dword [ebp + 0x230]
call fcn.0043cbef
jmp 0x43cfd1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
lea eax, [ebp + 0x24]
je 0x43cf89
push edi
push esi
push eax
call fcn.00460090
add esp, 0xc
jmp 0x43cf86
call fcn.00460090
add esp, 0x10
jmp 0x43cf86
lea eax, [ebp + 0x24]
push eax
push dword [ebp + 0x230]
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp + 0x224]
mov eax, dword [ebp - 0x7c]
pop edi
xor ecx, ebp
pop esi
call fcn.00562d51
add ebp, 0x228
leave
ret 8
Function at 0x43cff0
Capabilities:
Create service

Disassembly:
push ebp
lea ebp, [esp - 0x98c]
sub esp, 0xa0c
mov eax, dword [0x6015a8]
xor eax, ebp
mov dword [ebp + 0x988], eax
mov eax, dword [ebp + 0x998]
and dword [ebp - 0x7c], 0
push ebx
mov ebx, dword [ebp + 0x994]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x80], eax
lea eax, [edi + 0x610]
push eax
mov esi, 0x200
lea eax, [ebp + 0x788]
push esi
push eax
call fcn.00564635
lea eax, [ebp + 0x788]
push eax
call fcn.00563c80
lea eax, [ebp + eax + 0x788]
add esp, 0x10
cmp byte [eax - 1], 0x5c
je 0x43d05f
mov byte [eax], 0x5c
mov byte [eax + 1], 0
lea eax, [edi + 0xa10]
push eax
lea eax, [ebp + 0x788]
push esi
push eax
call fcn.00460170
lea eax, [ebp + 0x788]
push eax
push str._WinNT_bCreateService__szDestName___s_n
push edi
call fcn.0043c91f
add esp, 0x18
push esi
lea eax, [ebp + 0x388]
push eax
push 0xffffffffffffffff
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 1
push 0
call ebx
push esi
lea eax, [ebp - 0x78]
push eax
push 0xffffffffffffffff
lea eax, [ebp + 0x788]
push eax
push 1
xor esi, esi
push esi
call ebx
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x78]
push eax
push 1
push 3
push 1
push 0xf01ff
lea eax, [ebp + 0x388]
push eax
push eax
push dword [edi + 0x208]
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov ebx, eax
cmp ebx, esi
jne 0x43d114
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._WinNT_bCreateService__CreateService_failed__error_code___d_n
push edi
mov dword [ebp - 0x7c], eax
call fcn.0043c91f
mov eax, dword [ebp - 0x7c]
add esp, 0xc
xor ebx, ebx
sub eax, 5
je 0x43d146
sub eax, 0x42b
je 0x43d146
dec eax
jne 0x43d146
inc ebx
mov dword [ebp - 0x7c], esi
jmp 0x43d146
push str._WinNT_bCreateService__CreateService_succeeded_n
push edi
call fcn.0043c91f
pop ecx
pop ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, eax
cmp ebx, esi
jne 0x43d146
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._WinNT_bCreateService__CloseServiceHandle_failed__errorcode___d_n
push edi
mov dword [ebp - 0x7c], eax
call fcn.0043c91f
add esp, 0xc
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x7c]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x988]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00562d51
add ebp, 0x98c
leave
ret 8
Function at 0x43d16a
Capabilities:
Delete service

Disassembly:
push ebp
push esi
push edi
push 0xf01ff
push dword [esp + 0x14]
mov esi, ecx
push dword [esi + 0x208]
xor edi, edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebp, eax
test ebp, ebp
jne 0x43d1a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push edi
push str._WinNT_dwDeleteService__Openservice_failed__errorcode___d_n
push esi
call fcn.0043c91f
add esp, 0xc
jmp 0x43d1e9
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x43d1ca
call ebx
mov edi, eax
push edi
push str._WinNT_dwDeleteService__DeleteService_failed__errorcode___d_n
push esi
call fcn.0043c91f
add esp, 0xc
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
jne 0x43d1e8
call ebx
mov edi, eax
push edi
push str._WinNT_dwDeleteService__CloseServiceHandle_failed__errorcode___d_n
push esi
call fcn.0043c91f
add esp, 0xc
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret 4

Function at 0x43d1f1
Capabilities:
Start service

Disassembly:
push ebx
push esi
push 0xf01ff
push dword [esp + 0x10]
mov ebx, ecx
push dword [ebx + 0x208]
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x43d238
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str._WinNT_bStartService__OpenService_failed__error_code___d_n
push ebx
call fcn.0043c91f
add esp, 0xc
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword [ecx], esi
pop esi
pop ebx
ret 8
push ebp
push edi
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jne 0x43d2a0
call ebp
mov esi, eax
push esi
push str._WinNT_bStartService__StartService_failed__error_code___d_n
push ebx
call fcn.0043c91f
add esp, 0xc
mov eax, 0x420
cmp esi, eax
ja 0x43d28b
je 0x43d284
mov eax, esi
dec eax
dec eax
je 0x43d29e
dec eax
je 0x43d29e
sub eax, 0x23e
je 0x43d29e
sub eax, 0x45
jmp 0x43d29e
xor edi, edi
xor esi, esi
inc edi
jmp 0x43d2a0
mov eax, esi
sub eax, 0x422
je 0x43d29e
sub eax, 0x1a
je 0x43d29e
sub eax, 0xbf
xor edi, edi
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
jne 0x43d2c1
call ebp
mov esi, eax
push esi
push str._WinNT_bStartService__CloseServiceHandle_failed__errorcode___d_n
push ebx
call fcn.0043c91f
add esp, 0xc
mov eax, edi
pop edi
pop ebp
jmp 0x43d22d
Function at 0x43d2ca
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 4], 0
push esi
push edi
push 0xf01ff
push dword [ebp + 8]
mov edi, ecx
push dword [edi + 0x208]
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
mov dword [ebp + 8], esi
test esi, esi
jne 0x43d313
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str._WinNT_dwStopService__OpenService_failed__errorcode___d_n
push edi
call fcn.0043c91f
add esp, 0xc
mov eax, esi
jmp 0x43d3d5
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_ControlService]
lea eax, [ebp - 0x20]
push eax
push 4
push esi
call ebx
test eax, eax
je 0x43d394
push dword [ebp - 0x1c]
push str._WinNT_dwStopService__ControlService_SERVICE_CONTROL_INTERROGATE__status__0x_X_n
push edi
call fcn.0043c91f
add esp, 0xc
cmp dword [ebp - 0x1c], 1
je 0x43d3ac
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call ebx
test eax, eax
je 0x43d386
push dword [ebp - 0x1c]
push str._WinNT_dwStopService__ControlService_SERVICE_CONTROL_STOP__status__0x_X_n
push edi
call fcn.0043c91f
add esp, 0xc
cmp dword [ebp - 0x1c], 3
jne 0x43d3ac
lea esi, [edi + 0x204]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [esi], 0xffffffff
lea eax, [ebp - 0x20]
push eax
push 1
push dword [ebp + 8]
call ebx
push eax
push str._WinNT_dwStopService__ControlService_SERVICE_CONTROL_STOP__failed__pending__result___d_n
jmp 0x43d3a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._WinNT_dwStopService__ControlService_SERVICE_CONTROL_STOP__failed__errorcode___d_n
jmp 0x43d3a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._WinNT_dwStopService__ControlService_SERVICE_CONTROL_INTERROGATE__failed__errorcode___d_n
mov dword [ebp - 4], eax
push edi
call fcn.0043c91f
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop ebx
test eax, eax
jne 0x43d3d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._WinNT_dwStopService__CloseServiceHandle_failed__errorcode___d_n
push edi
mov dword [ebp - 4], eax
call fcn.0043c91f
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 4
Function at 0x43d493
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 4]
push eax
lea edi, [esi + 0x210]
push edi
mov dword [ebp - 4], 0x200
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push edi
push str._WinNT_bInstallDriver__szMachineName___s_n
push esi
call fcn.0043c91f
add esp, 0xc
push 0xf003f
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [esi + 0x208], eax
cmp eax, ebx
jne 0x43d50d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push edi
push str._WinNT_bInstallDriver__OpenSCManager_failed__error_code___d_n
push esi
call fcn.0043c91f
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [eax], edi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
mov edi, dword [ebp + 8]
cmp dword [esi + 0x20c], ebx
je 0x43d56f
mov dword [ebp + 8], ebx
cmp dword [esi + 0xb1c], ebx
je 0x43d528
push dword [edi + 0x48]
jmp 0x43d548
cmp dword [esi + 0xb20], ebx
je 0x43d535
push dword [edi + 0x50]
jmp 0x43d548
cmp dword [esi + 0xb24], ebx
jne 0x43d56f
cmp dword [esi + 0xb28], ebx
jne 0x43d56f
push dword [edi + 0x44]
mov ecx, esi
call fcn.0043da99
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x43d56f
push str._WinNT_bInstallDriver__Unable_to_extract_driver_file_n
push esi
call fcn.0043c91f
pop ecx
pop ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov eax, ebx
jmp 0x43d506
lea eax, [ebp + 8]
push eax
push edi
mov ecx, esi
call fcn.0043cff0
mov ebx, eax
test ebx, ebx
je 0x43d59b
lea eax, [ebp + 8]
push eax
push edi
mov ecx, esi
call fcn.0043d1f1
mov ebx, eax
test ebx, ebx
jne 0x43d59b
push edi
mov ecx, esi
call fcn.0043d16a
mov eax, dword [esi + 0x208]
test eax, eax
je 0x43d563
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
jne 0x43d563
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._WinNT_bInstallDriver__CloseServiceHandle_failed__errorcode___d_n
push esi
call fcn.0043c91f
add esp, 0xc
jmp 0x43d563
Function at 0x43d6f4
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x6015a8]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
push edi
lea eax, [ebp - 0x80]
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea edi, [esi + 0x610]
push edi
call fcn.00563c80
pop ecx
test eax, eax
jle 0x43d75f
cmp byte [esi + eax + 0x60f], 0x5c
lea eax, [esi + 0xa10]
push eax
push edi
lea eax, [ebp - 0x6c]
jne 0x43d74a
push str._s_s
jmp 0x43d74f
push 0x590b24
push 0x200
push eax
call fcn.00460090
add esp, 0x14
jmp 0x43d77c
lea eax, [esi + 0xa10]
push eax
push 0x58e110
lea eax, [ebp - 0x6c]
push 0x200
push eax
call fcn.00460090
add esp, 0x10
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x70], eax
test eax, eax
jne 0x43d7a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x6c]
push eax
push str._bDeleteFile__DeleteFile__s_failed__error___d__n
push esi
call fcn.0043c91f
add esp, 0x10
jmp 0x43d7ba
lea eax, [ebp - 0x6c]
push eax
push str._bDeleteFile__DeleteFile__s_succeeded_n
push esi
call fcn.0043c91f
add esp, 0xc
lea eax, [esi + 0x410]
push ebx
push eax
call fcn.00563c80
push edi
mov ebx, eax
call fcn.00563c80
pop ecx
pop ecx
cmp eax, ebx
pop ebx
jbe 0x43d80b
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov dword [ebp - 0x70], eax
test eax, eax
jne 0x43d7fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str._bDeleteFile__RemoveDirectory__s_failed__error___d__n
push esi
call fcn.0043c91f
add esp, 0x10
jmp 0x43d80b
push edi
push str._bDeleteFile__RemoveDirectory__s_succeeded_n
push esi
call fcn.0043c91f
add esp, 0xc
mov ecx, dword [ebp + 0x194]
mov eax, dword [ebp - 0x70]
pop edi
xor ecx, ebp
pop esi
call fcn.00562d51
add ebp, 0x198
leave
ret
Function at 0x45de30
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x224
mov eax, dword [0x6015a8]
xor eax, esp
mov dword [esp + 0x220], eax
mov eax, dword [esp + 0x22c]
push ebx
push esi
xor esi, esi
push str.setupapi.dll
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x45e049
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebp
push edi
push str.CM_Get_DevNode_Registry_PropertyA
push ebx
call esi
push str.CM_Locate_DevNodeA
push ebx
mov ebp, eax
call esi
push str.CM_Get_Child
push ebx
mov edi, eax
call esi
push str.CM_Get_Sibling
push ebx
mov dword [esp + 0x28], eax
call esi
push str.CM_Get_Parent
push ebx
mov dword [esp + 0x34], eax
call esi
mov dword [esp + 0x24], eax
test ebp, ebp
je 0x45e025
test edi, edi
je 0x45e025
cmp dword [esp + 0x20], 0
je 0x45e025
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x45e025
test eax, eax
je 0x45e025
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
call edi
test eax, eax
jne 0x45e01d
mov eax, dword [esp + 0x10]
mov edi, 0x200
push 0
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x38]
push ecx
push 0
push 0xa
push eax
mov dword [esp + 0x34], edi
call ebp
test eax, eax
jne 0x45df49
mov eax, dword [esp + 0x238]
lea ecx, [esp + 0x30]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x45df40
test dl, dl
je 0x45df3c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x45df40
add eax, 2
add ecx, 2
test dl, dl
jne 0x45df20
xor eax, eax
jmp 0x45df45
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x45dfbb
mov edx, dword [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x1c]
push eax
call dword [esp + 0x2c]
test eax, eax
jne 0x45df67
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jmp 0x45def7
mov ecx, dword [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x1c]
push edx
call esi
test eax, eax
je 0x45dfae
lea esp, [esp]
mov eax, dword [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [esp + 0x30]
test eax, eax
jne 0x45e025
mov eax, dword [esp + 0x14]
push 0
push eax
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x1c], eax
call esi
test eax, eax
jne 0x45df80
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jmp 0x45def7
mov edx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x38]
push ecx
push 0
push 1
push edx
mov dword [esp + 0x34], edi
call ebp
test eax, eax
jne 0x45e01d
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x30]
push eax
push 0x100
push ecx
call fcn.00564635
add esp, 0xc
push ebx
mov dword [esp + 0x1c], 1
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x18]
pop edi
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.00562d51
add esp, 0x224
ret
mov dword [esp + 0x18], 0
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x18]
pop edi
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.00562d51
add esp, 0x224
ret
mov ecx, dword [esp + 0x228]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.00562d51
add esp, 0x224
ret
Function at 0x460ac0
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
sub esp, 0x2a0
mov eax, dword [0x6015a8]
xor eax, esp
mov dword [esp + 0x29c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2b8]
push edi
push 0x9c
xor ebp, ebp
lea eax, [esp + 0x14]
push ebp
push eax
mov edi, ecx
call fcn.005635a0
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], 0x9c
call ebx
test eax, eax
jne 0x460b31
push 0x94
push eax
lea edx, [esp + 0x18]
push edx
call fcn.005635a0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x94
call ebx
push esi
lea ecx, [esp + 0xb0]
push 0x200
push ecx
call fcn.00460090
mov eax, dword [esp + 0x2c]
add esp, 0xc
sub eax, 1
je 0x460c13
sub eax, 1
jne 0x460c2d
cmp dword [esp + 0x14], 4
push esi
push str.Global_s
lea edx, [esp + 0xb4]
push 0x200
push edx
ja 0x460bf2
call fcn.00460090
add esp, 0x10
lea eax, [esp + 0xac]
push eax
push 0
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
je 0x460bb8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x2b8]
lea ecx, [esp + 0xac]
push ecx
push edx
mov ecx, edi
call fcn.0045d9f0
jmp 0x460c2f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x460bfa
push esi
lea edx, [esp + 0xb0]
push 0x200
push edx
call fcn.00460090
mov ecx, dword [esp + 0x2c4]
add esp, 0xc
lea eax, [esp + 0xac]
push eax
push ecx
mov ecx, edi
call fcn.0045d9f0
jmp 0x460c2f
call fcn.00460090
add esp, 0x10
mov ecx, dword [esp + 0x2b8]
lea eax, [esp + 0xac]
push eax
push ecx
mov ecx, edi
call fcn.0045d9f0
jmp 0x460c2f
mov eax, dword [esp + 0x2b8]
lea edx, [esp + 0xac]
push edx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
jmp 0x460c2f
mov eax, ebp
mov ecx, dword [esp + 0x2ac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00562d51
add esp, 0x2a0
ret 0xc
Function at 0x461530
Capabilities:
Get file version info

Disassembly:
sub esp, 0x58
mov eax, dword [0x6015a8]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
mov ebx, dword [esp + 0x64]
push ebp
mov ebp, dword [esp + 0x64]
push edi
lea eax, [esp + 0x1c]
push eax
push ebp
mov dword [esp + 0x20], 0
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x461686
push esi
push edi
call fcn.00551daf
add esp, 4
mov esi, eax
push esi
push edi
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x46167c
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x590b64
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x46167c
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x46165d
mov eax, dword [esp + 0x18]
movzx edx, word [eax + 2]
movzx eax, word [eax]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push edx
push eax
lea ecx, [esp + 0x2c]
push 0x59453c
push ecx
call edi
add esp, 0x10
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x46160f
mov edx, dword [esp + 0x14]
push edx
lea eax, [ebx + 0x10]
push 0x100
push eax
call fcn.00460090
add esp, 0xc
mov eax, dword [esp + 0x18]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
lea eax, [esp + 0x2c]
push 0x594514
push eax
call edi
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x46165d
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [ebx + 0x110]
push 0x100
push edx
call fcn.00460090
add esp, 0xc
mov eax, dword [esp + 0x1c]
movzx ecx, word [eax + 0xa]
mov dword [ebx], ecx
movzx edx, word [eax + 8]
mov dword [ebx + 4], edx
movzx ecx, word [eax + 0xe]
mov dword [ebx + 8], ecx
movzx edx, word [eax + 0xc]
mov dword [ebx + 0xc], edx
push esi
call fcn.00551dba
add esp, 4
pop esi
mov ecx, dword [esp + 0x60]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00562d51
add esp, 0x58
ret 8
Function at 0x4740d0
Capabilities:
Get memory capacity

Disassembly:
push 0xffffffffffffffff
push 0x584f8b
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x6015a8]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.004b41c0
call fcn.00461b70
mov esi, dword [eax + 0x68]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
fild dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jge 0x474122
fadd dword [0x5cae28]
cmp dword [esi + 0x118], 0
fstp dword [esp + 0x10]
jne 0x4741c1
push 0x168
call fcn.00551d80
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], 0
test eax, eax
je 0x47415b
push 0
mov ecx, eax
call fcn.00490ce0
jmp 0x47415d
xor eax, eax
mov dword [esi + 0x118], eax
or dword [eax + 0x144], 0x1c0e000
mov edx, dword [esi + 0x118]
push str.System_Memory
add edx, 4
push 0x100
push edx
mov dword [esp + 0x4c], 0xffffffff
call fcn.00460090
mov ecx, dword [esi + 0x118]
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
add esp, 0xc
push ecx
mov ecx, esi
call edx
mov edi, dword [esi + 0x118]
call fcn.00461b70
mov ecx, dword [eax + 0x34]
mov edx, dword [ecx + 8]
mov dword [edi + 0x148], edx
mov ecx, dword [eax + 0x34]
push edi
call fcn.00468980
fld dword [esp + 0x10]
push 1
push ecx
mov ecx, dword [esi + 0x118]
fstp dword [esp]
call fcn.0048ee00
mov eax, dword [ebx + 8]
test eax, eax
je 0x474219
mov esi, dword [eax + 4]
test esi, esi
je 0x474219
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x474219
mov edi, 0x80000
cmp dword [ecx + 0x104], 1
jne 0x4741fe
test dword [ebx + 0xc], edi
je 0x474205
push 0
call fcn.00496cf0
test esi, esi
je 0x474219
mov eax, dword [esi + 8]
test eax, eax
je 0x474219
mov ecx, dword [eax + 4]
mov esi, eax
test ecx, ecx
jne 0x4741f0
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x34
ret
Function at 0x476650
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5850bf
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6015a8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
or eax, 0xffffffff
xor ebx, ebx
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esp + 0x24], ebx
mov dword [esi], vtable.K10_FIDVID_Control.0
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
xor edi, edi
lea ebp, [esi + 0x44]
push 0x10
call fcn.00551d80
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 1
cmp eax, ebx
je 0x4766e8
lea ecx, [edi - 0x3ffeff9c]
push ecx
mov ecx, eax
call fcn.00494dc0
jmp 0x4766ea
xor eax, eax
mov dword [ebp], eax
inc edi
add ebp, 4
cmp edi, 5
mov byte [esp + 0x24], bl
jl 0x4766c1
push 0x10
call fcn.00551d80
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 2
cmp eax, ebx
je 0x47671f
push 0xc0010062
mov ecx, eax
call fcn.00494dc0
jmp 0x476721
xor eax, eax
push 0x10
mov byte [esp + 0x28], bl
mov dword [esi + 0x5c], eax
call fcn.00551d80
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 3
cmp eax, ebx
je 0x47674d
push 0xc0010063
mov ecx, eax
call fcn.00494dc0
jmp 0x47674f
xor eax, eax
push 0x10
mov byte [esp + 0x28], bl
mov dword [esi + 0x58], eax
call fcn.00551d80
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 4
cmp eax, ebx
je 0x47677b
push 0xc0010071
mov ecx, eax
call fcn.00494dc0
jmp 0x47677d
xor eax, eax
push 0x10
mov byte [esp + 0x28], bl
mov dword [esi + 0x34], eax
call fcn.00551d80
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 5
cmp eax, ebx
je 0x4767ac
push 0xc0010070
mov ecx, eax
call fcn.00494dc0
mov dword [esi + 0x38], eax
jmp 0x4767af
mov dword [esi + 0x38], ebx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret