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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
push ebx
push esi
fld qword [ecx]
fadd qword [edx]
push edi
cmp dword [section..data], 0
jne 0x530217
fdiv qword [0x401370]
jmp 0x530228
push dword [0x401374]
push dword [0x401370]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fstp qword [esp + 0x60]
fnstsw ax
test al, 0xd
jne 0x530a03
fld qword [ecx + 8]
fadd qword [edx + 8]
cmp dword [section..data], 0
jne 0x53024d
fdiv qword [0x401370]
jmp 0x53025e
push dword [0x401374]
push dword [0x401370]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fstp qword [esp + 0x68]
fnstsw ax
test al, 0xd
jne 0x530a03
fld qword [ecx + 0x10]
fadd qword [edx + 0x10]
cmp dword [section..data], 0
jne 0x530283
fdiv qword [0x401370]
jmp 0x530294
push dword [0x401374]
push dword [0x401370]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fstp qword [esp + 0x70]
fnstsw ax
test al, 0xd
jne 0x530a03
fld qword [esp + 0x68]
fadd qword [esp + 0x60]
fadd qword [esp + 0x70]
fnstsw ax
test al, 0xd
jne 0x530a03
call dword [sym.imp.MSVBVM60.DLL___vbaFpR8]
fcomp qword [0x4012b8]
fnstsw ax
test ah, 0x41
jne 0x5309fa
push 0x40080000
push 0
call dword [sym.imp.MSVBVM60.DLL_rtcSqr]
fstp qword [esp + 0x48]
fld qword [esp + 0x68]
fmul qword [esp + 0x68]
fld qword [esp + 0x60]
fmul qword [esp + 0x60]
sub esp, 8
faddp st(1)
fld qword [esp + 0x78]
fmul qword [esp + 0x78]
faddp st(1)
fnstsw ax
test al, 0xd
jne 0x530a03
fstp qword [esp]
call dword [sym.imp.MSVBVM60.DLL_rtcSqr]
fstp qword [esp + 0x40]
fld qword [esp + 0x68]
fadd qword [esp + 0x60]
mov ecx, dword [ebp + 0x2c]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFpI2]
fadd qword [esp + 0x70]
cmp dword [section..data], 0
jne 0x53033a
fdiv qword [esp + 0x48]
jmp 0x530347
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call sub.MSVBVM60.DLL__adj_fdiv_m64
cmp dword [section..data], 0
jne 0x530356
fdiv qword [esp + 0x40]
jmp 0x530363
push dword [esp + 0x44]
push dword [esp + 0x44]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fstp qword [esp + 0x38]
fnstsw ax
test al, 0xd
jne 0x530a03
xor eax, eax
mov al, byte [ecx]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fstp qword [esp + 0x48]
fld qword [esp + 0x48]
fmul qword [esp + 0x38]
fnstsw ax
test al, 0xd
jne 0x530a03
call esi
push eax
mov eax, dword [ebp + 0x28]
xor edx, edx
mov dl, byte [eax]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fstp qword [esp + 0x4c]
fld qword [esp + 0x4c]
fmul qword [esp + 0x3c]
fnstsw ax
test al, 0xd
jne 0x530a03
call esi
mov edx, dword [ebp + 0x24]
xor ecx, ecx
push eax
mov cl, byte [edx]
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
fstp qword [esp + 0x50]
fld qword [esp + 0x50]
fmul qword [esp + 0x40]
fnstsw ax
test al, 0xd
jne 0x530a03
call esi
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcRgb]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp + 0x14], eax
fld qword [edi]
fsub qword [esi]
fabs
fnstsw ax
test al, 0xd
jne 0x530a03
call dword [sym.imp.MSVBVM60.DLL___vbaFpR8]
fstp qword [esp + 0x48]
fld qword [edi + 8]
fsub qword [esi + 8]
fabs
fnstsw ax
test al, 0xd
jne 0x530a03
call dword [sym.imp.MSVBVM60.DLL___vbaFpR8]
fcomp qword [esp + 0x48]
fnstsw ax
test ah, 1
je 0x530647
fld qword [edi]
fsub qword [esi]
mov ebx, dword [ebp + 0x10]
fstp qword [esp + 0x28]
fnstsw ax
test al, 0xd
jne 0x530a03
fld qword [edi + 8]
fsub qword [esi + 8]
cmp dword [section..data], 0
jne 0x530461
fdiv qword [esp + 0x28]
jmp 0x53046e
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fstp qword [esp + 0x38]
fnstsw ax
test al, 0xd
jne 0x530a03
fld qword [esi + 8]
fmul qword [edi]
fld qword [edi + 8]
fmul qword [esi]
fsubp st(1)
cmp dword [section..data], 0
jne 0x530497
fdiv qword [esp + 0x28]
jmp 0x5304a4
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fstp qword [esp + 0x40]
fnstsw ax
test al, 0xd
jne 0x530a03
mov eax, dword [ebp + 0x14]
fld qword [eax]
fmul qword [ebx + 8]
fld qword [eax + 8]
fmul qword [ebx]
fsubp st(1)
cmp dword [section..data], 0
jne 0x5304d0
fdiv qword [esp + 0x28]
jmp 0x5304dd
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fstp qword [esp + 0x48]
fnstsw ax
test al, 0xd
jne 0x530a03
fld qword [esp + 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI2]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaR8Sgn]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x24], eax
sar ax, 0xf
mov ecx, eax
mov dword [esp + 0xc], 0
xor ecx, edx
mov word [esp + 0x28], ax
cmp ax, cx
mov dword [esp + 0x30], ecx
jg 0x530854
movsx edx, word [esp + 0xc]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x14]
fild dword [esp + 0x10]
push edx
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
fadd qword [esi]
fstp qword [esp + 0x64]
fnstsw ax
test al, 0xd
jne 0x530a03
fld qword [esp + 0x64]
fmul qword [esp + 0x3c]
fadd qword [esp + 0x44]
fstp qword [esp + 0x6c]
fnstsw ax
test al, 0xd
jne 0x530a03
fild dword [esp + 0x14]
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
fadd qword [ebx]
fstp qword [esp + 0x54]
fnstsw ax
test al, 0xd
jne 0x530a03
fld qword [esp + 0x54]
fmul qword [esp + 0x3c]
fadd qword [esp + 0x4c]
fstp qword [esp + 0x5c]
fnstsw ax
test al, 0xd
jne 0x530a03
mov eax, dword [ebp + 0x20]
fld qword [esp + 0x5c]
mov eax, dword [eax]
fstp dword [esp + 0x1c]
mov ecx, dword [eax]
mov dword [esp + 0x14], eax
fld dword [esp + 0x1c]
push ecx
fstp dword [esp]
fld qword [esp + 0x58]
push ecx
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp]
fld qword [esp + 0x74]
push ecx
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp]
fld qword [esp + 0x70]
push ecx
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp]
push 6
push eax
call dword [ecx + 0x27c]
test eax, eax
fnclex
jge 0x53061d
mov ecx, dword [esp + 0x10]
push 0x27c
push 0x4c9c8c
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov ax, word [esp + 0x24]
mov edx, dword [esp + 0x28]
add ax, word [esp + 0xc]
jo 0x530a08
xor edx, eax
mov dword [esp + 0xc], eax
cmp dx, word [esp + 0x30]
jle 0x530533
jmp 0x530854
fld qword [edi + 8]
fsub qword [esi + 8]
mov ebx, dword [ebp + 0x10]
fstp qword [esp + 0x28]
fnstsw ax
test al, 0xd
jne 0x530a03
fld qword [edi]
fsub qword [esi]
cmp dword [section..data], 0
jne 0x530671
fdiv qword [esp + 0x28]
jmp 0x53067e
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fstp qword [esp + 0x38]
fnstsw ax
test al, 0xd
jne 0x530a03
fld qword [edi + 8]
fmul qword [esi]
fld qword [esi + 8]
fmul qword [edi]
fsubp st(1)
cmp dword [section..data], 0
jne 0x5306a7
fdiv qword [esp + 0x28]
jmp 0x5306b4
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fstp qword [esp + 0x40]
fnstsw ax
test al, 0xd
jne 0x530a03
mov eax, dword [ebp + 0x14]
fld qword [eax + 8]
fmul qword [ebx]
fld qword [eax]
fmul qword [ebx + 8]
fsubp st(1)
cmp dword [section..data], 0
jne 0x5306e0
fdiv qword [esp + 0x28]
jmp 0x5306ed
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fstp qword [esp + 0x48]
fnstsw ax
test al, 0xd
jne 0x530a03
fld qword [esp + 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI2]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaR8Sgn]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], eax
sar ax, 0xf
mov ecx, eax
mov dword [esp + 0xc], 0
xor ecx, edx
mov word [esp + 0x24], ax
cmp ax, cx
mov dword [esp + 0x18], ecx
jg 0x530854
movsx edx, word [esp + 0xc]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x14]
fild dword [esp + 0x10]
push edx
fstp qword [esp + 0x34]
fld qword [esp + 0x34]
fadd qword [esi + 8]
fstp qword [esp + 0x6c]
fnstsw ax
test al, 0xd
jne 0x530a03
fld qword [esp + 0x6c]
fmul qword [esp + 0x3c]
fadd qword [esp + 0x44]
fstp qword [esp + 0x64]
fnstsw ax
test al, 0xd
jne 0x530a03
fild dword [esp + 0x14]
fstp qword [esp + 0x34]
fld qword [esp + 0x34]
fadd qword [ebx + 8]
fstp qword [esp + 0x5c]
fnstsw ax
test al, 0xd
jne 0x530a03
fld qword [esp + 0x5c]
fmul qword [esp + 0x3c]
fadd qword [esp + 0x4c]
fstp qword [esp + 0x54]
fnstsw ax
test al, 0xd
jne 0x530a03
mov eax, dword [ebp + 0x20]
fld qword [esp + 0x5c]
mov eax, dword [eax]
fstp dword [esp + 0x34]
mov ecx, dword [eax]
mov dword [esp + 0x14], eax
fld dword [esp + 0x34]
push ecx
fstp dword [esp]
fld qword [esp + 0x58]
push ecx
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fstp dword [esp]
fld qword [esp + 0x74]
push ecx
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fstp dword [esp]
fld qword [esp + 0x70]
push ecx
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fstp dword [esp]
push 6
push eax
call dword [ecx + 0x27c]
test eax, eax
fnclex
jge 0x53082f
mov ecx, dword [esp + 0x10]
push 0x27c
push 0x4c9c8c
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov ax, word [esp + 0x28]
mov edx, dword [esp + 0x24]
add ax, word [esp + 0xc]
jo 0x530a08
xor edx, eax
mov dword [esp + 0xc], eax
cmp dx, word [esp + 0x18]
jle 0x530743
mov eax, dword [ebp + 0x20]
push 0
fld qword [edi + 8]
mov eax, dword [eax]
fstp dword [esp + 0x34]
mov ecx, dword [eax]
mov dword [esp + 0x14], eax
fld dword [esp + 0x34]
push ecx
fstp dword [esp]
fld qword [edi]
push ecx
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fstp dword [esp]
fld qword [esi + 8]
push ecx
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fstp dword [esp]
fld qword [esi]
push ecx
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fstp dword [esp]
push 4
push eax
call dword [ecx + 0x27c]
test eax, eax
fnclex
jge 0x5308c0
mov edx, dword [esp + 0x10]
push 0x27c
push 0x4c9c8c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp + 0x20]
push 0
fld qword [ebx + 8]
mov eax, dword [eax]
fstp dword [esp + 0x34]
mov ecx, dword [eax]
mov dword [esp + 0x14], eax
fld dword [esp + 0x34]
push ecx
fstp dword [esp]
fld qword [ebx]
push ecx
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fstp dword [esp]
fld qword [esi + 8]
push ecx
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fstp dword [esp]
fld qword [esi]
push ecx
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fstp dword [esp]
push 4
push eax
call dword [ecx + 0x27c]
test eax, eax
fnclex
jge 0x53092c
mov edx, dword [esp + 0x10]
push 0x27c
push 0x4c9c8c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp + 0x20]
push 0
mov esi, dword [eax]
mov eax, dword [ebp + 0x14]
fld qword [eax + 8]
mov ecx, dword [esi]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
push ecx
fstp dword [esp]
fld qword [eax]
push ecx
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fstp dword [esp]
fld qword [ebx + 8]
push ecx
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fstp dword [esp]
fld qword [ebx]
push ecx
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fstp dword [esp]
push 4
push esi
call dword [ecx + 0x27c]
test eax, eax
fnclex
jge 0x530993
push 0x27c
push 0x4c9c8c
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x14]
push 0
mov ebx, dword [edx]
fld qword [eax + 8]
mov ecx, dword [ebx]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
push ecx
fstp dword [esp]
fld qword [eax]
push ecx
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fstp dword [esp]
fld qword [edi + 8]
push ecx
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fstp dword [esp]
fld qword [edi]
push ecx
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fstp dword [esp]
push 4
push ebx
call dword [ecx + 0x27c]
test eax, eax
fnclex
jge 0x5309fa
push 0x27c
push 0x4c9c8c
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
jmp fcn.004024dc
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
push ebp
mov ebp, esp
sub esp, 0xc
push 0x4024d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x4023c8
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov edi, dword [ebp + 0xc]
push 1
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov edx, dword [edi]
mov dword [ebp - 0x28], esi
push edx
push 0x4c8964
push esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x8c], esi
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
test eax, eax
je 0x530aa8
mov eax, dword [edi]
push esi
push 0xffffffffffffffff
push 1
push 0x4c8970
push 0x4c8964
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcReplace]
mov edx, eax
mov ecx, edi
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov ecx, dword [edi]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
cmp eax, 8
je 0x530ae7
mov edx, dword [edi]
push 0x4c8964
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaR8Str]
fstp qword [ebp - 0x28]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
jmp 0x530c37
lea eax, [ebp - 0x7c]
push 1
lea ecx, [ebp - 0x3c]
push eax
push ecx
mov dword [ebp - 0x84], 0x4c8964
mov dword [ebp - 0x8c], 8
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x7c], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharVar]
lea edx, [ebp - 0x8c]
lea eax, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x4c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaUI1Var]
mov bl, al
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x3c]
push edx
push eax
push 2
mov byte [ebp - 0x20], bl
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
add esp, 0xc
cmp bl, 7
jbe 0x530b84
xor cx, cx
mov cl, bl
sub cx, 7
jo 0x530ca3
call esi
push 0x4c8978
mov bl, al
call dword [sym.imp.MSVBVM60.DLL___vbaR8Str]
fadd qword [ebp - 0x28]
fstp qword [ebp - 0x28]
fnstsw ax
test al, 0xd
jne 0x530c9e
jmp 0x530b4f
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov byte [ebp - 0x20], bl
mov eax, dword [ebp - 0x20]
push 0x4c8964
push eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x8c], 5
call dword [sym.imp.MSVBVM60.DLL___vbaStrUI1]
mov edx, eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
lea ecx, [ebp - 0x7c]
push 7
lea edx, [ebp - 0x3c]
push ecx
push edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], 8
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x7c], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcRightCharVar]
lea eax, [ebp - 0x8c]
lea ecx, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x3c]
push ecx
lea eax, [ebp - 0x5c]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
lea ecx, [ebp - 0x6c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaR8Var]
fstp qword [ebp - 0x28]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x3c]
push eax
lea edx, [ebp - 0x4c]
push ecx
push edx
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x14
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
wait
push 0x530c71
jmp 0x530c70
ret
jmp fcn.004024dc
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
sub esp, 0xc
push 0x4024d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x4023d8
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov edx, dword [ebp + 0x10]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], esi
mov dword [edx], esi
mov edx, 0x4c8970
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
call ebx
mov esi, dword [ebp + 0xc]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
fld qword [0x4012b8]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaFpCmpCy]
test eax, eax
jle 0x530e93
mov edx, dword [esi + 4]
mov eax, dword [esi]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaR8Cy]
cmp dword [section..data], 0
jne 0x530d47
fdiv qword [0x4012b0]
jmp 0x530d58
push dword [0x4012b4]
push dword [0x4012b0]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x530edd
call dword [sym.imp.MSVBVM60.DLL___vbaFPInt]
fmul qword [0x4012b0]
fnstsw ax
test al, 0xd
jne 0x530edd
call dword [sym.imp.MSVBVM60.DLL___vbaFpCy]
mov ecx, dword [esi + 4]
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaCySub]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCy]
mov edx, eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
call ebx
mov eax, dword [ebp - 0x20]
push eax
push 0x4c8994
call edi
test eax, eax
jne 0x530dbe
mov edx, 0x4c89a0
jmp 0x530e2a
mov ecx, dword [ebp - 0x20]
push ecx
push 0x4c89a8
call edi
test eax, eax
jne 0x530dd4
mov edx, 0x4c89b4
jmp 0x530e2a
mov edx, dword [ebp - 0x20]
push edx
push 0x4c89bc
call edi
test eax, eax
jne 0x530dea
mov edx, 0x4c89c8
jmp 0x530e2a
mov eax, dword [ebp - 0x20]
push eax
push 0x4c89d0
call edi
test eax, eax
jne 0x530e00
mov edx, 0x4c89dc
jmp 0x530e2a
mov ecx, dword [ebp - 0x20]
push ecx
push 0x4c89e4
call edi
test eax, eax
jne 0x530e16
mov edx, 0x4c89f0
jmp 0x530e2a
mov edx, dword [ebp - 0x20]
push edx
push 0x4c89f8
call edi
test eax, eax
jne 0x530e2f
mov edx, 0x4c8a04
lea ecx, [ebp - 0x1c]
call ebx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, dword [esi + 4]
mov eax, dword [esi]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaR8Cy]
cmp dword [section..data], 0
jne 0x530e66
fdiv qword [0x4012b0]
jmp 0x530e77
push dword [0x4012b4]
push dword [0x4012b0]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x530edd
call dword [sym.imp.MSVBVM60.DLL___vbaFPInt]
call dword [sym.imp.MSVBVM60.DLL___vbaFpCy]
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x530d0e
wait
push 0x530eb6
jmp 0x530ea5
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x20]
call esi
lea ecx, [ebp - 0x1c]
call esi
ret
jmp fcn.004024dc