Function at 0x439380
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x402ae6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x90
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x402410
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
mov eax, dword [ebp + 8]
mov edx, dword [eax]
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov dword [ebp - 4], 4
push 0
push 0xffffffffffffffff
push 1
push 0x40cfcc
push 0x40cfc0
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcReplace]
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 5
push 0
push 0xffffffffffffffff
push 1
push 0x40cfe0
push 0x40cfd4
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcReplace]
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 6
push 0
push 0xffffffffffffffff
push 1
push 0x40cff8
push 0x40cfec
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcReplace]
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 7
push 0
push 0xffffffffffffffff
push 1
push 0x40cfe0
push 0x40d004
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcReplace]
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 8
push 0
push 0xffffffffffffffff
push 1
push 0x40d01c
push 0x40d010
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcReplace]
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 9
push 0
push 0xffffffffffffffff
push 1
push 0x40d034
push 0x40d028
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcReplace]
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 0xa
push 0
push 0xffffffffffffffff
push 1
push 0x40d04c
push 0x40d040
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcReplace]
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 0xb
push 0
push 0xffffffffffffffff
push 1
push 0x40d01c
push 0x40d058
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcReplace]
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 0xc
push 0
push 0xffffffffffffffff
push 1
push 0x40d070
push 0x40d064
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcReplace]
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 0xd
push 0
push 0xffffffffffffffff
push 1
push 0x40d08c
push 0x40d080
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcReplace]
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 0xe
push 0
push 0xffffffffffffffff
push 1
push 0x40d070
push 0x40d09c
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcReplace]
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 0xf
push 0
push 0xffffffffffffffff
push 1
push 0x40d0b4
push 0x40d0a8
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcReplace]
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 0x10
push 1
mov ecx, dword [ebp - 0x28]
push ecx
push 0x40d0c4
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
test eax, eax
jle 0x43962c
mov dword [ebp - 4], 0x11
mov edx, 0x40d0b4
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov dword [ebp - 4], 0x13
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I4]
mov byte [ebp - 0x9c], al
mov byte [ebp - 0x98], 1
mov ecx, 1
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
mov byte [ebp - 0x2c], al
jmp 0x439674
mov al, byte [ebp - 0x2c]
add al, byte [ebp - 0x98]
jb 0x43982a
mov byte [ebp - 0x2c], al
mov cl, byte [ebp - 0x2c]
cmp cl, byte [ebp - 0x9c]
ja 0x4397bc
mov dword [ebp - 4], 0x14
xor ecx, ecx
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
mov byte [ebp - 0x30], al
mov dword [ebp - 4], 0x15
mov dword [ebp - 0x8c], 0x40d0b4
mov dword [ebp - 0x94], 8
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x44], 2
lea edx, [ebp - 0x28]
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x74], 0x4008
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x2c]
and ecx, 0xff
push ecx
lea edx, [ebp - 0x74]
push edx
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
push 1
lea ecx, [ebp - 0x94]
push ecx
lea edx, [ebp - 0x54]
push edx
push 0
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaInStrVar]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaUI1Var]
mov byte [ebp - 0x30], al
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x44]
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
mov dword [ebp - 4], 0x16
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x94], 8
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x44], 2
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x74], 0x4008
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x30]
and ecx, 0xff
push ecx
lea edx, [ebp - 0x74]
push edx
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
lea ecx, [ebp - 0x94]
push ecx
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x44]
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
mov dword [ebp - 4], 0x17
jmp 0x439662
mov dword [ebp - 4], 0x18
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 0x439814
jmp 0x439801
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]