joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422b33
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x403ab6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401cc0
mov edx, dword [ebp + 8]
xor edi, edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
call sub.MSVBVM60.DLL___vbaStrCopy
push dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
push dword [ebp - 0x20]
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
call sub.MSVBVM60.DLL___vbaStrToUnicode
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp esi, 0xffffffff
jne 0x422ba0
mov dword [ebp - 0x18], edi
jmp 0x422bab
mov eax, esi
and al, 0x10
neg al
sbb eax, eax
mov dword [ebp - 0x18], eax
push 0x422bc4
jmp 0x422bbb
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaFreeStr
ret

Function at 0x422bd9
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x403ab6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401cd0
mov edx, dword [ebp + 8]
and dword [ebp - 0x18], 0
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaStrCopy
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
push dword [ebp - 0x1c]
mov esi, eax
lea eax, [ebp - 0x18]
push eax
call sub.MSVBVM60.DLL___vbaStrToUnicode
xor eax, eax
cmp esi, 0xffffffff
sete al
lea ecx, [ebp - 0x1c]
neg eax
mov esi, eax
call sub.MSVBVM60.DLL___vbaFreeStr
xor eax, eax
test si, si
setne al
push 0x422c6d
dec eax
mov dword [ebp - 0x14], eax
jmp 0x422c64
lea ecx, [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
Function at 0x4235b7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x403ab6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401de0
xor eax, eax
push 2
pop esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push 0x401
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x30], esi
call sub.MSVBVM60.DLL_rtcStringVar
lea eax, [ebp - 0x40]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
push esi
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
push 0x400
push dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
push dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push eax
call sub.MSVBVM60.DLL___vbaStrToUnicode
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaFreeStr
push dword [ebp - 0x1c]
call fcn.004201ae
mov edx, eax
lea ecx, [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaStrMove
push 0x4236a3
jmp 0x42369a
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
Function at 0x423749
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x403ab6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401e00
mov edx, dword [ebp + 8]
xor edi, edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x50], edi
call sub.MSVBVM60.DLL___vbaStrCopy
mov edx, 0x409cd0
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x30]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push edi
push dword [ebp - 0x20]
lea eax, [ebp - 0x2c]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call sub.KERNEL32.DLL_GetFullPathNameA
push dword [ebp - 0x2c]
mov esi, eax
lea eax, [ebp - 0x20]
push eax
call sub.MSVBVM60.DLL___vbaStrToUnicode
push dword [ebp - 0x30]
lea eax, [ebp - 0x24]
push eax
call sub.MSVBVM60.DLL___vbaStrToUnicode
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push 2
pop ebx
push ebx
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
cmp esi, edi
je 0x4238af
lea eax, [ebp - 0x40]
push eax
mov eax, esi
add eax, 0xb
jo 0x42390c
push eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x40], ebx
call sub.MSVBVM60.DLL_rtcStringVar
lea eax, [ebp - 0x50]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x40]
push eax
push ebx
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x30]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
add esi, 0xa
jo 0x42390c
push esi
push dword [ebp - 0x20]
lea eax, [ebp - 0x2c]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call sub.KERNEL32.DLL_GetFullPathNameA
push dword [ebp - 0x2c]
mov esi, eax
lea eax, [ebp - 0x20]
push eax
call sub.MSVBVM60.DLL___vbaStrToUnicode
push dword [ebp - 0x30]
lea eax, [ebp - 0x24]
push eax
call sub.MSVBVM60.DLL___vbaStrToUnicode
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
cmp esi, edi
je 0x4238af
push dword [ebp - 0x24]
call fcn.004201ae
mov edx, eax
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaStrMove
push 0x4238f8
jmp 0x4238e7
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow
Function at 0x423911
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x403ab6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401e10
mov edx, dword [ebp + 8]
xor esi, esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x44], esi
call sub.MSVBVM60.DLL___vbaStrCopy
push 2
mov dword [ebp - 0x2c], esi
pop esi
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x34], esi
call sub.MSVBVM60.DLL___vbaLenBstr
add eax, 0xa
jo 0x423a54
push eax
lea eax, [ebp - 0x44]
push eax
call sub.MSVBVM60.DLL_rtcStringVar
lea eax, [ebp - 0x44]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x34]
push eax
push esi
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
push dword [ebp - 0x1c]
lea eax, [ebp - 0x24]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call sub.USER32.DLL_CharToOemA
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push eax
call sub.MSVBVM60.DLL___vbaStrToUnicode
push dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push eax
call sub.MSVBVM60.DLL___vbaStrToUnicode
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
push dword [ebp - 0x1c]
call fcn.004201ae
mov edx, eax
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaStrMove
push 0x423a40
jmp 0x423a37
lea ecx, [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow
Function at 0x423a59
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x403ab6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401e20
mov edx, dword [ebp + 8]
xor esi, esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x44], esi
call sub.MSVBVM60.DLL___vbaStrCopy
push 2
mov dword [ebp - 0x2c], esi
pop esi
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x34], esi
call sub.MSVBVM60.DLL___vbaLenBstr
add eax, 0xa
jo 0x423b9c
push eax
lea eax, [ebp - 0x44]
push eax
call sub.MSVBVM60.DLL_rtcStringVar
lea eax, [ebp - 0x44]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x34]
push eax
push esi
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
push dword [ebp - 0x1c]
lea eax, [ebp - 0x24]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call sub.USER32.DLL_OemToCharA
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push eax
call sub.MSVBVM60.DLL___vbaStrToUnicode
push dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push eax
call sub.MSVBVM60.DLL___vbaStrToUnicode
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
push dword [ebp - 0x1c]
call fcn.004201ae
mov edx, eax
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaStrMove
push 0x423b88
jmp 0x423b7f
lea ecx, [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow
Function at 0x423ba1
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x403ab6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401e30
mov edx, dword [ebp + 8]
xor esi, esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x58], esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaStrCopy
push 2
mov dword [ebp - 0x40], esi
pop esi
lea eax, [ebp - 0x48]
push eax
push 0x401
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x48], esi
call sub.MSVBVM60.DLL_rtcStringVar
lea eax, [ebp - 0x58]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push esi
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
push dword [ebp - 0x1c]
lea eax, [ebp - 0x38]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push 0x400
push dword [ebp - 0x24]
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
mov esi, 0x40bd44
push esi
lea eax, [ebp - 0x30]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x2c]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call sub.KERNEL32.DLL_GetPrivateProfileStringA
push dword [ebp - 0x28]
lea eax, [ebp - 0x14]
push eax
call sub.MSVBVM60.DLL___vbaStrToUnicode
push dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
push eax
call sub.MSVBVM60.DLL___vbaStrToUnicode
push dword [ebp - 0x34]
lea eax, [ebp - 0x24]
push eax
call sub.MSVBVM60.DLL___vbaStrToUnicode
push dword [ebp - 0x38]
lea eax, [ebp - 0x1c]
push eax
call sub.MSVBVM60.DLL___vbaStrToUnicode
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
push 5
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x18
push dword [ebp - 0x24]
call fcn.004201ae
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
push dword [ebp - 0x24]
push esi
call sub.MSVBVM60.DLL___vbaStrCmp
neg eax
sbb eax, eax
neg eax
neg eax
mov dword [ebp - 0x18], eax
push 0x423d64
jmp 0x423d43
lea ecx, [ebp - 0x14]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
Function at 0x424164
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x403ab6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401e78
xor eax, eax
push 2
pop esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push 0x401
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x30], esi
call sub.MSVBVM60.DLL_rtcStringVar
lea eax, [ebp - 0x40]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
push esi
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
push dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push eax
call sub.MSVBVM60.DLL___vbaStrToUnicode
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaFreeStr
push dword [ebp - 0x18]
call fcn.004201ae
mov edx, eax
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaStrMove
push 0x424250
jmp 0x424247
lea ecx, [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
Function at 0x4244a2
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [esp + 4]
imul eax, eax, 2
jo 0x4244b3
sub eax, 1
jo 0x4244b3
ret 4
call sub.MSVBVM60.DLL___vbaErrorOverflow
Function at 0x4244b8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x403ab6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401e98
mov edx, dword [ebp + 8]
xor esi, esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], esi
call sub.MSVBVM60.DLL___vbaStrCopy
push dword [ebp - 0x1c]
push 0x409cd0
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
je 0x424658
push dword [ebp - 0x1c]
lea eax, [ebp - 0x38]
push eax
call sub.MSVBVM60.DLL___vbaStr2Vec
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2c]
push eax
call sub.MSVBVM60.DLL___vbaAryMove
push dword [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaLenBstr
push esi
push 4
push 1
mov dword [ebp - 0x28], eax
push 0x11
lea eax, [ebp - 0x20]
push eax
push 1
mov ebx, 0x80
push ebx
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
push dword [ebp - 0x20]
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL___vbaAryLock
push dword [ebp - 0x2c]
lea eax, [ebp - 0x30]
push eax
call sub.MSVBVM60.DLL___vbaAryLock
push esi
push esi
push esi
push esi
push dword [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaDerefAry1
push eax
push dword [ebp - 0x28]
push esi
push dword [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaDerefAry1
push eax
push esi
mov edi, 0xfde9
push edi
call sub.KERNEL32.DLL_WideCharToMultiByte
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x30]
push eax
call sub.MSVBVM60.DLL___vbaAryUnlock
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL___vbaAryUnlock
cmp dword [ebp - 0x3c], esi
je 0x424658
mov eax, dword [ebp - 0x3c]
push esi
add eax, 0xa
jo 0x4246be
push eax
push 1
push 0x11
lea eax, [ebp - 0x20]
push eax
push 1
push ebx
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
push dword [ebp - 0x20]
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL___vbaAryLock
push dword [ebp - 0x2c]
lea eax, [ebp - 0x30]
push eax
call sub.MSVBVM60.DLL___vbaAryLock
push esi
push esi
push dword [ebp - 0x3c]
push esi
push dword [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaDerefAry1
push eax
push dword [ebp - 0x28]
push esi
push dword [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaDerefAry1
push eax
push esi
push edi
call sub.KERNEL32.DLL_WideCharToMultiByte
mov edi, eax
lea eax, [ebp - 0x30]
push eax
call sub.MSVBVM60.DLL___vbaAryUnlock
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL___vbaAryUnlock
cmp edi, esi
je 0x424658
push esi
sub edi, 1
jo 0x4246be
push edi
push 1
push 0x11
lea eax, [ebp - 0x20]
push eax
push 1
push ebx
call sub.MSVBVM60.DLL___vbaRedimPreserve
add esp, 0x1c
lea eax, [ebp - 0x20]
push eax
call fcn.00424877
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
push 0x4246aa
jmp 0x42468b
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea eax, [ebp - 0x20]
push eax
xor esi, esi
push esi
call sub.MSVBVM60.DLL___vbaAryDestruct
lea eax, [ebp - 0x2c]
push eax
push esi
call sub.MSVBVM60.DLL___vbaAryDestruct
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow
Function at 0x4246c3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x403ab6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401ea8
mov edx, dword [ebp + 8]
xor esi, esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x5c], esi
call sub.MSVBVM60.DLL___vbaStrCopy
call fcn.004249b2
push dword [ebp - 0x20]
mov edi, 0x409cd0
push edi
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x42473a
push edi
lea eax, [ebp - 0x4c]
push eax
call sub.MSVBVM60.DLL___vbaStr2Vec
lea eax, [ebp - 0x4c]
jmp 0x4247fe
push esi
push dword [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaLenBstr
push 1
pop esi
sub eax, esi
jo 0x424872
push eax
push esi
push 0x11
lea eax, [ebp - 0x24]
push eax
push esi
push 0x80
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
push dword [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaLenBstr
mov dword [ebp - 0x74], eax
mov edi, esi
cmp edi, dword [ebp - 0x74]
jg 0x4247fb
lea eax, [ebp - 0x20]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x38]
push eax
push edi
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x38], 2
mov dword [ebp - 0x5c], 0x4008
call sub.MSVBVM60.DLL_rtcMidCharVar
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x28]
push eax
call sub.MSVBVM60.DLL___vbaStrVarVal
push eax
call sub.MSVBVM60.DLL_rtcCharValueBstr
push eax
call fcn.004262b3
mov bl, al
mov eax, edi
sub eax, esi
jo 0x424872
push eax
push dword [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaDerefAry1
lea ecx, [ebp - 0x28]
mov byte [eax], bl
call sub.MSVBVM60.DLL___vbaFreeStr
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x38]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
push 1
pop eax
add eax, edi
jo 0x424872
mov edi, eax
jmp 0x424771
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
call sub.MSVBVM60.DLL___vbaAryMove
push 0x42485e
jmp 0x42484a
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaFreeStr
lea eax, [ebp - 0x24]
push eax
push 0
call sub.MSVBVM60.DLL___vbaAryDestruct
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow
Function at 0x424877
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x403ab6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401eb8
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x50], eax
call fcn.004249b2
mov esi, dword [ebp + 8]
push dword [esi]
push 1
pop edi
push edi
call sub.MSVBVM60.DLL___vbaLbound
push dword [esi]
mov ebx, eax
push edi
call sub.MSVBVM60.DLL___vbaUbound
cmp eax, ebx
jge 0x4248dc
mov edx, 0x409cd0
jmp 0x424960
push dword [esi]
push edi
call sub.MSVBVM60.DLL___vbaUbound
push dword [esi]
mov dword [ebp - 0x58], eax
push edi
mov ebx, edi
call sub.MSVBVM60.DLL___vbaLbound
mov edi, eax
cmp edi, dword [ebp - 0x58]
jg 0x42495d
mov eax, dword [ebp - 0x18]
push edi
push dword [esi]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x50], 8
call sub.MSVBVM60.DLL___vbaDerefAry1
mov al, byte [eax]
push eax
call fcn.00426287
movsx eax, ax
push eax
lea eax, [ebp - 0x30]
push eax
call sub.MSVBVM60.DLL_rtcVarBstrFromChar
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
mov eax, ebx
add esp, 0xc
add eax, edi
jo 0x4249ad
jmp 0x4248f1
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
push 0x424999
jmp 0x424990
lea ecx, [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow
Function at 0x437ac8
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x403ab6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push 0x4c
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x402bf0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrCopy
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrCopy
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
mov dword [ebp - 4], 2
push dword [ebp - 0x30]
lea eax, [ebp - 0x40]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x2c]
lea eax, [ebp - 0x3c]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push dword [ebp - 0x34]
lea eax, [ebp - 0x38]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call sub.KERNEL32.DLL_GetPrivateProfileIntA
mov dword [ebp - 0x48], eax
push dword [ebp - 0x38]
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL___vbaStrToUnicode
push dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
push eax
call sub.MSVBVM60.DLL___vbaStrToUnicode
push dword [ebp - 0x40]
lea eax, [ebp - 0x30]
push eax
call sub.MSVBVM60.DLL___vbaStrToUnicode
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
push 3
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x10
mov dword [ebp - 4], 3
push 0xffffffffffffffff
call sub.MSVBVM60.DLL___vbaOnError
mov dword [ebp - 4], 4
push 0
push dword [ebp - 0x24]
call fcn.00421bdc
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 5
call sub.MSVBVM60.DLL_rtcErrObj
push eax
lea eax, [ebp - 0x44]
push eax
call sub.MSVBVM60.DLL___vbaObjSet
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
push dword [ebp - 0x4c]
call dword [eax + 0x1c]
fnclex
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jge 0x437c11
push 0x1c
push 0x40a720
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x6c], eax
jmp 0x437c15
and dword [ebp - 0x6c], 0
xor eax, eax
cmp dword [ebp - 0x48], 0
setne al
neg eax
mov word [ebp - 0x54], ax
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaFreeObj
movsx eax, word [ebp - 0x54]
test eax, eax
je 0x437c41
mov dword [ebp - 4], 6
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
push 0x437c80
jmp 0x437c67
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeStr
ret