Function at 0x4125a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x412558
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.00410394
push ds
mov ebx, 0xf88b3ff7
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.00410394
and ebx, dword [ebx - 0x74b64afa]
xor al, 0x8b
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x412581
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x412581
call fcn.00410394
dec esi
js 0x41254c
sbb al, 0x8b
pop edx
and al, 3
fbld tbyte [esi - 0x75]
or al, 0x4b
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.00410394
mov al, byte [0xfff8076b]
jne 0x4125cb
push dword [ebp + 4]
push dword [ebp]
call fcn.00410b94
inc eax
add bh, al
inc ebp
lock add byte [eax], al
add byte [eax], al
in eax, 0xff
inc dword [eax]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
mov dword [ebp - 0x50], 0x80020004
mov dword [ebp - 0x58], 0xa
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcFreeFile]
movsx ecx, ax
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
push 0xffffffffffffffff
push 0x120
call dword [sym.imp.MSVBVM60.DLL___vbaFileOpen]
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcFileLength]
mov esi, eax
push 0x404b24
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
sub esi, eax
jo 0x41289e
add esi, 1
jo 0x41289e
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 6
cmp dword [ebp - 0x24], 4
jle 0x412820
mov dword [ebp - 4], 7
push 0x404b24
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcSpaceBstr]
mov edx, eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 8
mov ecx, dword [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaFileSeek]
mov dword [ebp - 4], 9
mov ecx, dword [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaGet3]
mov dword [ebp - 4], 0xa
lea edx, [ebp - 0x34]
push edx
call fcn.0040ee70
mov edx, eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x48], 0
mov edx, 0x404b0c
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 3
mov edx, dword [ebp - 0x84]
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharBstr]
mov edx, eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.0040ee70
mov edx, eax
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
neg eax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0x6c], ax
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x38]
push eax
push 5
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x18
movsx ecx, word [ebp - 0x6c]
test ecx, ecx
je 0x412810
mov dword [ebp - 4], 0xb
lea edx, [ebp - 0x34]
push edx
call fcn.0040ee70
mov edx, eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x40], 0
push 4
mov edx, dword [ebp - 0x88]
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcRightCharBstr]
mov edx, eax
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Str]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x38]
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x10
jmp 0x41281e
mov dword [ebp - 4], 0xd
mov dword [ebp - 0x28], 0
jmp 0x41282e
mov dword [ebp - 4], 0x10
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0x12
mov ecx, dword [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaFileClose]
push 0x412888
jmp 0x412875
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
int3