joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477e17
Capabilities:
Delete file

Disassembly:
mov eax, 0x4e1eca
call fcn.004daf98
sub esp, 0x10
mov eax, dword [0x51e6c8]
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov ecx, 0x51e6c8
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edi
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], edi
call fcn.00477efc
cmp eax, edi
mov dword [ebp + 8], eax
jne 0x477e66
mov dword [esi + 0x1c], 1
jmp 0x477edd
push 0x28
call fcn.00441e72
cmp eax, edi
pop ecx
je 0x477e7a
push eax
call fcn.00451c37
mov edi, eax
test edi, edi
mov dword [ebp - 0x14], edi
je 0x477edd
push str.Extract...
mov esi, 0x51ffc0
call fcn.00454dbc
mov eax, dword [edi]
pop ecx
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push dword [ebp + 8]
push edi
call dword [eax]
mov edi, eax
xor eax, eax
test edi, edi
sete al
push eax
push str.Extract_return:_d
call fcn.00454dbc
test edi, edi
pop ecx
pop ecx
je 0x477ed6
xor esi, esi
lea eax, [ebx - 0x10]
call fcn.0040763c
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
mov dword [ebp - 0x18], 1
cmp dword [ebx - 0xc], 0
je 0x477eea
push ebx
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x477ef7
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov esi, dword [ebp - 0x18]
jmp 0x477ebb

Function at 0x477fdd
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push edi
xor edi, edi
push 0x206
lea eax, [ebp - 0x20a]
push edi
push eax
mov dword [ebp - 4], edi
mov word [ebp - 0x20c], di
call fcn.00497210
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x478085
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push edi
push eax
push edi
push 2
push edi
push ebx
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingW]
cmp ebx, edi
mov dword [esi], eax
je 0x47807e
push dword [esi + 8]
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
cmp eax, edi
mov dword [esi + 4], eax
je 0x47807e
mov dword [ebp - 4], 1
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret
Function at 0x478acf
Capabilities:
Persist via run registry key

Disassembly:
mov eax, 0x4df812
call fcn.004daf98
sub esp, 0x18
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax - 0xc]
push esi
push edi
xor edi, edi
cmp eax, edi
je 0x478c7c
mov eax, dword [ebx + 0x30]
cmp dword [eax - 0xc], edi
je 0x478c7c
mov dword [ebp - 0x10], edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], edi
call fcn.00407fa9
push 0x4f63c8
lea esi, [ebx + 0x38]
mov byte [ebp - 4], 1
call fcn.00476ad2
test eax, eax
push edi
push dword [ebp - 0x14]
lea esi, [ebp - 0x10]
push reloc.OLEAUT32.dll_SysReAllocString
jne 0x478b39
call fcn.00474a89
jmp 0x478b3e
call fcn.00458140
cmp eax, edi
jne 0x478b62
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040763c
cmp dword [ebp - 0x10], edi
je 0x478b5b
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x478c7f
call dword [0x5180b4]
mov esi, dword [ebx + 0x2c]
cmp esi, edi
mov dword [ebp - 0x18], eax
je 0x478b84
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x478b88
xor eax, eax
jmp 0x478b9e
lea eax, [edi + edi]
call fcn.004a71e0
mov eax, esp
push dword [ebp - 0x18]
push edi
push esi
mov esi, eax
call fcn.0040ac19
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00407fa9
mov byte [ebp - 4], 2
mov eax, dword [0x51e6c8]
mov ecx, 0x51e6c8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 3
mov esi, dword [ebx + 0x30]
test esi, esi
je 0x478bdc
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x478be2
and dword [ebp - 0x1c], 0
jmp 0x478bfb
lea eax, [edi + edi]
call fcn.004a71e0
mov eax, esp
push dword [ebp - 0x18]
push edi
push esi
mov esi, eax
call fcn.0040ac19
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebx + 4]
test ebx, ebx
je 0x478c14
push ebx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x478c18
xor eax, eax
jmp 0x478c2c
lea eax, [edi + edi]
call fcn.004a71e0
mov esi, esp
push dword [ebp - 0x18]
push edi
push ebx
call fcn.0040ac19
push dword [ebp - 0x1c]
push eax
push 0x4fa8e0
lea eax, [ebp - 0x20]
call fcn.00408fb3
mov edi, dword [ebp - 0x20]
add esp, 0xc
push edi
push dword [ebp - 0x24]
lea esi, [ebp - 0x10]
call fcn.0040acd8
lea eax, [edi - 0x10]
call fcn.0040763c
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.0040763c
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040763c
cmp dword [ebp - 0x10], 0
je 0x478c7c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
lea esp, [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x478c91
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x4e123c
call fcn.004daf98
push ecx
push ebx
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 8]
lea eax, [edi + 0x20]
push esi
push eax
mov dword [edi], vtable.CProductSign.0
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], 1
call fcn.004070a3
mov dword [ebp - 4], esi
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], esi
mov ebx, 0x51e6c8
lea esi, [edi + 0x40]
mov ecx, ebx
call fcn.00407fec
lea esi, [edi + 0x44]
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.00407fec
lea esi, [edi + 0x48]
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.00407fec
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
lea ecx, [edi + 0x20]
push ecx
mov ecx, eax
call fcn.00407162
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x47a1ae
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 2
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, esi
mov dword [ebp - 4], eax
jne 0x47a1d0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
pop esi
leave
ret
push edi
push esi
push esi
push esi
push esi
push dword [ebp + 0x18]
push dword [ebp + 8]
push 1
push 2
push 0x10
push 0x32
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, eax
cmp edi, esi
jne 0x47a251
mov edi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call edi
cmp eax, 0x431
je 0x47a217
call edi
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
pop edi
jmp 0x47a1cd
push 2
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
cmp edi, esi
jne 0x47a233
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x47a207
push dword [ebp + 0x14]
push esi
push esi
push esi
push esi
push dword [ebp + 0x18]
push dword [ebp + 8]
push 1
push 2
push 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
je 0x47a22b
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x47a209
Function at 0x47a26d
Capabilities:
Delete service

Disassembly:
push edi
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x47a287
pop edi
jmp dword [sym.imp.KERNEL32.DLL_GetLastError]
push ebx
push esi
push 0x10000
push dword [esp + 0x14]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
jne 0x47a2b6
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
push edi
call ebx
mov eax, esi
pop esi
pop ebx
pop edi
ret
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x47a2d9
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, eax
call edi
push esi
call edi
mov eax, ebx
jmp 0x47a2b2
push esi
call ebx
xor esi, esi
jmp 0x47a2ad

Function at 0x47a2e0
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push 0x40000000
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, esi
mov dword [ebp - 8], eax
jne 0x47a305
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x47a32e
push ebx
push edi
push 0x14
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
cmp ebx, esi
jne 0x47a331
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
pop edi
pop ebx
pop esi
leave
ret
push 6
pop ecx
xor eax, eax
mov dword [ebp - 0x24], esi
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [ebp - 0x24]
push eax
push ebx
call edi
test eax, eax
je 0x47a359
cmp dword [ebp - 0x20], 4
jne 0x47a359
xor eax, eax
jmp 0x47a32c
push esi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x47a380
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
call esi
push ebx
call esi
mov eax, edi
jmp 0x47a32c
mov dword [ebp - 4], esi
cmp esi, 0xbb8
jge 0x47a3c1
lea eax, [ebp - 0x24]
push eax
push ebx
call edi
test eax, eax
je 0x47a3af
cmp dword [ebp - 0x20], 1
je 0x47a3ba
cmp dword [ebp - 0x20], 4
je 0x47a3c1
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
add esi, 0x64
jmp 0x47a383
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 4], eax
jmp 0x47a3c1
mov dword [ebp - 4], 0xe0000018
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, dword [ebp - 4]
jmp 0x47a321
Function at 0x47af93
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4df7e8
call fcn.004daf98
sub esp, 0x214
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
push esi
mov dword [ebp - 0x18], ebx
mov esi, dword [ebp + 8]
mov ecx, 0x51e6c8
call fcn.00407fec
xor esi, esi
mov dword [ebp - 4], ebx
inc esi
push ebx
mov dword [ebp - 0x18], esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x14]
push eax
push 0x1a
push ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push 0x206
lea eax, [ebp - 0x21e]
push ebx
push eax
mov word [ebp - 0x220], bx
call fcn.00497210
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x220]
push eax
call fcn.0049795c
test eax, eax
pop ecx
je 0x47b033
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x220]
push eax
push dword [ebp + 8]
call fcn.004080b5
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x47b053
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
pop esi
cmp eax, ebx
pop ebx
je 0x47b06b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dword fs:[0], ecx
leave
ret

Function at 0x47b07a
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4df7bd
call fcn.004daf98
sub esp, 0x210
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, 0x51e6c8
mov dword [ebp - 0x10], edi
call fcn.00407fec
push 0x208
lea eax, [ebp - 0x21a]
mov dword [ebp - 4], edi
push edi
push eax
mov dword [ebp - 0x10], 1
mov word [ebp - 0x21c], di
call fcn.00497210
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
je 0x47b108
lea eax, [ebp - 0x21c]
push eax
call fcn.0049795c
test eax, eax
pop ecx
je 0x47b108
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x21c]
push eax
push esi
call fcn.004080b5
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x47b118
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov eax, 0x4dd5d0
call fcn.004daf98
push ecx
push ecx
push ebx
push edi
xor ebx, ebx
push ebx
xor edi, edi
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x10]
push eax
push 0x4e596c
push 1
push ebx
push 0x4e598c
mov byte [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x47b1c8
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x50]
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x24]
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x2c]
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x1c]
push dword [esi + 0x18]
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x44]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x4e59cc
push eax
call dword [ecx]
cmp eax, ebx
jl 0x47b1c8
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push 1
push eax
push ecx
call dword [edx + 0x18]
cmp eax, ebx
jl 0x47b1c8
inc edi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x47b1de
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x47b1ef
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x47baf5
Capabilities:
Check if file exists
Delete file

Disassembly:
mov eax, 0x4e2753
call fcn.004daf98
sub esp, 0x10
push ebx
push esi
mov esi, ecx
xor ebx, ebx
call fcn.0040ad8c
cmp eax, 0xc
jne 0x47bbda
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.0047af93
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x14]
mov dword [esp], 0x4fca08
push eax
call fcn.00408f40
mov eax, dword [0x51e6c8]
mov ecx, 0x51e6c8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
push dword [esi]
lea eax, [ebp - 0x18]
push dword [ebp - 0x14]
push str._s_s.lnk
call fcn.00408fb3
add esp, 0xc
lea edi, [esi + 0x1c]
lea eax, [ebp - 0x18]
call fcn.00407a9f
mov edi, dword [ebp - 0x18]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x10]
push eax
call fcn.0047b07a
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 2
call fcn.0047b118
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
je 0x47bbbb
push dword [esi]
lea ecx, [ebp - 0x10]
push str._s.lnk
call fcn.0040f6fc
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
call fcn.0047babb
add esp, 0x10
push dword [ebp - 0x10]
mov ebx, eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040763c
lea eax, [edi - 0x10]
call fcn.0040763c
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040763c
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x480200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4df648
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x518334]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push edi
mov eax, dword [0x518334]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
mov edi, edx
xor edx, edx
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], edx
mov byte [esp + 0x1c], dl
mov dword [esp + 0x44], edx
mov ebx, dword [eax]
push 0xffffffffffffffff
mov dword [esp + 0x10], ebx
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
push edx
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
call fcn.004047f9
mov dword [esp + 0x34], edi
lea eax, [esi + 0x14]
lea edi, [esp + 0xc]
call fcn.00480340
cmp dword [esp + 0x30], 0x10
jb 0x480291
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00494c70
add esp, 4
xor al, al
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0049c88a
add esp, 0x3c
ret 4
Function at 0x48af10
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x518334]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], 0x80004005
mov word [ebp - 0x210], 0
push 0x1fe
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00497210
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
push 0xffffffffffffffff
mov edx, dword [0x4ee514]
push edx
push pe_nt_image_headers32
lea eax, [ebp - 0x210]
push eax
call fcn.0049aa24
add esp, 0x10
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
push 0xa
lea edx, [ebp - 0x210]
push edx
call fcn.004ce180
push eax
call fcn.004ce190
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x48af9c
jmp 0x48b044
mov eax, dword [ebp + 8]
add eax, 4
push eax
lea ecx, [ebp - 0x218]
call fcn.0048f820
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
add ecx, 0x1c
push ecx
push 0xc8
mov edx, dword [ebp + 0xc]
push edx
call fcn.0049aa24
add esp, 0x10
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
add eax, 0x1ac
push eax
push 0xc8
mov ecx, dword [ebp + 0xc]
add ecx, 0x190
push ecx
call fcn.0049aa24
add esp, 0x10
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
add edx, 0x33c
push edx
push 0xc8
mov eax, dword [ebp + 0xc]
add eax, 0x320
push eax
call fcn.0049aa24
add esp, 0x10
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
add ecx, 0x4cc
push ecx
push 0xc8
mov edx, dword [ebp + 0xc]
add edx, 0x4b0
push edx
call fcn.0049aa24
add esp, 0x10
lea ecx, [ebp - 0x218]
call fcn.0048f850
mov dword [ebp - 0x214], 0
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049c88a
mov esp, ebp
pop ebp
ret 8
Function at 0x48b4b0
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x518334]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], 0x80004005
mov word [ebp - 0x210], 0
push 0x1fe
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00497210
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
push 0xffffffffffffffff
mov edx, dword [0x4ee4d4]
push edx
push pe_nt_image_headers32
lea eax, [ebp - 0x210]
push eax
call fcn.0049aa24
add esp, 0x10
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
push 0xa
lea edx, [ebp - 0x210]
push edx
call fcn.004ce180
push eax
call fcn.004ce190
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x48b53c
jmp 0x48b5e4
mov eax, dword [ebp + 8]
add eax, 4
push eax
lea ecx, [ebp - 0x218]
call fcn.0048f820
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
add ecx, 0x1c
push ecx
push 0xc8
mov edx, dword [ebp + 0xc]
push edx
call fcn.0049aa24
add esp, 0x10
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
add eax, 0x1ac
push eax
push 0xc8
mov ecx, dword [ebp + 0xc]
add ecx, 0x190
push ecx
call fcn.0049aa24
add esp, 0x10
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
add edx, 0x33c
push edx
push 0xc8
mov eax, dword [ebp + 0xc]
add eax, 0x320
push eax
call fcn.0049aa24
add esp, 0x10
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
add ecx, 0x4cc
push ecx
push 0xc8
mov edx, dword [ebp + 0xc]
add edx, 0x4b0
push edx
call fcn.0049aa24
add esp, 0x10
lea ecx, [ebp - 0x218]
call fcn.0048f850
mov dword [ebp - 0x214], 0
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049c88a
mov esp, ebp
pop ebp
ret 8
Function at 0x48c930
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x518334]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], 0x80004005
mov word [ebp - 0x210], 0
push 0x1fe
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00497210
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
push 0xffffffffffffffff
mov edx, dword [0x4ee740]
push edx
push pe_nt_image_headers32
lea eax, [ebp - 0x210]
push eax
call fcn.0049aa24
add esp, 0x10
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
push 0xa
lea edx, [ebp - 0x210]
push edx
call fcn.004ce180
push eax
call fcn.004ce190
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x48c9bc
jmp 0x48ca88
mov eax, dword [ebp + 8]
add eax, 4
push eax
lea ecx, [ebp - 0x218]
call fcn.0048f820
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
add ecx, 0x1c
push ecx
push 0xc8
mov edx, dword [ebp + 0xc]
push edx
call fcn.0049aa24
add esp, 0x10
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
add eax, 0x1ac
push eax
push 0xc8
mov ecx, dword [ebp + 0xc]
add ecx, 0x190
push ecx
call fcn.0049aa24
add esp, 0x10
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
add edx, 0x33c
push edx
push 0xc8
mov eax, dword [ebp + 0xc]
add eax, 0x320
push eax
call fcn.0049aa24
add esp, 0x10
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
add ecx, 0x4cc
push ecx
push 0xc8
mov edx, dword [ebp + 0xc]
add edx, 0x4b0
push edx
call fcn.0049aa24
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x65c]
mov dword [eax + 0x640], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x660]
mov dword [eax + 0x644], edx
lea ecx, [ebp - 0x218]
call fcn.0048f850
mov dword [ebp - 0x214], 0
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049c88a
mov esp, ebp
pop ebp
ret 8