joyce8/EMBER2024-capa huggingface dataset:
Function at 0xad6f20
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ecx
push ebp
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebp, eax
test ebp, ebp
mov dword [esp + 4], ebp
je 0xad6fd7
mov eax, dword [esp + 0xc]
push esi
push 0xf01ff
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0xad6fcf
push ebx
push edi
push 0xafa770
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
je 0xad6fae
push 0x3e8
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push 0xafa770
push esi
call ebx
test eax, eax
je 0xad6fae
mov ebp, 3
cmp dword [0xafa774], ebp
jne 0xad6faa
push 0x3e8
call edi
push 0xafa770
push esi
call ebx
test eax, eax
jne 0xad6f8f
mov ebp, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
call ebx
test eax, eax
jne 0xad6fc6
push 0x64
call edi
push esi
call ebx
test eax, eax
je 0xad6fbb
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
pop ebp
pop ecx
ret
Function at 0xadae00
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0xaf08f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov ecx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x24]
lea eax, [esp + 4]
push edi
xor edi, edi
push eax
push 0x20019
push edi
push esi
push ecx
mov dword [esp + 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0xadaed2
lea edx, [esp + 0x24]
push eax
push edx
call fcn.00ad77a0
add esp, 8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
cmp eax, edi
je 0xadae61
mov edx, dword [eax]
jmp 0xadae63
xor edx, edx
xor ecx, ecx
push edi
xor eax, eax
push edx
push ecx
mov ecx, dword [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
mov edx, dword [ecx + 4]
push eax
push esi
push 2
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.00ad9050
mov eax, dword [esp + 0x44]
add esp, 0x20
cmp eax, edi
mov dword [esp + 0x1c], 0xffffffff
je 0xadaebf
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0xadaebf
cmp esi, edi
je 0xadaebf
mov ecx, esi
call fcn.00ad2a00
push esi
call fcn.00ae01c8
add esp, 4
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push edi
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.00ad7990
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], 1
cmp eax, edi
je 0xadaef5
mov eax, dword [eax]
jmp 0xadaef7
xor eax, eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x2c]
push ebx
push esi
push eax
push ecx
push edx
call fcn.00ad6640
add esp, 0x10
mov bl, al
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0xadaf25
mov eax, dword [eax]
jmp 0xadaf27
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
cmp esi, edi
je 0xadaf76
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0xadaf76
cmp esi, edi
je 0xadaf76
mov eax, dword [esi]
cmp eax, edi
je 0xadaf5d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0xadaf6d
push eax
call fcn.00ae01c8
add esp, 4
push esi
call fcn.00ae01c8
add esp, 4
mov ecx, dword [esp + 0x18]
mov al, bl
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0xadaf90
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push ebp
push esi
push edi
xor edi, edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
mov esi, dword [esp + 0x21c]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0xadaffb
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0xadb035
lea edx, [esp + 0x10]
push esi
push edx
push SysStringLen
call fcn.00adae00
add esp, 0xc
lea eax, [esp + 0x10]
inc edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
test eax, eax
je 0xadafc5
mov edi, 0xaf58b0
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0xadb035
mov edx, dword [edi]
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00adae00
add edi, 4
add esp, 0xc
cmp edi, 0xaf58c0
jb 0xadb000
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x208
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x208
ret

Function at 0xadb070
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push esi
push edi
mov edi, dword [esp + 0x25c]
push 0x5c
push edi
call fcn.00ae1082
mov esi, eax
add esp, 8
test esi, esi
je 0xadb107
lea eax, [esp + 8]
mov word [esi], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0xadb102
push ebx
lea ebx, [esi + 2]
push ebp
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.00ae0946
add esp, 8
test eax, eax
je 0xadb0e3
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x10]
push edx
push edi
call ebp
test eax, eax
je 0xadb0e8
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.00ae0946
add esp, 8
test eax, eax
jne 0xadb0c5
mov word [esi], 0x5c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
pop ebp
pop ebx
je 0xadb102
pop edi
mov al, 1
pop esi
add esp, 0x250
ret
mov word [esi], 0x5c
pop edi
xor al, al
pop esi
add esp, 0x250
ret
Function at 0xadbf10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0xaf09fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0xadc002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00adfdff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0xadc002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.00ad76e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.00ae020b
push 0x10
call fcn.00ae01d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0xadbfc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.00acc1c0
jmp 0xadbfc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00adbb80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0xadbff0
mov ecx, edi
call fcn.00acc2c0
push edi
call fcn.00ae01c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0xadc021
inc ebx
cmp ebx, 0x20
jb 0xadbf3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0xadd250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xaf1808
push 0xae1288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0xadd329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0xadd329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00ae01d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0xadd329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0xadd329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0xadd32c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00add351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xaddd20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xaddd58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0xaddd60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xaddd94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xaddd94
push eax
push esi
call fcn.00ae020b
add esp, 8
pop esi
ret 0x10

Function at 0xaddda0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xadde22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xadde15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xaf6320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00adfdff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0xadddda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0xadde30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xaddec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xaddeb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xaf6320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00adfdff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0xaddeab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xadde6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0xade000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xade131
push esi
call fcn.00ae1145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00ad0080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xade131
push 0
push ebp
call fcn.00ad03a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00ad0260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xade08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00ad02f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xade121
push 0xaf6918
push edi
call fcn.00adf3f0
push eax
push ebx
push esi
call fcn.00addf60
push 0xaf68f8
push edi
call fcn.00adf3f0
push eax
push ebx
push esi
call fcn.00addf60
push 0xaf68d8
push edi
call fcn.00adf3f0
push eax
push ebx
push esi
call fcn.00addf60
push 0xaf68c0
push edi
call fcn.00adf3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00addf60
push 0xaf68a0
push edi
call fcn.00adf3f0
push eax
push ebx
push esi
call fcn.00addf60
push 0xaf6888
push edi
call fcn.00adf3f0
push eax
push ebx
push esi
call fcn.00addf60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xadf1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00adf140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00adf140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00adf140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00adf140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xadfbfa
Capabilities:
Query or enumerate registry value

Disassembly:
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 0xadfc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xaf187c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xadfc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xadfc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x43ab08
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x4027e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x170
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x4023f0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
movsx eax, word [0x44907c]
test eax, eax
jne 0x43ab58
push 1
call sub.MSVBVM60.DLL___vbaOnError
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x2c]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov dword [ebp - 0x160], eax
call sub.MSVBVM60.DLL___vbaSetSystemError
push dword [ebp - 0x2c]
push dword [ebp + 8]
call sub.MSVBVM60.DLL___vbaStrToUnicode
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaFreeStr
xor eax, eax
cmp dword [ebp - 0x20], 0xffffffff
setne al
neg eax
mov word [ebp - 0x24], ax
jmp 0x43b1cf
call sub.MSVBVM60.DLL___vbaExitProc
push 0x43b269
jmp 0x43b255
lea ecx, [ebp - 0x170]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaFreeStr
ret

Function at 0x43d7b7
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4027e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push 0x38
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x402510
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call sub.MSVBVM60.DLL___vbaOnError
mov dword [ebp - 4], 3
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 8]
push dword [ebp + 0xc]
call sub.SHELL32.DLL_SHGetSpecialFolderLocation
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jge 0x43d834
push dword [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaHresultCheck
mov dword [ebp - 0x54], eax
jmp 0x43d838
and dword [ebp - 0x54], 0
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 4
call sub.MSVBVM60.DLL_rtcErrObj
push eax
lea eax, [ebp - 0x30]
push eax
call sub.MSVBVM60.DLL___vbaObjSet
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
push dword [ebp - 0x38]
call dword [eax + 0x1c]
fnclex
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jge 0x43d887
push 0x1c
push 0x4041a4
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x58], eax
jmp 0x43d88b
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeObj
mov dword [ebp - 4], 5
cmp dword [ebp - 0x28], 0
jne 0x43d8b5
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
jmp 0x43d8c0
mov dword [ebp - 4], 8
and dword [ebp - 0x24], 0
push 0x43d8d1
jmp 0x43d8d0
ret
Function at 0x100156b
Capabilities:
Terminate process

Disassembly:
push dword [0x1004964]
push 0x2710
push 2
call fcn.01002102
add esp, 0xc
push 1
call dword [sym.imp.msvcrt.dll_exit]
int3

Function at 0x10015ee
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
or dword [ebp - 4], 0xffffffff
or dword [ebp - 0x10], 0xffffffff
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 0x18], edi
jne 0x1001619
cmp dword [ebp + 0xc], edi
je 0x1001619
mov esi, dword [ebp + 8]
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
jmp 0x1001639
mov esi, dword [ebp + 8]
cmp esi, edi
mov dword [ebp - 8], esi
je 0x1001636
lea eax, [ebp + 8]
push eax
push esi
call fcn.010013d8
cmp dword [ebp + 8], 1
mov dword [ebp - 0xc], eax
jne 0x100165e
mov esi, dword [ebp + 0x10]
lea eax, [ebp + 8]
push eax
push 2
call fcn.01003255
mov ebx, eax
cmp ebx, edi
je 0x100168e
cmp esi, edi
je 0x100167c
push esi
mov edi, ebx
call fcn.010012bd
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x100167c
push esi
push dword [0x1004964]
push 0x2712
push 2
call fcn.01002102
add esp, 0x10
push 1
call dword [sym.imp.msvcrt.dll_exit]
lea eax, [ebp + 8]
push eax
push 4
call fcn.01003255
test eax, eax
mov dword [ebp - 0x14], eax
jne 0x1001696
mov eax, dword [ebp + 8]
jmp 0x100177b
mov esi, dword [eax]
cmp esi, eax
je 0x1001759
xor edi, edi
inc edi
cmp dword [ebp - 8], 0
je 0x10016bc
lea eax, [ebp - 0xc]
push eax
lea eax, [esi + 0x18]
push eax
call fcn.010020d2
test eax, eax
jne 0x10016bc
xor edi, edi
cmp dword [ebp + 0xc], 0
je 0x10016cc
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 8]
je 0x10016cc
xor edi, edi
test edi, edi
je 0x100174b
mov eax, dword [esi + 8]
cmp dword [ebp - 0x10], eax
je 0x100173e
or dword [ebp - 4], 0xffffffff
mov ecx, eax
mov eax, dword [ebx]
mov dword [ebp - 0x10], ecx
jmp 0x10016ec
cmp ecx, dword [eax + 0xc]
je 0x10016f2
mov eax, dword [eax]
cmp eax, ebx
jne 0x10016e5
jmp 0x10016fd
mov ecx, dword [eax + 0xc]
cmp ecx, 0xffffffff
mov dword [ebp - 4], ecx
jne 0x1001701
xor eax, eax
jmp 0x1001704
mov eax, dword [eax + 8]
push dword [ebp - 4]
mov dword [ebp + 0x10], eax
movzx ecx, byte [ebp + 0x13]
push ecx
movzx ecx, byte [ebp + 0x12]
push ecx
movzx ecx, ah
movzx eax, al
push ecx
push eax
lea eax, [ebp - 0x58]
push 0x1001130
push eax
call dword [sym.imp.msvcrt.dll_sprintf]
lea eax, [ebp - 0x58]
push eax
push 0x2713
push 1
call fcn.01002102
add esp, 0x28
push esi
mov dword [ebp - 0x18], 1
call fcn.010012fc
mov esi, dword [esi]
cmp esi, dword [ebp - 0x14]
jne 0x10016a0
mov eax, dword [ebp - 0x14]
push eax
call fcn.010022ab
push ebx
call fcn.010022ab
cmp dword [ebp - 0x18], 0
jne 0x1001779
push 0x2722
push 1
call fcn.01002102
pop ecx
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x1001782
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
or dword [ebp - 0xc], 0xffffffff
lea eax, [ebp - 0x34]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
xor eax, eax
cmp ebx, eax
push esi
push edi
mov dword [ebp - 0x18], 1
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
je 0x10017f1
push 2
mov edi, 0x1001148
mov esi, ebx
pop ecx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x10017f1
lea eax, [ebp + 8]
push eax
push ebx
call fcn.010013d8
cmp dword [ebp + 8], 1
mov dword [ebp - 4], eax
je 0x10017ef
push ebx
push dword [0x1004964]
push 0x2711
push 2
call fcn.01002102
add esp, 0x10
jmp 0x100190e
xor eax, eax
cmp dword [ebp + 0xc], eax
je 0x100182d
lea eax, [ebp + 8]
push eax
push 2
call fcn.01003255
mov edi, eax
test edi, edi
je 0x1001840
push dword [ebp + 0xc]
call fcn.010012bd
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
jne 0x1001827
push dword [ebp + 0xc]
push dword [0x1004964]
push 0x2712
jmp 0x10017e0
push edi
call fcn.010022ab
lea eax, [ebp + 8]
push eax
push 4
call fcn.01003255
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x1001848
mov eax, dword [ebp + 8]
jmp 0x10018f2
mov esi, dword [edi]
jmp 0x10018cf
mov eax, dword [ebp - 0xc]
cmp eax, 0xffffffff
je 0x100185c
cmp eax, dword [esi + 8]
jne 0x10018cd
cmp dword [ebp - 4], ebx
je 0x1001872
lea eax, [esi + 0x18]
push eax
lea eax, [ebp - 4]
push eax
call fcn.010020d2
test eax, eax
je 0x10018cd
push 0xc8
call sub.snmpapi.dll_SnmpUtilMemAlloc
cmp eax, ebx
je 0x10018f9
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0xf
push dword [esi + 8]
lea edx, [esi + 0x18]
push 4
call fcn.01001252
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0xa3
mov byte [ebp - 0x2c], 2
mov dword [ebp - 0x28], 2
call dword [0x1004978]
push dword [ebp - 0x30]
call sub.snmpapi.dll_SnmpUtilMemFree
cmp dword [ebp - 8], ebx
jne 0x1001916
mov dword [ebp - 0x10], 1
mov esi, dword [esi]
cmp esi, edi
jne 0x100184f
push edi
call fcn.010022ab
cmp dword [ebp - 0x10], ebx
jne 0x10018f0
push 0x271c
push 2
call fcn.01002102
pop ecx
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
push dword [0x1004964]
push 0x2714
push 2
call fcn.01002102
add esp, 0xc
push 1
call dword [sym.imp.msvcrt.dll_exit]
push dword [ebp - 8]
call fcn.010022cf
jmp 0x10018f2